Use it from Python
Every result on this site comes from ictdesigntools, an open-source (MIT) Python library.
pip install ictdesigntools
The library is metric: diameters in millimetres, lengths in metres, weights in kg/m and tensions in newtons. Trade sizes are metric designators (27 is trade size 1, 35 is 1-1/4).
from ictdesigntools.cabling.cables import CableLine
from ictdesigntools.pathways import conduit, pull
cables = [CableLine.of("cat6a", 8)]
run = pull.Run(
(
pull.Section(pull.STRAIGHT, length_m=30.48),
pull.Section.bend(90, radius_m=0.61),
pull.Section(pull.STRAIGHT, length_m=15.24),
pull.Section.bend(90),
)
)
r = conduit.calculate("emt", 35, cables, run=run)
r.fill_pct # 37.8
r.limit_pct # 40.0
r.passes # True
r.min_size # 35
p = r.pull.pulls[0]
p.tension_n # 93.0
p.allowable_n # 711.7
p.direction # 'feed at B, pull out at A'
Custom cables take a diameter: CableLine.custom(7.1, 4, weight_kg_per_m=0.06). Subducts are
conduit.SubductSpec.preset("hdpe-2") or SubductSpec.custom("solid", inner_mm=25.4,
outer_mm=30.5), passed as subducts= with their cables. Input outside the limits raises
FillError, whose message says what to fix.
Result fields
| Field | Example | Notes |
|---|---|---|
conduit_label, size |
'EMT', 35 |
Metric designator |
conduit_area_mm2 |
965.2 |
Total internal area |
total_count, total_area_mm2 |
8, 364.8 |
Cables, or subducts and loose cables |
fill_pct, limit_pct, passes |
37.8, 40.0, True |
NEC Chapter 9, Table 1 |
max_area_mm2, remaining_area_mm2 |
386.1, 21.2 |
Negative when over |
min_size |
35 |
Smallest passing size of this type, or None |
subducts |
[] |
One Compartment per subduct, with its own fill |
pull |
PullSummary |
None without a run |
pull.within_nec_bends, pull.within_bicsi |
True, False |
Bends and length between pull points |
pull.pulls[i].tension_n, .allowable_n, .passes |
93.0, 711.7, True |
One per pulled group |
pull.pulls[i].forward, .backward |
[Step, …] |
Tension after each section, both ways |
pull.pulls[i].bend_checks() |
[BendCheck, …] |
Bends with a radius: swbp_n_per_m, swbp_pct, radius_pct, passes |
pull.pulls[i].utilisation, .governing, .passes_all |
{…}, 'pulling tension', True |
Every checked limit as a % of its maximum |
Web API
A web API with the same inputs and results is planned as an invite-only beta. Until then, a result's link,
such as /cabling/conduit-fill/emt/1.25/cat6a:8, is the way to share one.