@floless/app 0.131.0 → 0.132.0

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.
Files changed (34) hide show
  1. package/dist/floless-server.cjs +2558 -1885
  2. package/dist/schemas/steel.model.v2.schema.json +3 -1
  3. package/dist/web/app.css +359 -0
  4. package/dist/web/app.js +22 -0
  5. package/dist/web/aware.js +62 -10
  6. package/dist/web/commands-filter.js +157 -0
  7. package/dist/web/commands-shell.js +1316 -0
  8. package/dist/web/commands-steel.js +1829 -0
  9. package/dist/web/commands-vector.js +154 -0
  10. package/dist/web/commands-vector3d.js +96 -0
  11. package/dist/web/commands.js +316 -0
  12. package/dist/web/grid-core.js +124 -23
  13. package/dist/web/index.html +269 -164
  14. package/dist/web/instructor-reporter.js +201 -0
  15. package/dist/web/instructor.js +1119 -0
  16. package/dist/web/reference-changes.js +55 -0
  17. package/dist/web/reference-geometry-worker.js +194 -0
  18. package/dist/web/steel-3d-core.js +454 -107
  19. package/dist/web/steel-3d-view.js +790 -165
  20. package/dist/web/steel-canvas-guidance.js +7 -4
  21. package/dist/web/steel-editor.html +2347 -1810
  22. package/dist/web/steel-filter-core.js +13 -5
  23. package/dist/web/steel-filter.html +36 -22
  24. package/dist/web/steel-model-adapter.js +17 -22
  25. package/dist/web/steel-model-commands.js +23 -10
  26. package/dist/web/steel-model-v2-client-validation.js +20 -3
  27. package/dist/web/steel-model-v2-commands.js +91 -3
  28. package/dist/web/steel-model-v2-projection.js +4 -5
  29. package/dist/web/steel-plan-transform.js +4 -8
  30. package/dist/web/steel-split-view.js +52 -0
  31. package/dist/web/vector-3d.html +19 -7
  32. package/dist/web/vector-editor.html +21 -8
  33. package/dist/web/workspaces.js +9 -24
  34. package/package.json +9 -1
