@floless/app 0.134.1 → 0.134.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/floless-server.cjs +2837 -1082
- package/dist/skills/floless-app-steel-takeoff/SKILL.md +268 -31
- package/dist/skills/steel-drawing-abbreviations/SKILL.md +18 -1
- package/dist/web/app.css +14 -0
- package/dist/web/app.js +4 -0
- package/dist/web/commands-filter.js +16 -13
- package/dist/web/commands-shell.js +33 -0
- package/dist/web/commands-steel.js +49 -9
- package/dist/web/commands.js +4 -0
- package/dist/web/connection-review-client.js +120 -0
- package/dist/web/index.html +25 -4
- package/dist/web/instructor.js +29 -11
- package/dist/web/steel-3d-core.js +101 -7
- package/dist/web/steel-3d-view.js +757 -242
- package/dist/web/steel-canvas-guidance.js +9 -1
- package/dist/web/steel-detail-refs.js +118 -0
- package/dist/web/steel-editor.html +1476 -188
- package/dist/web/steel-filter-core.js +53 -22
- package/dist/web/steel-filter.html +472 -78
- package/dist/web/steel-model-v2-client-validation.js +6 -0
- package/dist/web/steel-profile-colours.js +54 -0
- package/dist/web/steel-read-confidence.js +140 -0
- package/dist/web/steel-reference-sheet.js +50 -0
- package/dist/web/steel-view-generation.js +119 -27
- package/dist/web/workspaces.js +444 -58
- package/package.json +2 -1
|
@@ -7,7 +7,7 @@ description: >-
|
|
|
7
7
|
two-phase Drawing Filter process: first prepare and save the deterministic Filter, then read only the
|
|
8
8
|
selected evidence into model-global members, registered plan views, observations, and revision history.
|
|
9
9
|
metadata:
|
|
10
|
-
version: 0.
|
|
10
|
+
version: 0.28.2
|
|
11
11
|
---
|
|
12
12
|
|
|
13
13
|
# Steel Takeoff — read drawings into `steel.model/v2`
|
|
@@ -56,7 +56,7 @@ The ledger must close all of these inventories:
|
|
|
56
56
|
- every attached source and every manifest page was rehashed and visually reviewed over its whole bounds,
|
|
57
57
|
and each page's review carries that page's server-computed `candidateShardHash`;
|
|
58
58
|
- building massing and coordinate frames were stated before members were interpreted;
|
|
59
|
-
- every Filter layer was classified;
|
|
59
|
+
- every Filter layer was classified, and every human-excluded line weight and colour was classified;
|
|
60
60
|
- every manifest line is either supported by an active observation or has a reviewed `lineDisposition`;
|
|
61
61
|
- every reference marker resolves through the drawing graph to a reviewed page, or names the missing sheet;
|
|
62
62
|
- every detail/connection marker maps to a real joint/connection, an explicit non-model disposition, or RFI;
|
|
@@ -66,16 +66,16 @@ The ledger must close all of these inventories:
|
|
|
66
66
|
- the final selected candidate is schema-valid, uses the exact saved Filter, stays within work limits,
|
|
67
67
|
resolves member profiles/elevations honestly, and contains no unaccounted source evidence.
|
|
68
68
|
|
|
69
|
-
Encode that ledger as the closed `steel-read/
|
|
70
|
-
`
|
|
71
|
-
the candidate to `/revision-read/audit`. Treat every blocked check and sample id as mandatory remaining
|
|
69
|
+
Encode that ledger as the closed `steel-read/v4` attestation fields: `massing`, `layers`,
|
|
70
|
+
`facetExclusions`, `lineDispositions`, `lineDispositionGroups`, `pageReviews`, `references`,
|
|
71
|
+
`candidateDispositions`, and `jointReviews`. POST it with the candidate to `/revision-read/audit`. Treat every blocked check and sample id as mandatory remaining
|
|
72
72
|
work, then repeat until `status: "read-complete"`. Never edit or fabricate a receipt: the server creates
|
|
73
73
|
it from the exact manifest, saved Filter, candidate, proof, project incarnation, base, and generation.
|
|
74
74
|
|
|
75
|
-
### What `steel-read/
|
|
75
|
+
### What `steel-read/v4` requires
|
|
76
76
|
|
|
77
|
-
The manifest GET returns
|
|
78
|
-
|
|
77
|
+
The manifest GET returns derived fields you cannot compute yourself. Copy them exactly; do not guess,
|
|
78
|
+
recompute, or omit them.
|
|
79
79
|
|
|
80
80
|
- **`pageShards`** — one `{ pageId, candidateShardHash, candidateCount }` per manifest page. Give every
|
|
81
81
|
page **exactly one** review: `{ pageId, kind: "whole", candidateShardHash, note }`. There is no
|
|
@@ -88,23 +88,58 @@ guess, recompute, or omit them.
|
|
|
88
88
|
and `layer-census` blocks on any mismatch. A layer with non-zero counts on **both** roles means one
|
|
89
89
|
layer name is doing two jobs across sheets — attest it `mixed`, which requires an explicit
|
|
90
90
|
disposition for every one of its lines.
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
- **`dismissibleFacetValues`** — the ordered `{ dim, value }` list the human's saved Drawing Filter
|
|
92
|
+
excludes. Every entry whose `dim` is `thickness` or `color` needs exactly one `facetExclusions[]`
|
|
93
|
+
row. Entries whose `dim` is `layer` are covered by `layers[]` instead — never put a layer in
|
|
94
|
+
`facetExclusions`.
|
|
95
|
+
- **`facetLineCounts`** — one `{ dim, value, model, evidence }` per censused thickness/colour value.
|
|
96
|
+
Copy the matching row into that value's `lineCounts`. `facet-census` blocks on any mismatch, on a
|
|
97
|
+
missing dismissible value, and on a row for a value that is not dismissible. A dismissible value with
|
|
98
|
+
**no** row in `facetLineCounts` carries zero lines — state `{ model: 0, evidence: 0 }` rather than
|
|
99
|
+
omitting it.
|
|
100
|
+
- **`proofBudget`** — a size signal. When `impossible` is `true`, no proof over this Drawing Filter can
|
|
101
|
+
fit inside the 8 MB cap however it is written: say so and ask the human to narrow the Filter further
|
|
102
|
+
(switch more line weights off), rather than building a proof that will be refused.
|
|
103
|
+
When **`strained`** is `true`, writing one explicit row for every line would not fit: this set only
|
|
104
|
+
works if observations, the wholesale shorthand and grouping between them save enough bytes. Model
|
|
105
|
+
what is genuinely a member, dismiss wholesale what the Filter authorises, group the rest by shared
|
|
106
|
+
reason — and tell the human up front if none of those will be enough. `impossible` is a sound
|
|
107
|
+
refusal, not a complete detector: a set can pass it and still admit no proof that fits, and
|
|
108
|
+
`strained` is the signal for exactly that case. The remaining figures are advisory and refuse
|
|
109
|
+
nothing.
|
|
110
|
+
|
|
111
|
+
`facetExclusions[]` is the thickness/colour sibling of `layers[]`, and it exists because a dismissal is
|
|
112
|
+
now decided on a dimension with no semantic name attached — `0.2 pt` says nothing about whether it is
|
|
113
|
+
steel, where `A-ANNO-TEXT` at least claims to. Each row is
|
|
114
|
+
`{ dim, value, disposition, note, lineCounts }`, with the same five dispositions `layers[]` uses.
|
|
115
|
+
Attest `member` or `mixed` when a band really does carry steel: that is not a failure, it is the
|
|
116
|
+
mechanism, and every line failing that dimension on that value then needs its own row.
|
|
117
|
+
|
|
118
|
+
A `steel-read/v1`, `steel-read/v2` or `steel-read/v3` attestation is refused outright with no
|
|
119
|
+
migration: re-run the read so this shape is emitted.
|
|
93
120
|
|
|
94
121
|
The whole closed shape, with every optional field shown (the two 64-hex placeholders below stand for
|
|
95
122
|
the real `candidateShardHash` from `pageShards` and the real joint `dependencyHash`):
|
|
96
123
|
|
|
97
124
|
```json
|
|
98
125
|
{
|
|
99
|
-
"version":
|
|
126
|
+
"version": 4,
|
|
100
127
|
"massing": { "buildingCount": 1, "summary": "One two-storey steel-framed building." },
|
|
101
128
|
"layers": [
|
|
102
129
|
{ "layer": "S-BEAM", "disposition": "member", "note": "Primary framing linework.", "lineCounts": { "model": 128, "evidence": 0 } }
|
|
103
130
|
],
|
|
131
|
+
"facetExclusions": [
|
|
132
|
+
{ "dim": "thickness", "value": 0.2, "disposition": "annotation", "note": "Hatch, ticks and leader work.", "lineCounts": { "model": 25937, "evidence": 1591 } },
|
|
133
|
+
{ "dim": "color", "value": "#9f9f9f", "disposition": "existing", "note": "Greyed-out existing construction.", "lineCounts": { "model": 4200, "evidence": 438 } }
|
|
134
|
+
],
|
|
104
135
|
"lineDispositions": [
|
|
105
136
|
{ "elementId": "<line id A>", "disposition": "annotation", "reason": "Dimension leader." },
|
|
106
137
|
{ "elementId": "<line id B>", "disposition": "duplicate", "reason": "Same member drawn twice.", "duplicateOf": "<line id A>" }
|
|
107
138
|
],
|
|
139
|
+
"lineDispositionGroups": [
|
|
140
|
+
{ "disposition": "annotation", "reason": "Slab-edge hatch and tick work in the 0.2 pt band, reviewed as a population.", "elementIds": ["<line id C>", "<line id D>"] },
|
|
141
|
+
{ "disposition": "duplicate", "reason": "Coincident re-draws of the canonical grid line.", "duplicateOf": "<line id A>", "elementIds": ["<line id E>", "<line id F>"] }
|
|
142
|
+
],
|
|
108
143
|
"pageReviews": [
|
|
109
144
|
{ "pageId": "<manifest page id>", "kind": "whole", "candidateShardHash": "0000000000000000000000000000000000000000000000000000000000000000", "note": "Reviewed the whole sheet against its candidate shard." }
|
|
110
145
|
],
|
|
@@ -124,17 +159,63 @@ the real `candidateShardHash` from `pageShards` and the real joint `dependencyHa
|
|
|
124
159
|
|
|
125
160
|
### When a line needs no `lineDisposition`
|
|
126
161
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
162
|
+
A line that the saved Drawing Filter does **not** select may be dismissed as a group, with no
|
|
163
|
+
line-by-line reason — but only when **every** dimension it fails independently authorises that.
|
|
164
|
+
|
|
165
|
+
Concretely, for each active dimension the line fails (its value is not switched on):
|
|
166
|
+
|
|
167
|
+
1. that value must appear in `dismissibleFacetValues` — the human switched it off and approved it; and
|
|
168
|
+
2. you must have attested it `annotation`, `existing` or `other` — in `layers[]` for a layer, in
|
|
169
|
+
`facetExclusions[]` for a line weight or a colour.
|
|
170
|
+
|
|
171
|
+
If even one failing dimension does not authorise, the line needs its own row, whatever the others say.
|
|
172
|
+
That is the **ALL** rule and it is deliberate: without it a line could be dismissed through an excluded
|
|
173
|
+
`NOTES` layer while you had said in the same proof that its `0.2 pt` band contains steel — and no
|
|
174
|
+
sentence anywhere would account for it.
|
|
175
|
+
|
|
176
|
+
The rest of the rule follows from that:
|
|
177
|
+
|
|
178
|
+
- `member` and `mixed` never dismiss anything wholesale — every line failing on that value needs its
|
|
179
|
+
own row;
|
|
180
|
+
- a value left **on** is selected, so each of its lines still needs an observation or a disposition;
|
|
181
|
+
- a line whose value on some dimension is not a value at all (a width that is not a number, a
|
|
182
|
+
non-string layer) can never be dismissed on that dimension — it needs its own row;
|
|
183
|
+
- if the saved Filter checkpoint fails, or the human never approved the exclusions, no shorthand
|
|
184
|
+
applies at all and every unselected line needs a row. The `source-ledger` block detail says so when
|
|
185
|
+
that is what is holding the read up, and names the dimension and the reason.
|
|
186
|
+
|
|
187
|
+
### One reason can cover many lines — but every line is still NAMED
|
|
188
|
+
|
|
189
|
+
When a line does need its own written disposition, you do **not** have to repeat the same sentence for
|
|
190
|
+
each one. `lineDispositionGroups[]` lets one disposition and one reason cover many ids:
|
|
130
191
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
192
|
+
> **The rule.** Ids that share a disposition, a reason, and (for `duplicate`) a target go in one
|
|
193
|
+
> `lineDispositionGroups` entry. A reason genuinely specific to one line goes in a `lineDispositions`
|
|
194
|
+
> row. A line **that needs a written disposition** must appear **exactly once**, in exactly one of the
|
|
195
|
+
> two — never in both.
|
|
196
|
+
|
|
197
|
+
That qualifier is load-bearing: a line accounted for by an observation, or dismissed wholesale by the
|
|
198
|
+
rules in the section above, belongs in **neither** array. Naming every line in the set because this
|
|
199
|
+
rule said "every line" is how a proof blows the 8 MB cap, which is the failure grouping exists to
|
|
200
|
+
prevent.
|
|
201
|
+
|
|
202
|
+
This removes *repetition*, never *accountability*. `elementIds` holds literal ids and nothing else —
|
|
203
|
+
there is no range, no wildcard, no count, no "everything else" — so every line you dismiss is still
|
|
204
|
+
explicitly named and the audit still checks each one individually. A group is not a way to avoid
|
|
205
|
+
listing lines; it is a way to avoid retyping the reason.
|
|
206
|
+
|
|
207
|
+
Two things to get right:
|
|
208
|
+
|
|
209
|
+
- **A group's reason must be true of the WHOLE population it names**, not just of a typical member.
|
|
210
|
+
Sharing a sentence across 40,000 lines is exactly where an untrue one hides.
|
|
211
|
+
- **`duplicate` groups carry one shared `duplicateOf`** — the canonical line the whole population
|
|
212
|
+
re-draws. Different targets need different groups.
|
|
213
|
+
|
|
214
|
+
**Reasons can now be worth reading.** The old advice to keep every reason terse existed because the
|
|
215
|
+
proof has an 8 MB cap and a repeated sentence was paid once per line. Inside a group it is paid once
|
|
216
|
+
in total, so a full readable sentence costs almost nothing. Write for the human who will read the
|
|
217
|
+
audit, not for the byte count. Per-line rows in `lineDispositions[]` are still paid per line, so keep
|
|
218
|
+
those concise.
|
|
138
219
|
|
|
139
220
|
### An observation only ever accounts for a line you can MODEL from
|
|
140
221
|
|
|
@@ -142,20 +223,25 @@ A line is accounted for by an observation **only** when it sits on a bound model
|
|
|
142
223
|
other line — anything on an evidence-only page (a detail sheet, a schedule, a notes sheet), and any
|
|
143
224
|
manifest candidate the saved Filter does not carry — an observation does **not** discharge the
|
|
144
225
|
obligation: `source-ledger` reports it as `excluded-but-modeled` and **blocks**. Only a
|
|
145
|
-
`lineDisposition` (or the
|
|
226
|
+
`lineDisposition` (or the exclusion shorthand above) accounts for those.
|
|
146
227
|
|
|
147
228
|
That is deliberate, not a limitation to work around. Detail and schedule linework is schematic,
|
|
148
229
|
unregistered and not to scale; letting an observation over it stand in for member geometry is exactly
|
|
149
230
|
the confusion the split exists to prevent. So:
|
|
150
231
|
|
|
151
232
|
- **model-sheet line, layer on** → an observation **or** a disposition;
|
|
152
|
-
- **evidence-page line**
|
|
153
|
-
observation. If you find yourself wanting to observe one, the member belongs to a model
|
|
154
|
-
you should be observing it there
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
233
|
+
- **evidence-page line** the Filter does not select → a **disposition**, or the exclusion shorthand.
|
|
234
|
+
Never an observation. If you find yourself wanting to observe one, the member belongs to a model
|
|
235
|
+
sheet and you should be observing it there;
|
|
236
|
+
- **evidence-page line the Filter DOES select** → its own **disposition**, always. It can be neither
|
|
237
|
+
observed nor dismissed as a group — it is the "this looks like steel, but it is on a detail sheet"
|
|
238
|
+
case and it deserves a sentence.
|
|
239
|
+
|
|
240
|
+
Every use of the shorthand makes `source-ledger` a **warning** naming the dismissed values, their
|
|
241
|
+
dimension and how many lines each actually dismissed. That is expected, not a defect — but check the
|
|
242
|
+
named values really are non-steel before publishing. Note those `dismissed=` counts are usually
|
|
243
|
+
SMALLER than the census `lineCounts` you attested for the same value: the census counts every line
|
|
244
|
+
carrying it, the report counts only the ones this verdict dismissed through it.
|
|
159
245
|
|
|
160
246
|
## Find the active request
|
|
161
247
|
|
|
@@ -264,6 +350,134 @@ Ask the user which labelled grid intersection is global `(0,0,0)` if project kno
|
|
|
264
350
|
it. Never choose a convenient datum. Preserve the provisional shell's grid, plan order, sheet identity,
|
|
265
351
|
cut elevations, and registration controls byte-for-byte in the first completed candidate.
|
|
266
352
|
|
|
353
|
+
### Find the members on a framing plan
|
|
354
|
+
|
|
355
|
+
Registration tells you where the sheet is. This tells you which linework on it is steel.
|
|
356
|
+
|
|
357
|
+
**Everything in this section is a CANDIDATE SIGNAL, not a drafting law.** These are cheap first
|
|
358
|
+
guesses that must be confirmed against the set's own legend, symbol schedule, general notes, member
|
|
359
|
+
schedules and cross-references before anything is modelled. Drawing truth wins, always. A signal that
|
|
360
|
+
does not hold on the sheet in front of you is telling you this set is drafted differently, not that
|
|
361
|
+
the sheet is wrong — find the discriminator that does hold, and say in the read which one you used.
|
|
362
|
+
|
|
363
|
+
**Judge a band by label association, never by how it renders.** The tempting method — show each
|
|
364
|
+
line-weight band on its own and keep the one that looks like the structure — is unreliable, and it
|
|
365
|
+
fails in the direction that costs you the whole read. A band holding only grid lines, walls and
|
|
366
|
+
stair enclosures renders as a perfectly recognisable floor plan. The reliable instrument is that **a
|
|
367
|
+
member mark sits against the line it names**: for each profile mark, look for a long run parallel to
|
|
368
|
+
the mark's own text rotation within a small **scale-relative** distance of it — a few feet in model
|
|
369
|
+
terms, converted through the sheet's own `pt_per_ft`, never a fixed paper distance carried from
|
|
370
|
+
another drawing. Record which band that run falls in. The band that resolves the marks is the steel;
|
|
371
|
+
the band that merely looks like a building is not.
|
|
372
|
+
|
|
373
|
+
Two things make this evidence rather than a guess: the run should be **member-scale** (a fragment far
|
|
374
|
+
shorter than any real member is a neighbour, not the member), and the mark should resolve to *one*
|
|
375
|
+
band consistently across the sheet. A mark whose only nearby run is a stub has probably not been
|
|
376
|
+
drawn with its own line at all — treat that as unresolved and raise an RFI, rather than adopting the
|
|
377
|
+
stub's band as the answer.
|
|
378
|
+
|
|
379
|
+
Where a set separates structure from annotation by line weight at all, expect the heavier bands to
|
|
380
|
+
carry the structure. Treat that as a starting hypothesis, and note two ways it breaks: the *value* of
|
|
381
|
+
the structural weight differs from sheet to sheet — measure it per sheet, and never carry a weight
|
|
382
|
+
across from another sheet — and a light band is **not** proof of no steel. A member drawn coincident
|
|
383
|
+
with another line (an edge beam on a slab edge) lives in whatever band that line is in, so a light
|
|
384
|
+
band can carry real members while looking like pure annotation. Confirm both directions by label
|
|
385
|
+
association before dismissing anything.
|
|
386
|
+
|
|
387
|
+
**Merge collinear runs before you associate anything — but only across a real gap.** One beam is
|
|
388
|
+
normally drawn as several separate elements, and unmerged each fragment is both too short to survive
|
|
389
|
+
a member-scale length filter and too far from the mark to be matched to it. **Merging needs a stop
|
|
390
|
+
condition, or two separate in-line members become one.** Only join fragments that are collinear
|
|
391
|
+
within tolerance AND separated by a gap small enough to be a drafting break rather than a bay — and
|
|
392
|
+
**stop only at evidence that the member TERMINATES there** — a second member mark naming a different
|
|
393
|
+
section, a splice or end-connection callout, or a change of section. The test is a member boundary,
|
|
394
|
+
not the presence of something at that point.
|
|
395
|
+
|
|
396
|
+
Two things are deliberately **not** boundaries on their own. A **grid line crossing** is not —
|
|
397
|
+
members run continuous through grid lines constantly, and splitting on one manufactures a joint the
|
|
398
|
+
drawing never showed. A **column or support symbol** is not either: a beam very often runs continuous
|
|
399
|
+
*over* its support, and the symbol itself may interrupt the drawn line where no joint exists.
|
|
400
|
+
A support is a reason to **investigate** whether the member terminates there, never a reason to split
|
|
401
|
+
by itself.
|
|
402
|
+
|
|
403
|
+
**Where the set cannot settle it, the run is UNRESOLVED — not two members, and not one.** Splitting
|
|
404
|
+
on an ambiguous gap asserts a joint nobody drew and distorts every length and quantity downstream;
|
|
405
|
+
merging across one asserts a continuity nobody drew and reads as a single member with a fabricated
|
|
406
|
+
length. Both are fabrication, and neither is the safe default. Say what the drawing shows, mark the
|
|
407
|
+
run unresolved, and raise an RFI.
|
|
408
|
+
|
|
409
|
+
**Follow the LEADER, not the label's angle.** A profile mark drawn on an angled leader is naming
|
|
410
|
+
whatever that leader points AT — characteristically a column, because a column is a small symbol with
|
|
411
|
+
no room to letter a mark across it. So read the leader's far end: the mark belongs to the thing it
|
|
412
|
+
lands on. This is the reliable instrument, and it is what makes the next rule work.
|
|
413
|
+
|
|
414
|
+
**Beware of taking the label's rotation as the evidence.** It is common for beam marks to lie along
|
|
415
|
+
their member's axis and for column marks to sit at a diagonal — but that diagonal is a *consequence*
|
|
416
|
+
of the leader being angled, not the reason the mark is a column. Used as a cheap first sort it costs
|
|
417
|
+
nothing; used as the discriminator it fails silently on any set that letters its column marks
|
|
418
|
+
straight, because the column path below keys off the split and yields *zero* columns rather than an
|
|
419
|
+
error. **Verify the split partitions on the sheet in front of you**, and where it does not, fall back
|
|
420
|
+
to what the drawing states outright: the leader's target, the column schedule, the grid-intersection
|
|
421
|
+
symbol, or the mark's own prefix.
|
|
422
|
+
|
|
423
|
+
This sorts **MARKS**, and only to decide which extraction path to run. It is never the source of a
|
|
424
|
+
member's `role` or `memberType` — those stay authored facts read off the drawing, never inferred from
|
|
425
|
+
geometry or from how a label is rotated (see "Model-global members").
|
|
426
|
+
|
|
427
|
+
**Columns are usually not lines.** On a plan a column typically appears as a small footprint symbol
|
|
428
|
+
— its shape follows the section (a square or rectangle for HSS and W, a circle for pipe) and it sits
|
|
429
|
+
far below any member-scale length filter, so a run-based extraction finds no columns at all. Extract
|
|
430
|
+
them on their own path, keyed off whichever discriminator you confirmed above, and take the section
|
|
431
|
+
from the mark or the column schedule rather than from the symbol's shape.
|
|
432
|
+
|
|
433
|
+
**Decide whether a diagonal on a plan is a member or a reference to one — both happen.** Bracing is
|
|
434
|
+
commonly shown on a plan as a braced-frame-below symbol while the brace itself is detailed on an
|
|
435
|
+
elevation, and modelling that symbol would place a member read off the wrong sheet, at the wrong
|
|
436
|
+
elevation and often the wrong length. But a plan diagonal can equally *be* a member on that plan — a
|
|
437
|
+
horizontal brace, a kicker, a diagonal beam — and those are modelled from the plan like any other run.
|
|
438
|
+
|
|
439
|
+
The discriminator is the **elevation callout**, not the section mark or the band: a diagonal whose
|
|
440
|
+
symbol points at a detail or elevation reference is a reference, and you follow the marker and read
|
|
441
|
+
the brace where it is detailed. A diagonal with no such reference, carrying its own mark and lying in
|
|
442
|
+
the band that resolves this sheet's marks, is a member on this plan — model it. Only when the two
|
|
443
|
+
signals disagree, or a reference points at a sheet that is not in the set, does it become an RFI.
|
|
444
|
+
|
|
445
|
+
**An orientation word on a mark is an instruction about PLACEMENT, never part of the section name.**
|
|
446
|
+
A designation may carry a trailing word that says how the section is turned — most commonly `FLAT` on
|
|
447
|
+
a rectangular hollow section, and the long-leg conventions on angles. `FLAT` means the wide face lies
|
|
448
|
+
horizontal: an `HSS8X6X3/8 FLAT` is 8 in across and 6 in deep, where the same section unmarked is
|
|
449
|
+
6 in across and 8 in deep, because the first dimension of a rectangular HSS is its depth.
|
|
450
|
+
|
|
451
|
+
Two rules follow, and both matter:
|
|
452
|
+
|
|
453
|
+
- **The word NEVER goes into `profile`. It becomes `rot`, and nothing else.** For
|
|
454
|
+
`HSS8X6X3/8 FLAT` the member is `"profile": "HSS8X6X3/8"` with `"rot": 90` — the clean catalogue
|
|
455
|
+
designation, and the rotation carrying the whole meaning of the word. `profile` holds a designation
|
|
456
|
+
and only a designation; `HSS8X6X3/8 FLAT` is not one, and that string travels on to the model, to
|
|
457
|
+
IFC, to Tekla and to the bill of materials, where nothing can look it up.
|
|
458
|
+
- **Nor do you re-spell it as a different section.** An `HSS8X6X3/8 FLAT` is not an `HSS6X8X3/8` —
|
|
459
|
+
that is a real, different catalogue entry with its own properties. Turn the section; do not rename
|
|
460
|
+
it and do not decorate its name.
|
|
461
|
+
- **Never let the word fall off the end of the mark.** An orientation word that is read and discarded
|
|
462
|
+
produces a member with perfect dimensions lying on the wrong axis — dimensionally clean, physically
|
|
463
|
+
wrong, and invisible to any check that only compares sizes. If you cannot tell whether the section
|
|
464
|
+
is turned, that is an RFI, not a default.
|
|
465
|
+
|
|
466
|
+
**A mark may legitimately serve several runs, and the geometry cannot tell you how many.** One mark
|
|
467
|
+
labelling a repeated bay, or qualified by a `TYP.` note, is correct; the same mark claimed by three
|
|
468
|
+
runs may equally be one member drawn twice. `TYP.` is a separate text element from the mark it
|
|
469
|
+
qualifies — read it. Where the drawing does not settle the count, record what it does say and raise
|
|
470
|
+
an RFI; never invent the multiplicity.
|
|
471
|
+
|
|
472
|
+
**Endpoints are not framing connectivity.** A beam stops at a support *face*, at a wall, or at a
|
|
473
|
+
slab edge drawn in a different band, so "a beam ends where it meets another beam" is wrong for a
|
|
474
|
+
large fraction of a typical plan — often half of it. Take the literal drawn endpoints and let the
|
|
475
|
+
server normalize; never snap an endpoint to a support you inferred.
|
|
476
|
+
|
|
477
|
+
**A member-scale run with no mark against it is not a member yet.** Slab edges, opening outlines and
|
|
478
|
+
perimeter runs governed by a general note all survive a length filter. Each earns an honest
|
|
479
|
+
`unresolved` disposition or an RFI — never the nearest profile mark.
|
|
480
|
+
|
|
267
481
|
### Model-global members
|
|
268
482
|
|
|
269
483
|
Write members only in root `members[]`. IDs are unique across the whole model and remain stable across
|
|
@@ -330,7 +544,8 @@ Each observation is model-globally unique and split into immutable `evidence` an
|
|
|
330
544
|
"provenance": "auto-read",
|
|
331
545
|
"observed": {
|
|
332
546
|
"profile": { "value": "W16X26", "confidence": 91 },
|
|
333
|
-
"fromZ": { "value": { "known": 5029.2 }, "confidence": 82 }
|
|
547
|
+
"fromZ": { "value": { "known": 5029.2 }, "confidence": 82 },
|
|
548
|
+
"toZ": { "value": { "known": 5029.2 }, "confidence": 82 }
|
|
334
549
|
}
|
|
335
550
|
},
|
|
336
551
|
"binding": {
|
|
@@ -371,6 +586,15 @@ face stays face-short in both `evidence.local.wp` and the literal candidate's co
|
|
|
371
586
|
endpoint. Bind each physical observation endpoint explicitly through `binding.endpointLineage`; use the
|
|
372
587
|
following exact algorithm and never guess or reuse the other end's identity:
|
|
373
588
|
|
|
589
|
+
For every lineaged plan endpoint of a support-centerline-eligible beam or brace, record the endpoint's
|
|
590
|
+
source-backed world-millimetre elevation in the matching `evidence.observed.fromZ` or `toZ`. Both linked
|
|
591
|
+
ends need their own evidence. A plan's `elevation_in` is only the horizontal cut plane: never copy it or
|
|
592
|
+
infer an endpoint elevation from it. Columns are support targets and are not required to carry framing-
|
|
593
|
+
plan bottom/top evidence under this rule. If the drawings cannot establish an eligible endpoint's
|
|
594
|
+
elevation, record the RFI/refusal and do not submit unverifiable new-member geometry. The deterministic
|
|
595
|
+
completion audit blocks that candidate and the member-end review names the missing endpoint elevation;
|
|
596
|
+
do not erase lineage or invent a value to get past the diagnostic.
|
|
597
|
+
|
|
374
598
|
1. JCS-encode the two-item JSON array `[observationId, observationEnd]`, preserving the array order.
|
|
375
599
|
2. Form the byte preimage exactly as `UTF8("floless:endpoint-lineage:v1") || 0x00 ||
|
|
376
600
|
UTF8(JCS([observationId, observationEnd]))`, where `UTF8` means UTF-8 encoding and `||` means byte
|
|
@@ -391,6 +615,19 @@ On a revision, keep every existing member endpoint literal to the reader's compo
|
|
|
391
615
|
members are eligible for server automatic alignment; the server routes any proposed change to an
|
|
392
616
|
existing endpoint to review. This boundary protects approved or manually edited geometry.
|
|
393
617
|
|
|
618
|
+
If missing `endpointLineage` is repaired after publication, a plain contract PUT does not run
|
|
619
|
+
`support-centerline/v1` and must not move the existing member. Its `revalidation` response describes
|
|
620
|
+
connection revalidation only; empty `kept`, `repointed`, `removed`, `flagged`, and `deferred` arrays do
|
|
621
|
+
not mean the new lineage was ignored. After the binding-only repair succeeds, tell the user to open
|
|
622
|
+
the **3D** model and choose **More actions → Model checks → Check member ends short of supports** for
|
|
623
|
+
a whole-model recovery scan. A scan launched from a 2D drawing is intentionally limited to that active
|
|
624
|
+
view and is suitable only for view-local inspection; it cannot replace the required 3D recovery scan,
|
|
625
|
+
because separate 2D scans do not combine cross-view evidence or expose disagreements between views.
|
|
626
|
+
The scan recomputes the server-owned candidates from the stored drawing evidence; the user reviews and
|
|
627
|
+
applies the exact ends that may move. A fresh revision-read is not required solely to trigger this
|
|
628
|
+
review. Use a fresh revision-read when the immutable observation evidence itself must change; never
|
|
629
|
+
rewrite that evidence through a generic contract PUT.
|
|
630
|
+
|
|
394
631
|
## Confidence and verification
|
|
395
632
|
|
|
396
633
|
Score confidence per observed field, not once per member. Loop until the request's `target_confidence`
|
|
@@ -443,7 +680,7 @@ same literal contract and attestation to `revision-read` with:
|
|
|
443
680
|
- the queued `requestId` and base ledger head;
|
|
444
681
|
- the pinned contract and Filter ETags required by the route;
|
|
445
682
|
- the complete native candidate;
|
|
446
|
-
- the complete closed `steel-read/
|
|
683
|
+
- the complete closed `steel-read/v4` attestation;
|
|
447
684
|
- source snapshots for every queued drawing;
|
|
448
685
|
- a concise read summary and unresolved notes.
|
|
449
686
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: steel-drawing-abbreviations
|
|
3
3
|
description: Default legend of standard US (AISC, imperial) structural-steel drawing abbreviations, note conventions, and shape designations — the fallback meaning when a drawing set omits or only partially supplies its own abbreviations/legend sheet. This skill should be used while reading a structural steel drawing whenever an abbreviation, note code, or profile designation needs expanding (TYP, TOS, UON, EQ, (E)/(N), SIM, HSS, WT, and so on), or when the steel reader (floless-app-steel-takeoff / floless-app-steel-model) meets a note or label whose meaning is not defined on the supplied sheets. The project's own legend always overrides these defaults.
|
|
4
4
|
metadata:
|
|
5
|
-
version: "0.
|
|
5
|
+
version: "0.6.0"
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Steel drawing abbreviations — default legend
|
|
@@ -55,6 +55,23 @@ A detail rarely spells the AISC key. It writes English, and the English carries
|
|
|
55
55
|
| `DOUBLE L4x4x3/8`, `(2) L4x4x3/8`, `2-L4x4x3/8` | a **double angle** → the `2L4X4X3/8…` family | Taking it off as the single `L4X4X3/8` books **half the steel**. |
|
|
56
56
|
| `L4x4x3/8 LLV` / `LLH` | one angle; `LLV`/`LLH` is leg orientation | Not part of the shape key — but it *is* part of a double angle's identity. |
|
|
57
57
|
| `W12x26 w/ PL …` | a `W12X26` **plus** a separate plate part | The plate is its own item, not a different beam. |
|
|
58
|
+
| `HSS8x6x3/8 FLAT` | one `HSS8X6X3/8`, **turned** so the wide face is horizontal — 8 in across, 6 in deep | Dropping `FLAT` builds it upright (6 across, 8 deep): right size, wrong axis, and no size check will catch it. |
|
|
59
|
+
|
|
60
|
+
**An orientation word is a PLACEMENT instruction — carry it, never drop it, never rename the
|
|
61
|
+
section.** `FLAT` on a rectangular HSS and `LLV`/`LLH` on an angle do not change which catalogue
|
|
62
|
+
entry you look up; they change how that section is turned about its own axis. Two consequences:
|
|
63
|
+
|
|
64
|
+
- **The word never survives into the profile field — it becomes a rotation.** `HSS8X6X3/8 FLAT`
|
|
65
|
+
is modelled as the designation `HSS8X6X3/8` turned 90 degrees about its own axis. The profile field
|
|
66
|
+
carries a designation and nothing else: `HSS8X6X3/8 FLAT` is not a designation, and that string
|
|
67
|
+
travels on to the model, to IFC, to Tekla and to the bill of materials, where nothing can look it up.
|
|
68
|
+
- **Nor is it re-spelled as another section.** An `HSS8X6X3/8 FLAT` is not an `HSS6X8X3/8` — a real,
|
|
69
|
+
different catalogue entry. Turn the section; do not rename it and do not decorate its name.
|
|
70
|
+
- **A dropped orientation word is invisible downstream.** It yields a member whose dimensions match
|
|
71
|
+
the drawing exactly while lying on the wrong axis — so every size- or weight-based check passes.
|
|
72
|
+
This is the same trap as reading `L4X4X3/8` and losing the `3/8`: the token that got discarded is
|
|
73
|
+
the one that mattered. If the drawing does not say how a section is turned, that is an RFI, not a
|
|
74
|
+
default.
|
|
58
75
|
|
|
59
76
|
**"Double" is multiplicity, not yet a lookup key.** The AISC EDI designation for a double angle
|
|
60
77
|
(`2L…`) also encodes the **back-to-back spacing**, and for unequal legs the **orientation** (long legs
|
package/dist/web/app.css
CHANGED
|
@@ -5250,6 +5250,16 @@ table.hist tr.current td { background:var(--accent-soft); }
|
|
|
5250
5250
|
.rev-changed[hidden] { display:none; }
|
|
5251
5251
|
.rev-changed b { color:var(--text); font-weight:600; }
|
|
5252
5252
|
|
|
5253
|
+
/* The destructive staged-read exit shares the ordinary modal button recipe; spacing alone separates
|
|
5254
|
+
it from Close/Apply so those reversible actions remain one right-aligned group. The confirmation is
|
|
5255
|
+
a shared dark modal, raised above the review it can open from. */
|
|
5256
|
+
.revreview-discard { margin-right:auto; }
|
|
5257
|
+
#revdiscard-modal { z-index:110; }
|
|
5258
|
+
.revision-discard-error { margin:12px 0 0; padding:9px 11px; border:1px solid var(--err);
|
|
5259
|
+
border-radius:7px; background:var(--surface-2); color:var(--err); font-size:12px; line-height:1.45; }
|
|
5260
|
+
.revision-discard-error[hidden] { display:none; }
|
|
5261
|
+
.revision-discard[aria-busy="true"] .modal-sub { opacity:.78; }
|
|
5262
|
+
|
|
5253
5263
|
.rev-group { margin:0 0 16px; }
|
|
5254
5264
|
.rev-group:last-child { margin-bottom:0; }
|
|
5255
5265
|
.rev-group-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 7px; }
|
|
@@ -5317,7 +5327,11 @@ table.hist tr.current td { background:var(--accent-soft); }
|
|
|
5317
5327
|
.ws-revision-card.state-unavailable .wrc-warn-ico { color:var(--warn); flex:none; }
|
|
5318
5328
|
.ws-revision-card.state-staged, .ws-revision-card.state-filter-ready, .ws-revision-card.state-filter-saved { border-left:3px solid var(--accent); }
|
|
5319
5329
|
.ws-revision-card.state-staged .wrc-dot, .ws-revision-card.state-filter-ready .wrc-dot, .ws-revision-card.state-filter-saved .wrc-dot { background:var(--accent); }
|
|
5330
|
+
.ws-revision-card.state-stale { border-left-color:var(--warn); }
|
|
5331
|
+
.ws-revision-card.state-stale .wrc-dot { background:var(--warn); }
|
|
5320
5332
|
.ws-revision-card .wrc-actions { display:flex; gap:6px; flex:none; }
|
|
5333
|
+
.ws-revision-card .wrc-actions .wrc-discard { color:var(--err); }
|
|
5334
|
+
.ws-revision-card .wrc-actions .wrc-discard:hover { color:var(--err); border-color:var(--err); background:rgba(248,113,113,.1); }
|
|
5321
5335
|
.hist .gate-badge.ai-read { background:var(--accent-soft); border-color:var(--accent-dim); color:var(--accent-bright); }
|
|
5322
5336
|
|
|
5323
5337
|
/* History rollback and Knowledge remove confirmation share this themed anchored popover. */
|
package/dist/web/app.js
CHANGED
|
@@ -387,6 +387,10 @@ function renderDagTopology(p) {
|
|
|
387
387
|
}
|
|
388
388
|
|
|
389
389
|
function drawDagWires(svg, connections) {
|
|
390
|
+
// A queued animation frame can outlive the prompt it was scheduled for. Once the shell switches to a
|
|
391
|
+
// non-DAG prompt, that old SVG is detached and the new prompt has no `connections`; both are normal
|
|
392
|
+
// lifecycle states, not drawing errors.
|
|
393
|
+
if (!svg.isConnected || !Array.isArray(connections)) return;
|
|
390
394
|
svg.innerHTML = '';
|
|
391
395
|
connections.forEach((c, idx) => {
|
|
392
396
|
const fromEl = dagCardMap[c.from];
|
|
@@ -76,50 +76,50 @@
|
|
|
76
76
|
guidance: 'on-demand',
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
/* ── the
|
|
79
|
+
/* ── the exclusion sign-off, before a revision read's Save ─────────────── */
|
|
80
80
|
|
|
81
81
|
def('filter.signoff-approve', {
|
|
82
|
-
label: 'Approve these
|
|
83
|
-
actsOn: 'Records that the switched-off
|
|
84
|
-
group: 'In the Drawing Filter
|
|
82
|
+
label: 'Approve these exclusions',
|
|
83
|
+
actsOn: 'Records that the switched-off values carry no steel',
|
|
84
|
+
group: 'In the Drawing Filter exclusion approval',
|
|
85
85
|
persistence: 'working',
|
|
86
86
|
interaction: 'instant',
|
|
87
87
|
risk: [],
|
|
88
88
|
guidance: 'on-demand',
|
|
89
|
-
why: 'Only appears when this read has
|
|
89
|
+
why: 'Only appears when this read has something switched off — a layer, a line weight or a colour. Everything matching those values can then be dismissed as a group instead of element by element, so it is worth reading the list first. Values you leave on can never be dismissed this way. It waits until the count of what would be dismissed has arrived, because that number is the decision.',
|
|
90
90
|
});
|
|
91
91
|
|
|
92
92
|
def('filter.signoff-cancel', {
|
|
93
|
-
label: 'Cancel the
|
|
93
|
+
label: 'Cancel the exclusion approval',
|
|
94
94
|
actsOn: 'Closes the list without saving anything',
|
|
95
|
-
group: 'In the Drawing Filter
|
|
95
|
+
group: 'In the Drawing Filter exclusion approval',
|
|
96
96
|
persistence: 'none',
|
|
97
97
|
interaction: 'instant',
|
|
98
98
|
risk: [],
|
|
99
99
|
guidance: 'on-demand',
|
|
100
|
-
why: 'Nothing is written. To change which
|
|
100
|
+
why: 'Nothing is written — not even the filter change. To change which values are listed, untick or re-tick them in the panel and press Save again.',
|
|
101
101
|
});
|
|
102
102
|
|
|
103
103
|
def('filter.signoff-close', {
|
|
104
|
-
label: 'Close the
|
|
104
|
+
label: 'Close the exclusion approval',
|
|
105
105
|
actsOn: 'Dismisses the message',
|
|
106
|
-
group: 'In the Drawing Filter
|
|
106
|
+
group: 'In the Drawing Filter exclusion approval',
|
|
107
107
|
persistence: 'none',
|
|
108
108
|
interaction: 'instant',
|
|
109
109
|
risk: [],
|
|
110
110
|
guidance: 'on-demand',
|
|
111
|
-
why: 'Only appears when an approval
|
|
111
|
+
why: 'Only appears when an approval could not be recorded. The message says whether your filter changes were saved — closing it dismisses the message, it does not undo anything.',
|
|
112
112
|
});
|
|
113
113
|
|
|
114
114
|
def('filter.signoff-reload', {
|
|
115
115
|
label: 'Reload the page',
|
|
116
116
|
actsOn: 'Loads the Drawing Filter again',
|
|
117
|
-
group: 'In the Drawing Filter
|
|
117
|
+
group: 'In the Drawing Filter exclusion approval',
|
|
118
118
|
persistence: 'none',
|
|
119
119
|
interaction: 'instant',
|
|
120
120
|
risk: [],
|
|
121
121
|
guidance: 'on-demand',
|
|
122
|
-
why: 'Only appears when an approval
|
|
122
|
+
why: 'Only appears when an approval could not be recorded. Reloading fetches what the server actually holds, so you can approve what is really there rather than a stale copy.',
|
|
123
123
|
});
|
|
124
124
|
|
|
125
125
|
/* ── the left panel: which elements are shown ───────────────────────────── */
|
|
@@ -143,6 +143,9 @@
|
|
|
143
143
|
interaction: 'instant',
|
|
144
144
|
risk: [],
|
|
145
145
|
guidance: 'on-demand',
|
|
146
|
+
// Worth saying on THIS control specifically: on a revision read, switching a value off is what
|
|
147
|
+
// later lets its elements be dismissed as a group, and Save asks for that on the record.
|
|
148
|
+
why: 'On a revision read, everything you switch off here is what Save will ask you to approve as not steel — those elements can then be dismissed as a group, with no line-by-line reason.',
|
|
146
149
|
});
|
|
147
150
|
|
|
148
151
|
def('filter.facet-all', {
|
|
@@ -653,6 +653,28 @@
|
|
|
653
653
|
guidance: 'on-demand',
|
|
654
654
|
});
|
|
655
655
|
|
|
656
|
+
def('shell.revision-discard-open', {
|
|
657
|
+
label: 'Discard drawing read',
|
|
658
|
+
actsOn: 'Opens a confirmation before removing this staged drawing-read review',
|
|
659
|
+
group: 'In the project workspace',
|
|
660
|
+
persistence: 'none',
|
|
661
|
+
interaction: 'dialog',
|
|
662
|
+
risk: [],
|
|
663
|
+
guidance: 'on-demand',
|
|
664
|
+
why: 'Close keeps the review. Discard is a separate confirmed action because the drawing read would have to be run again.',
|
|
665
|
+
});
|
|
666
|
+
|
|
667
|
+
def('shell.revision-discard-review-open', {
|
|
668
|
+
label: 'Discard this drawing read',
|
|
669
|
+
actsOn: 'Opens the discard confirmation from the staged proposal currently being reviewed',
|
|
670
|
+
group: 'In the revision review',
|
|
671
|
+
persistence: 'none',
|
|
672
|
+
interaction: 'dialog',
|
|
673
|
+
risk: [],
|
|
674
|
+
guidance: 'on-demand',
|
|
675
|
+
why: 'Close keeps the review. This separate action asks for confirmation before removing it.',
|
|
676
|
+
});
|
|
677
|
+
|
|
656
678
|
def('shell.revision-failure-dismiss', {
|
|
657
679
|
label: 'Dismiss failed drawing read',
|
|
658
680
|
actsOn: 'Removes this failed drawing-read request from the project workspace',
|
|
@@ -1047,6 +1069,17 @@
|
|
|
1047
1069
|
guidance: 'on-demand',
|
|
1048
1070
|
});
|
|
1049
1071
|
|
|
1072
|
+
def('shell.revision-discard-confirm', {
|
|
1073
|
+
label: 'Discard drawing read',
|
|
1074
|
+
actsOn: 'Permanently removes this staged drawing-read review without changing the model or History',
|
|
1075
|
+
group: 'In the FloLess dialogs',
|
|
1076
|
+
persistence: 'working',
|
|
1077
|
+
interaction: 'instant',
|
|
1078
|
+
risk: ['destructive'],
|
|
1079
|
+
guidance: 'on-demand',
|
|
1080
|
+
why: 'The staged review is removed and must be recreated by attaching and reading the drawing set again.',
|
|
1081
|
+
});
|
|
1082
|
+
|
|
1050
1083
|
def('shell.approval-confirm', {
|
|
1051
1084
|
label: 'Approve the changes',
|
|
1052
1085
|
actsOn: 'Signs off every change you have just reviewed',
|