Line pack

Line packs

Use this add-on:

Screenshot from the lab build. Load cases and limits in CivilCraft's Power lines workspace: clearances, the cases the checks use, and Share as a pack
Screenshot from the lab build. Load cases and limits in CivilCraft's Power lines workspace: clearances, the cases the checks use, and Share as a pack
The Load cases and limits dialog over the power line sample project, with the two example rule sets and Save as a pack
The Load cases and limits dialog over the power line sample project, with the two example rule sets and Save as a pack

Overview

Line packs are CivilCraft power line rule sets and libraries shared as files. A pack holds the load cases, limits and clearances, and a library of conductors, cables, supports, equipment and trench types. People make a pack for their country, network operator or company and share it as a .cclinepack.json file. CivilCraft ships two example packs, for a cold and a mild climate. They show the format. They are examples and are not any standard.

Who it’s for

  • Power line designers who work to their own network operator's or country's rules and want them in one file.
  • Utilities and contractors who want one set of rules and parts shared across a team.
  • Engineers who check a line design against the standard that applies to them.

What you can do

  • Open a rule set or a pack from Power lines › Load cases and limits › Open a rule set or pack….
  • Start from one of the two example rule sets, cold or mild climate.
  • Save your rules and library as a pack file, with its name, region, author, licence and the check line every pack carries (the pack dialog).
  • Browse the line packs listed in the add-on directory (/addons?kind=linepack). The directory lists the packs of the current release.

Methods and standards

A pack holds the person's rules, and CivilCraft's line checks use them: sag and tension of the conductor (catenary), clearances along the spans, and support loads. The methods are those of the Power lines workspace. See its help for each check.

Data and sources

The two examples are made up to show the format. Every other value (conductors, supports, cables, load cases, limits and clearances) comes from the person who makes the pack. A pack names its region, author and licence. The licence is an SPDX identifier and defaults to CC0-1.0.

Verification

bin/test-powerline.mjs (the packs section, PL.14) writes a pack and reads it back: format, region, licence, items and rules. It also opens a rule set file and a library file through the same reader. bin/test-powerline.mjs and bin/test-powerline-net.mjs cover the line checks. The repo has no comparison of the examples against a utility's own rules or a standard.

Limits

A pack is data, not an approval. The examples are not any country's rules. The directory lists only packs of CivilCraft's current release. A pack file is read as untrusted data, and a file that is not a pack is refused with its reason. Each pack must be checked against the standard that applies to the line.

Files and formats

Reads and writes .cclinepack.json (format cadcraft-line-pack, version 1: a rule set and a cadcraft-lines library). Also reads plain rule set files (cadcraft-line-rules) and plain library files (cadcraft-lines). The directory index is powerline/packs/index.json.

Get started

  1. Open CivilCraft and switch to the Power lines workspace.
  2. Choose Power lines › Load cases and limits › Open a rule set or pack… and open one of the examples.
  3. Or open /addons?kind=linepack and choose a pack from the directory.

Languages

No languages are listed for this add-on yet. Its maker may add some.

Works in

EditionWorksNote
Browser (/use) (yours) Added on demand Fetched the first time you use it, then kept for offline use.
Studio from getcadcraft.com Added on demand Fetched the first time you use it, then kept for offline use.
Microsoft Store Added on demand Fetched the first time you use it, then kept for offline use.
Google Play Added on demand Fetched the first time you use it, then kept for offline use.
iPad and iPhone (App Store) Added on demand Fetched the first time you use it, then kept for offline use.
Custom build Added on demand Fetched the first time you use it, then kept for offline use.

Comes with

Nothing else.

Versions

VersionChannelDateWhat changed
1.0.0stableOctober 28, 2026First version in the Library.

Licence and maker

CadCraft (CadCraft, first-party). Licence: Apache-2.0. Dependencies carry their own licences, listed on their pages.