@@ -0,0 +1,1829 @@
1
+ /* ──────────────────────────────────────────────────────────────────────────
2
+ Steel editor capability registrations — PHASE 2.
3
+
4
+ The steel editor's user-invokable capabilities, declared against the
5
+ vocabularies in commands.js. Same shape as commands-shell.js; what differs is
6
+ that most of these are T1 — armed modes with a step sequence — where the
7
+ shell has almost none.
8
+
9
+ ── Why this file loads in TWO documents ──────────────────────────────────
10
+ index.html loads it as well as steel-editor.html, and that is deliberate.
11
+ Phase 0 proved registrations must be CO-LOCATED, but that finding is about
12
+ LIVE STATE: `mode`, `cmTool`, `dimMode` and friends are lexically scoped
13
+ inside steel-editor.html's main(), so no shared module can read them. This
14
+ file holds no state — it is a list of immutable declarations — so the shell
15
+ can hold an identical copy and still be the sole producer of guidance.
16
+
17
+ The rule that matters is unchanged: `guidanceFor()` runs in the shell and
18
+ nowhere else. A child publishes a snapshot and renders what it is handed. Two
19
+ copies of the same constants are not two producers.
20
+
21
+ ── Where the step text came from ────────────────────────────────────────
22
+ It was MOVED, not invented. Every sentence below already existed in one of
23
+ the three narrators this phase collapses — updateStatusChip() in
24
+ steel-3d-view.js, the panel() takeover hints in steel-editor.html, or
25
+ canvasToolGuidanceState(). Bringing them here is the whole point: one place
26
+ to change a step, instead of three that can disagree.
27
+
28
+ Note what is NOT here: modifier legends (Shift=straight, Alt=no snap), live
29
+ counts, and axis-lock state. Those are affordance detail about the surface,
30
+ not narration of the command's step, and they stay beside the surface that
31
+ owns them. The producer appends the cancel route, so "Esc to cancel" is not
32
+ repeated on 28 entries.
33
+ ────────────────────────────────────────────────────────────────────────── */
34
+ (function () {
35
+ 'use strict';
36
+
37
+ if (!window.Commands) return;
38
+ var def = window.Commands.define;
39
+ /* 'steel-editor' even though this file ALSO loads in the shell (see the header):
40
+ the field says where the command lives, not where the file was parsed. */
41
+ window.Commands.surfaceScope('steel-editor');
42
+
43
+ /* ── drawing: the tools that create geometry ─────────────────────────────── */
44
+
45
+ def('steel.add-member', {
46
+ label: 'Add member',
47
+ actsOn: 'Draws on the working plane',
48
+ group: 'On the steel canvas',
49
+ key: 'Also: A',
50
+ persistence: 'working',
51
+ interaction: 'mode',
52
+ risk: [],
53
+ guidance: 'active-command',
54
+ steps: ['Click the member start point', 'Click the member end point'],
55
+ why: 'New members take the current profile and member type. Click a highlighted segment to trace it instead of drawing free.',
56
+ });
57
+
58
+ def('steel.dimension', {
59
+ label: 'Dimension',
60
+ actsOn: 'Adds a dimension to this sheet',
61
+ group: 'On the steel canvas',
62
+ key: 'Also: D',
63
+ persistence: 'working',
64
+ interaction: 'mode',
65
+ risk: [],
66
+ guidance: 'active-command',
67
+ steps: ['Click the first dimension point', 'Click the second dimension point', 'Click where the dimension line sits'],
68
+ });
69
+
70
+ def('steel.dimension-split', {
71
+ label: 'Add split point',
72
+ actsOn: 'Splits the selected dimension where you click, or extends it past an end',
73
+ group: 'On the steel canvas',
74
+ key: 'Also: S',
75
+ persistence: 'working',
76
+ interaction: 'mode',
77
+ risk: [],
78
+ guidance: 'active-command',
79
+ steps: ['Click a point on the selected dimension'],
80
+ why: 'A point between the ends splits the dimension in two; a point beyond an end continues it as a running chain.',
81
+ });
82
+
83
+ def('steel.grid-line', {
84
+ label: 'Grid line',
85
+ actsOn: 'Adds a grid line to this sheet',
86
+ group: 'In the grid panel',
87
+ persistence: 'working',
88
+ interaction: 'mode',
89
+ risk: [],
90
+ guidance: 'active-command',
91
+ steps: ['Click the first point of the grid line', 'Click the second point'],
92
+ });
93
+
94
+ /* ── transforms: the tools that move what is selected ────────────────────── */
95
+
96
+ def('steel.move', {
97
+ label: 'Move',
98
+ actsOn: 'Moves the current selection',
99
+ group: 'On the steel canvas',
100
+ persistence: 'working',
101
+ interaction: 'mode',
102
+ risk: [],
103
+ guidance: 'active-command',
104
+ steps: ['Click the base point', 'Click the destination'],
105
+ why: 'Type a distance after the base pick for an exact value instead of clicking.',
106
+ });
107
+
108
+ def('steel.copy', {
109
+ label: 'Copy',
110
+ actsOn: 'Copies the current selection',
111
+ group: 'On the steel canvas',
112
+ persistence: 'working',
113
+ interaction: 'mode',
114
+ risk: [],
115
+ guidance: 'active-command',
116
+ steps: ['Click the base point', 'Click where the copy goes'],
117
+ why: 'Connections do not copy with the member. The tool stays armed after each copy.',
118
+ });
119
+
120
+ def('steel.copy-array', {
121
+ label: 'Copy array',
122
+ actsOn: 'Fills a grid from the current selection',
123
+ group: 'On the steel canvas',
124
+ persistence: 'working',
125
+ interaction: 'mode',
126
+ risk: [],
127
+ guidance: 'active-command',
128
+ steps: ['Click the base point', 'Click the direction-A point', 'Click the direction-B point'],
129
+ why: 'The counts include the original, so 4 × 6 fills a 4-by-6 grid. The preview updates as you pick.',
130
+ });
131
+
132
+ def('steel.copy-count', {
133
+ label: 'Copies',
134
+ actsOn: 'Sets how many copies this tool places in a row',
135
+ group: 'In the Copy panel',
136
+ persistence: 'none',
137
+ interaction: 'instant',
138
+ risk: [],
139
+ guidance: 'on-demand',
140
+ why: 'The original is not counted. Each copy is another step along the direction you pick.',
141
+ });
142
+
143
+ def('steel.copy-array-count', {
144
+ label: 'Array count',
145
+ actsOn: 'Sets the copy count along {instance}',
146
+ group: 'In the Copy array panel',
147
+ persistence: 'none',
148
+ interaction: 'instant',
149
+ risk: [],
150
+ guidance: 'on-demand',
151
+ why: 'The count includes the original, so 4 by 6 fills 24 positions. Both directions together cannot exceed 100.',
152
+ });
153
+
154
+ def('steel.extend-trim', {
155
+ label: 'Extend / trim',
156
+ actsOn: 'Extends or trims every selected member',
157
+ group: 'On the steel canvas',
158
+ key: 'Also: E',
159
+ persistence: 'working',
160
+ interaction: 'mode',
161
+ risk: [],
162
+ guidance: 'active-command',
163
+ steps: ['Click the target member, segment or grid line'],
164
+ why: 'Each selected member’s nearer end moves to where it meets the target. Braces are skipped — their work point must stay on the column centreline.',
165
+ });
166
+
167
+ def('steel.split', {
168
+ label: 'Split',
169
+ actsOn: 'Splits the selected member in two',
170
+ group: 'On the steel canvas',
171
+ key: 'Also: S',
172
+ persistence: 'working',
173
+ interaction: 'mode',
174
+ risk: [],
175
+ guidance: 'active-command',
176
+ steps: ['Click the point on the member to split at'],
177
+ });
178
+
179
+ /* ── frames and planes: what "straight" and "flat" mean right now ────────── */
180
+
181
+ def('steel.local-axes', {
182
+ label: 'Set local axes',
183
+ actsOn: 'Re-aims the drawing tools — nothing in the model moves',
184
+ group: 'On the steel canvas',
185
+ persistence: 'working',
186
+ interaction: 'mode',
187
+ risk: [],
188
+ guidance: 'active-command',
189
+ steps: ['Click the origin point', 'Click a second point to set local X'],
190
+ why: 'Two clicks define the frame; Y follows at 90°. It changes what ortho, Move/Copy and Add treat as straight.',
191
+ });
192
+
193
+ def('steel.local-frame', {
194
+ label: 'Set local axes (3D)',
195
+ actsOn: 'Re-aims the drawing tools in 3D — nothing in the model moves',
196
+ group: 'On the steel canvas',
197
+ persistence: 'working',
198
+ interaction: 'mode',
199
+ risk: [],
200
+ guidance: 'active-command',
201
+ steps: [
202
+ 'Click the local-frame origin',
203
+ 'Click the local-X direction point',
204
+ 'Click a point on the frame’s Y side',
205
+ ],
206
+ why: 'Three points define a full 3D frame. The third click also sets which way Z points — pick the other side of X to flip it.',
207
+ });
208
+
209
+ def('steel.work-plane-face', {
210
+ label: 'Working plane from a face',
211
+ actsOn: 'Lands the working plane on the face you pick',
212
+ group: 'On the steel canvas',
213
+ persistence: 'working',
214
+ interaction: 'mode',
215
+ risk: [],
216
+ guidance: 'active-command',
217
+ steps: ['Click any face — a member or a reference'],
218
+ });
219
+
220
+ def('steel.work-plane-3pt', {
221
+ label: 'Working plane from 3 points',
222
+ actsOn: 'Defines the working plane from three picks',
223
+ group: 'On the steel canvas',
224
+ persistence: 'working',
225
+ interaction: 'mode',
226
+ risk: [],
227
+ guidance: 'active-command',
228
+ steps: [
229
+ 'Click the plane origin',
230
+ 'Click the local-X direction point',
231
+ 'Click a point on the plane’s Y side',
232
+ ],
233
+ });
234
+
235
+ /* ── measuring and inspecting: no model change ───────────────────────────── */
236
+
237
+ def('steel.reference-measure', {
238
+ label: 'Reference measure',
239
+ actsOn: 'Measures on a reference model — changes nothing',
240
+ group: 'On the steel canvas',
241
+ persistence: 'none',
242
+ interaction: 'mode',
243
+ risk: [],
244
+ guidance: 'active-command',
245
+ steps: ['Click the first point to measure from', 'Click the second point'],
246
+ why: 'The result goes to the Inspect panel and stays there. Picking two fresh points replaces it.',
247
+ });
248
+
249
+ def('steel.grid-station', {
250
+ label: 'Quick dimension to grid',
251
+ actsOn: 'Dimensions the selection to the grid station you click',
252
+ group: 'On the steel canvas',
253
+ key: 'Also: F7',
254
+ persistence: 'working',
255
+ interaction: 'mode',
256
+ risk: [],
257
+ guidance: 'active-command',
258
+ steps: ['Click the grid station to dimension to'],
259
+ });
260
+
261
+ def('steel.clip-plane', {
262
+ label: 'Clip plane',
263
+ actsOn: 'Cuts the view only — the model is untouched',
264
+ group: 'On the steel canvas',
265
+ persistence: 'local',
266
+ interaction: 'mode',
267
+ risk: [],
268
+ guidance: 'active-command',
269
+ steps: ['Click a face to clip against'],
270
+ });
271
+
272
+ def('steel.clip-box', {
273
+ label: 'Clip box',
274
+ actsOn: 'Cuts the view only — the model is untouched',
275
+ group: 'On the steel canvas',
276
+ persistence: 'local',
277
+ interaction: 'mode',
278
+ risk: [],
279
+ guidance: 'active-command',
280
+ steps: [
281
+ 'Click the first floor corner of the clip box',
282
+ 'Click the opposite floor corner',
283
+ 'Move up or down to set the height, then click',
284
+ ],
285
+ });
286
+
287
+ /* ── picks that answer a question the panel asked ────────────────────────── */
288
+
289
+ def('steel.pick-profile', {
290
+ label: 'Pick a profile',
291
+ actsOn: 'Takes the profile from the member you click',
292
+ group: 'In the Inspect panel',
293
+ persistence: 'working',
294
+ interaction: 'mode',
295
+ risk: [],
296
+ guidance: 'active-command',
297
+ steps: ['Click the member to take the profile from'],
298
+ });
299
+
300
+ def('steel.pick-detail', {
301
+ label: 'Pick a detail',
302
+ actsOn: 'Takes the connection detail from the end you click',
303
+ group: 'In the Inspect panel',
304
+ persistence: 'working',
305
+ interaction: 'mode',
306
+ risk: [],
307
+ guidance: 'active-command',
308
+ steps: ['Click the member end to take the detail from'],
309
+ });
310
+
311
+ def('steel.base-pick', {
312
+ label: 'Trim column base',
313
+ actsOn: 'Trims the column’s base to the level you click',
314
+ group: 'On the steel canvas',
315
+ persistence: 'working',
316
+ interaction: 'mode',
317
+ risk: [],
318
+ guidance: 'active-command',
319
+ steps: ['Click the framing level to trim the base to'],
320
+ });
321
+
322
+ def('steel.insert-detail', {
323
+ label: 'Place a detail',
324
+ actsOn: 'Places the chosen detail where you click',
325
+ group: 'On the steel canvas',
326
+ persistence: 'working',
327
+ interaction: 'mode',
328
+ risk: [],
329
+ guidance: 'active-command',
330
+ steps: ['Click a member face or the working plane to place it on'],
331
+ });
332
+
333
+ /* ── panel-takeover modes: armed, but with nothing to click on the canvas ── */
334
+
335
+ def('steel.grid', {
336
+ label: 'Edit the grid',
337
+ actsOn: 'Edits this sheet’s grid',
338
+ group: 'In the grid panel',
339
+ persistence: 'working',
340
+ interaction: 'mode',
341
+ risk: [],
342
+ guidance: 'active-command',
343
+ steps: ['Set the spacings and levels in the panel, then choose Done'],
344
+ });
345
+
346
+ def('steel.grid-pick', {
347
+ label: 'Pick the grid origin',
348
+ actsOn: 'Sets where the grid starts',
349
+ group: 'In the grid panel',
350
+ persistence: 'working',
351
+ interaction: 'mode',
352
+ risk: [],
353
+ guidance: 'active-command',
354
+ steps: ['Click the point the grid should start from'],
355
+ });
356
+
357
+ /* ── the grid panel's own fields and buttons ───────────────────────────────
358
+ Built inside template literals, so none of these had a carrier until now.
359
+
360
+ Two are instance templates rather than N definitions, for the reason set
361
+ out under "On {instance}" below: the X and Y spacing fields differ only by
362
+ axis, and the two label fields only by direction.
363
+
364
+ The Levels (Z) box is deliberately NOT a third spacing instance, even
365
+ though it sits in the same run of fields and looks like one. It takes
366
+ absolute elevations rather than bay spacings, and it does not accept the
367
+ `n*d` repeat the spacing fields do (grid-core's lengthTokens is called with
368
+ allowRepeat false for levels and true for spacings), so sharing the spacing
369
+ template would have made the Instructor state two things about it that are
370
+ not true. It gets its own definition below.
371
+
372
+ Read and auto are one definition with two carriers rather than a template:
373
+ each renders twice — once in the no-grid branch and once when a grid
374
+ exists — but it is the same capability behind both, so there is nothing to
375
+ key an instance on. The branches are mutually exclusive, and activate()
376
+ takes the first VISIBLE carrier, so the pair cannot fight over focus.
377
+
378
+ The panel's show/hide tick is NOT defined here. It is the same capability
379
+ as the ⋯ menu's Grid lines switch — both call gridSetVisible — so it
380
+ carries that command's id (steel.show-grid) as a second carrier, exactly
381
+ like read/auto above. Defining it again would have put two identically
382
+ labelled rows in the `?` sheet for one capability.
383
+
384
+ ── On the topology lock ──────────────────────────────────────────────────
385
+ Most of these controls are permanently DISABLED, and the prose below says
386
+ so rather than describing an edit that cannot happen. `topologyLock`
387
+ (steel-editor.html) is an unconditional const containing ` disabled`, and
388
+ the handlers behind it call editGridTopology(), which ignores its callback
389
+ and only toasts. That is deliberate: grid axes carry stable ids that
390
+ dimensions and generated views reference, so re-spacing is an identity-
391
+ matching problem with no safe automatic answer, and it is refused for the
392
+ human as well as the AI.
393
+
394
+ So `why` on a locked command explains that refusal — the fact the panel's
395
+ own "ask your terminal AI" hint does not give. It must NOT promise the
396
+ edit, and in particular must not call it "Undoable": nothing is pushed to
397
+ the undo stack because nothing happens at all. (The band still reads
398
+ `disabled` and `data-blocked-reason` off the element; that is how the
399
+ block is SHOWN, but it is not a licence for the registry to describe the
400
+ command as if it worked.) */
401
+
402
+ def('steel.grid-spacing', {
403
+ label: 'Grid spacings',
404
+ actsOn: 'Shows the bay spacings this sheet’s grid is built from, along {instance}',
405
+ group: 'In the grid panel',
406
+ persistence: 'working',
407
+ interaction: 'instant',
408
+ risk: [],
409
+ guidance: 'on-demand',
410
+ why: 'Read-only here, for everyone. Changing a spacing changes which grid lines exist, and dimensions are anchored to particular lines — so it goes through your terminal AI, where the re-anchoring is reviewed rather than guessed.',
411
+ });
412
+
413
+ def('steel.grid-levels', {
414
+ label: 'Level elevations',
415
+ actsOn: 'Shows the heights this sheet’s levels sit at, one per level',
416
+ group: 'In the grid panel',
417
+ persistence: 'working',
418
+ interaction: 'instant',
419
+ risk: [],
420
+ guidance: 'on-demand',
421
+ why: 'Heights measured from zero, not gaps between floors — and unlike the X and Y boxes this one takes no n*d repeat. Read-only here for everyone, because adding or moving a level changes which grid lines exist: ask your terminal AI.',
422
+ });
423
+
424
+ def('steel.grid-labels', {
425
+ label: 'Grid labels',
426
+ actsOn: 'Renames the grid lines running along {instance}',
427
+ group: 'In the grid panel',
428
+ persistence: 'working',
429
+ interaction: 'instant',
430
+ risk: [],
431
+ guidance: 'on-demand',
432
+ why: 'Names only — moving or adding a line is a separate, reviewed change. A name containing a space locks this box, because the field separates names by space and could not put it back together.',
433
+ });
434
+
435
+ def('steel.grid-labels-ai', {
436
+ label: 'Ask AI to read the labels',
437
+ actsOn: 'Opens an AI request already written out, asking for the printed grid marks',
438
+ group: 'In the grid panel',
439
+ persistence: 'none',
440
+ interaction: 'dialog',
441
+ risk: [],
442
+ guidance: 'on-demand',
443
+ why: 'Many drawings outline their bubble text, so the marks cannot be read by measurement alone. This only fills the request in — you still send it, and nothing changes until your terminal AI answers.',
444
+ });
445
+
446
+ def('steel.grid-drop-z-labels', {
447
+ label: 'Remove extra Z labels',
448
+ actsOn: 'Deletes saved level names that no longer match any elevation',
449
+ group: 'In the grid panel',
450
+ persistence: 'working',
451
+ interaction: 'instant',
452
+ risk: [],
453
+ guidance: 'on-demand',
454
+ why: 'Only the orphans go; every label still matching a level is left alone. It is undoable — unless the level list also needs tidying to match, which makes it a grid-line change and is refused here.',
455
+ });
456
+
457
+ def('steel.grid-extension', {
458
+ label: 'Grid extension',
459
+ actsOn: 'Sets how far every line runs past the outermost one, in plan',
460
+ group: 'In the grid panel',
461
+ persistence: 'working',
462
+ interaction: 'instant',
463
+ risk: [],
464
+ guidance: 'on-demand',
465
+ why: 'One value for the whole grid, and the only length box in this panel that takes a single distance rather than a list.',
466
+ });
467
+
468
+ def('steel.grid-extension-reset', {
469
+ label: 'Reset line extents',
470
+ actsOn: 'Puts every individually dragged line back to the shared extension',
471
+ group: 'In the grid panel',
472
+ persistence: 'working',
473
+ interaction: 'instant',
474
+ risk: [],
475
+ guidance: 'on-demand',
476
+ why: 'Undoable, and it only touches the per-line overrides — the extension value itself is unchanged.',
477
+ });
478
+
479
+ def('steel.grid-clear-lines', {
480
+ label: 'Clear single lines',
481
+ actsOn: 'Deletes every individually added grid line',
482
+ group: 'In the grid panel',
483
+ persistence: 'working',
484
+ interaction: 'instant',
485
+ risk: [],
486
+ guidance: 'on-demand',
487
+ why: 'Refused here for everyone. Free-angle lines are grid lines too, and dimensions can be anchored to them — so removing them goes through your terminal AI.',
488
+ });
489
+
490
+ def('steel.grid-read', {
491
+ label: 'Read the grid from the drawing',
492
+ actsOn: 'Detects the printed grid lines and bubbles in this sheet’s linework',
493
+ group: 'In the grid panel',
494
+ persistence: 'working',
495
+ interaction: 'instant',
496
+ risk: [],
497
+ guidance: 'on-demand',
498
+ why: 'Refused here for everyone: a re-read decides which grid lines exist, and dimensions are anchored to particular lines. Ask your terminal AI, which reviews the re-anchoring rather than guessing it.',
499
+ });
500
+
501
+ def('steel.grid-auto', {
502
+ label: 'Infer the grid from the columns',
503
+ actsOn: 'Works the spacings and origin out from where the columns stand',
504
+ group: 'In the grid panel',
505
+ persistence: 'working',
506
+ interaction: 'instant',
507
+ risk: [],
508
+ guidance: 'on-demand',
509
+ why: 'Refused here for everyone, because inferring a grid replaces the lines dimensions are anchored to. It also needs at least two columns before there is any spacing to read.',
510
+ });
511
+
512
+ def('steel.grid-blank', {
513
+ label: 'Start a blank grid',
514
+ actsOn: 'Lays down a starter grid — four lines each way, three 30-foot bays',
515
+ group: 'In the grid panel',
516
+ persistence: 'working',
517
+ interaction: 'instant',
518
+ risk: [],
519
+ guidance: 'on-demand',
520
+ why: 'Refused here for everyone: creating the grid decides which lines exist, and that goes through your terminal AI. It is the fallback when there is nothing to read off the drawing or infer from the columns.',
521
+ });
522
+
523
+ def('steel.grid-remove', {
524
+ label: 'Remove the grid',
525
+ actsOn: 'Deletes every grid line and level on this sheet',
526
+ group: 'In the grid panel',
527
+ persistence: 'working',
528
+ interaction: 'instant',
529
+ risk: [],
530
+ guidance: 'on-demand',
531
+ why: 'Refused here for everyone. Dimensions are anchored to particular grid lines, so deleting them all is exactly the change that has to be reviewed — ask your terminal AI.',
532
+ });
533
+
534
+ def('steel.grid-done', {
535
+ label: 'Close the grid panel',
536
+ actsOn: 'Leaves the grid tool and returns to the ordinary panel',
537
+ group: 'In the grid panel',
538
+ persistence: 'none',
539
+ interaction: 'instant',
540
+ risk: [],
541
+ guidance: 'on-demand',
542
+ why: 'Nothing is saved or discarded by leaving. The fields that can be edited here took effect as you typed; the locked ones never needed saving.',
543
+ });
544
+
545
+ def('steel.dimension-style', {
546
+ label: 'Dimension style',
547
+ actsOn: 'Sets the model-wide dimension defaults',
548
+ group: 'In the Inspect panel',
549
+ persistence: 'working',
550
+ interaction: 'mode',
551
+ risk: [],
552
+ guidance: 'active-command',
553
+ steps: ['Set the defaults in the panel — they apply to every sheet'],
554
+ });
555
+
556
+ def('steel.frame-adjust', {
557
+ label: 'Adjust the local frame',
558
+ actsOn: 'Re-aims the drawing tools — nothing in the model moves',
559
+ group: 'On the steel canvas',
560
+ persistence: 'working',
561
+ interaction: 'armed-gesture',
562
+ risk: [],
563
+ guidance: 'active-command',
564
+ steps: ['Drag the amber origin to move it, or the cyan ring to spin it'],
565
+ });
566
+
567
+ def('steel.host-drag', {
568
+ label: 'Drag into a CAD host',
569
+ actsOn: 'Inserts the selection into Tekla, Revit, SketchUp or Rhino',
570
+ group: 'On the steel canvas',
571
+ persistence: 'external',
572
+ interaction: 'armed-gesture',
573
+ risk: ['costs-time'],
574
+ guidance: 'active-command',
575
+ steps: ['Release over Tekla, Revit, SketchUp or Rhino'],
576
+ why: 'Reaches out of FloLess into a running CAD host. Releasing anywhere else cancels it.',
577
+ });
578
+
579
+ /* ══════════════════════════════════════════════════════════════════════════
580
+ PHASE 3 — the rest of the surface.
581
+
582
+ Everything above is T1: an armed tool with a step sequence. Those were
583
+ migrated first because they are the ones that need live narration, and for
584
+ a while they were the ONLY steel commands — which left the `?` sheet
585
+ listing 26 tools on a screen with about 190 controls, and pressing Enter on
586
+ any of them reached nothing, because not one carried its id in markup.
587
+
588
+ What follows registers the rest and, just as importantly, the markup now
589
+ carries the ids so `activate()` can find the control. Almost all of it is
590
+ T3: instant, reversible, view-only. That is not a gap in the classification
591
+ — a display toggle genuinely has no step to narrate and nothing to warn
592
+ about, and giving it either would be inventing detail. The band still
593
+ answers "what is this?" for every one of them, which is the whole job.
594
+
595
+ ── On {instance} ────────────────────────────────────────────────────────
596
+ Where one capability appears many times — seven snap types, five display
597
+ modes, four CAD hosts — it is ONE template with an instance key, not N
598
+ definitions. The instance supplies the subject and the template supplies
599
+ the facts, so the sheet holds one authored entry instead of N that can
600
+ drift apart. Two of these deliberately appear TWICE in the markup (the
601
+ snap toggles sit in the ⋯ menu and again on the snap bar); the same id in
602
+ both places is correct — it is one capability with two doorways, and
603
+ activate() prefers whichever is visible.
604
+ ══════════════════════════════════════════════════════════════════════════ */
605
+
606
+ /* ── the header ─────────────────────────────────────────────────────────── */
607
+
608
+ def('steel.canvas-view', {
609
+ label: 'Canvas view',
610
+ actsOn: 'Switches this editor to {instance}',
611
+ group: 'In the steel editor header',
612
+ persistence: 'local',
613
+ interaction: 'instant',
614
+ risk: [],
615
+ guidance: 'on-demand',
616
+ why: 'Changes what you are looking at, never the model. Split shows the plan and the 3D model side by side.',
617
+ });
618
+
619
+ def('steel.plan-switch', {
620
+ label: 'Switch plan view',
621
+ actsOn: 'Shows another plan from this model',
622
+ group: 'In the steel editor header',
623
+ persistence: 'local',
624
+ interaction: 'instant',
625
+ risk: [],
626
+ guidance: 'on-demand',
627
+ why: 'This is the only place the name of the plan you are looking at appears, so it stays on screen even when the model has just one.',
628
+ });
629
+
630
+ def('steel.undo', {
631
+ label: 'Undo',
632
+ actsOn: 'Reverses your last edit',
633
+ group: 'In the steel editor header',
634
+ key: 'Also: Ctrl+Z',
635
+ persistence: 'working',
636
+ interaction: 'instant',
637
+ risk: [],
638
+ guidance: 'on-demand',
639
+ });
640
+
641
+ def('steel.redo', {
642
+ label: 'Redo',
643
+ actsOn: 'Re-applies the edit you just undid',
644
+ group: 'In the steel editor header',
645
+ key: 'Also: Ctrl+Y',
646
+ persistence: 'working',
647
+ interaction: 'instant',
648
+ risk: [],
649
+ guidance: 'on-demand',
650
+ });
651
+
652
+ def('steel.transform-menu', {
653
+ label: 'Move / Copy',
654
+ actsOn: 'Opens the move, copy and dragging options',
655
+ group: 'In the steel editor header',
656
+ persistence: 'none',
657
+ interaction: 'instant',
658
+ risk: [],
659
+ guidance: 'on-demand',
660
+ why: 'Move (M) and Copy (C) also arm straight from the keyboard, without opening this.',
661
+ });
662
+
663
+ def('steel.ask-ai', {
664
+ label: 'Ask AI',
665
+ actsOn: 'Opens a note to your terminal AI about this model',
666
+ group: 'In the steel editor header',
667
+ persistence: 'none',
668
+ interaction: 'dialog',
669
+ risk: [],
670
+ guidance: 'on-demand',
671
+ why: 'Describes a change in your own words. Your terminal AI does the work; nothing changes until it does.',
672
+ });
673
+
674
+ def('steel.more-menu', {
675
+ label: 'More actions',
676
+ actsOn: 'Opens snapping, display, detailing, checks, axes and session',
677
+ group: 'In the steel editor header',
678
+ persistence: 'none',
679
+ interaction: 'instant',
680
+ risk: [],
681
+ guidance: 'on-demand',
682
+ });
683
+
684
+ /* ── the dimension cluster (3D) ─────────────────────────────────────────── */
685
+
686
+ /* NOT steel.reference-measure, which this button was first (wrongly) given.
687
+ #m3dDim drives toggleDimTool() → dims3d, the dimensions the model KEEPS;
688
+ reference measure is armRefMeasure3d in the References tab, whose result
689
+ goes to the Inspect panel and stays there. They disarm each other, which is
690
+ what proves they are two tools. Pointing this button at the other entry
691
+ narrated the wrong capability AND understated what it writes — it claimed
692
+ persistence 'none' for something that edits working state. (Code review.) */
693
+ def('steel.dimension-3d', {
694
+ label: 'Dimension (3D)',
695
+ actsOn: 'Adds a dimension to the 3D model',
696
+ group: 'In the steel editor header',
697
+ key: 'Also: D',
698
+ persistence: 'working',
699
+ interaction: 'mode',
700
+ risk: [],
701
+ guidance: 'active-command',
702
+ steps: ['Click the first point', 'Click the second point'],
703
+ why: 'The axis buttons beside it follow the active coordinate frame. Alt measures vertically; right-click restricts snapping to one type.',
704
+ });
705
+
706
+ def('steel.dimension-axis', {
707
+ label: 'Measure axis',
708
+ actsOn: 'Locks the 3D measurement to {instance}',
709
+ group: 'In the steel editor header',
710
+ persistence: 'local',
711
+ interaction: 'instant',
712
+ risk: [],
713
+ guidance: 'on-demand',
714
+ why: 'Follows the active coordinate frame — X′/Y′/Elev under local axes, World X/Y under a ◇ Plane. Free clears the lock.',
715
+ });
716
+
717
+ def('steel.dimension-show', {
718
+ label: 'Show 3D dimensions',
719
+ actsOn: 'Shows or hides the dimensions placed in 3D',
720
+ group: 'In the steel editor header',
721
+ persistence: 'local',
722
+ interaction: 'instant',
723
+ risk: [],
724
+ guidance: 'on-demand',
725
+ });
726
+
727
+ /* ── transforms that open a dialog rather than arming ────────────────────── */
728
+
729
+ def('steel.move-to-level', {
730
+ label: 'Move to level',
731
+ actsOn: 'Moves the selection to another level',
732
+ group: 'In the steel editor header',
733
+ persistence: 'working',
734
+ interaction: 'dialog',
735
+ risk: [],
736
+ guidance: 'on-demand',
737
+ why: 'Asks for the destination level instead of two clicks, so the members land at an exact elevation.',
738
+ });
739
+
740
+ def('steel.copy-to-level', {
741
+ label: 'Copy to level',
742
+ actsOn: 'Copies the selection to another level',
743
+ group: 'In the steel editor header',
744
+ persistence: 'working',
745
+ interaction: 'dialog',
746
+ risk: [],
747
+ guidance: 'on-demand',
748
+ why: 'The usual way to repeat a floor. Connections do not copy with the members.',
749
+ });
750
+
751
+ def('steel.drag-to-move', {
752
+ label: 'Drag to move/copy',
753
+ actsOn: 'Lets a left-drag move a member, and Ctrl+drag copy it',
754
+ group: 'In the steel editor header',
755
+ persistence: 'local',
756
+ interaction: 'instant',
757
+ risk: [],
758
+ guidance: 'on-demand',
759
+ why: 'Off by default so a member cannot be nudged by accident — a click only selects. The Move and Copy tools work either way.',
760
+ });
761
+
762
+ /* ── the ⋯ menu ─────────────────────────────────────────────────────────────
763
+ Six accordion sections, and the groups below mirror them one for one. A
764
+ single 'In the ⋯ menu' group would have held about thirty commands, which
765
+ is a scroll rather than a list; naming the section the user actually opens
766
+ is both shorter to scan and true to the screen. */
767
+
768
+ def('steel.menu-section', {
769
+ label: 'Menu section',
770
+ actsOn: 'Expands or collapses {instance}',
771
+ group: 'In the ⋯ menu',
772
+ persistence: 'local',
773
+ interaction: 'instant',
774
+ risk: [],
775
+ guidance: 'on-demand',
776
+ why: 'Which sections are open is remembered between visits.',
777
+ });
778
+
779
+ /* Snapping. The same seven toggles appear on the snap bar at the bottom right
780
+ of the canvas, under these same ids — one capability, two doorways. */
781
+
782
+ def('steel.snap-toggle', {
783
+ label: 'Running snap',
784
+ actsOn: 'Turns the {instance} snap on or off',
785
+ group: 'In the ⋯ menu — Snapping',
786
+ persistence: 'local',
787
+ interaction: 'instant',
788
+ risk: [],
789
+ guidance: 'on-demand',
790
+ why: 'Running snaps apply to every pick. Right-click the canvas to force one snap type for a single pick instead.',
791
+ });
792
+
793
+ def('steel.snap-3d', {
794
+ label: '3D snapping',
795
+ actsOn: 'Allows snapping at any elevation, not just the working level',
796
+ group: 'In the ⋯ menu — Snapping',
797
+ persistence: 'local',
798
+ interaction: 'instant',
799
+ risk: [],
800
+ guidance: 'on-demand',
801
+ why: 'Off, picks stay on the current working level — which is what you want when tracing a plan. 3D view only.',
802
+ });
803
+
804
+ def('steel.snap-origin-grid', {
805
+ label: 'Origin grid snap',
806
+ actsOn: 'Snaps to a lattice measured from your local-axes origin',
807
+ group: 'In the ⋯ menu — Snapping',
808
+ persistence: 'local',
809
+ interaction: 'instant',
810
+ risk: [],
811
+ guidance: 'on-demand',
812
+ why: 'Sits on top of geometry snapping — real geometry always wins. Does nothing until a local frame (3D) is set.',
813
+ });
814
+
815
+ def('steel.snap-origin-step', {
816
+ label: 'Origin grid step',
817
+ actsOn: 'Sets how far apart the origin-grid snap points sit',
818
+ group: 'In the ⋯ menu — Snapping',
819
+ persistence: 'local',
820
+ interaction: 'instant',
821
+ risk: [],
822
+ guidance: 'on-demand',
823
+ why: 'Measured along the rotated local axes, in feet-inches — 12" or 1\'-0".',
824
+ });
825
+
826
+ /* Display. All 'local': they change what is drawn, never what is stored. */
827
+
828
+ def('steel.show-dimensions', {
829
+ label: 'Show dimensions',
830
+ actsOn: 'Shows or hides every dimension placed on the plan',
831
+ group: 'In the ⋯ menu — Display',
832
+ persistence: 'local',
833
+ interaction: 'instant',
834
+ risk: [],
835
+ guidance: 'on-demand',
836
+ });
837
+
838
+ def('steel.show-callouts', {
839
+ label: 'Show callouts',
840
+ actsOn: 'Shows or hides the callout bubbles on the plan',
841
+ group: 'In the ⋯ menu — Display',
842
+ persistence: 'local',
843
+ interaction: 'instant',
844
+ risk: [],
845
+ guidance: 'on-demand',
846
+ why: 'The section, elevation and detail references you can click to open.',
847
+ });
848
+
849
+ def('steel.show-grid', {
850
+ label: 'Show grid lines',
851
+ actsOn: 'Shows or hides the grid lines in 2D and 3D',
852
+ group: 'In the ⋯ menu — Display',
853
+ persistence: 'local',
854
+ interaction: 'instant',
855
+ risk: [],
856
+ guidance: 'on-demand',
857
+ });
858
+
859
+ def('steel.grid-label-size', {
860
+ label: 'Grid label size',
861
+ actsOn: 'Sets how big the grid bubbles are drawn',
862
+ group: 'In the ⋯ menu — Display',
863
+ persistence: 'local',
864
+ interaction: 'instant',
865
+ risk: [],
866
+ guidance: 'on-demand',
867
+ why: 'Like a CAD drawing, the bubbles hold this size on screen however far you zoom.',
868
+ });
869
+
870
+ def('steel.show-member-length', {
871
+ label: 'Show member length',
872
+ actsOn: 'Labels each selected member with its length',
873
+ group: 'In the ⋯ menu — Display',
874
+ persistence: 'local',
875
+ interaction: 'instant',
876
+ risk: [],
877
+ guidance: 'on-demand',
878
+ });
879
+
880
+ def('steel.show-property-labels', {
881
+ label: 'Show property labels',
882
+ actsOn: 'Shows or hides the property labels on the plan',
883
+ group: 'In the ⋯ menu — Display',
884
+ persistence: 'local',
885
+ interaction: 'instant',
886
+ risk: [],
887
+ guidance: 'on-demand',
888
+ why: 'Which properties are labelled is shared with the 3D view; this hides them on the plan only.',
889
+ });
890
+
891
+ def('steel.show-reference-sheet', {
892
+ label: 'Show reference sheet',
893
+ actsOn: 'Shows or hides the drawing traced under the model',
894
+ group: 'In the ⋯ menu — Display',
895
+ persistence: 'local',
896
+ interaction: 'instant',
897
+ risk: [],
898
+ guidance: 'on-demand',
899
+ why: 'Hidden, it also stops contributing snap points — so tracing goes quiet as well as invisible.',
900
+ });
901
+
902
+ /* Detailing. The three auto-detailers are the expensive ones on this surface:
903
+ they build real geometry across the whole model, which is why they carry
904
+ costs-time where the dialogs above carry nothing. */
905
+
906
+ def('steel.details', {
907
+ label: 'Details',
908
+ actsOn: 'Opens the detail callouts read from the drawing',
909
+ group: 'In the ⋯ menu — Detailing',
910
+ persistence: 'none',
911
+ interaction: 'dialog',
912
+ risk: [],
913
+ guidance: 'on-demand',
914
+ });
915
+
916
+ def('steel.connections', {
917
+ label: 'Connections',
918
+ actsOn: 'Opens the connection-type lookup table',
919
+ group: 'In the ⋯ menu — Detailing',
920
+ persistence: 'none',
921
+ interaction: 'dialog',
922
+ risk: [],
923
+ guidance: 'on-demand',
924
+ why: 'Each row maps a connection type to a design detail and, per platform, a component ID. Member ends reference a row.',
925
+ });
926
+
927
+ def('steel.build-from-details', {
928
+ label: 'Build from details',
929
+ actsOn: 'Builds the connection each detail callout describes',
930
+ group: 'In the ⋯ menu — Detailing',
931
+ persistence: 'working',
932
+ interaction: 'instant',
933
+ risk: ['costs-time'],
934
+ guidance: 'on-demand',
935
+ why: 'Applies everywhere that callout appears. Ends someone confirmed, tuned by hand, or imported are left alone and listed.',
936
+ });
937
+
938
+ def('steel.base-plates', {
939
+ label: 'Base plates',
940
+ actsOn: 'Auto-details a base plate on every column',
941
+ group: 'In the ⋯ menu — Detailing',
942
+ persistence: 'working',
943
+ interaction: 'instant',
944
+ risk: ['costs-time'],
945
+ guidance: 'on-demand',
946
+ why: 'A plate, anchor kit and weld per column, shown in 3D. Sizes can be tuned from the schedule or per column afterwards.',
947
+ });
948
+
949
+ def('steel.shear-plates', {
950
+ label: 'Shear plates',
951
+ actsOn: 'Auto-details a bolted fin plate on eligible beam ends',
952
+ group: 'In the ⋯ menu — Detailing',
953
+ persistence: 'working',
954
+ interaction: 'instant',
955
+ risk: ['costs-time'],
956
+ guidance: 'on-demand',
957
+ why: 'A fin plate, bolt group and weld per end, shown in 3D. Sizes can be tuned from the schedule or per end afterwards.',
958
+ });
959
+
960
+ def('steel.frames', {
961
+ label: 'Frames',
962
+ actsOn: 'Opens the frames read from the drawing',
963
+ group: 'In the ⋯ menu — Detailing',
964
+ persistence: 'none',
965
+ interaction: 'dialog',
966
+ risk: [],
967
+ guidance: 'on-demand',
968
+ });
969
+
970
+ /* Model checks. Each SELECTS the suspect members and leaves the fix to you —
971
+ which is why none of them is destructive: nothing is deleted or changed
972
+ until you act on the selection. Merge is the exception that does edit, and
973
+ it is undoable. */
974
+
975
+ def('steel.check-duplicates', {
976
+ label: 'Duplicates',
977
+ actsOn: 'Selects members drawn twice on top of each other',
978
+ group: 'In the ⋯ menu — Model checks',
979
+ persistence: 'none',
980
+ interaction: 'instant',
981
+ risk: [],
982
+ guidance: 'on-demand',
983
+ why: 'Selects them for review — press Delete to remove the extras once you have looked.',
984
+ });
985
+
986
+ def('steel.check-reversed', {
987
+ label: 'Reversed beams',
988
+ actsOn: 'Selects beams drawn the wrong way round',
989
+ group: 'In the ⋯ menu — Model checks',
990
+ persistence: 'none',
991
+ interaction: 'instant',
992
+ risk: [],
993
+ guidance: 'on-demand',
994
+ why: 'A mostly-horizontal beam should run left to right, a steep one bottom to top. Press P to swap the ones it finds.',
995
+ });
996
+
997
+ def('steel.merge-collinear', {
998
+ label: 'Merge collinear beams',
999
+ actsOn: 'Joins straight end-to-end runs into one beam',
1000
+ group: 'In the ⋯ menu — Model checks',
1001
+ persistence: 'working',
1002
+ interaction: 'instant',
1003
+ risk: [],
1004
+ guidance: 'on-demand',
1005
+ why: 'Only runs of the same profile, and only where they are truly straight and end to end. Undoable.',
1006
+ });
1007
+
1008
+ /* Coordinate system. The two armed pickers are registered above with the
1009
+ canvas tools; these are the readouts and the way back. */
1010
+
1011
+ def('steel.local-origin', {
1012
+ label: 'Local frame origin',
1013
+ actsOn: 'Sets where the local drawing frame starts',
1014
+ group: 'In the ⋯ menu — Coordinate system',
1015
+ persistence: 'working',
1016
+ interaction: 'instant',
1017
+ risk: [],
1018
+ guidance: 'on-demand',
1019
+ why: 'Type an exact value here instead of dragging the amber origin in the 3D view.',
1020
+ });
1021
+
1022
+ def('steel.reset-axes', {
1023
+ label: 'Reset to global axes',
1024
+ actsOn: 'Returns drawing to the global X/Y axes',
1025
+ group: 'In the ⋯ menu — Coordinate system',
1026
+ persistence: 'working',
1027
+ interaction: 'instant',
1028
+ risk: [],
1029
+ guidance: 'on-demand',
1030
+ why: 'The default. Nothing already drawn moves — only what the tools line up with from now on.',
1031
+ });
1032
+
1033
+ /* Session. The four CAD sends are 'external': they reach out of FloLess into
1034
+ another application's open document, which is the same classification the
1035
+ shell gives Run for the same reason. */
1036
+
1037
+ def('steel.reload', {
1038
+ label: 'Reload from server',
1039
+ actsOn: 'Reloads this whole page from the server',
1040
+ group: 'In the ⋯ menu — Session',
1041
+ persistence: 'none',
1042
+ interaction: 'instant',
1043
+ risk: ['destructive', 'costs-time'],
1044
+ guidance: 'on-demand',
1045
+ why: 'Picks up anything your terminal AI changed since you opened this page — but it is a plain page reload with no save check, so an edit made in the last moment can be lost. Let the Saved chip settle first.',
1046
+ });
1047
+
1048
+ def('steel.send-to-host', {
1049
+ label: 'Send selection to a CAD app',
1050
+ actsOn: 'Creates the selection natively in {instance}',
1051
+ group: 'In the ⋯ menu — Session',
1052
+ persistence: 'external',
1053
+ interaction: 'instant',
1054
+ risk: ['costs-time'],
1055
+ guidance: 'on-demand',
1056
+ why: 'The app has to be open. Members land at their real model coordinates — the same thing Ctrl+Shift-dragging the selection out of the 3D view does.',
1057
+ });
1058
+
1059
+ def('steel.export-contract', {
1060
+ label: 'Export contract',
1061
+ actsOn: 'Writes this model out as a file',
1062
+ group: 'In the ⋯ menu — Session',
1063
+ persistence: 'external',
1064
+ interaction: 'dialog',
1065
+ risk: [],
1066
+ guidance: 'on-demand',
1067
+ });
1068
+
1069
+ def('steel.version-history', {
1070
+ label: 'Version history',
1071
+ actsOn: 'Opens this project’s earlier versions',
1072
+ group: 'In the ⋯ menu — Session',
1073
+ persistence: 'none',
1074
+ interaction: 'dialog',
1075
+ risk: [],
1076
+ guidance: 'on-demand',
1077
+ why: 'Restoring an earlier version is done from there, not here — this only opens the list.',
1078
+ });
1079
+
1080
+ /* ── the 2D zoom bar ────────────────────────────────────────────────────── */
1081
+
1082
+ def('steel.zoom', {
1083
+ label: 'Zoom',
1084
+ actsOn: 'Changes how close the plan is drawn',
1085
+ group: 'On the 2D zoom bar',
1086
+ persistence: 'none',
1087
+ interaction: 'instant',
1088
+ risk: [],
1089
+ guidance: 'on-demand',
1090
+ });
1091
+
1092
+ def('steel.zoom-fit', {
1093
+ label: 'Zoom to fit',
1094
+ actsOn: 'Frames the whole plan in the view',
1095
+ group: 'On the 2D zoom bar',
1096
+ key: 'Also: Home',
1097
+ persistence: 'none',
1098
+ interaction: 'instant',
1099
+ risk: [],
1100
+ guidance: 'on-demand',
1101
+ });
1102
+
1103
+ /* ── the 3D toolbar ─────────────────────────────────────────────────────── */
1104
+
1105
+ def('steel.projection', {
1106
+ label: 'Camera projection',
1107
+ actsOn: 'Draws the model in {instance}',
1108
+ group: 'In the 3D toolbar',
1109
+ persistence: 'local',
1110
+ interaction: 'instant',
1111
+ risk: [],
1112
+ guidance: 'on-demand',
1113
+ why: 'Orthographic holds true scale with no perspective, which is what you want when comparing sizes by eye.',
1114
+ });
1115
+
1116
+ def('steel.fit-3d', {
1117
+ label: 'Fit all to view',
1118
+ actsOn: 'Frames the whole model in the 3D view',
1119
+ group: 'In the 3D toolbar',
1120
+ key: 'Also: Home',
1121
+ persistence: 'none',
1122
+ interaction: 'instant',
1123
+ risk: [],
1124
+ guidance: 'on-demand',
1125
+ });
1126
+
1127
+ def('steel.fit-selection', {
1128
+ label: 'Zoom to selected',
1129
+ actsOn: 'Frames just the selected members',
1130
+ group: 'In the 3D toolbar',
1131
+ key: 'Also: Alt+Z',
1132
+ persistence: 'none',
1133
+ interaction: 'instant',
1134
+ risk: [],
1135
+ guidance: 'on-demand',
1136
+ });
1137
+
1138
+ def('steel.display-mode', {
1139
+ label: 'Display mode',
1140
+ actsOn: 'Draws the model as {instance}',
1141
+ group: 'In the 3D toolbar',
1142
+ persistence: 'local',
1143
+ interaction: 'instant',
1144
+ risk: [],
1145
+ guidance: 'on-demand',
1146
+ why: 'Shadowed and Realistic show real material finishes and cost some frame rate; Wire and X-ray are the ones that let you see inside.',
1147
+ });
1148
+
1149
+ def('steel.show-all', {
1150
+ label: 'Show all',
1151
+ actsOn: 'Restores every hidden or isolated object',
1152
+ group: 'In the 3D toolbar',
1153
+ persistence: 'local',
1154
+ interaction: 'instant',
1155
+ risk: [],
1156
+ guidance: 'on-demand',
1157
+ });
1158
+
1159
+ def('steel.isolate', {
1160
+ label: 'Isolate selected',
1161
+ actsOn: 'Shows only the selected objects',
1162
+ group: 'In the 3D toolbar',
1163
+ key: 'Esc restores',
1164
+ persistence: 'local',
1165
+ interaction: 'instant',
1166
+ risk: [],
1167
+ guidance: 'on-demand',
1168
+ why: 'Hides everything else from view. Nothing is deleted — Esc puts it all back.',
1169
+ });
1170
+
1171
+ def('steel.hide-selected', {
1172
+ label: 'Hide selected',
1173
+ actsOn: 'Hides the selected objects',
1174
+ group: 'In the 3D toolbar',
1175
+ persistence: 'local',
1176
+ interaction: 'instant',
1177
+ risk: [],
1178
+ guidance: 'on-demand',
1179
+ });
1180
+
1181
+ def('steel.saved-views', {
1182
+ label: 'Saved views',
1183
+ actsOn: 'Saves, switches and manages named viewpoints',
1184
+ group: 'In the 3D toolbar',
1185
+ persistence: 'working',
1186
+ interaction: 'instant',
1187
+ risk: [],
1188
+ guidance: 'on-demand',
1189
+ });
1190
+
1191
+ def('steel.show-labels', {
1192
+ label: 'Show labels in 3D',
1193
+ actsOn: 'Shows or hides {instance} on the 3D model',
1194
+ group: 'In the 3D toolbar',
1195
+ persistence: 'local',
1196
+ interaction: 'instant',
1197
+ risk: [],
1198
+ guidance: 'on-demand',
1199
+ why: 'Which properties are labelled is shared with the plan; this hides them in 3D only.',
1200
+ });
1201
+
1202
+ def('steel.labels-bulk', {
1203
+ label: 'Show or hide all labels',
1204
+ actsOn: 'Turns {instance} for reference lines, marks and property labels',
1205
+ group: 'In the 3D toolbar',
1206
+ persistence: 'local',
1207
+ interaction: 'instant',
1208
+ risk: [],
1209
+ guidance: 'on-demand',
1210
+ });
1211
+
1212
+ def('steel.clip-clear', {
1213
+ label: 'Clear all clips',
1214
+ actsOn: 'Removes every clip plane and box',
1215
+ group: 'In the 3D toolbar',
1216
+ persistence: 'local',
1217
+ interaction: 'instant',
1218
+ risk: [],
1219
+ guidance: 'on-demand',
1220
+ why: 'The model was never cut — a clip only hides part of the view, so clearing it puts everything back.',
1221
+ });
1222
+
1223
+ def('steel.work-plane-principal', {
1224
+ label: 'Principal working plane',
1225
+ actsOn: 'Sets the working plane to {instance}',
1226
+ group: 'In the 3D toolbar',
1227
+ persistence: 'local',
1228
+ interaction: 'instant',
1229
+ risk: [],
1230
+ guidance: 'on-demand',
1231
+ why: 'The quick way to a flat plane without picking a face — XY is horizontal, XZ and YZ vertical, each at the offset below.',
1232
+ });
1233
+
1234
+ def('steel.work-plane-offset', {
1235
+ label: 'Working plane offset',
1236
+ actsOn: 'Slides the working plane along its normal',
1237
+ group: 'In the 3D toolbar',
1238
+ persistence: 'local',
1239
+ interaction: 'instant',
1240
+ risk: [],
1241
+ guidance: 'on-demand',
1242
+ });
1243
+
1244
+ def('steel.work-plane-show', {
1245
+ label: 'Show the working plane',
1246
+ actsOn: 'Shows or hides the plane surface',
1247
+ group: 'In the 3D toolbar',
1248
+ persistence: 'local',
1249
+ interaction: 'instant',
1250
+ risk: [],
1251
+ guidance: 'on-demand',
1252
+ });
1253
+
1254
+ def('steel.work-plane-reset', {
1255
+ label: 'Reset the working plane',
1256
+ actsOn: 'Returns the working plane to the active level',
1257
+ group: 'In the 3D toolbar',
1258
+ persistence: 'local',
1259
+ interaction: 'instant',
1260
+ risk: [],
1261
+ guidance: 'on-demand',
1262
+ });
1263
+
1264
+ def('steel.work-area-set', {
1265
+ label: 'Set the work area',
1266
+ actsOn: 'Bounds the work area to {instance}',
1267
+ group: 'In the 3D toolbar',
1268
+ persistence: 'local',
1269
+ interaction: 'instant',
1270
+ risk: [],
1271
+ guidance: 'on-demand',
1272
+ why: 'A box that limits what the view draws, so a big model stays workable. It hides, never deletes.',
1273
+ });
1274
+
1275
+ def('steel.work-area-show', {
1276
+ label: 'Show the work area',
1277
+ actsOn: 'Shows or hides the work-area box',
1278
+ group: 'In the 3D toolbar',
1279
+ persistence: 'local',
1280
+ interaction: 'instant',
1281
+ risk: [],
1282
+ guidance: 'on-demand',
1283
+ });
1284
+
1285
+ def('steel.work-area-whole', {
1286
+ label: 'Show whole parts',
1287
+ actsOn: 'Draws any part that touches the work area in full',
1288
+ group: 'In the 3D toolbar',
1289
+ persistence: 'local',
1290
+ interaction: 'instant',
1291
+ risk: [],
1292
+ guidance: 'on-demand',
1293
+ why: 'Off, parts are cut at the box edge. On, a beam that pokes out is still drawn end to end.',
1294
+ });
1295
+
1296
+ def('steel.toolbar-menu', {
1297
+ label: 'Toolbar menu',
1298
+ actsOn: 'Opens the {instance} options',
1299
+ group: 'In the 3D toolbar',
1300
+ persistence: 'none',
1301
+ interaction: 'instant',
1302
+ risk: [],
1303
+ guidance: 'on-demand',
1304
+ });
1305
+
1306
+ /* ── the 3D side panel ──────────────────────────────────────────────────── */
1307
+
1308
+ def('steel.panel-tab', {
1309
+ label: 'Side panel tab',
1310
+ actsOn: 'Shows {instance} in the side panel',
1311
+ group: 'In the 3D side panel',
1312
+ persistence: 'local',
1313
+ interaction: 'instant',
1314
+ risk: [],
1315
+ guidance: 'on-demand',
1316
+ });
1317
+
1318
+ def('steel.panel-collapse', {
1319
+ label: 'Collapse the 3D panel',
1320
+ actsOn: 'Folds Objects, Views and Favourites away',
1321
+ group: 'In the 3D side panel',
1322
+ persistence: 'local',
1323
+ interaction: 'instant',
1324
+ risk: [],
1325
+ guidance: 'on-demand',
1326
+ });
1327
+
1328
+ def('steel.selection-filter', {
1329
+ label: 'Selection filter',
1330
+ actsOn: 'Allows or blocks selecting {instance}',
1331
+ group: 'In the 3D side panel',
1332
+ persistence: 'local',
1333
+ interaction: 'instant',
1334
+ risk: [],
1335
+ guidance: 'on-demand',
1336
+ why: 'What a click, an area-select or Ctrl+A is allowed to pick up. Blocking a class is how you area-select beams without dragging the grid along.',
1337
+ });
1338
+
1339
+ /* ── the Inspect panel ──────────────────────────────────────────────────── */
1340
+
1341
+ def('steel.inspector-collapse', {
1342
+ label: 'Collapse the Inspector',
1343
+ actsOn: 'Folds the Inspect panel away',
1344
+ group: 'In the Inspect panel',
1345
+ persistence: 'local',
1346
+ interaction: 'instant',
1347
+ risk: [],
1348
+ guidance: 'on-demand',
1349
+ });
1350
+
1351
+ /* ── dialogs ────────────────────────────────────────────────────────────────
1352
+ Close and Cancel are ONE template each, keyed by which dialog they belong
1353
+ to. Twelve near-identical "Close" entries in the sheet would be a dozen
1354
+ ways of saying the same thing; one entry that names its dialog is what a
1355
+ reader actually needs. */
1356
+
1357
+ def('steel.dialog-close', {
1358
+ label: 'Close',
1359
+ actsOn: 'Closes {instance}',
1360
+ group: 'In the steel editor dialogs',
1361
+ key: 'Also: Esc',
1362
+ persistence: 'none',
1363
+ interaction: 'instant',
1364
+ risk: [],
1365
+ guidance: 'on-demand',
1366
+ });
1367
+
1368
+ def('steel.dialog-cancel', {
1369
+ label: 'Cancel',
1370
+ actsOn: 'Leaves {instance} without applying anything',
1371
+ group: 'In the steel editor dialogs',
1372
+ key: 'Also: Esc',
1373
+ persistence: 'none',
1374
+ interaction: 'instant',
1375
+ risk: [],
1376
+ guidance: 'on-demand',
1377
+ });
1378
+
1379
+ /* Generate views from grids or levels */
1380
+
1381
+ def('steel.view-source', {
1382
+ label: 'View source',
1383
+ actsOn: 'Generates the views from {instance}',
1384
+ group: 'In the Generate views dialog',
1385
+ persistence: 'none',
1386
+ interaction: 'instant',
1387
+ risk: [],
1388
+ guidance: 'on-demand',
1389
+ });
1390
+
1391
+ def('steel.view-select-all', {
1392
+ label: 'Select all',
1393
+ actsOn: 'Ticks every grid line or level in the list',
1394
+ group: 'In the Generate views dialog',
1395
+ persistence: 'none',
1396
+ interaction: 'instant',
1397
+ risk: [],
1398
+ guidance: 'on-demand',
1399
+ });
1400
+
1401
+ def('steel.view-clear', {
1402
+ label: 'Clear',
1403
+ actsOn: 'Unticks every grid line or level in the list',
1404
+ group: 'In the Generate views dialog',
1405
+ persistence: 'none',
1406
+ interaction: 'instant',
1407
+ risk: [],
1408
+ guidance: 'on-demand',
1409
+ });
1410
+
1411
+ def('steel.view-direction', {
1412
+ label: 'Look direction',
1413
+ actsOn: 'Aims the section toward {instance} world X or Y',
1414
+ group: 'In the Generate views dialog',
1415
+ persistence: 'none',
1416
+ interaction: 'instant',
1417
+ risk: [],
1418
+ guidance: 'on-demand',
1419
+ });
1420
+
1421
+ def('steel.view-depth', {
1422
+ label: 'View depth',
1423
+ actsOn: 'Sets how far {instance} of the grid line the view reaches',
1424
+ group: 'In the Generate views dialog',
1425
+ persistence: 'none',
1426
+ interaction: 'instant',
1427
+ risk: [],
1428
+ guidance: 'on-demand',
1429
+ });
1430
+
1431
+ def('steel.view-create', {
1432
+ label: 'Create views',
1433
+ actsOn: 'Saves a view for every ticked grid line or level',
1434
+ group: 'In the Generate views dialog',
1435
+ persistence: 'working',
1436
+ interaction: 'instant',
1437
+ risk: [],
1438
+ guidance: 'on-demand',
1439
+ });
1440
+
1441
+ /* Details */
1442
+
1443
+ def('steel.detail-new', {
1444
+ label: 'New detail',
1445
+ actsOn: 'Adds a detail the drawing did not carry',
1446
+ group: 'In the Details dialog',
1447
+ persistence: 'working',
1448
+ interaction: 'instant',
1449
+ risk: [],
1450
+ guidance: 'on-demand',
1451
+ why: 'For anything the automatic read of the drawing missed or could not make out.',
1452
+ });
1453
+
1454
+ def('steel.detail-name', {
1455
+ label: 'Detail name',
1456
+ actsOn: 'Names the new detail',
1457
+ group: 'In the Details dialog',
1458
+ persistence: 'working',
1459
+ interaction: 'instant',
1460
+ risk: [],
1461
+ guidance: 'on-demand',
1462
+ why: 'Use the mark the drawing uses — 5-S504 — so the callouts on the plan can find it.',
1463
+ });
1464
+
1465
+ def('steel.detail-image', {
1466
+ label: 'Detail image',
1467
+ actsOn: 'Attaches a picture of the detail',
1468
+ group: 'In the Details dialog',
1469
+ persistence: 'working',
1470
+ interaction: 'instant',
1471
+ risk: [],
1472
+ guidance: 'on-demand',
1473
+ why: 'Paste a screenshot with Ctrl+V, or click to choose a file.',
1474
+ });
1475
+
1476
+ def('steel.detail-add', {
1477
+ label: 'Add detail',
1478
+ actsOn: 'Saves the new detail onto this model',
1479
+ group: 'In the Details dialog',
1480
+ persistence: 'working',
1481
+ interaction: 'instant',
1482
+ risk: [],
1483
+ guidance: 'on-demand',
1484
+ });
1485
+
1486
+ /* Connections */
1487
+
1488
+ def('steel.connection-new', {
1489
+ label: 'New connection row',
1490
+ actsOn: 'Adds a row to the connection-type table',
1491
+ group: 'In the Connections dialog',
1492
+ persistence: 'working',
1493
+ interaction: 'instant',
1494
+ risk: [],
1495
+ guidance: 'on-demand',
1496
+ });
1497
+
1498
+ def('steel.connection-platform', {
1499
+ label: 'Connection platform',
1500
+ actsOn: 'Shows the component IDs for {instance}',
1501
+ group: 'In the Connections dialog',
1502
+ persistence: 'local',
1503
+ interaction: 'instant',
1504
+ risk: [],
1505
+ guidance: 'on-demand',
1506
+ why: 'The design detail number is platform-neutral; only the component ID beside it changes per platform.',
1507
+ });
1508
+
1509
+ /* Reference models */
1510
+
1511
+ def('steel.reference-choose-file', {
1512
+ label: 'Choose a reference file',
1513
+ actsOn: 'Picks the IFC to bring in as a reference',
1514
+ group: 'In the reference-model dialogs',
1515
+ persistence: 'none',
1516
+ interaction: 'instant',
1517
+ risk: [],
1518
+ guidance: 'on-demand',
1519
+ });
1520
+
1521
+ def('steel.reference-partial', {
1522
+ label: 'Load only part of this file',
1523
+ actsOn: 'Opens the storey and type pickers',
1524
+ group: 'In the reference-model dialogs',
1525
+ persistence: 'none',
1526
+ interaction: 'instant',
1527
+ risk: [],
1528
+ guidance: 'on-demand',
1529
+ why: 'A big architectural model loads faster, and reads more clearly, with only the storeys you are building against.',
1530
+ });
1531
+
1532
+ def('steel.reference-select-all', {
1533
+ label: 'Select or clear all',
1534
+ actsOn: 'Ticks or unticks every {instance}',
1535
+ group: 'In the reference-model dialogs',
1536
+ persistence: 'none',
1537
+ interaction: 'instant',
1538
+ risk: [],
1539
+ guidance: 'on-demand',
1540
+ });
1541
+
1542
+ def('steel.reference-add', {
1543
+ label: 'Add reference',
1544
+ actsOn: 'Brings the model in as a reference',
1545
+ group: 'In the reference-model dialogs',
1546
+ persistence: 'working',
1547
+ interaction: 'instant',
1548
+ risk: ['costs-time'],
1549
+ guidance: 'on-demand',
1550
+ why: 'A reference is something to build against and snap to. It never becomes part of your steel.',
1551
+ });
1552
+
1553
+ def('steel.reference-version-done', {
1554
+ label: 'Done',
1555
+ actsOn: 'Accepts the new version of this reference model',
1556
+ group: 'In the reference-model dialogs',
1557
+ persistence: 'working',
1558
+ interaction: 'instant',
1559
+ risk: [],
1560
+ guidance: 'on-demand',
1561
+ });
1562
+
1563
+ /* Importing a designed connection */
1564
+
1565
+ def('steel.connection-import-file', {
1566
+ label: 'Choose a connection file',
1567
+ actsOn: 'Picks the IFC holding the designed connection',
1568
+ group: 'In the connection-import dialog',
1569
+ persistence: 'none',
1570
+ interaction: 'instant',
1571
+ risk: [],
1572
+ guidance: 'on-demand',
1573
+ why: 'What IDEA StatiCa, Tekla or a fabricator sends back once the connection has been designed.',
1574
+ });
1575
+
1576
+ def('steel.connection-search', {
1577
+ label: 'Filter connections',
1578
+ actsOn: 'Narrows the list to names that match',
1579
+ group: 'In the connection-import dialog',
1580
+ persistence: 'none',
1581
+ interaction: 'instant',
1582
+ risk: [],
1583
+ guidance: 'on-demand',
1584
+ });
1585
+
1586
+ def('steel.connection-import', {
1587
+ label: 'Import connection',
1588
+ actsOn: 'Places the selected connection in the model',
1589
+ group: 'In the connection-import dialog',
1590
+ persistence: 'working',
1591
+ interaction: 'instant',
1592
+ risk: [],
1593
+ guidance: 'on-demand',
1594
+ });
1595
+
1596
+ /* Confidence report */
1597
+
1598
+ def('steel.confidence-target', {
1599
+ label: 'Confidence target',
1600
+ actsOn: 'Sets the score this model is measured against',
1601
+ group: 'In the confidence report',
1602
+ persistence: 'working',
1603
+ interaction: 'instant',
1604
+ risk: [],
1605
+ guidance: 'on-demand',
1606
+ why: 'How sure the automatic read of the drawing has to be before an element stops being flagged for review.',
1607
+ });
1608
+
1609
+ /* Ask AI */
1610
+
1611
+ def('steel.ask-ai-text', {
1612
+ label: 'Your note to the AI',
1613
+ actsOn: 'Describes the change you want',
1614
+ group: 'In the Ask AI dialog',
1615
+ persistence: 'none',
1616
+ interaction: 'instant',
1617
+ risk: [],
1618
+ guidance: 'on-demand',
1619
+ why: 'Plain English is enough — "this bay is missing two W12x19 infills".',
1620
+ });
1621
+
1622
+ def('steel.ask-ai-image', {
1623
+ label: 'Attach an image',
1624
+ actsOn: 'Adds pictures to the note',
1625
+ group: 'In the Ask AI dialog',
1626
+ persistence: 'none',
1627
+ interaction: 'instant',
1628
+ risk: [],
1629
+ guidance: 'on-demand',
1630
+ });
1631
+
1632
+ def('steel.ask-ai-send', {
1633
+ label: 'Send to the AI',
1634
+ actsOn: 'Sends the note to your terminal AI',
1635
+ group: 'In the Ask AI dialog',
1636
+ persistence: 'external',
1637
+ interaction: 'instant',
1638
+ risk: ['costs-time'],
1639
+ guidance: 'on-demand',
1640
+ why: 'Leaves FloLess for the AI terminal. Nothing in the model changes until the AI makes the change.',
1641
+ });
1642
+
1643
+ /* Favourite connections */
1644
+
1645
+ def('steel.favourite-name', {
1646
+ label: 'Favourite name',
1647
+ actsOn: 'Names the connection you are saving',
1648
+ group: 'In the Favourites dialog',
1649
+ persistence: 'working',
1650
+ interaction: 'instant',
1651
+ risk: [],
1652
+ guidance: 'on-demand',
1653
+ });
1654
+
1655
+ def('steel.favourite-category', {
1656
+ label: 'Favourite category',
1657
+ actsOn: 'Files the favourite under a heading',
1658
+ group: 'In the Favourites dialog',
1659
+ persistence: 'working',
1660
+ interaction: 'instant',
1661
+ risk: [],
1662
+ guidance: 'on-demand',
1663
+ });
1664
+
1665
+ def('steel.favourite-save', {
1666
+ label: 'Save to Favourites',
1667
+ actsOn: 'Saves this connection to re-apply later',
1668
+ group: 'In the Favourites dialog',
1669
+ persistence: 'working',
1670
+ interaction: 'instant',
1671
+ risk: [],
1672
+ guidance: 'on-demand',
1673
+ why: 'A saved connection can be applied to another end without setting it up again.',
1674
+ });
1675
+
1676
+ /* ── Runtime-built editor controls ───────────────────────────────────────
1677
+ These definitions back the controls assembled inside steel-editor.html's
1678
+ panel, popup, table and dialog renderers. Repeated rows use one template;
1679
+ the instance is display data only and is carried by the live element. */
1680
+
1681
+ def('steel.overwrite-save', { label: 'Overwrite and save', actsOn: 'Replaces the newer saved model with the version open here', group: 'In the steel editor dialogs', persistence: 'working', interaction: 'instant', risk: ['destructive'], guidance: 'on-demand', why: 'Only appears after a save conflict and asks for confirmation before the other saved version is replaced.' });
1682
+ def('steel.dimension-end-style', { label: 'Dimension end style', actsOn: 'Draws dimension ends as {instance}', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
1683
+ def('steel.dimension-label-position', { label: 'Dimension label position', actsOn: 'Places dimension text {instance}', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
1684
+ def('steel.dimension-label-background', { label: 'Label background', actsOn: 'Shows or hides the filled chip behind dimension text', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'With it off, a halo keeps the text readable while leaving more of the drawing visible.' });
1685
+ def('steel.dimension-clear-overrides', { label: 'Follow defaults again', actsOn: 'Removes every per-dimension style on this sheet', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Only appears when one or more dimensions override the shared defaults. Undo restores those overrides.' });
1686
+ def('steel.grid-level-visibility', { label: 'Level visibility', actsOn: 'Shows or hides the 3D grid for {instance}', group: 'In the grid panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
1687
+ def('steel.grid-level-label', { label: 'Level label', actsOn: 'Sets the grid label for {instance}', group: 'In the grid panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'The elevation stays fixed; this changes only the name printed beside it.' });
1688
+ def('steel.connection-breadcrumb', { label: 'Connection breadcrumb', actsOn: 'Moves the connection selection back to {instance}', group: 'On the steel canvas', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
1689
+ def('steel.dimension-drawing-axis', { label: 'Dimension direction', actsOn: 'Measures new plan dimensions along {instance}', group: 'In the Inspect panel', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
1690
+ def('steel.dimension-chain', { label: 'Chain', actsOn: 'Keeps placing dimensions from the previous endpoint', group: 'In the Inspect panel', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Enter or Esc ends the chain while leaving the dimensions already placed.' });
1691
+ def('steel.dimension-pin', { label: 'Pin to steel', actsOn: 'Links or unlinks the selected dimension from its member or grid anchors', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Unpinning keeps the link dormant, so it can be restored without picking the anchors again.' });
1692
+ def('steel.add-profile', { label: 'Current profile', actsOn: 'Sets the profile future members will use', group: 'In the Inspect panel', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'This changes the Add tool preset; it does not re-profile members already in the model.' });
1693
+ def('steel.detail-placement-coordinate', { label: 'Detail coordinate', actsOn: 'Moves the selected reference detail along {instance}', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
1694
+ def('steel.detail-placement-rotation', { label: 'Detail rotation', actsOn: 'Rotates the selected reference detail on its image plane', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
1695
+ def('steel.detail-placement-size', { label: 'Detail size', actsOn: 'Sets the displayed size of the selected reference detail', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'The placed image is reference-only; changing its size does not build steel.' });
1696
+ def('steel.detail-placement-opacity', { label: 'Opacity', actsOn: 'Sets how strongly the selected reference detail is drawn', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
1697
+ def('steel.detail-placement-request', { label: 'Ask AI to build this', actsOn: 'Queues a terminal-AI request about the selected reference detail', group: 'In the Inspect panel', persistence: 'external', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand', why: 'The request leaves FloLess; the reference image remains unchanged until the AI updates the model.' });
1698
+ def('steel.detail-placement-remove', { label: 'Remove detail', actsOn: 'Deletes the selected reference-detail placement', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'This removes the placed image only, not geometry built from it. Undo restores it.' });
1699
+ def('steel.connection-select-member', { label: 'Select parent member', actsOn: 'Leaves the connection and selects its parent member', group: 'In the Inspect panel', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
1700
+ def('steel.connection-modify-request', { label: 'Modify connection', actsOn: 'Queues a terminal-AI request about the selected connection', group: 'In the Inspect panel', persistence: 'external', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand', why: 'Nothing changes until the terminal AI applies a reviewed model update.' });
1701
+ def('steel.connection-delete', { label: 'Delete connection', actsOn: 'Removes the selected connection from the model', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'The member stays in place, and Undo restores the connection.' });
1702
+ def('steel.connection-favourite', { label: 'Save to Favourites', actsOn: 'Saves or edits the selected connection as a reusable favourite', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
1703
+ def('steel.connection-edit-member', { label: 'Edit connection parameters', actsOn: 'Selects the parent member where the connection parameters live', group: 'In the Inspect panel', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
1704
+ def('steel.connections-delete', { label: 'Delete connections', actsOn: 'Removes every selected connection from the model', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Their parent members remain. Undo restores the whole selection.' });
1705
+ def('steel.connection-part-back', { label: 'Back to connection', actsOn: 'Selects the whole connection that owns this part', group: 'In the Inspect panel', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
1706
+ def('steel.connection-part-edit', { label: 'Edit on parent member', actsOn: 'Selects the member that owns this connection part', group: 'In the Inspect panel', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
1707
+ def('steel.quick-dimension-place', { label: 'Place spacing dimensions', actsOn: 'Arms a running dimension row for the current selection', group: 'In the Inspect panel', persistence: 'working', interaction: 'mode', risk: [], guidance: 'active-command', steps: ['Click where the spacing dimension row should sit'], why: 'The dimensions stay attached to the selected members or grid lines.' });
1708
+ def('steel.grid-free-delete', { label: 'Delete free grid lines', actsOn: 'Removes the selected individually drawn grid lines', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Regular grid lines come from the grid spacing and are left in place. Undo restores the free lines.' });
1709
+ def('steel.profile-colours-reset', { label: 'Reset colours', actsOn: 'Clears every custom profile colour in this model', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
1710
+ def('steel.profile-colour', { label: 'Profile colour', actsOn: 'Recolours every member drawn with {instance}', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'The same colour is used in both 2D and 3D.' });
1711
+ def('steel.default-tos', { label: 'Default TOS', actsOn: 'Sets the project top-of-steel elevation for this sheet', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Ends following the default move with it; explicit end elevations stay where they are.' });
1712
+ def('steel.ends-reset-default', { label: 'Reset all ends to default', actsOn: 'Makes every member end on this sheet follow the default TOS', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'This replaces explicit end elevations too. Undo restores them.' });
1713
+ def('steel.end-tos-default', { label: 'Use default TOS', actsOn: 'Turns default-following on or off for {instance}', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
1714
+ def('steel.end-tos', { label: 'Top of steel', actsOn: 'Sets the top-of-steel elevation for {instance}', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'The field is locked while that end follows the project default.' });
1715
+ def('steel.end-elevation', { label: 'End elevation', actsOn: 'Sets the elevation for {instance}', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
1716
+ def('steel.end-note', { label: 'Connection note', actsOn: 'Sets the connection note for {instance}', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
1717
+ def('steel.end-detail', { label: 'Connection detail', actsOn: 'Sets the detail callout for {instance}', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
1718
+ def('steel.end-connection', { label: 'Connection recipe', actsOn: 'Chooses the connection-library row for {instance}', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Once chosen, the library row supplies the type and detail instead of the fallback text fields.' });
1719
+ def('steel.ends-match', { label: 'Match both ends', actsOn: 'Copies the start-end settings to the other end of each selected beam', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Braces are skipped because matching their elevations would flatten the slope.' });
1720
+ def('steel.selection-profile', { label: 'Profile', actsOn: 'Sets one profile on every selected member', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
1721
+ def('steel.selection-verified', { label: 'Verify selected members', actsOn: 'Marks or unmarks every selected member as human-confirmed', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Human confirmation contributes full confidence but does not invent a missing AISC size.' });
1722
+ def('steel.ends-swap', { label: 'Swap start and end', actsOn: 'Reverses the eligible selected beam members', group: 'In the Inspect panel', key: 'Also: P', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Columns stay base-to-top, and braces use their separate lower-end display control.' });
1723
+ def('steel.quick-dimension-anchor', { label: 'Spacing point', actsOn: 'Measures each selected beam at its {instance}', group: 'In the Inspect panel', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
1724
+ def('steel.members-delete', { label: 'Delete selected members', actsOn: 'Removes every selected member from this sheet', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Undo restores the members and their presentation references.' });
1725
+ def('steel.member-delete', { label: 'Delete member', actsOn: 'Removes the selected member from this sheet', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Undo restores the member and its presentation references.' });
1726
+ def('steel.detail-preview', { label: 'Open detail', actsOn: 'Shows the detail image assigned to {instance}', group: 'In the Inspect panel', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
1727
+ def('steel.connection-recipe-remember', { label: 'Remember connection recipe', actsOn: 'Saves the built connection as the recipe for {instance}', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Ends using the same detail can then build the same kind of connection.' });
1728
+ def('steel.connection-check', { label: 'Check connection again', actsOn: 'Retries the build diagnostic for {instance}', group: 'In the Inspect panel', persistence: 'none', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand' });
1729
+ def('steel.connection-build', { label: 'Build connection', actsOn: 'Builds or rebuilds the connection for {instance}', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: ['costs-time'], guidance: 'on-demand', why: 'A rebuild replaces the connection already at that end and remains undoable.' });
1730
+ def('steel.connection-resolve', { label: 'Pick connection', actsOn: 'Resolves the ambiguous connection recipe for {instance}', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
1731
+ def('steel.connection-parameter', { label: 'Connection parameter', actsOn: 'Sets the value for {instance}', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Length fields accept feet-inches; count fields accept whole numbers. Blank uses the engine default.' });
1732
+ def('steel.base-plate-remove', { label: 'Remove base plate', actsOn: 'Deletes this column’s base-plate connection', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'The column remains, and Undo restores the plate and anchors.' });
1733
+ def('steel.connection-web-side', { label: 'Plate side', actsOn: 'Places the plate on {instance}', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
1734
+ def('steel.connection-weld-side', { label: 'Weld sides', actsOn: 'Welds the plate on {instance}', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
1735
+ def('steel.connection-bolt-grade', { label: 'Bolt grade', actsOn: 'Uses the bolt grade for {instance}', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
1736
+ def('steel.connection-stiffener', { label: 'Opposite stiffener', actsOn: 'Adds or removes the opposite support stiffener for {instance}', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
1737
+ def('steel.connection-end-remove', { label: 'Remove end connection', actsOn: 'Deletes the plate connection at {instance}', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'The member stays, and Undo restores the connection.' });
1738
+ def('steel.brace-type', { label: 'Brace type', actsOn: 'Draws the brace as {instance}', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Lateral uses the true work points; vertical can carry a display offset.' });
1739
+ def('steel.brace-position', { label: 'Brace position', actsOn: 'Draws the brace {instance}', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'This changes the 2D symbol only; the member geometry does not move.' });
1740
+ def('steel.brace-offset', { label: 'Brace offset', actsOn: 'Offsets the brace symbol from its work-point line', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'The steel itself never moves; this is a display-only plan offset.' });
1741
+ def('steel.brace-offset-flip', { label: 'Flip brace offset', actsOn: 'Draws the brace symbol on the opposite side of its work-point line', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
1742
+ def('steel.brace-lower-end-swap', { label: 'Swap lower brace end', actsOn: 'Moves the double arrowhead to the opposite brace end', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Display only — neither work point nor elevation changes.' });
1743
+ def('steel.definition-point', { label: 'Definition point', actsOn: 'Moves the coordinate for {instance}', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Columns remain plumb: changing plan X or Y moves both column endpoints together.' });
1744
+ def('steel.member-line-weight', { label: 'Line weight', actsOn: 'Draws this member type with {instance}', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'This is a 2D style shared by every member of the same type.' });
1745
+ def('steel.member-line-dash', { label: 'Line pattern', actsOn: 'Draws this member type as {instance}', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'This is a 2D style shared by every member of the same type.' });
1746
+ def('steel.member-profile', { label: 'Profile', actsOn: 'Changes the profile of the selected member', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Unlike Current profile in Add mode, this edits steel already in the model.' });
1747
+ def('steel.member-verified', { label: 'Mark verified', actsOn: 'Marks or unmarks the selected member as human-confirmed', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
1748
+ def('steel.member-profile-suggestion', { label: 'Moment-frame profile', actsOn: 'Applies the scheduled profile for {instance}', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'The suggestion comes from the imported moment-frame schedule and records that provenance.' });
1749
+ def('steel.properties-pin', { label: 'Pin Properties', actsOn: 'Keeps the Properties popup open while the selection changes', group: 'In the Properties popup', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
1750
+ def('steel.properties-clear', { label: 'Clear all properties', actsOn: 'Unchecks every property label', group: 'In the Properties popup', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Visibility can remain on with no property selected; no labels are drawn in that state.' });
1751
+ def('steel.properties-search', { label: 'Search properties', actsOn: 'Filters the property rows by name', group: 'In the Properties popup', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
1752
+ def('steel.properties-placement', { label: 'Property label placement', actsOn: 'Anchors property labels at the member {instance}', group: 'In the Properties popup', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
1753
+ def('steel.properties-selected-only', { label: 'Selected only', actsOn: 'Limits property labels to the members selected now', group: 'In the Properties popup', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
1754
+ def('steel.properties-visible', { label: 'Show in this view', actsOn: 'Shows or hides property labels in the current 2D or 3D view', group: 'In the Properties popup', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'The chosen properties are shared across views; only visibility is view-specific.' });
1755
+ def('steel.property-label', { label: 'Property label', actsOn: 'Shows or hides the label for {instance}', group: 'In the Properties popup', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
1756
+ def('steel.snap-override', { label: 'Snap override', actsOn: 'Restricts the current pick to {instance}', group: 'In the snap override menu', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'The override clears when the current operation ends; running snap settings are unchanged.' });
1757
+ def('steel.dimension-value', { label: 'Dimension value', actsOn: 'Sets the selected dimension to a typed length', group: 'In the dimension value popup', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Which linked end moves is controlled by the left and right buttons beside the value.' });
1758
+ def('steel.dimension-driven-end', { label: 'Driven dimension end', actsOn: 'Lets the typed dimension value move the {instance}', group: 'In the dimension value popup', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'At least one end always remains selected; enabling both moves them symmetrically.' });
1759
+ def('steel.selection-type-filter', { label: 'Selection type', actsOn: 'Allows or blocks selecting {instance}', group: 'In the selection filter', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
1760
+ def('steel.selection-type-filter-all', { label: 'All selection types', actsOn: 'Allows or blocks every type under {instance}', group: 'In the selection filter', persistence: 'local', interaction: 'instant', risk: [], guidance: 'on-demand' });
1761
+ def('steel.member-type', { label: 'Member type', actsOn: 'Sets the member category for {instance}', group: 'In the Inspect panel', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'The type controls role-specific editing and how the member is grouped in the legend.' });
1762
+ def('steel.selection-drop-type', { label: 'Narrow mixed selection', actsOn: 'Drops or isolates {instance}', group: 'In the Inspect panel', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Activate to drop that type; hold Alt while activating to keep only it.' });
1763
+ def('steel.detail-rename', { label: 'Rename detail', actsOn: 'Renames the detail and every reference to {instance}', group: 'In the Details dialog', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Callouts, member ends and connection-library rows are updated together.' });
1764
+ def('steel.connection-row-field', { label: 'Connection library field', actsOn: 'Sets the value for {instance}', group: 'In the Connections dialog', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
1765
+ def('steel.connection-row-delete', { label: 'Remove connection row', actsOn: 'Deletes the connection-library row for {instance}', group: 'In the Connections dialog', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand', why: 'Used rows require confirmation. Placed geometry remains but loses its recipe reference.' });
1766
+ def('steel.rfi-profile', { label: 'Resolve profile', actsOn: 'Sets the profile for unresolved member {instance}', group: 'In the RFI dialog', persistence: 'working', interaction: 'instant', risk: [], guidance: 'on-demand' });
1767
+ def('steel.locate-member', { label: 'Locate member', actsOn: 'Closes the report and selects {instance}', group: 'In the steel editor dialogs', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
1768
+ def('steel.confidence-filter', { label: 'Confidence filter', actsOn: 'Filters the confidence report by {instance}', group: 'In the confidence report', persistence: 'none', interaction: 'instant', risk: [], guidance: 'on-demand' });
1769
+
1770
+ /* ── Profile Position, in the Inspect panel ─────────────────────────── */
1771
+
1772
+ /* One definition for BOTH offset fields, reached with readable depth-axis and width-axis
1773
+ instances. They are the same capability on two axes; each command carrier is the input
1774
+ itself so Instructor can focus the exact field instead of its wrapping label. */
1775
+ def('steel.position-offset', {
1776
+ label: 'Position offset',
1777
+ actsOn: 'Moves the member off its positioned face along {instance}',
1778
+ group: 'In the Inspect panel',
1779
+ persistence: 'working',
1780
+ interaction: 'instant',
1781
+ risk: [],
1782
+ guidance: 'on-demand',
1783
+ why: 'The named face decides which way is positive, so the same number moves the member the other way once the opposite face is picked.',
1784
+ });
1785
+
1786
+ /* The FACE buttons and the rotation, added to match the two definitions #785
1787
+ shipped. That PR registered its offset fields and its section view but not
1788
+ the six face buttons or the rotation, so the `?` sheet knew the fine tuning
1789
+ and not the placement it tunes — and Profile Position is the whole point of
1790
+ the panel.
1791
+
1792
+ ONE template for both axes, keyed by the face, exactly as #785 did for the
1793
+ two offset fields: depth (top / middle / bottom) and width (left / middle /
1794
+ right) are the same capability asked twice. The sentences are lifted from
1795
+ POSTIP in steel-editor.html rather than reworded, so the tooltip and the
1796
+ band cannot drift. */
1797
+ def('steel.position-face', {
1798
+ label: 'Profile position',
1799
+ actsOn: 'Puts the section {instance} — the work-line does not move',
1800
+ group: 'In the Inspect panel',
1801
+ persistence: 'working',
1802
+ interaction: 'instant',
1803
+ risk: [],
1804
+ guidance: 'on-demand',
1805
+ why: 'These name envelope planes, not bearing faces, so Top and Left can leave the line in an angle’s empty corner. The steel moves; the reference line stays where it was drawn.',
1806
+ });
1807
+
1808
+ def('steel.position-rotation', {
1809
+ label: 'Profile rotation',
1810
+ actsOn: 'Spins the section about the reference line',
1811
+ group: 'In the Inspect panel',
1812
+ persistence: 'working',
1813
+ interaction: 'instant',
1814
+ risk: [],
1815
+ guidance: 'on-demand',
1816
+ why: '0° is as drawn. The axis itself is fixed — a positive angle follows the right-hand rule about the member’s own axis, looking from the yellow start dot to the magenta end dot.',
1817
+ });
1818
+
1819
+ def('steel.position-section-view', {
1820
+ label: 'Section view',
1821
+ actsOn: 'Draws the section where the placement actually puts it',
1822
+ group: 'In the Inspect panel',
1823
+ persistence: 'none',
1824
+ interaction: 'instant',
1825
+ risk: [],
1826
+ guidance: 'on-demand',
1827
+ why: 'Looks along the member from its start point with the work-line marked — the quickest way to see whether a face and an offset put the steel where you meant.',
1828
+ });
1829
+ })();