Joint details of towers (roadmap, proposal)#
Proposal, 2026-11-02 — stages 0 to 2 built the same day (in active development, not approved yet: Decision: "Go ahead with 0-2, yes and yes"), stage 3 too ("Go ahead with the next stage"), stages 4.1 and 4.2 and stage 5's exports too ("Go with … B" and "… C"), stage 4.4's eccentricities from the connections' shifts too; the rest of stage 4 and stage 5's validation not built; the bolt library built (below). Requested: "a roadmap for a tool to show and allow to define the joints in the OHL structure in details for a pylon that isn't a pole … where the bars are coming from, what's their condition on the joint and where are the bolts, how many. And then how this is expected to impact the conditions on the calculations later on." Open point O19 in the roadmap; comment there or under each question below.
What there is today#
| Part | Today | Where |
|---|---|---|
| Tower or pole | kind in the structure file: lattice, pole, portal, other. Chosen once, when an empty structure is made; OHL-Structure opens the pole panel for a pole |
ohl_structures::StructureKind, apps/structure/ohl-structure-app/src/start.rs |
| Joints | a position, supports and springs, a kind (attach, support or none). Nothing about what meets there or how | ohl_structures::Joint, ohl_structures_fe::Node |
| Members | truss, frame, cable or tension-only, between two joints; a section with a roll | ohl_structures_fe::Member |
| A member's connection | one set for the whole member, the same at both ends: bolts (count, diameter, hole, shear planes, strength, holes in the section), edge and end distance, spacing, the connected leg, end eccentricity and end restraint (none, one end, both ends), its class and its crossing partner | ohl_structures_fe::design::MemberDesign |
| Checks using it | ASCE 10-97 (the default): the slenderness curve from the end eccentricity and restraint, bolt shear, bearing, the net section; missing data take conservative assumptions, said per member | the bundled plugin asce10 (plugins/codes/asce10; the core's ohl_structures_fe::asce10 until 2026-11-18) |
| Bolts and plates elsewhere | only as a factor on the self-weight (dead_load_factor) |
So the calculation already depends on the joints, but the joints are typed in as flags per member ("both ends eccentric", "3 bolts"), without anything to show where they come from.
What the tool is for#
At a tower's joint, see and define:
- Which members arrive and from where. Their direction, the face they lie in, the angle to the leg, their class (leg, bracing, redundant, crossing).
- Each member end's condition. Bolted to the leg directly or through a gusset plate, the leg it bolts by, pinned or held against rotation, eccentric or concentric.
- The bolts. How many, which diameter and grade, in how many gauge lines, at which pitch, end and edge distance — and so where each bolt is.
From that, the conditions the checks take are worked out instead of typed, and the tool says which were worked out, which given, and which assumed.
Stages#
Each stage is usable on its own and ends with the full checks. Sizes: S a few days, M one to two weeks, L more.
Stage 0 — Pole or tower, a toggle (S) — built 2026-11-02#
- The structure's kind becomes editable after the structure is made: Geometry › Structure kind in OHL-Structure (lattice tower, pole, portal, other), and shown in OHL-Design's structure picker as today.
- Tower (lattice, portal): the joint details below, ASCE 10-97 by default. Pole: the pole panel; no joint details (a pole's flanges and slip joints are a later, separate item). The Joints and Members tables stay for every kind: a pole may have members (its crossarms).
- Changing the kind never deletes data: what the new kind does not use is kept, hidden, and the switch says so.
Stage 1 — The data: connections at the member ends (M) — built 2026-11-02#
A connection is one member end at one joint. Each member has two; a joint lists those that arrive there.
| Field | Meaning |
|---|---|
member, end |
the member, its end (i or j) |
onto |
what it bolts onto: a member (the leg), a gusset plate, a splice; or welded, pinned, fixed |
leg |
the leg of the angle it bolts by: long, short, both |
bolts |
count, diameter, grade (ultimate strength), shear planes, threads in the shear plane |
layout |
gauge lines (1 or 2), the gauge of each, pitch, end distance, edge distance; or explicit bolt points in the member's axes |
plate |
a gusset plate: id, thickness, material, outline; the members bolted on it |
eccentricity |
worked out from the gauge line and the section's centroid; may be given |
- Where a member comes from is not stored: it is the geometry (the member's direction, the face plane of the joints it lies in, its angle to the member it bolts onto), shown and reported.
- Reading older files: today's per-member data (
[member.design]bolts, distances, connected leg, end eccentricity and restraint) become the default of both ends; a connection given overrides its end. A file without connections reads and computes exactly as today. Structure file version 9. - Exports: the connections in the CSV export, the bolts and plates in IFC (Stage 5).
Stage 2 — Showing a joint (M) — built 2026-11-02#
How it works now: OHL-Structure › Joint details; the file format: connections and plates.
In OHL-Structure, selecting a joint (in the 3D view or the Joints table) opens the Joint panel:
- A close-up of the joint: the members as their real profiles (angles with their roll, so the connected leg shows), cut a little beyond the joint; an arrow per arriving member with its id, the face it lies in and its angle to the leg; the bolts as small cylinders on the leg or plate, the plates as thin outlines. Turnable as the main view.
- The face view: the joint seen square to a face, as a shop drawing — the members' gauge lines, the bolts with their pitch and end and edge distances dimensioned. Exportable as SVG or PDF.
- The connections table: member, end, class, from (face, angle), onto, leg, bolts (n × diameter), layout, plate, eccentric or not, restraint — each value marked given, worked out or assumed.
- In the 3D view, a colour per joint: complete, partly assumed, no connection data (a View tick, off by default).
Stage 3 — Defining joints (M) — built 2026-11-02#
Built as below, but: what the members bolt onto and the bolt points are
not carried by a copy to a group or class (they are the joint's own); a
preset is kept next to the structure (Connections/*.ohlcp); reading a
tower program's connection data is not built. How it works: OHL-Structure
› Joint details.
- Edit any connection in the table; the close-up and the face view follow.
- Bolt layout helper: n bolts in one to three gauge lines; pitch and distances from the minimums the code gives. The values come from the standard's text supplied, not typed from memory; until then the user types them.
- Copy a joint's details to other joints with the same members'
sections and angles (within a tolerance), by symmetry
(
[[symmetry]]), or to every joint of a member group or class. - Connection presets (a library, like the cross-sections): "bracing to leg, 2 × M16, one gauge line", applied to many ends at once.
- Later: read the connection data of tower programs' files (the local importer of another program's files), so a tower brought in keeps its bolts.
Stage 4 — What the calculations take from it (M–L) — 4.1 and 4.2 built 2026-11-02#
Built as 4.1 and 4.2 below, but: worked out only at an end with a
[[connection]] (an end without one keeps the member's flags and the
assumptions, so a tower without connection data computes as before);
bearing without the end and edge distances (the standard's rules for
them to come from its text); the gauge lines' holes in one section
(staggering not counted). The rules are in the core
(ohl_structures_fe::member_ends) and the Joint details table shows
them; how it works: theory.
Each item is an option or a default to agree; every result says which values were worked out from the joints and which assumed.
-
ASCE 10-97 slenderness curves (in the core today). End eccentricity and end restraint are worked out per end:
- one leg bolted → eccentric at that end;
- two or more bolts into a member stiff enough (its I/L at least the sum of the members it holds there, ASCE 10-97 C3.7.4 (b)) → partly restrained; onto a gusset plate only → not (3.7.4.5; 2026-11-03).
Today they are flags per member, the same at both ends, and missing flags take the conservative curve. Expected effect: bracing that today takes the conservative assumption gains capacity where the joints show restraint, and loses it where an end turns out eccentric.
-
Connection capacity per end. Bolt shear, bearing (with that end's end and edge distances) and the net section (the holes actually in one section, from the layout), taken at each end; the weaker end governs. Expected effect: no change where both ends are alike; a member with a weaker end connection than the one typed today is found.
-
Buckling lengths from what braces a member. Where a redundant or a crossing diagonal is bolted along a member, and onto which leg, tells about which axis (v, or x/y) the member is braced. The length ratios are worked out instead of typed. Expected effect: legs and main bracing braced by redundants get shorter buckling lengths about the braced axes only — the right ones, not k = 1 everywhere. Built 2026-11-19 (in active development, not approved yet): the core finds each member's run of members in line through its joints and the bracing points along it — each member holding a point and the direction it holds it in, from the model's geometry (the members the analysis joins there; a
crossingpartner where it crosses), with or without[[connection]]s (ohl_structures_fe::bracing) — and sends them to the code plugins (member-check-bracing), which apply their code's rules: ASCE 10-97 (an angle's v held at any point, its geometric axes only out of the plane; Figure 3.2's 1.2 for legs with staggered bracing; Appendix B Example 7's 20 % for crossings; C3.7.4's limits for a bracing member) and SIA 263 (5.4.1.3 read strictly; 4.2.3.7's 1 %). Givenk,lkorlength_ratiosstill win; each result says "from the bracing", "given" or "assumed: no bracing found" (ASCE 10-97, SIA 263). Which leg of the angle a member bolts onto is not read from the connection: the direction of the member holding the point decides (the same thing for a member lying in that leg's plane). -
The FE model (options, measured before any default):
- the connections' eccentricity as offsets at the member ends (moments
in frame legs) — built 2026-11-02 for a connection's
shift(Decision: "a sideways move is needed to fit the members on the gusset plate … Eccentricities need to be taken into account"; in active development, not approved yet): a rigid end offset to the joint, carried where a frame member meets it, left out and said where only bars do; always on, a tower without shifts unchanged (theory); - pinned or held ends as end releases of frame members;
- bolt slip (a hole larger than its bolt) as a joint's stiffness up to the slip, which adds to the tower's deflection.
Built 2026-11-23 (in active development, not approved yet): both as options of the analysis, off by default and stored in no file — a frame end with one bolt pinned, one with a single row of bolts in one leg free out of that leg's plane; each bolted end slipping by its hole clearance before its bolts bear (friction not counted); taken back where the solve then finds a mechanism or a buckling mode; every run with them solving each case without them too and saying the effect (theory). Measured on real towers: the releases change little, the slip the deflections about threefold. Since 2026-11-24 (question 2; built, in active development, not approved yet) each member's and joint check's usage is the larger of with and without the options, so neither can lower a usage (theory).
These matter for deflections and for the structure–line interaction at level 4 (O7), much less for the members' forces.
- the connections' eccentricity as offsets at the member ends (moments
in frame legs) — built 2026-11-02 for a connection's
-
Checks of the joints themselves (O4: "members first, then joints"): the gusset plate (an effective width, block tearing), the bolt group under the members' forces together, the leg's bearing. ASCE 10-97's connection rules in the core; SIA 263 / EN 1993-1-8 through the code-check interface of O4. Usage per joint, coloured in the 3D view. Built 2026-11-19 (the bolt groups and the leg's bearing; in active development, not approved yet; the gusset plates since 2026-11-04): per joint of a tower at level 3 or more, a plate's bolts onto the leg holding it carry the resultant of the other members' forces on the plate with its moment about them, shared elastically (Kulak, Fisher & Struik), and the bolts onto a member — the lapped members' and the holding bolts' — each the vector sum of every part it holds, the same case only (
ohl_structure_link::joint_groups,ohl_structures_fe::bolt_groups); each bolt checked by the code's plugin (joint-check-groups: bolt shear, bearing on the plate or the member, the distances along and square to its force — ASCE 10-97 4.3.2, 4.4, 4.5; SIA 263 Table 16 (73)–(76), Table 17). The joint's usage is the largest of its plates', welds', bolt groups' and bearing checks: in Joint details, the 3D view's joint colours and the report's Joints table. Not defined → said, never skipped: a plate the joint's leg does not bolt onto ("how it is held is not given"), bolts not placed, a thickness not known (theory). The follow-ups of 2026-11-19 (built the same day, in active development, not approved yet): a plate's own bolts onto the leg ([plate.leg_bolts], structure file version 20: a leg running on through the joint holds the plate by them); a joint that does not fit (a bolt's hole off its flange, a holding bolt outside the plate, holes overlapping, a bolt beyond a member's known end) reads "does not fit" — failing, counted apart, never an infinite usage; pieces in line not said continuous end at the joint (on the safe side; the layout proposingcontinuousfor the user to confirm follows the layout's work, ROADMAP O19); bolts in tension checked, with prying (each bolt's pull from the forces square to the plies and the moments out of their plane, shared elastically about the bolts' centroid; the T-stub model of Struik and de Back with α = δ = 1; ASCE 10-97 4.3.3, 4.3.4, SIA 263 (77), (78);joint-check-groups-tension); the elastic method for the moments stays. -
Weight and quantities. The bolts and plates counted and weighed:
- the weight replaces the
dead_load_factorestimate (1.1–1.4 today) where every joint is defined; - the bill of materials lists bolts by diameter, length and grade, and the plates.
Built 2026-11-19 (in active development, not approved yet): the members, gusset plates, splice covers, bolts (library mass, else weighed from their sizes) and welds counted from the connection records only, the automatic layout's marked; a heavy and a light count (holes kept or deducted, a weld without a size at SIA 263 6.3.6.3's largest throat or left out); the bill in Design › Weight & quantities, as CSV, XLSX and in the report; where every joint is defined (no end without a
[[connection]], none left for a hand detail, every bolted end with bolts) a run's self-weight is, until the counting is validated, the larger of the counted mass and the members × the factor where the weight loads the tower and the lesser where it holds it;self_weight_from(version 19)"factor"keeps the factor,"counted"takes the count alone (not on the safe side). On 73 real towers after the layout none has every joint defined. Not counted, said: galvanising, fillers and packs (no record), fittings, washers of bolts without a library mass. Theory. - the weight replaces the
Stage 5 — Exports and validation (M) — exports built 2026-11-02#
Built: the bolts and gusset plates in IFC4 and IFC2x3 — a joint
assembly per joint with its bolts (IfcMechanicalFastener) and plates
(IfcPlate), where the Joint view draws them; the members' solids
seated as drawn where their bolted ends agree, else on their axes with
their bolts; the analysis model on the axes. SAF has no fasteners (IFC and
CSV only). How: Structure exports › Bolts and gusset plates.
Not built: exports for tower or detailing programs' own formats, the
validation and the theory page below.
- IFC and Tekla exports with bolts and plates (structure exports).
- Validation: the per-end connection capacities against hand
calculations of ASCE 10-97 cases, and against a tower program's
connection results on the local towers (comparison kept in
local-data/). - Theory page: how each condition is worked out from a joint, with drawings (an angle bolted by one leg and its eccentricity; a redundant bracing a leg about one axis).
Member details — built 2026-11-02#
(Request: "the same view of the members as for the joints … see live the impacts on the bar's resistance".) A member's two ends edited from the member (the joints' own data), its ASCE 10-97 capacities worked out live, the usage under the last run's forces, its leg bolted laid flat with the holes of both ends: OHL-Structure.
The Detail view, plates and bolts — built 2026-11-03#
(Requested 2026-11-03.) The Detail view's tools are a toolbar over the
bottom of its drawing, as the 3D view's hotbar, with the tool held above
it; its details (Joint details, Member details) sit in a leaf of their
own below it. The 3D view's Edit tool asks before it opens a tower's joint
or member there. A member opened from a joint goes back to it (‹ Joint,
Escape). The Edit tool on a bolt shows its properties below with the bolt
libraries to change the end's bolts; on a plate, what it is welded to, its edges and the
bolts too near its edge. Several plates per joint (2026-11-03: bolted or welded onto
the leg, [[plate]] kind; since 2026-11-04 a welded plate is several
plates welded together, below); a plate drawn without an outline keeps the
code's end and edge distances in the plate (bolt_rules::rules_in:
the plate's thickness and its material's ultimate strength, else the
member's; the member end's force and bolts) round every bolt onto it. The close-up
is drawn in small pieces sorted by their own depth (whole faces sorted by
their middles hid the bolts at some angles). The plates' own checks and a weld's own data
(size, length): built 2026-11-04, below.
How it works: OHL-Structure › Joint details.
Welded plates, a member's roll, a smooth close-up — built 2026-11-04#
(Requested 2026-11-04.) Built, in active development, not approved yet:
- A welded plate is several plates welded together so that every
member bolting onto the joint reaches one ("the 'welded plate' should
just mean that multiple plates are welded to be able to reach every
member bolts that come on the joint"):
[[plate]] welded_to, read both ways; the plates joined are one welded plate, the seams drawn where they meet. The 2026-11-03kind = "welded"(welded onto the leg) is read as plates of one welded plate. Make a welded plate for every member: a plate per plane of the members arriving (with the joint's leg), each round its members' bolts with the code's end and edge distances in the plate, welded together. - A member's roll ("a correction angle for the members to rotate them on their axis as one face need to come in contact with the plates"): Roll, ±90°, 180°, Lay flat in Member details, the Detail view and the Inspector; a member whose leg bolted lies more than 2° off what it bolts onto is named in Joint details, Turn it flat. The roll turns the member's axes for the analysis too.
- Gauge lines from the holes in one section of the member's design data where no connection gives them (a tower program's export).
- The close-up cut once per joint and file change, finely near the bolts only, sorted again only when turned: smooth on towers again.
- The Edit tool no longer asks "Open in the Detail view?" when the Detail view is shown.
Open: a roll that suits both ends of a member bolted onto differently turned faces (Lay flat takes the end lying off; the other end is then said).
Weld size and length, the plate checks — built 2026-11-04#
(Request (2026-11-04): "add weld size and length and the plate checks".) Built, in active development, not approved yet:
- A weld's data:
[[plate.weld]] to = "G1", size = "6 mm", length = "220 mm", kind = "fillet"(still structure file version 9). The size is the fillet's throat a (SIA 263 6.3.2.6); no length: the seam's from the geometry (one side);welded_toalone still read (a weld without a size: not checked, said). The plates table and a plate's box have a row per welded pair (kind, size, length; each change one undo step); the seam's label (a6 × 220) in the close-up and the face view;plates.csvweld columns, IFCOHL_Plate.Welds. - The plate checks, per case with the analysis (Results › Run), by the structure's capacity method (theory): per member bolting onto a plate its bearing on the plate, the plate's block shear round the bolt group, its section across the group and its end and edge distances; per fillet weld (SIA 263 6.3.2, (87) and (88)) the resultant of the member forces on the plates it holds (on the safe side). ASCE 10-97 gives no weld rule (5.2.5: AWS D1.1): welds not checked under it, said; the simple check checks neither. A plate in compression: a strut of Whitmore's width (2026-11-18, an assumption on the safe side; one bolt or no free length: not checked, said). Joint details lists each part's usage (the case shown and the largest), what governs with its clause, each check in a box; the 3D view marks the joints by their plates' worst usage (orange, red); the structure report has a table.
Done: the tearing path towards a plate's side edge (2026-11-08); the moment of a weld's force about it, a gusset plate's buckling as a strut and a frame member's end shear and moments in the plate checks (2026-11-18, the lattice towers' safe-side items). Open: bolts in tension (a force square to the plate, a moment bending it out of its plane: said not on the safe side).
A plate corrected by hand — built 2026-11-04#
(Request (2026-11-04): "the user should be able to access the gusset plate
details if needed to correct some of the joint in case the automatic
sizing fails".) Built, in active development, not approved yet: a plate
picked in the Detail view shows Plate details / outline — its corners
as u, v (mm) in its own plane (ohl_structure_link::PlateFrame: n the
outline's normal, its largest component positive so that it stays the
same however the corners are edited; u along the joint's leg it lies on,
else its first member; v = n × u; the origin the work point laid onto the
plane), each typed, added (+ corner, midway) or taken away (three kept);
Start from the automatic outline / Back to automatic (the
outline written / taken out, connection_edits::clear_plate_outline);
the plate moved square to its plane (a plane offset); its edge distances,
the bolts too near its edge and its checks of the last run beside them.
In the face view its corners are dragged in the plate's plane (the view's
ray met with the plane), only where the plate is seen within about 45° of
square. Each change one undo step; the file format is unchanged (the 3D
outline of [[plate]]).
Open: snapping a corner to a bolt's minimum distance; corners dragged in the close-up.
What the values mean; a plate in a grip drawn — built 2026-11-04#
(Request (2026-11-04): "with gauge, pitch, End, EDGE, e, stops, it's hard to understand exactly what does what on a joint can you make it clearer ? like make an explanatory illustration"; "also the plate thickness never shows … the bolts get longer but without a plate".) Built, in active development, not approved yet:
- What the values mean: a folding section above the connections
table (
ohl-structure-appjoint_sketch): the leg bolted of an angle seen flat — heel, leg's edge (toe), the member's end where the steel stops, the axis (centroid line, dashed) running past it to beside the work point, the gauge line with three bolts, a second gauge line faint, what it bolts onto through the work point — and a dimension per value: Gauge (heel → gauge line), Pitch (bolt → bolt), End dist. (member's end → first bolt), Edge dist. (gauge line → leg's edge), Ecc. e (axis → gauge line), Steel stops (work point → member's end along the axis), Shift (the axis beside the work point, + towards what it bolts onto), Lines (the second line). One list of terms (joint_sketch::TERMS: the column's header, the drawing's name, the hover text) feeds the table's headers and the drawing, so they say the same. Theme colours from egui's visuals; scaled to the panel (labels keep their size, at least 480 points: narrower scrolls); a test lays it out with egui's fonts at several widths and finds no label over another or over a bolt. The values of the member end whose bolt is picked are written beside the names. The user guide's image (docs/images/joint-details/joint-values.svg) is written from the same drawing (joint_sketch::svg, a test keeps it in step;OHL_WRITE_DOCS_SVG=1writes it again). The headers became End dist. mm, Edge dist. mm, Ecc. e mm, Steel stops mm (were End mm, Edge mm, e mm, Stops mm); the file format is unchanged. - A plate in a grip, drawn: a member end onto a plate always had the
plate's thickness in its bolts' grip (
joints::grip) and was moved out by it from the joint's leg (seat), but the close-up drew the plate as a translucent film in the face of the bolts — the face the member's leg lies on — so it lay under that leg and behind the corner's flange, seen from almost nowhere: the bolts got longer, no plate showed. NowPlateDetail::through(the outline's normal turned against the bolts' axis of the members onto it, as the IFC export extrudes it) and the close-up draws the plate as a shaded solid from its outline through its thickness, filling the room the member was moved out by; its id and thickness are written on it, and the pointer over it (close-up and face view) says its thickness, material and the members whose bolts clamp it. A plate with nothing bolted onto it and no outline given used to get a 3 cm disc round the work point (inside the leg's steel); it now has no outline (NO_OUTLINE, said in its plates-table row, its box and itsnotes), and no grip takes it — a grip takes only the plate its own member end bolts onto. Tests:a_plate_in_a_grip_has_an_outline_and_its_thickness(link),the_values_are_drawn_and_a_plate_in_a_grip_is_drawn(app).
The profiles in the 3D view as placed — built 2026-11-05#
(Request (2026-11-05): "In the 3d view of the OHL structure, I need the profiles to be shown with there actual right orientation and placement as defined in the joints and members detail view".) Built, in active development, not approved yet:
- One builder in the link crate (
member_solids.rs):section_at(a member end's outline turned by its axes — the reference and the roll, the finite-element model's — and moved by the end's offset: an angle seated with its leg bolted on what it bolts onto, the end's shift),steel_start(the cut),prism_faces(the sides and the ends) andmember_solids(each member from the cut at one end to the cut at the other). The close-up draws each member end withsection_atandprism_facesfrom its cut to its reach; the 3D view the whole member withmember_solids: at each end the same corners (tested within 1e-9 m). Where the two ends are seated differently the section moves linearly from one end's place to the other's (each end exactly as the close-up draws it). Built-ups by their built-up outline, channels, I sections, tubes (16 sides), general boxes; a section of values only as a square of its area (as the close-up). - The 3D view draws each member with a solid as its steel, shaded, its edges and its work line (thin) drawn when a profile is at least 4 pixels wide; further away the work lines as before over the steel (display only). Picking stays on the work line; picked members, the usage colours of the results and the extension shown colour the steel. A member without a profile, or whose joints have moved since the solids were made, is a stick; its hover says why. View › Display options › Profiles as placed (on by default) turns them off.
- Once per revision: a structure of up to 400 members has its solids at once (the joint details shared with the Joint details panel); a larger one on a thread of its own, the last solids drawn meanwhile where they still fit. A real lattice tower of 3030 members: joint details 0.31 s and solids 4 ms (release build), 71 248 triangles.
- The close-up was a mirror image until now: its rotation had a determinant of −1 (seen from behind, +x still to the right). It is a rotation now, seen from the front as documented; turned and tilted it matches the 3D view's camera at yaw − 90°, pitch + 0.35 rad (tested).
Open: OHL-Design's line view still draws the structures' members about
their centroids (ohl_structures_fe::drawn), without the seat or the
cut. (Plates and covers are in the 3D view since stage 4 of the lap
joints, bolts since the section below.)
Seated without bolts, bolts on both legs, bolts in 3D — built 2026-11-05#
(Request (2026-11-05): "With the members please draw them at the right place in 3d also give the possibility to define on which surface of the member are the bolts we might need them on both side of a corner in some cases for joints".) Built, in active development, not approved yet:
- Seated without bolts. A member end that bolts onto a member (given
or worked out) is seated on that member's leg whether or not it has
bolts (
joints::place_bolts); before, an end without bolts was seated only when its face was given, and was drawn on its work line through the other member's steel. Not an end in line with the member it meets (within 20°: a leg running on, one part or spliced, not lapped) without bolts or a face given: it stays on its work line. Display only, as before (the analysis takes the shift, not the seat). - On the member where it is drawn (2026-11-20, O44 L7). The face an
end is seated on is that of the member it bolts onto as drawn: that
member's own offset (its seat, shift, drawing offset) taken across the
face (
joints::member_seat; a nested end: the whole offset,joints::nest). The joint's ends are placed again with the offsets of the pass before until no member some end bolts onto moves (at mostjoints::SEAT_PASSES, 4); two ends bolting onto each other do not follow each other. Before, the face was taken as if that member lay on its work line: an end on a member seated on a third floated off it by that member's seat (in the drawings, the clash check and the joint checks), and the automatic layout, which plans on the member as drawn, found clashes after writing. Tested: an end on a diagonal seated on a leg lies on the diagonal's face as drawn (an_end_on_a_seated_member_is_drawn_on_it_where_it_is_drawn). - Onto a built-up member (2026-11-11). The seat and the cut need an
angle at both ends; a built-up section of angles gives its angles
(
Shape::built_up_angles,Profile::part_angles) and the end is seated on and cut against the one facing it (joints::facing): the one whose leg, the one the end lies on, runs from its heel out on the end's side; not one where the end would lie in the gap against the next angle's back; not one its outstanding leg would pass through; then the nearest to its work line. On an inner face the cut also clears that angle's other leg (its thickness; a single angle's inner face as before). The cut is at most half the member, as before. The bolts' grip takes that angle's thickness. Display and detailing only: the member's design data, its end conditions, the finite-element model and every capacity are read from the file and do not use the seat. A plate on a built-up leg is not moved (where a plate lies enters its checks): it stays through the work point. Not yet: a built-up member as the arriving end (it sits astride what it bolts onto: another mechanism), two channels, an I or H, nesting in a built-up member. - Bolts on both legs.
leg = "both"lays the layout on each leg of the angle: the bolts shared (countthe total; the leg lying on what it bolts onto takes the odd one), the same gauge lines, pitch and end distance, the gauges given measured from each leg's heel (assumed: each leg divided evenly).other_leg_pointsgives the other leg's bolts by hand, asbolt_points(then those of the leg on what it bolts onto).Arrival::{other_points, other_flat, other_axis}andbolts_with_axes(): the close-up, the joint sheet, the IFC export, the splice covers' outlines (each cover round the bolts of its own leg) and the 3D view take each bolt with its own axis. A bolt added, moved or taken away in the face view (the leg on what it bolts onto) writes the other leg's bolts asother_leg_points, so they stay. - The check: the holes in one cross-section count both legs' lines
(
member_ends::holes_of; on the safe side: all in one section). The bolt shear takes all the bolts, the end is concentric (both legs), as before forboth. Bearing onto a splice: the leg with fewer planes, as before. - Bolts in the 3D view (
member_solids::bolt_solids): every bolt as the close-up draws it, grey (orange: a layout partly assumed), in a scene of its own built once per solids (a pick does not build it again: a real tower of 2244 members has 10 772 bolts, 0.9 million triangles; a pick 7.1 ms per frame as without them), drawn near once a typical bolt is 3 pixels wide.
Open: the member view (the member laid flat) shows the leg on what it
bolts onto only; the other leg's bolts are edited in the file
(other_leg_points) or by the layout. A second leg bolting onto
something else than the first (another member, a plate) is not modelled
yet: both legs bolt onto onto.
Lap joints, double covers, continuous members (proposal, 2026-11-05)#
(Request (2026-11-05): "have a profile slide into the other (if smaller and fits) and be directly bolted to the other … and also have the possibility to have 2 plates on each side of the profile to bolt two profiles together which would make the bolt have 2 shear planes", then "also add the continuous … it's just one part", then "go ahead with the development of stage 1 and further".) Three cases, at level 3:
- A — one profile inside the other (lap, single shear). A
connection's
face:outside(today, the default),inside(on the inside face of the leg it bolts onto) ornested(an angle heel into heel inside the other, by one leg or both). The fit is checked: the inner leg at most the outer leg less its thickness and root radius, the end and edge distances on both parts. The inner heel is taken as ground to clear the outer root fillet (the usual practice; not ground it would sit r (1 − 1/√2) off along the diagonal, said). One shear plane; bearing on the thinner of the two legs; net section and block shear on both; one leg bolted eccentric, both legs nested concentric. Angle in angle only for now (channels later, the same rule; a pole's slip joints stay their own item). - B — covers on both sides (double shear). A
[[splice]]at a joint: its id, the members it joins, its covers (per leg of an angleouterandinner, each a thickness, a material, an outline worked out from the bolts or given). Each member end bolts onto it (onto = "S1") with its own bolts and layout. Two covers on a leg: two shear planes; one: one. Bearing on the lower of the member's leg and the covers' thicknesses together; each cover checked as a plate is (net section, block shear, end and edge distances) for its share of the force by area (an assumption, said in the theory); bolt slip not modelled. Flat covers only for now (an inner splice angle later). - C — continuous through the joint (one part).
kind = "continuous"withontothe member it runs on into; one end given sets the other's. Allowed when the two are in line within 1° and have the same section, roll and reference; otherwise kept, said, and computed as a splice (today). The ends join rigidly in the analysis (asfixed); no bolt, bearing, net section or block shear at that end; the end concentric (its restraint not taken from the continuity: the panel beyond can buckle with it, ASCE 10-97 C3.7.4 — on the safe side); the buckling length is unchanged (from bracing point to bracing point). Drawn as one solid through the joint; the part lists count the chain as one piece of its whole length; the members keep their ids. A command proposes the pairs in line of the same section, for the user to confirm (never set by itself, nor by an importer).
Built 2026-11-05 (in active development, not approved yet): stage
1 (the data, f7cfd96d) and stage 3's member checks — the shear planes
worked out, the bearing on the leg bolted onto (ASCE 10-97 4.4, SIA 263
(76); at ends with a connection), a continuous end without connection
checks (theory); the covers' own
checks as plates for their share of the force by area; the exports
(splices.csv, parts.csv, a face column; IFC covers as IfcPlate
with OHL_Splice, OHL_Member.Part/PartMembers).
Shear planes are worked out from the plies the bolts pass through
(given still wins, said when it differs). Stages: 1 the data (face,
[[splice]], continuous, the worked-out shear planes); 2 the
geometry (the nested seat and the fit, the covers' outlines, the bolt
grip, the continuous solid and part chains); 3 the checks (ASCE 10-97
and SIA 263, each by hand in a test); 4 the app (the Joint panel's
choices, the continuous command, the three views, the sketch); 5 the
exports (CSV, IFC OHL_Splice, one part per continuous chain) and the
docs.
Stages 2 and 4 built 2026-11-05 (in active development, not approved
yet). Stage 2 (ohl_structure_link): face = "inside" lays the end on
the inner face of the other's leg (its outstanding leg through that leg:
a misfit, red); nested places the angle heel into heel (its heel
ground: on the other's inner faces), in line and turned alike within 5°
(an assumption), the fit said per leg (≤ leg − t − r) and the code's end
and edge distances in both parts, the larger running on past the work
point over the bolts (cut below 0); covers on the leg's faces round the
bolts (an inner cover from t + r), the grip the leg and the covers;
continuous ends without cut, shift or bolts, one solid through the joint
(MemberSolid::runs_on), part_chains; plates and covers as solids
(plate_solids). Stage 4 (OHL-Structure): Face and Planes columns,
continuous in the Held list (offered only when continuous_problem is
none), + Splice and the splice box, Design › Continuous members… (ticked,
one undo step), covers and misfits in the close-up, the face view and the
3D view, the sketch "How member ends meet" (joint-plies.svg). Open: the
checks (stage 3), the exports (stage 5), channels nested, a bent splice
angle.
Bolt library — built 2026-11-02#
"A bolt library could be nice to have too so that it can be easily added and imported/exported."
- A bolt library file (
.ohlb, formatohl-bolts), kept like the cross-section library (Bolts/next to the structure, the project's libraries): per bolt anid,name, diameter, hole, grade, ultimate and yield strength, shear capacity per plane (threads in or out of the plane), tension capacity, the head's and nut's sizes and a mass per grip length (for the drawing, the weight and the bill of materials). None of a standard's numbers built in: an example library of invented values ships, as for the cross-sections. - A connection names a bolt:
bolts = { count = 2, bolt = "M16-8.8" }; values typed in the connection still override the library's. - OHL-Structure: File › Import and the Libraries panel list the bolt libraries, Import and Export as for cross-sections; the bolt layout window picks a bolt from them; a bolt the structure names but no library has is listed (as a cross-section).
- The checks (stage 4) then take the bolt's strengths from it; the bill of materials counts the bolts per kind (stage 4.6).
Built as above, but: the head's and nut's sizes and one mass and grip per bolt (as sold); the bill of materials reads its mass and grip (stage 4.6, 2026-11-19); the checks do since stage 4.2 (2026-11-02: its shear capacities and ultimate strength). Format. Questions left: masses per grip length; one library per project or per folder (today: per folder, as the cross-sections)?
Automatic layout — built 2026-11-18, in active development#
(Request (2026-11-18): "a plan for an automatic setting on the joints … so that it's physically doable (no crossing members or beams)".) Built in stages, each usable on its own.
Stage 1 — the 3D clash check (ohl-structure-link clash.rs).
Every solid at a joint — each member's steel as placed from its cut to
half its length (the other half is the other joint's), the plates and
covers, every bolt's head, shank and nut — is cut into convex pieces (a
profile's outline into convex polygons by its ears merged, run along
the member; a plate's outline the same through its thickness) and each
pair of pieces of parts that do not bolt to each other is tested by
separating axes (faces' normals and edges' cross products: exact for
convex solids). Run into each other by more than CLASH_TOLERANCE
(1 mm, the program's own: touching faces and the drawings' rounding)
along every axis: a Clash (the two parts, the depth, about where) in
JointDetail::clashes, a Problem::Clash of each member end in it
(drawn red: misfit), a note of a plate in it (PlateSolid::misfit),
BoltSolid::clash (red in the 3D view and the close-up). Not tested,
as bolting together: a member and what it bolts onto (and the member
running on from that in line, within 20°), a member and the member it
runs on into, a plate and its leg (and the leg running on), the plates
of a welded plate, a bolt and its member, a bolt's shank and what its
member bolts onto, the bolts of two members one bolting onto the other,
a bolt and a built-up member it bolts onto. The Problems list offers a
member's cut pulled back by the depth and 5 mm (tried on a copy). View ›
Display options › Joints with clashes colours the joints. Cost: worked
out with the joint details (a real tower of 3030 members, 1145 joints:
0.57 s for the details with the clashes, dev build).
On the private real towers (imported, never laid out) nearly every joint has clashes: their members' ends are where the tower program's export leaves them (the cut only clearing the leg's heel, the bolts at the drawing's assumed gauge, pitch and end distance), so the bracing on one flange overlaps — the case the layout's stages 2 to 4 are for.
Stage 2 — the plane layout engine (joint_layout.rs, plan_joint:
a pure function of a JointDetail, LayoutSettings and the code's edge
distance rule). Candidates: ends bolting by one leg of a single angle onto
a member's flange at the joint (host_flange: the angle, or the facing
angle of a built-up member), not in line with it (20° to 160°), not
running on, not nested; an end without onto takes the member running
through the joint (through_of: a crossing; also where a plate on no leg
lies). Each is a 2D strip in its flange's axes (along the host, across the
flange from the heel), grouped by plane (the outer or inner face). In
order (class, wider leg, larger angle, id): concentric (its gauge line
through the work point), then pulled back until clear of the heel (inner
face: the other leg and root by half the gap), the strips before it
(half-strips widened by half the gap, clipped as convex polygons) and the
bolts on that face not laid out; over the longest pull-back a sideways
move, a millimetre at a time up to the shift limit; then direct (every
bolt on the flange: from t + r + nut to width − edge) or one plate per
plane (bolts past the flange by nut and gap; not on an inner face or a
built-up leg). What does not fit: hand with why, left as it is; the
rest laid out. Tests (joint_layout_tests.rs): K-brace, X-brace (onto
the member running through), a shallow redundant (shifted or a hand
detail, never forced), two faces at a corner (two planes, a plate each),
a built-up leg (its facing angle's inner face, said), plates of the
thickest leg, the same plan twice.
Stage 3 — plates and the run on a file (layout_run.rs). lay_out:
the record's values taken out at the joints asked (and the members' rolls
back to what they were), members turned flat where their ends agree
within 2° (the middle of their turns), each joint planned, written into
the file as it was (cut, shift beyond concentric, onto, provisional
bolts/gauge_lines or a preset's fields), plates made (thickness the
thickest leg bolted on it, a hand thickness kept with its plate's id —
since the fifth round other ids the first free —; outline round the bolts written cut at the flange's heel by half
the gap; welded together as a choice), the record written; then the
joint details and the clash check again, a joint whose laid-out parts
would clash taken back. follow: an edit's touched joints (touched:
members, connections, plates, positions, settings) laid out again, an
automatic value changed by the edit made the user's; no fit: the edit
and the old layout kept, the joint in the record's hand, said. The
record: [[generator]] kind = "joint_layout" (data model,
format),
read by the structure application only; body::generators leaves it out.
A concentric end is drawn with its gauge line through the work point (the
record's gauge mark, joints::place_bolts): display and clash check
only — the analysis keeps the member's axis there and the code's curve
takes that normal framing eccentricity (ASCE 10-97 3.7.4.2, C3.7.4, C2.4),
shift is only a move beyond it.
Stage 4 — the app (layout_window.rs): Design › Lay out joints… and
Joint details › Lay out joint… (the tool-window pattern), the preview on
a thread (joint_details_at: the joints asked only), Apply as one undo
step (StructureFile::edit_alone), Joint details' laid out
automatically / provisional bolts / Needs a hand detail, the follow
of edits (StructureFile::set_follow, the edit's message), the header's
level 3 while bolts are provisional and analyse_structure reading the
file without joint_details then (the core's level is unchanged: a core
change would be needed for OHL-Design and the core to say level 3 too —
not made, see the open points).
Stage 5 — effect and docs: the window's usage before and after for the last run's cases (the analysis twice, on a thread) and the time the layout took; user guide, theory.
Stage 6 — the real towers (private, local-data only; numbers without names): the 78 tower files of a real line, whole towers, values given by hand replaced — 64 760 joints, 14 306 laid out (9 135 plates, 18 289 ends, 37 of them shifted, at most 20 mm), 59 319 with members left for a hand detail, clashes at the joints 1 048 936 → 999 337, a run again identical on all 78. A tower of 3 030 members: 4.3 s for the whole tower, a following edit 1.6 s (release). Most of what is left: as imported, the bracing lies on the legs' inner faces running towards the angle's other leg, or off its flange with no common roll (plan and hip bracing), or its axis out of the flange's plane — whether the imported angles are turned as built is an open question. The starting values of the settings follow from these runs (theory page).
Third round (2026-11-18, core change approved): the core reads the
record's provisional list (StructureType::provisional_bolts, only
that list; JOINT_LAYOUT_RECORD) and StructureType::detail() gives
level 3 while any bolt is provisional, level_note() says why — OHL-Design
(structure picker, properties, the type's workspace), ohl structures fe
(the model's joint-use note) and the line's level 4 alike; OHL-Structure's
own workaround (the run reading the file without joint_details) is
gone. Where no code gives minimum bolt distances the layout keeps the
structure's default minimums ([default_bolt_minimums], LayoutSettings::defaults
from the file). Open: plates on an inner face and on
built-up legs, members on both sides of one plate, bent plates for
members no roll lays flat at both ends: by hand.
Fourth round (decided 2026-11-18: the legs' turn of an imported tower is an import artefact — the export carries no member orientation —, "only turn where it helps"):
- Orient angles (
orient.rs,orient_angles; Design › Orient angles…,orient_window.rs): the legs (classleg) and the angles running on in line within 10° through a joint turned heel out with a flange in each of the two faces meeting at them — the faces from the neighbouring legs' lines (a leg's from the other legs, a chord's from the other chords, joined to its line by a member lying in one plane with both): seen along the member they make a convex polygon, the member a corner of it (IN_LINE_DEG,PARALLEL_DEG,CORNER_DEG); the angle's bisector on the faces' bisector; stars and crosses alike, back-to-back angles left; horizontal plan and hip members in no steep face laid flat, the other leg down (assumed). Rolls given by hand kept unless replaced; the record'soriented(data model). Tests: square and rectangular bodies, a taper change, a box crossarm, a portal of two columns, hand rolls, legs with fewer than two neighbours. - Turned only where it helps (
layout_run.rs): a member is turned only when one roll lays it flat at all its ends (those at joints not asked too), no end of it not asked is laid out with its roll now, and a joint of it is laid out with the turn (planned, then written and clash-checked); else its roll stays, said, and the joints are planned again without the turn. An automatic roll is taken back when none of its joints is laid out with it any more; a leg's or chord's roll from Orient angles is never turned. - Faster follow (
reduce.rs): the touched joints are worked out from the file cut down to what their details read (every joint, the members at them and at those members' other joints, the members they name, their connections, plates, splices and record marks), the planning done on that cut, the joint details building their model once (the exports' axes from it, section properties once per thread), and the structure file's after-edit hook giving the file as read (ohl_structure_edit::Edited,follow_read). A following edit on the private real tower of 3 030 members: 1.72 s at the start of the round, 1.85 s with the turn checks from the whole file, 0.135 s now (release optimisation, the machine shared with another build); 2 217 members 0.09–0.10 s. The files written compared byte for byte with the whole-file follow on 35 edits of 7 real towers (a plate made thicker, a section, a roll, a joint moved, the gap setting): identical (lay_out_whole,follow_wholekept for that comparison). - On the 78 real tower files (Orient angles, then Lay out joints, values given by hand replaced): joints laid out 14 306 → 15 122 (9 135 → 8 384 plates), with a hand detail 59 319 → 59 159, clashes at the joints 999 337 → 1 004 965 after (1 054 242 before, with the legs turned), a run again identical on all 78; Orient angles turned 58 646 members (36 335 legs and chords, 23 548 plan members) in 26 s for all 78, left 1 083 legs (950 with fewer than two neighbours: the leg extensions at the foot). The whole tower of 3 030 members: 0.4 s to orient, 5.3 s to lay out (4.2 s before: the turns planned again where one does not help). Of the 59 159 joints left with a hand detail, by the kinds of their reasons: 12 691 only because a member's axis runs out of the plane of the flange it bolts onto (mostly redundants and crossings onto bracing that does not lie in its face: the bracing's own roll), 11 054 only because a laid-out part would clash, 3 230 only an inner face (19 438 with it), 3 608 only a member no roll lays flat (17 467 with it), 2 220 only a built-up leg (4 496 with it). Next: lay the face bracing in its face (Orient angles for bracing: one flange in the face its line lies in), then plates on an inner face; then bent plates and built-up legs; members on both sides of one plate by hand.
Fifth round (decided 2026-11-18: "for the automatic joint layout it doesn't work too much on real structures … can you please tune it based on 1 or 2 pylons"), tuned on two private real towers (a dead-end and a suspension tower of 2 522 and 2 488 members) and checked on all 78:
- Orient angles: face members (
OrientKind::Face, the record'sface): every other single angle lying in a steep face between its legs or chords (FaceOf::holds: its ends withinIN_FACE= 20 mm and 5 mm per metre of its plane, its middle between the face's two lines) laid with one leg in the face, the other out of the tower, the leg in the face down from the heel where it can (assumed, as for plan members); and an angle running on in line that lies in a face of the legs is no chord (a face's diagonal running on through its crossing: on one real tower 260 of 670 "chords" were such diagonals, turned to a corner 18° off their face). - The member an end bolts onto named first (
hosts_to_name, in the run's planning copy): an end bolting onto nothing named gets the member running through the joint, so its leg bolted and its flat turn are those on that member (every "axis runs out of the face" end on the two towers was such an end, measured against the leg not bolted); an end whose worked-outonto(the joint's leg) has no flange in whose plane its axis lies gets a member running through the joint that has one (host_in_plane: a plan diagonal at a vertical post onto the horizontal). Choosing the in-line leg segment an end runs along was tried and left out: the ends of one face then fell on two hosts and clashed with each other. - Half a turn (
layout_run, before the turns are planned): a member with an end on an inner face that cannot be laid out there gets half a turn more, kept when more of its ends are planned laid out and its joints lose none; then the usual "turned only where it helps". - Plates on an inner face (
plan_joint): as on the outer one, the plate's heel line at the angle's thickness and root from the heel. - A run again identical with the clash rounds: the plates the layout
made at the joints written are taken out before any is written (their
ids free: a plate's id is the first free one, kept only where something
was given on it by hand), a connection emptied by a run goes at once,
and the plates, connections and the record are written at the end of
the file in that order (
Table::set_position(None)): the same layout gives the same text, whatever an earlier run's text was. - Step 1 (
joins_of,Join,JoinKind; the run names them in its planning copy before anything else, writes them with the joint, recordskind/faceandontoas automatic): the biggest pair in line joined as one part (the core'scontinuous_problemnone, no bolts at either end) or nested; one pair per joint, none where a member runs on through already. Those joined are not turned. On a built-up member the ends landing on its flange are bolted to it. - The clash check leaves members, not joints (
write_rounds,plan_joint_except): the laid-out members in a clash (a member before a plate's members, a redundant before bracing, then the larger id) are left as they were with the clash, the joint planned and checked again without them, up toCLASH_ROUNDS= 4 rounds, then left whole. Later rounds check only the joints planned again; a pass of the "turned only where it helps" loop takes the joints its refused turns do not touch as the last pass left them (Checked), and plate outlines are kept per joint while its plan stays.
On the two towers (Orient angles, then Lay out joints, values given by hand replaced): joints laid out whole 71 → 225 (of 942) and 22 → 355 (of 1 006), joints written 306 → 579 and 243 → 708, member ends laid out 410 → 1 460 and 334 → 1 722; on all 78 tower files of the line (64 760 joints) laid out whole 1 414 → 17 829, written 15 122 → 43 608, a run again identical. The settings are unchanged: none was too strict for these towers once the members lay as built. Left by hand, with their reasons (joints with each): a laid-out part that would clash (members left, or the joint left whole), a member no roll lays flat at both ends (a bent or welded plate, step 4, not built), an end running towards the other leg on an inner face that half a turn does not help, a built-up member's plate, members too short for their bolts.
Sixth round (2026-11-19, steps 4 and 1c and the leg splices; "report only"):
- Step 4, a welded plate (
joint_layout::OwnPlane,own_geometry): an end no roll lays flat goes onto a plate in its own plane welded to the flat plate of its face on the flange (the face's other ends bolted onto the flat plate), on the outer face or — coming from inside a leg's corner — the inner face; the weld written from both sides with its throat (0.4 × the plates' thickness, whole millimetres, at least 3 mm: the layout's choice) and length so the existing weld check is made (SIA 263 6.3.3.5: a partly penetrated weld as a fillet weld). The record'smademarks the plateown_plane: the joint details seat its member on its outline, lifted along the flat plate's normal (PlateSeat::lift; the plate'slegnone, so the clash check tests it against the leg); a plate with no member welded to others takes their leg. Limited on the safe side: only where the member's axis then lies at most one plate thickness farther out of the flange than on a flat plate (its line of action off the work point is not in the analysis); measured on two private real towers the extra offset of the ends planned is 4–38 mm (median 15–17 mm), so most stay hand details with that reason — an open question. A weld's size changed by hand is kept (OldPlate::weld, the follow droppingweldfrom the automatic fields). Members whose leg bolted faces away from the face get half a turn tried, as for an inner face. - Step 1c, splices (
JoinKind::Spliced): two angles in line of other sections that do not nest, both with bolts, nothing else bolting onto them at the joint (tried first with bracing on them: on the private towers every such cover then ran into the bracing and joints laid out whole before were lost — 17 848 → 17 755 on the 78 — so not there) — a[[splice]]the layout writes, covers outer and inner on each leg bolted (as thick as the thicker leg), both ends onto it; recorded inmade(splice,cover <t>), made again by a run unless its covers were changed by hand (then kept). A cover counts as a part of the two members it joins in the clash rounds; the members onto a splice are kept clear of (their bolts) by the other ends. - Leg splices of one section (
splice_unknown,SPLICE_UNKNOWN): the bolts are the members' design data, at both ends of every leg member, so where the splice is is not known; drawn as before (lapped) and said, first among the joint's reasons when it is left whole. EdgeRulegives the code's edge and end distances (the welded plate's outline). The file cut down for a follow keeps the record'smaderows of the plates it keeps (the seat readsown_plane): the follow compared byte for byte with the whole-file follow on five real towers, a welded plate's flat plate made thicker and its weld changed among the edits — identical (28 of 28). A flat plate with nothing bolted onto it keeps a thickness given by hand (it is known by its welded plates' members). A following edit on the real tower of 3 030 members: 0.28–0.34 s, the same as before this round (load 12–18); at a welded joint 0.56–0.59 s.- On the 78 real tower files (Orient angles, then Lay out joints, values given by hand replaced): laid out whole 17 848 → 17 880, written 43 576 → 43 751, with a hand detail 42 890 → 42 858, clashes at the joints after 647 433 → 644 810, a run again identical on all 78; step 4 on 371 joints (410 ends). Of the 26 967 ends still off the flange: 7 864 their leg bolted facing away (half a turn did not help), 7 635 the welded plate would put them farther out than a plate's thickness, 7 256 on an inner face running towards the angle's other leg, 3 779 running down towards the flange; step 1c none (every leg splice of other sections has bracing on it); 6 026 joints say where their leg splice is is not known.
Seventh round (2026-11-19, ROADMAP O44 J1 and J2, approved in that order; "plan ideas to get the automatic layout working"):
-
J1, a search per joint (
joint_layout::plan_joint_with,search_plane,NODE_LIMIT= 400 placings per joint, said with the ends left where reached): the planes on the biggest members first (Strip::host_rank); each plane's ends placed in every order that can matter, the decided order first, backtracking (an end that fits nowhere now fits nowhere later; placings reached in another order not searched again); the most ends, then the least eccentricity, then the first found. Each end keeps clear of the joint's fixed steel (clash::piece_corners: the clash check's convex pieces of the parts not laid out,fixed_in, clipped to the end's layer and seen from above,footprint,poly_need) and of what the planes before laid out (solids_of: boxes of the legs, outstanding legs, bolt heads and plates, conservative). After writing, an end in a clash is first pulled back past it (write_rounds: its least cut from the clash's place, depth and the gap,Strip::floor;PULLS= 3 per end,CLASH_ROUNDS4 → 6) before it is left as it was. -
J2, the ends that fit kept and the place of a member left kept free (
JointPlan::kept_free): a member left for its own sake (it fits nowhere even alone) is fixed steel for the plan, and in the clash check a clash of an end laid out with it counts; one left for want of room or for a clash, a plate under a member left and the members joined first are said with it, as before. The window's hand list names the members left, the rest laid out, those kept free (layout_window::hand_words), and the summary the member ends laid out of all. -
Fixed on the way: the ends of one flange's face naming two members of a run through the joint (a leg in two members, one end onto each) were measured in two mirrored frames (the plane's x along each member named): their clearances were wrong. The plane's axes now run one way for every member of the run, so such ends share one plane and one plate.
-
No format change: the record is the same (the reasons in
hand). -
Tests: the decided order filled one after the other leaves a short redundant, the search lays both out (D1 pulled back past it); a single placing says the limit; the same plan twice and a plan written kept; a cut given by hand kept; a member too short for its bolts keeps its place (plan and run); two invented versions of example joints sent (diagonals bolted directly on a main angle's flange in the middle of a panel, two bolts each; a gusset plate on it there).
-
On the 78 private real tower files: joints laid out whole 27.6 % → 44.1 %, member ends laid out 48.9 % → 62.8 %, joints with a hand detail 66.2 % → 49.7 %, clashes at the joints after 61.6 % → 46.3 % of before, a run again identical on all 78; a whole tower of 2 190 to 3 030 members 6–9 s → 10–15 s (one after the other). The order search itself changed nothing there (stops paying: kept for joints where it does); the gains are the fixed steel seen in the plan and the pull-back past a clash. What is left: theory.
-
A bent plate (the example of 2026-11-19, a plate folded to follow two faces at a corner, members on both sides): of the joints still with a hand detail, 60 % have an end whose leg bolted lies off its flange or faces away, or lies on an inner face running towards the other leg — what a bent plate would take —, and for 29 % it is the only reason; onto a leg alone 9 % (the only reason for 2 %: most such ends bolt onto bracing — horizontals, plan and hip members). Approved 2026-11-19 (before J3), built the same day as J2b (below).
-
J2b, the bent plate (2026-11-19, in active development, not approved yet; theory): an end on a flange's inner face leaving over the heel (
strip_of:Strip::over,Over; before, "runs towards the angle's other leg") is placed by the search like any end, its cut keeping its steel and bolts past the other leg's outer face, the plate and its bend (over_cut,over_steel); after every plane is laid out, the ends of one plane share one bent plate (bent_over): the flat in their plane (anOwnPlanewithbend: Some(BendPlan { angle, inner_radius, line }), no weld) and the flat on the other leg (PlatePlan::outlinegiven,PlatePlan::hold, aHoldPlan— two provisional bolts onto the member, written as[plate.leg_bolts]), or that leg's face plate (2b) when its ends are all on one (BentOver::into: thicker, itsreachover the flat); refused where the leg leaves no room for the holding bolts or an end lies directly on its face there. Inside radiusBEND_RADIUS_RATIO× t (2, the program's starting value). The run checks its half turns with the bent plates off (LayoutSettings::bent_plates) and plans again with them (the decided order: flat first). Written:[plate.bend](structure file version 22), the record'sbendandleg_boltsmarks, the holding bolts provisional as (plate, joint). Joint details:PlateDetail::bend, the two flats oneassembly(no seam or weld), members seated square to a flat standing square to the other (PlateSeat::liftfalls back to the plate's normal), the bend's bending said NOT ON THE SAFE SIDE; bill of materials from the developed area (quantities::bend_shortening); IFCBentWith,Bend; close-up in green, the sheets "bent with". Tests:bent_plate_tests(the plan, the file, the details, no clash, a run again identical, the narrow leg refused, without bent plates as before, the estimates, the weight by hand), corea_bent_plate_is_read_as_two_flats, the app's window. -
On the 78 private real tower files (J2b): joints laid out whole 44.1 % → 45.8 %, member ends laid out 62.8 % → 64.3 %, joints with a hand detail 49.7 % → 47.9 %, clashes after 46.3 % → 44.4 % of before, a run again identical on all 78, a whole tower about 5 % slower; bent plates at about 6 % of the joints; the ends over the heel left fell to about two fifths (most refused for want of room for the holding bolts on 45–55 mm legs). Joints that do not fit with the joint checks 32.3 % → 31.8 %; the estimated eccentricities' upper bounds 24.3 % → 22.0 % of the ends.
-
J3, one roll for the whole member (2026-11-19, in active development, not approved yet; with the decided order of the classes of the same day; theory):
whole_roll::whole_roll(&[EndTurn { turn, either_leg }], FLAT_OFF) -> Option<(turn, RollWay)>— the same legs withinFLAT_OFF(2° since the decision of 2026-11-19, 5° before) first (as before), else an equal-leg angle's leg bolted changing between its ends (its turns a quarter turn apart,layout_run::either_leg: a single equal-leg angle not bolted by both legs), the smallest such turn; none: not turned, said.lay_out_oncefinds the turns class by class (joint_layout::ClassRank,class_rank(class, direction): legs and chords never turned to suit bracing, then diagonals, secondary bracing — horizontal bracing, aplanmember of Orient angles, no class (said) —, redundants), the joints in detail again with each class's turns before the next; the same rank orders a plane's ends and the planes in the search (Strip::rank,host_rank) and the members left first in a clash. Orient angles keeps a plan or face member's roll the layout chose (OrientRun::by_layout, its window's list). The relaxed planner (plan_relaxed, O45) takes the same. No format change. Tests:whole_roll_tests,layout_run_tests::one_roll_for_the_whole_member_lets_both_its_ends_lie_flat,no_roll_for_both_ends_leaves_the_member_as_it_was. Tried and left out (at the 5° of then): a turn leaving every end within the whole 5° of flat (measured: slightly fewer ends). -
J4, laid out once per kind (2026-11-19, in active development, not approved yet; theory):
joint_kinds::kinds(details, among, strict) -> BTreeMap<joint, Like>(each joint like an earlier one with the match against the first of its kind: the rigid map of the eight keeping the vertical,Map, the member pairs;like(a, b, strict),like_joint(details, id); tolerancesDIR_TOL,LEN_TOL),map_plan(plan, like)(the plan's members, points and directions mapped, lengths kept, words said with the joint's members:Like::words;JointPlan::likenames the joint planned).layout_run::plans_ofplans one joint per kind and maps it onto the others (LayoutSettings::once_per_kind, on by default; off: every joint on its own, for the comparison); each joint written and checked for clashes as before, the clash rounds planning a failing copy on its own.apply_detail::apply_detail(text, sections, bolts, joint, only) -> ApplyRun { text, applied: Vec<Applied { joint, how, ends, plates }>, left, seconds }: the command Apply this joint's detail to similar joints (OHL-Structure, the joint's bar in Joint details,apply_window): the source's connections and plates copied onto the joints of its kind (loose match: members only) —onto,other_onto, plates'outline,[plate.bend]to/line,welded_to, welds'to,[plate.leg_bolts]membermapped —, the target's own plates and connections there replaced (their plate ids reused: applied again, the same file), the record'sends,made,provisional,jointsandhandfollowing; a copy running into more than the source in its own place left (said), a joint with a splice left. No format change. Tests:joint_kinds_tests(a body's corners of one kind, another section not alike, a mapped plan as the joint's own, a run once per kind as every joint on its own, the words),apply_detail_tests(a laid-out joint applied turned, a hand detail, only where asked, applied again the same), the app'sapply_ui_tests(the preview, one undo step, an unticked joint left, Escape). -
J9, pieces in line proposed one part, and the mutual-host guard (2026-11-19, the decisions D15 and D16; in active development, not approved yet; theory):
in_line::in_line_pieces(t, joints) -> Vec<InLine { joint, member, onto, not, roll }>(from the file alone: pieces of one section in line withinCONTINUOUS_ANGLE_DEG, the same reference and orientation, rolls withinROLL_TOLERANCE_DEG=FLAT_OFF;not: why not proposed — legs with bolts (J7), a splice,kind,ontoor bolts given by hand at either end, the layout record's automatic fields not counting;roll: the one roll confirming writes when theirs differ),in_line::confirm(doc, t, list) -> (written, not)(the proposed pairs: a chain's rolls set to the mean of its pieces' —record.rolleddropped for them —, the layout's automatic values at those ends taken out,connection_edits::set_continuous),confirm_text. A run says them (LayoutRun::in_line, the joints asked) and never writes them; the window lists them (layout_window::layout_in_line: Confirm, Confirm all, oneStructureFile::editeach). A run replacing values given by hand keepsontoof a connection givencontinuous(in_line::one_part). The planner:joint_layout::mutual_hosts(of two ends whose hosts are each other, or one the other's piece in line, the one running through, else the larger, stays host; its end goes toJointPlan::leftwith why);through_ofandhost_in_planerank the piece on the end's side first among equals (same_side); a strip'shost_ends,host_cut,host_along,host_endand the planes ordered by the depth of their hosts' own ends (laid_cut):landsasks every bolt on the host's steel past its cut by the end distance where the host ends at the joint (bolt_along,cut_of). The run's clash rounds (write_rounds): an end laid directly onto a member is checked against that member as written (misfit_on: the joint checks' flange and beyond-the-end rules) and left as it was where it misfits, the joint planned again. No format change (kind = "continuous",ontoand a member'srollas before). Tests:in_line_tests(proposed and never written by a run, confirmed and kept by a run replacing values given by hand, a run again identical; legs with bolts, a splice, bolts given, turned apart not proposed; rolls a little apart one roll; the layout before and after confirming, the piece on the end's side named; the redundant on the pieces before and after),joint_layout_tests::members_bolting_onto_each_other_are_never_both_laid_out, the app'slayout_ui_tests::pieces_in_line_are_proposed_and_confirmed_in_one_undo_step. -
J7 part a, leg splices proposed, bracing through the outer cover (2026-11-19, the decisions of the same day; in active development, not approved yet; theory):
leg_splices::leg_splices(details, t, joints) -> Vec<LegSplice { joint, member, onto, not, covers, thickness, provisional }>(from the joints in detail as the run plans them: two pieces of a leg in line withinNESTED_ANGLE_DEGof other sections — or of no leg, both bolted, nothing else on them: step 1c's rule —, their legs along each other; covers outer and inner on each leg bolted, the thicker piece's leg thick; the pieces without bolts given provisional ones;not: a splice given,kind,onto,faceor bolts given by hand, not single angles, in line within more than 5°, legs not along each other, nesting; pieces spliced together already not listed),LegSplice::assumed()(the words of what is assumed),leg_splices::confirm(doc, t, list, bolt)(each a[[splice]]—layout_run::write_splice, shared with step 1c —, both endsontoit, provisional boltslayout_run::write_boltslisted in the record'sprovisional; the layout's own values at those ends taken out),confirm_places(doc, t, one_part, splices, bolt)(one edit: the same section's pieces one part byin_line::confirm, then the splices),confirm_text.InLine::splice_bolts: pieces of a leg with bolts are now proposed one part (the decided rule), flagged, and listed with the splices; J9's list leaves them out. A run says them (LayoutRun::splices) and never writes them;joins_ofmakes no splice any more (step 1c's branch gone,JoinKind::Splicedkept for the writing and the clash rounds of a splice an older run made).strip_jointkeeps an end'sontonaming a splice the layout did not make (also when replacing values given by hand) and its provisional bolts listed;LayoutRecord::is_emptycountsprovisional. Through the cover:joints::through_cover(Through { splice, leg, outer, inner, leg_t }: an end lapped on the outer face of a spliced piece's leg with an outer cover there),Arrival::through(the splice and the leg): the end and its bolts moved out by the outer cover's thickness, the grip its own leg, then the outer cover, the leg and the inner covers; the outer cover's outline round its bolts too (cover(.., through, ..));clash: such an end lies on the splice's covers, its bolts' shanks through them;plate_checks::cover_plans: the outer cover planned for the end's whole force (share1, said). The planner:Strip::through(outer_cover), the strip's face and plane key moved out by the cover, the cover not fixed steel to it (fixed_in), such a plane bolted directly only — the ends whose bolts do not land left for a hand detail ("… a plate over the cover is not laid out"). No format change. The window:layout_window::layout_leg_splices(Leg splices, Confirm, Confirm all, Assumed: …, oneStructureFile::edit"Leg splice places (n)"; provisional bolts: the preset forleg, else the bolt picked). Tests:leg_splices_tests(a change of section proposed and never written by a run, confirmed, kept by a run replacing values given by hand, two shear planes, a run again identical; the brace through the outer cover — seated, its grip, no clash, the cover checked for its whole force; provisional bolts listed and kept; the same section with bolts proposed one part; reasons said),in_line_tests(legs with bolts flagged), the app'slayout_ui_tests::leg_splices_are_proposed_and_confirmed_in_one_undo_step(its picturetool-lay-out-joints-leg-splices.png). -
L1, the quick round (2026-11-20, the ideas of 2026-11-19; in active development, not approved yet; theory): three switches of
LayoutSettings, on by default (RecordSettings::layoutand the window take the defaults; not in the file — no format change).bottom_up(a):joint_order::joint_order(t) -> JointOrder { zone, rank }(Zone::{Body, Arm, Top}: the legs' lines of classlegwithin 30° of the vertical,LEG_STEEP, give the body's outline at each height as a convex hull; a joint withinON_OUTLINE= 0.10 m of it is of the body; the order the body bottom up, then the arms and the top by how far out);layout_run::plans_ofplans the joints in that order (joint_kinds::kinds_in: the first of a kind its representative) and lists them in the file's; the roll stage turns a member no one roll lays flat, none of its ends flat now, to lie flat at its end first in the order (said, kept only where it helps).more_plates(b):joint_layout::plan_joint_ctx(.., ctx: &PlanCtx { plated, plain })—plan_oncewith faces forced onto a plate (PLATE_TRIES= 4 faces bolted directly tried where the plan leaves members; strictly more ends wins);write_rounds: an end bolted directly that would be left (or is pulled back past its longest pull-back) is put inplatedonce and the joint planned again, kept where the plan lays it out (Checked::platedin the memo).onto_search(d): after the half turns, for each end the plans leave (itsontonot given by hand),joint_layout::onto_candidates(single angles at the joint, 20°–160°, in a flange's plane, not bolting onto it; today's rule's order, those running through first) — each ofONTO_TRIES= 2 passes names the next one in a copy of the planning file, works out those joints in detail and plans them alone; a joint takes them where its plan lays out more ends and leaves no new end inleft. The guard (layout_run::Guard { changed, plain }, for (d) and for (b) in the plan): afterwrite_rounds, a joint L1 changed that lays out fewer ends than today's plan of it is planned again as today (its names taken back,PlanCtx::plain) and the clash rounds run again on it (the memo keeps the rest). Not inplan_relaxed(the estimated eccentricities). (c), redundants and the body's diagonals bolted directly on a face going onto a plate, was built, measured and taken out (no gain). Found measuring, for every run:write_roundschecks the holes of the ends laid directly onto a member's run overlapping (holes_overlap, the joint checks' rule) and a plate's own bolts ([plate.leg_bolts]) within its outline and on that member's steel past its cut as written (plate_checks::ray_to_outline), leaving such members as they were. Tests:joint_order_tests(the zones and the order of an invented tower with an arm and a peak, no legs),layout_run_tests(a member turned to lie flat at its end on the body; an end left on a built-up leg laid onto the other diagonal; holes overlapping as the checks say; the 8° strut withbottom_upoff as before),joint_layout_tests(a face put onto a plate though its bolts land; the candidates' order). -
The bent plate's own bolts (J2b fix) and L2, clash-aware planning (2026-11-20; in active development, not approved yet; theory). J2b fix, for every run:
joint_layout::bent_over(.., laid_cut, ..)places the two holding bolts (HoldPlan::points) on the steel of the member they bolt onto where it ends at the joint — past its cut as laid out in the plan (laid_cut), else as given or worked out, else the work point, by the end distance (Strip::host_end) —, the pair moved out along it, the flat with them; where that member's own end is laid out in the plan, the flats laid out where it will be drawn (withexact_planthe plane is shifted already, below; without,moved3inbent_over; a member on a welded plate in its own plane: the bent plate refused, said);write_roundsalso leaves the members on a plate whose own bolts would overlap a hole of that member's own end or of an end bolted onto its run (holes_overlap), and (found measuring L2) the bolts of each member on a plate it made outside the plate's outline (ray_to_outline, the joint checks' rule) and a member not laid out (nor left for a hand detail) bolting onto one laid out that would then not fit onto it (misfit_on, the other way round): such members, or the member laid out, left as they were. L2, three switches ofLayoutSettings, on by default (not in the window):plate_on(a) —write_planwrites each plate'son(structure file version 23,PLATE_ON_VERSION, the member whose flange it lies on; not for a plate in its member's own plane) andjoints::plate_seatstakes it as the plate'sleg(its seat's plane, the flange under its worked-out outline, the clash check's leg andPlateDetail::leg);exact_plan(b) — per strip, besidesfixed(its bolted leg's slab),fixed_out(the fixed steel up to its outstanding leg's height,out_w+ the thicker of its leg and the flange, tested overout_band) andfixed_far(behind the face, to the thicker of the two plusBOLT_DRAWNnut and beyond, tested over each bolt's disc of the nut's corner radius) fromfixed_slab/footprint_in;placekeeps clear of both;solids_ofadds each bolt's nut and shank beyond behind the flange or plate and draws a plate asplate_outline2(the outlinejoints::plateworks out: the work point, each leg over its bolts from its first bolt less the end distance — not before the work point — to its last plus it, each bolt's ring of its end and edge distances in a plate of the end's leg's thickness,keep_plate, the flange under it across its width as far as those reach; cut at the heel as the run cuts it);plate_hitstests that outline in the plate's thickness against the fixed steel (not a member on it, the member it lies on or one in line with that, nor a member left for a hand detail), the plates and covers given by hand and what the planes before laid out (2D separating axes,sat2, aboveCLASH_TOLERANCE); a plane on a member laid out in the plan (its planes first) is shifted where that member will be drawn (heel3,face3,heel,w,obstacles: its move across,v3 · moved, and the plate under it).clash_tries(c) —PlanCtx::direct: on a face going onto a plate, those members (their bolts landing) bolted directly;write_roundsputs an end on a plate that would be left as it was there once (directed,Checked::directedin the memo; the replan closure takes the set), kept where the plan lays it out; in the plan, where the plate hits, the ends whose bolts land bolted directly, the others left, said ("on a plate on …, the plate would run into …"). L1 (c) rebuilt asLayoutSettings::direct_first(PlanCtx::bodyfromjoint_order), off by default (measured again). Tests:bent_plate_tests(the holding bolts past the work point on a member ending at the joint, within the flat's outline, the flat seated on it; the plates'onand version 23),joint_layout_tests(an end asked bolted directly leaves its plate, with clash-aware planning off and on),layout_run_tests(the end laid onto another member left when its plate, seated on that member, would run into the leg). -
L2's follow-ups and L3, a plate bent by a few degrees (2026-11-20; in active development, not approved yet; theory). Three switches of
LayoutSettings, on by default (the window lays out with them on):short_plates(a) — whereplate_hitsfinds the plate's outline round the work point (plate_outline2(.., Outline::Round)) running into something, the short one (Outline::Short: no work point, each leg from where its nearer edge crosses the flange's toe, the flange only as far as the legs and rings reach) is tested, then cut straight (separate: the axis partingOutline::Core— the legs and the rings — from what it hits farthest, the plate stopping half the gap short, or half the parting; at mostCUT_TRIES= 4) while it still lies on the flange over half a square of its width (on_flange); kept:PlatePlan::short(the record'smademarklayout_run::SHORT:joints::platedraws it short, itsleg_stripfrom the flange's toe) andPlatePlan::cuts(applied bywrite_roundswhere it writes the outline, beside the heel's cut);plate_hitsnow gives what it hits as its footprint too;solids_oftakes the plate's 2D outline. After writing, a bolt on a short plate nearer the outline than its distances (the joint details'notes) leaves its member, said.slide_holds(b) —bent_overslides the holding pair along the leg (millimetre steps, either way, up to the longest pull-back) until each keeps the default minimum spacing from the holes through that leg (leg_holes: the member's own end and the ends onto it, planned or as they are); none: refused, said. (c), for every run: the record'sendsmarkonto=<member>(layout_run::ONTO_HAND,hand_onto) wherewrite_planwrites anontogiven by hand that the plan kept (onto that member or a plate on it);strip_jointputs it back (unless replaced), the follow drops it when the edit changesonto, the window says "onto (yours: …, kept)". L3,small_bends: step 4'sown_geometrytakes aRoom—Weldas before, orBend { down }(the seam the bend; the steel the curved part (r + t) tan(θ/2) and half the gap from it, the bolts their edge distance from the curved part; the member lifted the least, or — towards the flange — lowered the least,qand the extreme taken the other way);rooms_forgives both bends then the weld for an end at mostBEND_SMALL_MAX= 20° off; eachtoe_cleared with its own cut, thenown_geometry,within(bent:|out_more|at most the plate's thickness) andown_fits; of the bends that fit the least|out_more|(up on a tie), else the weld; the plate in the member's plane getsOwnPlane::bend(BendPlan: the angle, the inside radiusbend_radius, the line where the middle planes meet,OwnGeo::middle), no weld — written bywrite_plan's existing[plate.bend]branch (version 22, no format change).strip_of's early test of a tilted end takes the union of the rooms that fit; the words of a hand detail say why each does not (rooms_words). Tests:layout_run_tests(an end 10° off on a bent plate: written, flat on it, no clash, its bend a row of the joint checks, a run again identical, the follow as the whole file's, off: welded as before; a plate marked short drawn without the work point, convex, its bolts' distances kept; anontogiven by hand kept in the record and by a run again, replaced when asked),joint_layout::cut_tests(the straight cut), the welded plate's test now withsmall_bendsoff. -
L3b, the bent end's turn and the end running back to its bend (2026-11-20; in active development, not approved yet; theory). Two switches of
LayoutSettings, on by default withsmall_bends(the window lays out with them on).bend_facing: step 2b (the half turns) then, for an equal-leg angle (either_legat every end) it flipped without gain whose plan leaves an end at mostBEND_SMALL_MAXoff with "its outstanding leg points towards the flange", the quarter turn thatjoint_layout::turned_endfinds facing that end's leg away (the leg lying flatter after the turn, its off on the flangeflat_ofwould take, the facing asstrip_ofreads it on either face) — all such members in one moreplanned_withpass (flat plates and L3 bends, no J2b), each kept as the half turns are (more of its ends planned, its joints no fewer); the first plan reused where every one is kept.bend_back:Tilted::back(andTilted::band, the flange across and its width) letsown_geometrytakeRoom::Bend { down: false }for an end whoseqruns against its direction (dot(q, dir) < −sin FLAT_OFF, refused before): each leg edge's steel kept up the flap only from the cut to where that edge leaves the flange's band by half the gap (past the toe, or the heel), not to half its length; the bolts and the limit as before. The holding bolts' slide is nowslide_holds/holds_clear(pure, the same behaviour). Tests:joint_layout::slide_tests(the slide: least either way, the tie out, stays where clear, none past the reach),joint_layout::back_tests(an end running back refused, then laid out with its steel clear over the flange and past the bend's plane beyond),layout_run_tests(turned_end: a half turn keeps the off and turns the facing; the two quarter turns face opposite ways), and the app'slayout_ui_tests(the window lays a few-degree bend out; its picture). -
L5, an end moved to bolt directly (2026-11-20; in active development, not approved yet; theory).
LayoutSettings::direct_moved, on by default (the window lays out with it on). Inplan_once, a face that goes onto a plate (not every end landing, not forced onto one by L1 b or the run's clash rounds): each end not landing goes throughland_moved—cut_need(the search's least cut, refactored out ofplace, unchanged) at each sideways move from the concentric one, the least whole millimetre first either way, up to the shift limit and the face's thickest leg (the plate's thickness), the cuts keeping every bolt on the flange and on the host's steel worked out bynarrow(the least kept) —, the others of the face as they lie; where every end then lands, the face is bolted directly (direct_planes, so L1 b may still try it on a plate), each move noted.plan_joint_ctxplans the joint again without (direct_movedoff) and keeps the plan with the moves only where it lays out more ends, or as many on fewer plates. No format change (the move is the end'sshift, written as before). Tests:joint_layout::narrow_tests,joint_layout_tests::ends_moved_to_bolt_directly_never_lay_out_less(never fewer ends nor more plates on the invented joints, the same plan twice, no new clash, a move at most the plate's thickness). The suggested one bolt through the leg with the rest on a shorter plate: looked into, not built (a bolt through three plies needs a format field; measured rarely possible). -
L6: holding bolts for flat plates (L5o), plates on built-up members (J6), the clashes after writing broken down (L5m) (2026-11-20; in active development, not approved yet; theory). L5o:
LayoutSettings::hold_plates, on.plan_oncecallshold_flatfor each flat plate before it is pushed: where none of the ends on it is one of the joint's legs (welds::joint_legs) nor the member it lies on,plate_holdssearches places for at least two provisional bolts (the most of one member's on the plate where more) — one gauge line along that member, the default minimum spacing apart, within the flange's landing band (clear of the heel's leg and root by the nut, the edge distance from the toe), past the member's cut by its end distance where it ends at the joint, inside the plate's planned outline (plate_outline2, round or short) by the plate's edge and end distances, the default minimum spacing from every hole through the flange (leg_holes) and every bolt on the plate, the head clear of the legs on that face (HoldRoom::ends), of the seams of plates bent or welded from it (on the flat plate's side) and of the fixed steel (Strip::fixed), the nut of what is behind the flange (Strip::fixed_far); the places nearest the work point first, whole 2 mm steps from it (the same at a joint turned or mirrored). Written as everyHoldPlan([plate.leg_bolts],legalways named — an equal-leg anglelongalong the section's y, asjoints::along_yreads it —, the record'sleg_boltsmark,provisional). Not for a plate stopping short of the work point (its drawn outline would change) nor on a built-up member ([plate.leg_bolts]names a single angle's leg): said in the plan's notes. The run's L1 guard (PlanCtx::plain) plans a joint without them where it lays out fewer ends after writing than its plan without L1 b/c, L5o and J6. The joint checks needed no change: a[plate.leg_bolts]already gives the plate's holding group and the leg's bearing (joint_groups::holding_groups). J6:LayoutSettings::built_up_plates, on. A face of ends onto a built-up member whose angles are known (Profile::part_angles) that does not land goes onto a plate on the angle facing them, as on a single angle (before: those landing bolted, the others left);plate_hitstests the plate against the member's other angles (its own steel in the plate's slab);plan_joint_ctxkeeps the joint's plan with it only where it lays out more ends, or as many on fewer plates. The joint details: a plate whoseonis given is seated on the angle of a built-up member facing its members (PlateSeat::on_given,seatwithparts), its flange under the worked-out outline that angle's (host_flange); a plate withoutonat a built-up leg stays through the work point as before. Found and fixed with it: a built-up member's angles had no root radius for the bolts landing on them (HostFlange::r0); now the section's (PartAngle::r,built_up_root) — on the safe side, fewer ends land directly on built-up members. Also fixed:apply_detail's copy of a plate kept its sub-tables' places ([plate.leg_bolts]written twice: a duplicate key);pushclears them. L5m: no code; the causes counted. No format change. Tests:layout_run_tests::a_plate_on_a_leg_running_on_gets_bolts_of_its_own_holding_it,layout_run_tests::a_plate_on_a_built_up_leg_lies_on_the_angle_facing_the_ends, the app'slayout_ui_tests::a_plate_on_a_built_up_leg_in_the_window(its picture); tests whose scenario was without them switch them off. -
L8: a joint planned where its members are drawn, the partners' bolts kept, the bolts already there found (2026-11-21; in active development, not approved yet; theory). L7's proposal 3:
LayoutSettings::as_drawn, on.lay_out_oncekeepsrun_named— each end the run names what it bolts onto in its planning copy (hosts_to_name, L1 d's accepted choices) with the copy's value before. After the clash rounds (and L1's guard), a joint with such an end it does not lay out (and nofacegiven there) gets the names taken out of the planning copy (the member then where the file will draw it), is detailed again alone (keep_forof those joints, with the turns) and planned withplans_of; the other joints keep this pass's plans (the next pass is the same as planning them all again: measured identical on six towers, a little quicker). A joint so planned is kept where it lays out more ends, or as many on no more plates, and every member it laid out or left for a hand detail is still one of those (none left as it is unsaid); else the names go back and it is planned as before. At mostAS_DRAWN_PASSES(2) such passes. Each joint kept is said in the run's notes. L7's proposal 4:LayoutSettings::partner_bolts, on.strip_oftakes the bolts of the members not laid out that bolt onto the end (ontothe end's member, on its flange byhost_flange, not one part, not left by the run's rounds —except) intoStrip::partnersinstead ofobstacles;place(andland_moved) accepts a cut and move only wherepartner_misfitfinds every such hole within the end's flange, past its cut by its end distance (the code's, else the default minimum) where nothing runs on into the end, and the end's own bolts the default minimum spacing from them; none within the longest pull-back and the shift limit: left withPARTNER_LEFT, its place not kept free (J2's test skips it). Tried and not kept: a guard planning the joint again without (it laid out fewer ends after writing). Found measuring:strip_ofadded the joint's position to the bolts already there once more (the bolt points are in the structure's axes) — they were missed unless the face passed near the origin; fixed. L7's proposal 5 (the kept-free members' heads and nuts kept clear to an end's outstanding leg's height and behind it, asfixed_out/fixed_far): tried, no change on six towers, not kept. No format change. Tests:layout_run_tests::a_member_named_but_not_laid_out_is_planned_where_it_is_drawn,joint_layout_tests::an_end_keeps_the_bolts_of_the_members_left_bolting_onto_it; the mutual-host tests run without the partners' bolts (their own scenario); the bent-plate scenarios keep their result (thefacegiven there keeps the name). -
L9: a plate read in its own plane, plates planned as written, short plates held, the run faster (2026-11-21; in active development, not approved yet; theory). L8's question 4:
joints::plate_seatstook a given outline's plane from its first three corners (cross(q1 − q0, q2 − q0)) — in a line where the written outline runs straight —; nowoutline_normal(Newell over all corners,welds::polygon_normal), andbolts_near_edgethe same. The seat passes (L7) went round again only where a moved member had an endontoit; now also where it is thelegof a plate (PlateSeat::leg) some end isonto(seatseats an end on a plate on that leg, with the leg's offset). L8's question 5:LayoutSettings::reach_clear, on — inplan_once, a flat plate withreach(step 4) is checked byplate_hitswith its outline as written (the flat ends'plate_outline2and the reach's points,keep_to, the heel), else short (own_reachwithout the work point's flange, the flat ends'Outline::Short; core: the seams andOutline::Core;separatecuts,on_flange), else the own-plane endsby_handand the flat plate kept for the flat ends.write_rounds'oursgives a plate the members of the plates welded to it in their own planes (own.welded_to): a clash of a flat plate with nothing bolted on it is no longer nobody's. L6's question 2:LayoutSettings::short_holds, on —hold_flaton a short plate checksshort_round_holds(its outline grown round the holding bolts asjoints::platedraws them, cut at the heel and bycuts) throughHoldAt::clear(plate_hits) and every holding bolt's distance inside it;plate_holdstakesring_min(the host's code distances,HoldAt::host_keepfrom the edge rule) on a short plate. Speed (no result changed, all 78 private towers' written files byte for byte):poly_needclips only where a line crosses the footprint (Cow),clipsizes its list once,strip_joint's empty-connection test skips tables of more than two fields, andohl_structures_fe::Section::from_librarytakesohl_sections::Section::elastic_properties(no plastic moduli, which it does not read). No format change. Tests:joints_tests::a_plate_whose_first_corners_lie_in_a_line_lies_in_the_plane_of_its_outline,joints_tests::an_end_on_a_plate_on_a_member_drawn_off_its_line_lies_on_it_where_drawn,layout_run_tests::a_welded_plates_flat_plate_is_planned_as_written_clear_of_a_run_on_its_face(each fails without its change). -
L10: members on either side of a leg's flange, bolts that join nothing, a plate in its flange's plane (2026-11-21; in active development, not approved yet; theory). The idea (photographs of real towers):
LayoutSettings::other_faceandface_pattern, on — inlayout_run::lay_out_onceafter the half turns (2b) and L3b's quarter turns, step 2c:other_face::face_triestakes the whole plan's flat plates (noown, noreach) of two or more ends on a leg's or chord's flange (ClassRank::Leg, or Orient angles'Chord) and the "no room on one plate" pairs, and per face the ends to turn half a turn (with the pattern every diagonal on an outer face while one end stays, else one end);layout_run::other_facesplans the tower with them all turned (planned_inwith a scratchGuard, itschangedmerged into the run's when kept), keeps a member whereother_face::helps(joint by joint: none fewer ends, none as many on more plates; in all more ends, or as many on fewer plates) and every end of it lies no farther from the work point across the flange (other_face::face_places,ends_moved: the end's leg's middle plane on the outer faceh − t_m/2, on the inner oneh + t_F + t_m/2,hthe host's heel along its flange's normal into its thickness, the host where drawn; a plate's thickness out where on one), plans again with only those (at mostFACE_ROUNDS= 3), and says the rest it would help as proposals withother_face::stress_ratio(e·A/W about the axis along the leg bolted, from the outline). A member one part with another (as planned: an arrival'scontinuous), held, turned already (2b, L3b), a leg or chord, or with a roll given by hand, is not tried. The turn is a roll (the record'srolled), noshift. The picture sent: a joint with an end left as it is that bolts onto nothing (ontonone, notcontinuous) but has bolts drawn is not whole —LayoutSettings::nothing_joined, on,plan_onceputs that memberby_handwithBOLTS_JOIN_NOTHING. L9's question 6:joints::platedraws a plate without an outline on a single angle's flange, all its bolted members withinFLAT_OFFof that flange, in the flange's plane (the members' face at the flange's face ± the plate's thickness, by which side the first member's bolt lies), else as before in its first member's plane;clash::clashes_of(together) excuses a bolt's head and nut against the plate its end bolts onto where the bolt's axis lies withinFLAT_OFFof the plate's normal (PlateDetail::through). No format change. Tests:other_face_tests(the diagonals onto the inner face saving the plate, with a run again; bolts that join nothing; a plate in its flange's plane and its ends' nuts touching it; the bolts already there far from the origin; a short plate's own bolts) andlayout_ui_tests::members_on_either_side_of_a_flange_in_the_window(the user guide's picture). -
L12: the joints grouped by what comes in and how it lies (2026-11-21; in active development, not approved yet; theory).
joint_classes(public):joint_features(&JointDetail, Zone)describes a joint — its host (class first, asthrough_ofranks; then the steel area of the profile's outlines; then the larger leg) and the piece in line with it withinIN_LINE_DEG(10°),Through(one part, the same section not one part, spliced, the section changing, nothing), and per end (EndFeature) its class, plan flag (the joint details'planface), its angle to the host,EndPlaneagainst the host's two flanges (the normalsaxes[2],axes[1]; a built-up section's too) —InwithinIN_PLANE_DEG(2°),NearwithinNEAR_PLANE_DEG(16°), elseOut— andflat_off(its leg bolted against that flange);group_ofgivesJointGroup { host: HostKind, incoming: Incoming, geometry: Geometry }and itsname();joint_groups(&JointDetails, &JointOrder)all of them.chord_piecesnames a joint's host pieces running on that are not legs;leg_roll::piece_rolls(d, pieces)isleg_rollsfor any such pieces (leg_rollsnow calls it with the leg pieces: the same results).LayoutSettings::chord_turns(off; the app passes off):layout_run::lay_outthen callschord_turned— rounds ofchord_groups(the flagged pieces with their partners, transitively, one chord; all one way withinSPREAD_DEG; the middle turn) on the result so far, the run made again with them turned on the input (set_member_roll), kept per chord byother_face::helpson the chord's joints, planned again with those kept (FACE_ROUNDS), at mostCHORD_ROUNDS(4) rounds, until nothing flagged helps (a run again: mostly the same text). Joint details (joint_panel) shows "Group: …" under the joint's member count. No format change. Tests:joint_classes_tests(invented: a leg running on with two diagonals in one flange's plane, a splice and one part, a leg ending and nothing running through, ends a few degrees out and a plan member, redundants and a built-up leg, an X-brace's centre, a chord turned 5° found and turned by the run only with the setting, a run again the same).
Detail levels#
Joint details exist at level 3 only (full design). At levels 1 and 2 the Joint panel shows the members that meet and says that connections belong to level 3. A pole has none.
Questions for each level, decided 2026-11-02 ("yes and yes"):
- A level 3 tower without connection data keeps today's per-member flags and conservative assumptions, said per member.
- The self-weight factor stays until every joint is defined (Stage 4.6; built 2026-11-19: then the envelope of the counted mass and the factor until the counting is validated, theory).
Order and dependencies#
Stage 0 ─ Stage 1 ─┬─ Stage 2 ─ Stage 3
└─ Stage 4.1, 4.2, 4.6 (data only, no UI needed)
Stage 4.3 after Stage 3 (needs the bracing points)
Stage 4.4 with O7 (level 4 interaction; its
eccentricities from shifts built 2026-11-02)
Stage 4.5 with O4 (code-check interface)
Stage 5 alongside
The proposal is Stages 0–2 first, so the joints can be seen on the towers already in the projects, then 3 and 4.1–4.2. Those change the results most for the least work. (4.1 and 4.2 built 2026-11-02.)