@pascal-app/nodes 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +43 -0
- package/dist/agent-operations/index.d.ts +12 -0
- package/dist/agent-operations/index.d.ts.map +1 -0
- package/dist/agent-operations/index.js +6 -0
- package/dist/agent-tools/index.d.ts +50 -0
- package/dist/agent-tools/index.d.ts.map +1 -0
- package/dist/agent-tools/index.js +21 -0
- package/dist/block/commands.d.ts +2 -2
- package/dist/block/contextual-help.js +1 -1
- package/dist/block/definition.d.ts +1 -1
- package/dist/block/definition.js +13 -13
- package/dist/block/edit-session.d.ts +2 -2
- package/dist/block/edit-session.d.ts.map +1 -1
- package/dist/block/edit-session.js +1 -1
- package/dist/block/face-host.js +1 -1
- package/dist/block/geometry-snap.d.ts +2 -2
- package/dist/block/geometry-snap.js +2 -2
- package/dist/block/gesture-wheel.d.ts.map +1 -1
- package/dist/block/hosted-edit.d.ts +1 -1
- package/dist/block/hosted-edit.js +3 -3
- package/dist/block/interaction-sfx.d.ts +1 -1
- package/dist/block/last-operation.d.ts +1 -1
- package/dist/block/last-operation.js +2 -2
- package/dist/block/modal-face-operation.d.ts +2 -2
- package/dist/block/modal-face-operation.js +1 -1
- package/dist/block/paint.js +2 -2
- package/dist/block/panel.js +8 -8
- package/dist/block/parametrics.d.ts +1 -1
- package/dist/block/parametrics.js +1 -1
- package/dist/block/preview.js +1 -1
- package/dist/block/selection-geometry.d.ts +1 -1
- package/dist/block/selection-geometry.js +1 -1
- package/dist/block/selection.d.ts.map +1 -1
- package/dist/block/selection.js +19 -19
- package/dist/block/tool.d.ts.map +1 -1
- package/dist/block/tool.js +3 -3
- package/dist/block/use-block-face-operation.d.ts +4 -4
- package/dist/block/use-block-face-operation.js +6 -6
- package/dist/box-vent/definition.d.ts +1 -1
- package/dist/box-vent/definition.d.ts.map +1 -1
- package/dist/box-vent/definition.js +9 -8
- package/dist/box-vent/geometry.d.ts.map +1 -1
- package/dist/box-vent/geometry.js +2 -2
- package/dist/box-vent/index.d.ts +3 -3
- package/dist/box-vent/index.js +3 -3
- package/dist/box-vent/move-tool.js +4 -4
- package/dist/box-vent/paint.js +2 -2
- package/dist/box-vent/panel.js +2 -2
- package/dist/box-vent/parametrics.d.ts +1 -1
- package/dist/box-vent/parametrics.js +1 -1
- package/dist/box-vent/preview.d.ts +1 -1
- package/dist/box-vent/preview.d.ts.map +1 -1
- package/dist/box-vent/preview.js +2 -2
- package/dist/box-vent/renderer.d.ts.map +1 -1
- package/dist/box-vent/renderer.js +3 -3
- package/dist/box-vent/tool.d.ts.map +1 -1
- package/dist/box-vent/tool.js +7 -7
- package/dist/building/definition.d.ts +1 -1
- package/dist/building/definition.d.ts.map +1 -1
- package/dist/building/definition.js +5 -4
- package/dist/building/index.d.ts +1 -1
- package/dist/building/index.js +1 -1
- package/dist/building/move-tool.d.ts.map +1 -1
- package/dist/building/move-tool.js +2 -3
- package/dist/building/renderer.d.ts.map +1 -1
- package/dist/cabinet/__bench__/geometry.d.ts +2 -0
- package/dist/cabinet/__bench__/geometry.d.ts.map +1 -0
- package/dist/cabinet/__bench__/geometry.js +21 -0
- package/dist/cabinet/appliance-layout.d.ts +1 -1
- package/dist/cabinet/appliance-layout.d.ts.map +1 -1
- package/dist/cabinet/compartment-card.d.ts +1 -1
- package/dist/cabinet/compartment-card.js +12 -12
- package/dist/cabinet/continuous-placement.d.ts +1 -1
- package/dist/cabinet/continuous-placement.js +2 -2
- package/dist/cabinet/countertop-layout.d.ts +65 -65
- package/dist/cabinet/countertop-layout.js +3 -3
- package/dist/cabinet/definition.d.ts +1 -1
- package/dist/cabinet/definition.d.ts.map +1 -1
- package/dist/cabinet/definition.js +33 -28
- package/dist/cabinet/essential-controls.d.ts +7 -0
- package/dist/cabinet/essential-controls.d.ts.map +1 -0
- package/dist/cabinet/essential-controls.js +47 -0
- package/dist/cabinet/finish-operation.d.ts +9 -0
- package/dist/cabinet/finish-operation.d.ts.map +1 -0
- package/dist/cabinet/finish-operation.js +86 -0
- package/dist/cabinet/floorplan-move.js +3 -3
- package/dist/cabinet/floorplan.js +5 -5
- package/dist/cabinet/geometry/cooktop.d.ts +2 -2
- package/dist/cabinet/geometry/cooktop.d.ts.map +1 -1
- package/dist/cabinet/geometry/cooktop.js +55 -18
- package/dist/cabinet/geometry/dishwasher.d.ts +1 -1
- package/dist/cabinet/geometry/dishwasher.d.ts.map +1 -1
- package/dist/cabinet/geometry/dishwasher.js +5 -6
- package/dist/cabinet/geometry/fridge.d.ts +2 -2
- package/dist/cabinet/geometry/fridge.d.ts.map +1 -1
- package/dist/cabinet/geometry/fridge.js +49 -8
- package/dist/cabinet/geometry/fronts.d.ts +1 -1
- package/dist/cabinet/geometry/fronts.d.ts.map +1 -1
- package/dist/cabinet/geometry/fronts.js +22 -8
- package/dist/cabinet/geometry/hood.d.ts +2 -2
- package/dist/cabinet/geometry/hood.d.ts.map +1 -1
- package/dist/cabinet/geometry/hood.js +15 -3
- package/dist/cabinet/geometry/oven-microwave.d.ts +1 -1
- package/dist/cabinet/geometry/oven-microwave.d.ts.map +1 -1
- package/dist/cabinet/geometry/oven-microwave.js +46 -21
- package/dist/cabinet/geometry/pantry.d.ts +2 -2
- package/dist/cabinet/geometry/pantry.d.ts.map +1 -1
- package/dist/cabinet/geometry/pantry.js +11 -9
- package/dist/cabinet/geometry/run.d.ts.map +1 -1
- package/dist/cabinet/geometry/run.js +18 -8
- package/dist/cabinet/geometry/shared.d.ts +4 -2
- package/dist/cabinet/geometry/shared.d.ts.map +1 -1
- package/dist/cabinet/geometry/shared.js +77 -17
- package/dist/cabinet/geometry/sink.d.ts +2 -2
- package/dist/cabinet/geometry/sink.d.ts.map +1 -1
- package/dist/cabinet/geometry/sink.js +30 -12
- package/dist/cabinet/geometry.d.ts +1 -1
- package/dist/cabinet/geometry.d.ts.map +1 -1
- package/dist/cabinet/geometry.js +15 -11
- package/dist/cabinet/hosted-resize.d.ts +2 -2
- package/dist/cabinet/hosted-resize.d.ts.map +1 -1
- package/dist/cabinet/hosted-resize.js +3 -1
- package/dist/cabinet/index.d.ts +9 -5
- package/dist/cabinet/index.d.ts.map +1 -1
- package/dist/cabinet/index.js +9 -5
- package/dist/cabinet/insertion.d.ts.map +1 -1
- package/dist/cabinet/insertion.js +3 -1
- package/dist/cabinet/interaction.js +1 -1
- package/dist/cabinet/kitchen-catalog.d.ts +14 -0
- package/dist/cabinet/kitchen-catalog.d.ts.map +1 -0
- package/dist/cabinet/kitchen-catalog.js +62 -0
- package/dist/cabinet/kitchen-collection.d.ts +11 -0
- package/dist/cabinet/kitchen-collection.d.ts.map +1 -0
- package/dist/cabinet/kitchen-collection.js +19 -0
- package/dist/cabinet/kitchen-module-actions.d.ts +8 -0
- package/dist/cabinet/kitchen-module-actions.d.ts.map +1 -0
- package/dist/cabinet/kitchen-module-actions.js +117 -0
- package/dist/cabinet/kitchen-placement.d.ts +3 -0
- package/dist/cabinet/kitchen-placement.d.ts.map +1 -0
- package/dist/cabinet/kitchen-placement.js +16 -0
- package/dist/cabinet/move-frame.js +4 -4
- package/dist/cabinet/neighbor-placement.d.ts +335 -0
- package/dist/cabinet/neighbor-placement.d.ts.map +1 -0
- package/dist/cabinet/neighbor-placement.js +48 -0
- package/dist/cabinet/opening-clearance.d.ts +22 -0
- package/dist/cabinet/opening-clearance.d.ts.map +1 -0
- package/dist/cabinet/opening-clearance.js +158 -0
- package/dist/cabinet/paint.js +1 -1
- package/dist/cabinet/panel-visibility.js +2 -2
- package/dist/cabinet/panel.d.ts.map +1 -1
- package/dist/cabinet/panel.js +86 -77
- package/dist/cabinet/parametrics.js +3 -3
- package/dist/cabinet/placement-dimensions.js +2 -2
- package/dist/cabinet/placement-notice.d.ts +6 -0
- package/dist/cabinet/placement-notice.d.ts.map +1 -0
- package/dist/cabinet/placement-notice.js +34 -0
- package/dist/cabinet/placement-status.d.ts +2 -0
- package/dist/cabinet/placement-status.d.ts.map +1 -1
- package/dist/cabinet/placement-status.js +3 -1
- package/dist/cabinet/placement-type.d.ts.map +1 -1
- package/dist/cabinet/preset-width-debt.js +2 -2
- package/dist/cabinet/presets.d.ts +3 -1
- package/dist/cabinet/presets.d.ts.map +1 -1
- package/dist/cabinet/presets.js +27 -8
- package/dist/cabinet/quick-action-icons.js +1 -1
- package/dist/cabinet/quick-actions.js +7 -7
- package/dist/cabinet/resize-limits.d.ts.map +1 -1
- package/dist/cabinet/reveals.d.ts +16 -16
- package/dist/cabinet/reveals.d.ts.map +1 -1
- package/dist/cabinet/run-finishing.d.ts +168 -0
- package/dist/cabinet/run-finishing.d.ts.map +1 -0
- package/dist/cabinet/run-finishing.js +100 -0
- package/dist/cabinet/run-layout.d.ts.map +1 -1
- package/dist/cabinet/run-layout.js +20 -3
- package/dist/cabinet/run-ops.d.ts +62 -62
- package/dist/cabinet/run-ops.js +6 -6
- package/dist/cabinet/run-panel.d.ts +11 -0
- package/dist/cabinet/run-panel.d.ts.map +1 -1
- package/dist/cabinet/run-panel.js +43 -17
- package/dist/cabinet/scene-action.js +1 -1
- package/dist/cabinet/stack-transitions.d.ts +1 -1
- package/dist/cabinet/stack-transitions.js +2 -2
- package/dist/cabinet/stack.d.ts +60 -60
- package/dist/cabinet/stack.d.ts.map +1 -1
- package/dist/cabinet/stack.js +1 -1
- package/dist/cabinet/surfaces.js +3 -3
- package/dist/cabinet/system.d.ts.map +1 -1
- package/dist/cabinet/system.js +4 -4
- package/dist/cabinet/tool.d.ts +1 -2
- package/dist/cabinet/tool.d.ts.map +1 -1
- package/dist/cabinet/tool.js +212 -87
- package/dist/cabinet/validation.js +3 -3
- package/dist/cabinet/wall-snap.d.ts +1 -1
- package/dist/cabinet/wall-snap.js +2 -2
- package/dist/ceiling/boundary-editor.d.ts.map +1 -1
- package/dist/ceiling/definition.d.ts +1 -1
- package/dist/ceiling/definition.d.ts.map +1 -1
- package/dist/ceiling/definition.js +18 -16
- package/dist/ceiling/floorplan-affordances.d.ts +80 -80
- package/dist/ceiling/floorplan-affordances.js +1 -1
- package/dist/ceiling/floorplan-move.js +1 -1
- package/dist/ceiling/hole-editor.d.ts.map +1 -1
- package/dist/ceiling/index.d.ts +2 -2
- package/dist/ceiling/index.js +2 -2
- package/dist/ceiling/materials.d.ts +7 -3
- package/dist/ceiling/materials.d.ts.map +1 -1
- package/dist/ceiling/materials.js +45 -18
- package/dist/ceiling/move-tool.d.ts.map +1 -1
- package/dist/ceiling/paint.d.ts.map +1 -1
- package/dist/ceiling/paint.js +12 -21
- package/dist/ceiling/panel.d.ts.map +1 -1
- package/dist/ceiling/panel.js +5 -5
- package/dist/ceiling/parametrics.d.ts +1 -1
- package/dist/ceiling/parametrics.js +1 -1
- package/dist/ceiling/renderer.d.ts.map +1 -1
- package/dist/ceiling/renderer.js +26 -27
- package/dist/ceiling/system.d.ts.map +1 -1
- package/dist/ceiling/tool.d.ts.map +1 -1
- package/dist/ceiling/tool.js +1 -1
- package/dist/chimney/definition.d.ts +1 -1
- package/dist/chimney/definition.d.ts.map +1 -1
- package/dist/chimney/definition.js +9 -8
- package/dist/chimney/floorplan.js +1 -1
- package/dist/chimney/holes.js +1 -1
- package/dist/chimney/index.d.ts +3 -3
- package/dist/chimney/index.js +3 -3
- package/dist/chimney/move-tool.d.ts.map +1 -1
- package/dist/chimney/move-tool.js +3 -3
- package/dist/chimney/paint.js +1 -1
- package/dist/chimney/panel.js +4 -4
- package/dist/chimney/parametrics.d.ts +1 -1
- package/dist/chimney/parametrics.js +1 -1
- package/dist/chimney/presets.d.ts +1 -1
- package/dist/chimney/preview.d.ts.map +1 -1
- package/dist/chimney/preview.js +2 -2
- package/dist/chimney/renderer.d.ts.map +1 -1
- package/dist/chimney/renderer.js +4 -4
- package/dist/chimney/roof-trim.js +2 -2
- package/dist/chimney/tool.d.ts.map +1 -1
- package/dist/chimney/tool.js +6 -6
- package/dist/column/definition.d.ts +1 -1
- package/dist/column/definition.d.ts.map +1 -1
- package/dist/column/definition.js +17 -15
- package/dist/column/floorplan-affordances.js +3 -3
- package/dist/column/floorplan-move.js +2 -2
- package/dist/column/floorplan.js +1 -1
- package/dist/column/hosted-resize.d.ts +119 -113
- package/dist/column/hosted-resize.d.ts.map +1 -1
- package/dist/column/hosted-resize.js +1 -1
- package/dist/column/index.d.ts +1 -1
- package/dist/column/index.js +1 -1
- package/dist/column/paint.js +1 -1
- package/dist/column/panel.d.ts.map +1 -1
- package/dist/column/panel.js +9 -7
- package/dist/column/parametrics.d.ts +1 -1
- package/dist/column/parametrics.js +2 -2
- package/dist/column/renderer.d.ts.map +1 -1
- package/dist/column/renderer.js +3 -3
- package/dist/column/surface.js +1 -1
- package/dist/column/tool.d.ts.map +1 -1
- package/dist/column/tool.js +3 -3
- package/dist/construction-dimension/definition.d.ts +1 -1
- package/dist/construction-dimension/definition.js +6 -6
- package/dist/construction-dimension/floorplan-affordances.js +1 -1
- package/dist/construction-dimension/floorplan-tool.d.ts.map +1 -1
- package/dist/construction-dimension/floorplan-tool.js +1 -1
- package/dist/construction-dimension/floorplan.js +4 -4
- package/dist/construction-dimension/index.d.ts +3 -3
- package/dist/construction-dimension/index.js +3 -3
- package/dist/construction-dimension/panel.js +1 -1
- package/dist/construction-dimension/parametrics.js +1 -1
- package/dist/cupola/definition.d.ts +1 -1
- package/dist/cupola/definition.d.ts.map +1 -1
- package/dist/cupola/definition.js +9 -8
- package/dist/cupola/geometry.d.ts.map +1 -1
- package/dist/cupola/geometry.js +1 -1
- package/dist/cupola/index.d.ts +3 -3
- package/dist/cupola/index.js +3 -3
- package/dist/cupola/move-tool.js +4 -4
- package/dist/cupola/paint.js +2 -2
- package/dist/cupola/panel.js +1 -1
- package/dist/cupola/parametrics.d.ts +1 -1
- package/dist/cupola/parametrics.js +1 -1
- package/dist/cupola/preview.d.ts +1 -1
- package/dist/cupola/preview.d.ts.map +1 -1
- package/dist/cupola/preview.js +2 -2
- package/dist/cupola/renderer.d.ts.map +1 -1
- package/dist/cupola/renderer.js +3 -3
- package/dist/cupola/tool.d.ts.map +1 -1
- package/dist/cupola/tool.js +7 -7
- package/dist/door/contextual-dimensions.js +1 -1
- package/dist/door/definition.d.ts +1 -1
- package/dist/door/definition.d.ts.map +1 -1
- package/dist/door/definition.js +30 -26
- package/dist/door/door-math.d.ts +1 -1
- package/dist/door/door-math.js +1 -1
- package/dist/door/floorplan-affordances.js +2 -2
- package/dist/door/floorplan-move.js +5 -5
- package/dist/door/floorplan.js +3 -3
- package/dist/door/index.d.ts +2 -2
- package/dist/door/index.js +2 -2
- package/dist/door/mechanism.js +1 -1
- package/dist/door/move-tool.d.ts.map +1 -1
- package/dist/door/move-tool.js +11 -11
- package/dist/door/paint.js +1 -1
- package/dist/door/panel.d.ts.map +1 -1
- package/dist/door/panel.js +12 -12
- package/dist/door/parametrics.d.ts +1 -1
- package/dist/door/parametrics.js +1 -1
- package/dist/door/preview.d.ts +1 -1
- package/dist/door/preview.d.ts.map +1 -1
- package/dist/door/preview.js +1 -1
- package/dist/door/renderer.d.ts.map +1 -1
- package/dist/door/renderer.js +2 -2
- package/dist/door/system.d.ts.map +1 -1
- package/dist/door/system.js +1 -1
- package/dist/door/tool.d.ts.map +1 -1
- package/dist/door/tool.js +8 -8
- package/dist/dormer/csg-geometry.js +1 -1
- package/dist/dormer/definition.d.ts +1 -1
- package/dist/dormer/definition.d.ts.map +1 -1
- package/dist/dormer/definition.js +10 -9
- package/dist/dormer/index.d.ts +4 -4
- package/dist/dormer/index.js +3 -3
- package/dist/dormer/move-tool.d.ts.map +1 -1
- package/dist/dormer/move-tool.js +3 -3
- package/dist/dormer/paint.js +1 -1
- package/dist/dormer/panel-actions-section.js +1 -1
- package/dist/dormer/panel-windows-section.js +1 -1
- package/dist/dormer/panel.js +8 -8
- package/dist/dormer/parametrics.d.ts +1 -1
- package/dist/dormer/parametrics.js +1 -1
- package/dist/dormer/placement-guides.js +3 -3
- package/dist/dormer/preview.d.ts +1 -1
- package/dist/dormer/preview.d.ts.map +1 -1
- package/dist/dormer/preview.js +2 -2
- package/dist/dormer/renderer.d.ts +1 -1
- package/dist/dormer/renderer.d.ts.map +1 -1
- package/dist/dormer/renderer.js +2 -2
- package/dist/dormer/tool.d.ts.map +1 -1
- package/dist/dormer/tool.js +6 -6
- package/dist/dormer/use-dormer-placement.js +3 -3
- package/dist/downspout/definition.d.ts +1 -1
- package/dist/downspout/definition.d.ts.map +1 -1
- package/dist/downspout/definition.js +9 -8
- package/dist/downspout/geometry.d.ts +1 -1
- package/dist/downspout/geometry.js +2 -2
- package/dist/downspout/index.d.ts +3 -3
- package/dist/downspout/index.js +3 -3
- package/dist/downspout/parametrics.d.ts +1 -1
- package/dist/downspout/parametrics.js +1 -1
- package/dist/downspout/preview.d.ts +2 -2
- package/dist/downspout/preview.d.ts.map +1 -1
- package/dist/downspout/preview.js +3 -3
- package/dist/downspout/renderer.d.ts.map +1 -1
- package/dist/downspout/renderer.js +5 -5
- package/dist/downspout/routing.d.ts +2 -2
- package/dist/downspout/routing.d.ts.map +1 -1
- package/dist/downspout/routing.js +5 -4
- package/dist/downspout/system.d.ts.map +1 -1
- package/dist/downspout/tool.d.ts.map +1 -1
- package/dist/downspout/tool.js +7 -7
- package/dist/duct-fitting/accessory-geometry.js +1 -1
- package/dist/duct-fitting/definition.d.ts +1 -1
- package/dist/duct-fitting/definition.js +11 -11
- package/dist/duct-fitting/floorplan.d.ts +1 -1
- package/dist/duct-fitting/floorplan.js +5 -5
- package/dist/duct-fitting/geometry.d.ts +1 -1
- package/dist/duct-fitting/geometry.js +3 -3
- package/dist/duct-fitting/index.d.ts +4 -4
- package/dist/duct-fitting/index.js +4 -4
- package/dist/duct-fitting/inspector-editors.d.ts +1 -1
- package/dist/duct-fitting/move-tool.d.ts.map +1 -1
- package/dist/duct-fitting/move-tool.js +4 -4
- package/dist/duct-fitting/parametrics.d.ts +1 -1
- package/dist/duct-fitting/parametrics.js +3 -3
- package/dist/duct-fitting/ports.d.ts +1 -1
- package/dist/duct-fitting/selection.d.ts.map +1 -1
- package/dist/duct-fitting/selection.js +8 -9
- package/dist/duct-fitting/tool.d.ts +1 -1
- package/dist/duct-fitting/tool.d.ts.map +1 -1
- package/dist/duct-fitting/tool.js +14 -15
- package/dist/duct-segment/continuation.d.ts +3 -3
- package/dist/duct-segment/continuation.d.ts.map +1 -1
- package/dist/duct-segment/continuation.js +2 -2
- package/dist/duct-segment/definition.d.ts +1 -1
- package/dist/duct-segment/definition.js +13 -13
- package/dist/duct-segment/floorplan.d.ts +1 -1
- package/dist/duct-segment/floorplan.js +3 -3
- package/dist/duct-segment/geometry.d.ts +1 -1
- package/dist/duct-segment/geometry.js +1 -1
- package/dist/duct-segment/index.d.ts +3 -3
- package/dist/duct-segment/index.js +3 -3
- package/dist/duct-segment/move-tool.d.ts.map +1 -1
- package/dist/duct-segment/move-tool.js +8 -7
- package/dist/duct-segment/parametrics.d.ts +1 -1
- package/dist/duct-segment/parametrics.js +5 -5
- package/dist/duct-segment/selection.d.ts.map +1 -1
- package/dist/duct-segment/selection.js +13 -12
- package/dist/duct-segment/tool.d.ts +1 -2
- package/dist/duct-segment/tool.d.ts.map +1 -1
- package/dist/duct-segment/tool.js +22 -18
- package/dist/duct-terminal/definition.d.ts +1 -1
- package/dist/duct-terminal/definition.js +6 -6
- package/dist/duct-terminal/floorplan.d.ts +1 -1
- package/dist/duct-terminal/floorplan.js +1 -1
- package/dist/duct-terminal/geometry.d.ts +1 -1
- package/dist/duct-terminal/geometry.js +2 -2
- package/dist/duct-terminal/index.d.ts +4 -4
- package/dist/duct-terminal/index.js +4 -4
- package/dist/duct-terminal/parametrics.d.ts +1 -1
- package/dist/duct-terminal/ports.d.ts +1 -1
- package/dist/duct-terminal/ports.js +1 -1
- package/dist/duct-terminal/tool.d.ts.map +1 -1
- package/dist/duct-terminal/tool.js +11 -12
- package/dist/elevator/definition.d.ts +1 -1
- package/dist/elevator/definition.js +7 -7
- package/dist/elevator/floorplan-affordances.js +1 -1
- package/dist/elevator/index.d.ts +1 -1
- package/dist/elevator/index.js +1 -1
- package/dist/elevator/paint.js +1 -1
- package/dist/elevator/panel.js +9 -9
- package/dist/elevator/parametrics.js +1 -1
- package/dist/elevator/renderer.d.ts.map +1 -1
- package/dist/elevator/renderer.js +1 -1
- package/dist/elevator/system.js +1 -1
- package/dist/eyebrow-vent/definition.d.ts +1 -1
- package/dist/eyebrow-vent/definition.d.ts.map +1 -1
- package/dist/eyebrow-vent/definition.js +9 -8
- package/dist/eyebrow-vent/geometry.d.ts.map +1 -1
- package/dist/eyebrow-vent/geometry.js +1 -1
- package/dist/eyebrow-vent/index.d.ts +3 -3
- package/dist/eyebrow-vent/index.js +3 -3
- package/dist/eyebrow-vent/move-tool.js +4 -4
- package/dist/eyebrow-vent/paint.js +3 -3
- package/dist/eyebrow-vent/panel.js +1 -1
- package/dist/eyebrow-vent/parametrics.d.ts +1 -1
- package/dist/eyebrow-vent/parametrics.js +1 -1
- package/dist/eyebrow-vent/preview.d.ts +1 -1
- package/dist/eyebrow-vent/preview.d.ts.map +1 -1
- package/dist/eyebrow-vent/preview.js +2 -2
- package/dist/eyebrow-vent/renderer.d.ts.map +1 -1
- package/dist/eyebrow-vent/renderer.js +3 -3
- package/dist/eyebrow-vent/tool.d.ts.map +1 -1
- package/dist/eyebrow-vent/tool.js +7 -7
- package/dist/fence/actions/move-endpoint.d.ts +1 -1
- package/dist/fence/actions/move-endpoint.js +1 -1
- package/dist/fence/curve-tool.d.ts.map +1 -1
- package/dist/fence/definition.d.ts +1 -1
- package/dist/fence/definition.d.ts.map +1 -1
- package/dist/fence/definition.js +32 -17
- package/dist/fence/drafting.d.ts +7 -1
- package/dist/fence/drafting.d.ts.map +1 -1
- package/dist/fence/drafting.js +63 -4
- package/dist/fence/feature-tool.js +1 -1
- package/dist/fence/floorplan-affordances.js +1 -1
- package/dist/fence/floorplan.js +1 -1
- package/dist/fence/geometry.d.ts.map +1 -1
- package/dist/fence/geometry.js +3 -3
- package/dist/fence/index.d.ts +3 -3
- package/dist/fence/index.js +3 -3
- package/dist/fence/inspector-editors.js +1 -1
- package/dist/fence/lift.d.ts +3 -3
- package/dist/fence/lift.d.ts.map +1 -1
- package/dist/fence/lift.js +12 -3
- package/dist/fence/move-control-point-tool.d.ts.map +1 -1
- package/dist/fence/move-endpoint-tool.d.ts.map +1 -1
- package/dist/fence/move-endpoint-tool.js +4 -4
- package/dist/fence/move-tangent-tool.d.ts.map +1 -1
- package/dist/fence/move-tool.d.ts.map +1 -1
- package/dist/fence/move-tool.js +1 -1
- package/dist/fence/paint.js +1 -1
- package/dist/fence/panel-model.js +1 -1
- package/dist/fence/parametrics.d.ts +1 -1
- package/dist/fence/parametrics.js +1 -1
- package/dist/fence/system.d.ts.map +1 -1
- package/dist/fence/system.js +1 -1
- package/dist/fence/tool.d.ts.map +1 -1
- package/dist/fence/tool.js +90 -16
- package/dist/fence-feature/actions.js +1 -1
- package/dist/fence-feature/definition.d.ts.map +1 -1
- package/dist/fence-feature/definition.js +14 -10
- package/dist/fence-feature/geometry.js +2 -2
- package/dist/fence-feature/handles.js +2 -2
- package/dist/fence-feature/inspector.js +3 -3
- package/dist/fence-feature/move-session.d.ts +2 -2
- package/dist/fence-feature/move-session.js +1 -1
- package/dist/fence-feature/move-tool.js +1 -1
- package/dist/floor-opening/definition.js +1 -1
- package/dist/floor-opening/floorplan.d.ts +52 -52
- package/dist/floor-opening/floorplan.js +1 -1
- package/dist/guide/definition.d.ts +1 -1
- package/dist/guide/definition.js +4 -4
- package/dist/guide/index.d.ts +1 -1
- package/dist/guide/index.js +1 -1
- package/dist/guide/renderer.d.ts.map +1 -1
- package/dist/guide/system.d.ts.map +1 -1
- package/dist/gutter/definition.d.ts +1 -1
- package/dist/gutter/definition.d.ts.map +1 -1
- package/dist/gutter/definition.js +10 -9
- package/dist/gutter/downspouts-panel.js +3 -3
- package/dist/gutter/eave-align.js +2 -2
- package/dist/gutter/eave-snap.d.ts.map +1 -1
- package/dist/gutter/eave-snap.js +2 -2
- package/dist/gutter/floorplan.d.ts.map +1 -1
- package/dist/gutter/floorplan.js +5 -4
- package/dist/gutter/geometry.d.ts +1 -1
- package/dist/gutter/geometry.js +3 -3
- package/dist/gutter/index.d.ts +3 -3
- package/dist/gutter/index.js +3 -3
- package/dist/gutter/move-tool.js +4 -4
- package/dist/gutter/outlet-lookup.d.ts +1 -1
- package/dist/gutter/outlet-lookup.js +1 -1
- package/dist/gutter/paint.js +1 -1
- package/dist/gutter/parametrics.d.ts +1 -1
- package/dist/gutter/parametrics.js +1 -1
- package/dist/gutter/preview.d.ts +1 -1
- package/dist/gutter/preview.d.ts.map +1 -1
- package/dist/gutter/preview.js +3 -3
- package/dist/gutter/renderer.d.ts.map +1 -1
- package/dist/gutter/renderer.js +6 -6
- package/dist/gutter/tool.d.ts.map +1 -1
- package/dist/gutter/tool.js +7 -7
- package/dist/hvac-equipment/definition.d.ts +1 -1
- package/dist/hvac-equipment/definition.js +6 -6
- package/dist/hvac-equipment/floorplan.d.ts +1 -1
- package/dist/hvac-equipment/floorplan.js +2 -2
- package/dist/hvac-equipment/geometry.d.ts +1 -1
- package/dist/hvac-equipment/geometry.js +2 -2
- package/dist/hvac-equipment/index.d.ts +4 -4
- package/dist/hvac-equipment/index.js +4 -4
- package/dist/hvac-equipment/parametrics.d.ts +1 -1
- package/dist/hvac-equipment/ports.d.ts +1 -1
- package/dist/hvac-equipment/ports.js +1 -1
- package/dist/hvac-equipment/tool.d.ts.map +1 -1
- package/dist/hvac-equipment/tool.js +7 -8
- package/dist/imported-mesh/definition.d.ts +1 -1
- package/dist/imported-mesh/definition.js +4 -4
- package/dist/imported-mesh/index.d.ts +3 -3
- package/dist/imported-mesh/index.js +3 -3
- package/dist/index.d.ts +65 -61
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +118 -114
- package/dist/item/authored-params.js +1 -1
- package/dist/item/definition.d.ts +1 -1
- package/dist/item/definition.d.ts.map +1 -1
- package/dist/item/definition.js +18 -16
- package/dist/item/floorplan-move.js +4 -4
- package/dist/item/floorplan.d.ts +1 -1
- package/dist/item/floorplan.js +2 -2
- package/dist/item/index.d.ts +3 -3
- package/dist/item/index.js +3 -3
- package/dist/item/model-loader.d.ts +5 -0
- package/dist/item/model-loader.d.ts.map +1 -1
- package/dist/item/model-loader.js +49 -0
- package/dist/item/move-tool.d.ts.map +1 -1
- package/dist/item/paint.js +1 -1
- package/dist/item/panel.js +7 -7
- package/dist/item/parametrics.d.ts +1 -1
- package/dist/item/parametrics.js +1 -1
- package/dist/item/renderer.d.ts.map +1 -1
- package/dist/item/renderer.js +16 -12
- package/dist/item/system.d.ts.map +1 -1
- package/dist/item/system.js +7 -2
- package/dist/item/tool.d.ts.map +1 -1
- package/dist/item/tool.js +3 -3
- package/dist/item/wall-object-observations.d.ts +6 -0
- package/dist/item/wall-object-observations.d.ts.map +1 -0
- package/dist/item/wall-object-observations.js +260 -0
- package/dist/lean-to-extension/assembly.d.ts +2 -2
- package/dist/lean-to-extension/assembly.js +8 -8
- package/dist/lean-to-extension/canopy-joint.d.ts +1 -1
- package/dist/lean-to-extension/canopy-joint.js +1 -1
- package/dist/lean-to-extension/corner-joint.js +4 -4
- package/dist/lean-to-extension/definition.d.ts +1 -1
- package/dist/lean-to-extension/definition.d.ts.map +1 -1
- package/dist/lean-to-extension/definition.js +17 -16
- package/dist/lean-to-extension/floorplan-affordances.js +4 -4
- package/dist/lean-to-extension/floorplan-move.js +4 -4
- package/dist/lean-to-extension/floorplan-tool.d.ts.map +1 -1
- package/dist/lean-to-extension/floorplan-tool.js +7 -7
- package/dist/lean-to-extension/floorplan.js +5 -5
- package/dist/lean-to-extension/geometry.js +4 -4
- package/dist/lean-to-extension/index.d.ts +7 -7
- package/dist/lean-to-extension/index.js +7 -7
- package/dist/lean-to-extension/layout.d.ts +1 -1
- package/dist/lean-to-extension/layout.js +4 -4
- package/dist/lean-to-extension/managed-preview.js +4 -4
- package/dist/lean-to-extension/move-tool.d.ts.map +1 -1
- package/dist/lean-to-extension/move-tool.js +5 -5
- package/dist/lean-to-extension/paint.js +1 -1
- package/dist/lean-to-extension/parametrics.js +1 -1
- package/dist/lean-to-extension/placement-validation.d.ts.map +1 -1
- package/dist/lean-to-extension/placement-validation.js +5 -5
- package/dist/lean-to-extension/placement.d.ts +1 -1
- package/dist/lean-to-extension/placement.js +6 -6
- package/dist/lean-to-extension/plan-footprint.js +2 -2
- package/dist/lean-to-extension/preview-geometry.js +1 -1
- package/dist/lean-to-extension/preview.d.ts.map +1 -1
- package/dist/lean-to-extension/preview.js +1 -1
- package/dist/lean-to-extension/renderer.d.ts.map +1 -1
- package/dist/lean-to-extension/renderer.js +1 -1
- package/dist/lean-to-extension/roof-attachment.d.ts.map +1 -1
- package/dist/lean-to-extension/roof-attachment.js +4 -4
- package/dist/lean-to-extension/system.d.ts.map +1 -1
- package/dist/lean-to-extension/system.js +10 -10
- package/dist/lean-to-extension/tool.d.ts.map +1 -1
- package/dist/lean-to-extension/tool.js +11 -11
- package/dist/level/definition.d.ts +1 -1
- package/dist/level/definition.d.ts.map +1 -1
- package/dist/level/definition.js +5 -4
- package/dist/level/index.d.ts +1 -1
- package/dist/level/index.js +1 -1
- package/dist/level/renderer.d.ts.map +1 -1
- package/dist/level/system.d.ts.map +1 -1
- package/dist/lineset/definition.d.ts +1 -1
- package/dist/lineset/definition.js +8 -8
- package/dist/lineset/floorplan.d.ts +1 -1
- package/dist/lineset/floorplan.js +1 -1
- package/dist/lineset/geometry.d.ts +1 -1
- package/dist/lineset/geometry.js +1 -1
- package/dist/lineset/index.d.ts +3 -3
- package/dist/lineset/index.js +3 -3
- package/dist/lineset/move-tool.d.ts.map +1 -1
- package/dist/lineset/move-tool.js +2 -2
- package/dist/lineset/parametrics.d.ts +1 -1
- package/dist/lineset/selection.d.ts.map +1 -1
- package/dist/lineset/selection.js +1 -1
- package/dist/lineset/tool.d.ts.map +1 -1
- package/dist/lineset/tool.js +7 -8
- package/dist/liquid-line/definition.d.ts +1 -1
- package/dist/liquid-line/definition.js +8 -8
- package/dist/liquid-line/floorplan.d.ts +1 -1
- package/dist/liquid-line/floorplan.js +1 -1
- package/dist/liquid-line/geometry.d.ts +1 -1
- package/dist/liquid-line/geometry.js +1 -1
- package/dist/liquid-line/index.d.ts +4 -4
- package/dist/liquid-line/index.js +4 -4
- package/dist/liquid-line/move-tool.d.ts.map +1 -1
- package/dist/liquid-line/move-tool.js +1 -1
- package/dist/liquid-line/parametrics.d.ts +1 -1
- package/dist/liquid-line/selection.d.ts.map +1 -1
- package/dist/liquid-line/selection.js +1 -1
- package/dist/liquid-line/tool.d.ts.map +1 -1
- package/dist/liquid-line/tool.js +9 -10
- package/dist/measurement/definition.d.ts +1 -1
- package/dist/measurement/definition.js +6 -6
- package/dist/measurement/edit.d.ts +1 -1
- package/dist/measurement/floorplan-affordance.js +2 -2
- package/dist/measurement/floorplan.js +2 -2
- package/dist/measurement/index.d.ts +2 -2
- package/dist/measurement/index.js +2 -2
- package/dist/measurement/renderer.d.ts.map +1 -1
- package/dist/measurement/renderer.js +2 -2
- package/dist/measurement/selection.d.ts.map +1 -1
- package/dist/measurement/selection.js +4 -4
- package/dist/measurement/smart-surface.d.ts +1 -1
- package/dist/measurement/smart-tool.d.ts.map +1 -1
- package/dist/measurement/smart-tool.js +2 -2
- package/dist/measurement/surface-query.js +1 -1
- package/dist/measurement/tool-router.js +2 -2
- package/dist/measurement/tool.d.ts +1 -1
- package/dist/measurement/tool.d.ts.map +1 -1
- package/dist/measurement/tool.js +3 -3
- package/dist/pipe-fitting/definition.d.ts +1 -1
- package/dist/pipe-fitting/definition.js +11 -11
- package/dist/pipe-fitting/floorplan.d.ts +1 -1
- package/dist/pipe-fitting/floorplan.js +4 -4
- package/dist/pipe-fitting/geometry.d.ts +1 -1
- package/dist/pipe-fitting/geometry.js +4 -4
- package/dist/pipe-fitting/index.d.ts +4 -4
- package/dist/pipe-fitting/index.js +4 -4
- package/dist/pipe-fitting/inline-insertion.d.ts +1 -1
- package/dist/pipe-fitting/inline-insertion.d.ts.map +1 -1
- package/dist/pipe-fitting/inline-insertion.js +1 -1
- package/dist/pipe-fitting/move-tool.d.ts.map +1 -1
- package/dist/pipe-fitting/move-tool.js +3 -3
- package/dist/pipe-fitting/parametrics.d.ts +1 -1
- package/dist/pipe-fitting/parametrics.js +1 -1
- package/dist/pipe-fitting/ports.d.ts +1 -1
- package/dist/pipe-fitting/ports.js +1 -1
- package/dist/pipe-fitting/selection.d.ts.map +1 -1
- package/dist/pipe-fitting/selection.js +6 -7
- package/dist/pipe-fitting/tool.d.ts +2 -2
- package/dist/pipe-fitting/tool.d.ts.map +1 -1
- package/dist/pipe-fitting/tool.js +15 -16
- package/dist/pipe-segment/continuation.d.ts +4 -4
- package/dist/pipe-segment/continuation.d.ts.map +1 -1
- package/dist/pipe-segment/continuation.js +1 -1
- package/dist/pipe-segment/definition.d.ts +1 -1
- package/dist/pipe-segment/definition.js +11 -11
- package/dist/pipe-segment/floorplan.d.ts +1 -1
- package/dist/pipe-segment/floorplan.js +3 -3
- package/dist/pipe-segment/geometry.d.ts +1 -1
- package/dist/pipe-segment/geometry.js +2 -2
- package/dist/pipe-segment/index.d.ts +3 -3
- package/dist/pipe-segment/index.js +3 -3
- package/dist/pipe-segment/move-tool.d.ts.map +1 -1
- package/dist/pipe-segment/move-tool.js +3 -3
- package/dist/pipe-segment/parametrics.d.ts +1 -1
- package/dist/pipe-segment/parametrics.js +3 -3
- package/dist/pipe-segment/selection.d.ts.map +1 -1
- package/dist/pipe-segment/selection.js +10 -9
- package/dist/pipe-segment/tool.d.ts.map +1 -1
- package/dist/pipe-segment/tool.js +13 -14
- package/dist/pipe-trap/definition.d.ts +1 -1
- package/dist/pipe-trap/definition.js +6 -6
- package/dist/pipe-trap/floorplan.d.ts +1 -1
- package/dist/pipe-trap/floorplan.js +1 -1
- package/dist/pipe-trap/geometry.d.ts +1 -1
- package/dist/pipe-trap/geometry.js +2 -2
- package/dist/pipe-trap/index.d.ts +4 -4
- package/dist/pipe-trap/index.js +4 -4
- package/dist/pipe-trap/parametrics.d.ts +1 -1
- package/dist/pipe-trap/ports.d.ts +1 -1
- package/dist/pipe-trap/ports.js +1 -1
- package/dist/pipe-trap/tool.d.ts.map +1 -1
- package/dist/pipe-trap/tool.js +7 -8
- package/dist/procedural-item/animation.d.ts.map +1 -1
- package/dist/procedural-item/definition.d.ts.map +1 -1
- package/dist/procedural-item/definition.js +10 -8
- package/dist/procedural-item/geometry.d.ts.map +1 -1
- package/dist/procedural-item/index.d.ts +2 -2
- package/dist/procedural-item/index.js +2 -2
- package/dist/procedural-item/move-session.d.ts +1 -1
- package/dist/procedural-item/move-session.js +2 -2
- package/dist/procedural-item/move-tool.js +3 -3
- package/dist/procedural-item/renderer.js +5 -5
- package/dist/ridge-vent/definition.d.ts +1 -1
- package/dist/ridge-vent/definition.d.ts.map +1 -1
- package/dist/ridge-vent/definition.js +9 -8
- package/dist/ridge-vent/geometry.js +1 -1
- package/dist/ridge-vent/index.d.ts +3 -3
- package/dist/ridge-vent/index.js +3 -3
- package/dist/ridge-vent/move-tool.js +5 -5
- package/dist/ridge-vent/panel.js +1 -1
- package/dist/ridge-vent/parametrics.d.ts +1 -1
- package/dist/ridge-vent/parametrics.js +1 -1
- package/dist/ridge-vent/preview.d.ts +1 -1
- package/dist/ridge-vent/preview.d.ts.map +1 -1
- package/dist/ridge-vent/preview.js +2 -2
- package/dist/ridge-vent/renderer.d.ts.map +1 -1
- package/dist/ridge-vent/renderer.js +5 -4
- package/dist/ridge-vent/tool.d.ts.map +1 -1
- package/dist/ridge-vent/tool.js +8 -8
- package/dist/roof/barrel-panel.d.ts +5 -0
- package/dist/roof/barrel-panel.d.ts.map +1 -0
- package/dist/roof/barrel-panel.js +17 -0
- package/dist/roof/conical-roof.d.ts +5 -1
- package/dist/roof/conical-roof.d.ts.map +1 -1
- package/dist/roof/conical-roof.js +19 -15
- package/dist/roof/definition.d.ts +1 -1
- package/dist/roof/definition.d.ts.map +1 -1
- package/dist/roof/definition.js +18 -10
- package/dist/roof/floorplan.d.ts.map +1 -1
- package/dist/roof/floorplan.js +11 -4
- package/dist/roof/glazed-geometry.d.ts +5 -0
- package/dist/roof/glazed-geometry.d.ts.map +1 -0
- package/dist/roof/glazed-geometry.js +27 -0
- package/dist/roof/glazed-materials.d.ts +14 -0
- package/dist/roof/glazed-materials.d.ts.map +1 -0
- package/dist/roof/glazed-materials.js +42 -0
- package/dist/roof/glazing-controls.d.ts +33 -0
- package/dist/roof/glazing-controls.d.ts.map +1 -0
- package/dist/roof/glazing-controls.js +50 -0
- package/dist/roof/glazing-panel-editor.d.ts +6 -0
- package/dist/roof/glazing-panel-editor.d.ts.map +1 -0
- package/dist/roof/glazing-panel-editor.js +44 -0
- package/dist/roof/glazing-panel.d.ts +5 -0
- package/dist/roof/glazing-panel.d.ts.map +1 -0
- package/dist/roof/glazing-panel.js +41 -0
- package/dist/roof/glazing-preview.d.ts +10 -0
- package/dist/roof/glazing-preview.d.ts.map +1 -0
- package/dist/roof/glazing-preview.js +48 -0
- package/dist/roof/index.d.ts +3 -3
- package/dist/roof/index.js +3 -3
- package/dist/roof/panel.d.ts.map +1 -1
- package/dist/roof/panel.js +41 -6
- package/dist/roof/parametrics.js +1 -1
- package/dist/roof/renderer.d.ts.map +1 -1
- package/dist/roof/renderer.js +36 -6
- package/dist/roof/roof-footprint-source.d.ts.map +1 -1
- package/dist/roof/roof-level-target.d.ts +75 -0
- package/dist/roof/roof-level-target.d.ts.map +1 -0
- package/dist/roof/roof-level-target.js +119 -0
- package/dist/roof/roof-placement-mode.d.ts +3 -2
- package/dist/roof/roof-placement-mode.d.ts.map +1 -1
- package/dist/roof/system.d.ts +1 -2
- package/dist/roof/system.d.ts.map +1 -1
- package/dist/roof/system.js +5 -1
- package/dist/roof/tool.d.ts +3 -3
- package/dist/roof/tool.d.ts.map +1 -1
- package/dist/roof/tool.js +80 -41
- package/dist/roof-segment/definition.d.ts +1 -1
- package/dist/roof-segment/definition.d.ts.map +1 -1
- package/dist/roof-segment/definition.js +31 -62
- package/dist/roof-segment/floorplan-affordances.d.ts.map +1 -1
- package/dist/roof-segment/floorplan-affordances.js +13 -34
- package/dist/roof-segment/floorplan.d.ts.map +1 -1
- package/dist/roof-segment/floorplan.js +1 -0
- package/dist/roof-segment/index.d.ts +1 -1
- package/dist/roof-segment/index.js +1 -1
- package/dist/roof-segment/measurement.js +1 -1
- package/dist/roof-segment/paint.d.ts +4 -0
- package/dist/roof-segment/paint.d.ts.map +1 -0
- package/dist/roof-segment/paint.js +92 -0
- package/dist/roof-segment/panel.d.ts.map +1 -1
- package/dist/roof-segment/panel.js +16 -7
- package/dist/roof-segment/parametrics.d.ts +1 -1
- package/dist/roof-segment/parametrics.d.ts.map +1 -1
- package/dist/roof-segment/parametrics.js +12 -1
- package/dist/roof-segment/renderer.d.ts +1 -1
- package/dist/roof-segment/renderer.d.ts.map +1 -1
- package/dist/roof-segment/renderer.js +65 -12
- package/dist/scan/definition.d.ts +1 -1
- package/dist/scan/definition.js +4 -4
- package/dist/scan/index.d.ts +1 -1
- package/dist/scan/index.js +1 -1
- package/dist/scan/renderer.d.ts.map +1 -1
- package/dist/scan/system.d.ts.map +1 -1
- package/dist/separator/definition.js +1 -1
- package/dist/separator/renderer.js +1 -1
- package/dist/shared/accessory-placement.d.ts +1 -1
- package/dist/shared/accessory-placement.d.ts.map +1 -1
- package/dist/shared/accessory-placement.js +3 -3
- package/dist/shared/accessory-snapping.d.ts +1 -1
- package/dist/shared/accessory-snapping.d.ts.map +1 -1
- package/dist/shared/accessory-snapping.js +1 -1
- package/dist/shared/auto-fitting.d.ts +1 -1
- package/dist/shared/auto-fitting.d.ts.map +1 -1
- package/dist/shared/auto-fitting.js +3 -3
- package/dist/shared/automatic-run-end-cap.d.ts +1 -1
- package/dist/shared/automatic-run-end-cap.d.ts.map +1 -1
- package/dist/shared/automatic-run-end-cap.js +4 -4
- package/dist/shared/block-face-host.d.ts +1 -1
- package/dist/shared/connection-feedback.d.ts +1 -2
- package/dist/shared/connection-feedback.d.ts.map +1 -1
- package/dist/shared/connection-feedback.js +1 -2
- package/dist/shared/construction-dimension-standards.d.ts +1 -1
- package/dist/shared/curtain-opening-limits.js +1 -1
- package/dist/shared/draft-axis-guides.js +1 -1
- package/dist/shared/duct-adapter.d.ts +2 -2
- package/dist/shared/duct-adapter.d.ts.map +1 -1
- package/dist/shared/duct-adapter.js +3 -3
- package/dist/shared/duct-body-paint.js +1 -1
- package/dist/shared/elbow-branch-continuation.d.ts +1 -1
- package/dist/shared/elbow-branch-continuation.d.ts.map +1 -1
- package/dist/shared/elbow-branch-continuation.js +2 -2
- package/dist/shared/finish-script-model.d.ts +12 -0
- package/dist/shared/finish-script-model.d.ts.map +1 -0
- package/dist/shared/finish-script-model.js +32 -0
- package/dist/shared/fitting-deletion-cleanup.js +2 -2
- package/dist/shared/fitting-endpoint-reaim.js +3 -3
- package/dist/shared/fitting-surface-support.d.ts.map +1 -1
- package/dist/shared/fitting-surface-support.js +2 -2
- package/dist/shared/fitting-tool-options.js +1 -1
- package/dist/shared/floor-placement.d.ts.map +1 -1
- package/dist/shared/floorplan-cursor.d.ts.map +1 -1
- package/dist/shared/hosted-resize.d.ts +2 -1
- package/dist/shared/hosted-resize.d.ts.map +1 -1
- package/dist/shared/hosted-resize.js +11 -3
- package/dist/shared/item-interaction-actions.js +1 -1
- package/dist/shared/lean-to-post-omissions.d.ts +1 -1
- package/dist/shared/lean-to-post-omissions.js +1 -1
- package/dist/shared/mep-ghost.js +5 -5
- package/dist/shared/move-roof-tool.d.ts.map +1 -1
- package/dist/shared/move-roof-tool.js +129 -36
- package/dist/shared/node-batch/batchable.d.ts.map +1 -1
- package/dist/shared/node-batch/batchable.js +5 -3
- package/dist/shared/node-batch/candidates.d.ts +1 -1
- package/dist/shared/node-batch/candidates.js +1 -1
- package/dist/shared/node-batch/store.d.ts +1 -1
- package/dist/shared/node-batch/store.d.ts.map +1 -1
- package/dist/shared/node-batch/store.js +1 -1
- package/dist/shared/node-batch/system.d.ts.map +1 -1
- package/dist/shared/node-batch/system.js +22 -7
- package/dist/shared/opening-documentation.d.ts +1 -1
- package/dist/shared/opening-documentation.js +1 -1
- package/dist/shared/opening-guides-runtime.js +1 -1
- package/dist/shared/opening-move-wall-gate.d.ts.map +1 -1
- package/dist/shared/opening-placement-dimensions.js +2 -2
- package/dist/shared/opening-property-preview-host.d.ts +1 -1
- package/dist/shared/opening-property-preview.d.ts.map +1 -1
- package/dist/shared/opening-property-preview.js +1 -1
- package/dist/shared/panel-fields.js +2 -2
- package/dist/shared/path-point-affordance.js +2 -2
- package/dist/shared/pipe-run-translation-offset.d.ts +2 -2
- package/dist/shared/pipe-run-translation-offset.d.ts.map +1 -1
- package/dist/shared/pipe-run-translation-offset.js +2 -2
- package/dist/shared/pipe-vertical-offset.d.ts +2 -2
- package/dist/shared/pipe-vertical-offset.d.ts.map +1 -1
- package/dist/shared/pipe-vertical-offset.js +2 -2
- package/dist/shared/polygon-centroid-move.js +1 -1
- package/dist/shared/port-systems.d.ts +9 -0
- package/dist/shared/port-systems.d.ts.map +1 -0
- package/dist/shared/port-systems.js +10 -0
- package/dist/shared/refrigerant-line-selection.d.ts.map +1 -1
- package/dist/shared/refrigerant-line-selection.js +3 -2
- package/dist/shared/relative-roof-drag.d.ts +1 -1
- package/dist/shared/relative-roof-drag.js +2 -2
- package/dist/shared/roof-segment-hit.d.ts.map +1 -1
- package/dist/shared/roof-segment-hit.js +7 -5
- package/dist/shared/roof-surface-placement-guides.d.ts +1 -1
- package/dist/shared/roof-surface-placement-guides.js +11 -11
- package/dist/shared/roof-surface.d.ts.map +1 -1
- package/dist/shared/roof-surface.js +25 -5
- package/dist/shared/run-hanger-controls.d.ts +1 -1
- package/dist/shared/run-hanger-controls.js +1 -1
- package/dist/shared/run-hanger-inspector.d.ts +1 -1
- package/dist/shared/run-hanger-inspector.js +3 -3
- package/dist/shared/run-hangers.js +2 -2
- package/dist/shared/run-move-connectivity.d.ts.map +1 -1
- package/dist/shared/run-translation-offset.d.ts +3 -3
- package/dist/shared/run-translation-offset.d.ts.map +1 -1
- package/dist/shared/run-translation-offset.js +2 -2
- package/dist/shared/scripted-opening.d.ts +3 -3
- package/dist/shared/scripted-opening.d.ts.map +1 -1
- package/dist/shared/scripted-opening.js +1 -1
- package/dist/shared/slot-paint.js +1 -1
- package/dist/shared/surface-paint.js +2 -2
- package/dist/shared/swap-preview-material.d.ts +9 -7
- package/dist/shared/swap-preview-material.d.ts.map +1 -1
- package/dist/shared/swap-preview-material.js +18 -7
- package/dist/shared/system-check-panel.js +1 -1
- package/dist/shared/system-checks.js +2 -2
- package/dist/shared/vertical-offset.d.ts +3 -3
- package/dist/shared/vertical-offset.d.ts.map +1 -1
- package/dist/shared/vertical-offset.js +3 -3
- package/dist/shared/wall-run-move.d.ts +1 -1
- package/dist/shared/wall-run-move.d.ts.map +1 -1
- package/dist/shelf/definition.d.ts +1 -1
- package/dist/shelf/definition.d.ts.map +1 -1
- package/dist/shelf/definition.js +13 -11
- package/dist/shelf/dimensions.d.ts +1 -1
- package/dist/shelf/floorplan-affordances.js +1 -1
- package/dist/shelf/floorplan-move.js +1 -1
- package/dist/shelf/floorplan.d.ts +1 -1
- package/dist/shelf/floorplan.js +2 -2
- package/dist/shelf/geometry.d.ts +1 -1
- package/dist/shelf/geometry.js +1 -1
- package/dist/shelf/index.d.ts +3 -3
- package/dist/shelf/index.js +3 -3
- package/dist/shelf/parametrics.d.ts +1 -1
- package/dist/shelf/preview.d.ts +1 -1
- package/dist/shelf/preview.d.ts.map +1 -1
- package/dist/shelf/preview.js +1 -1
- package/dist/shelf/tool.d.ts.map +1 -1
- package/dist/shelf/tool.js +3 -3
- package/dist/site/definition.d.ts +1 -1
- package/dist/site/definition.d.ts.map +1 -1
- package/dist/site/definition.js +5 -4
- package/dist/site/generic-foundation-geometry.d.ts +16 -0
- package/dist/site/generic-foundation-geometry.d.ts.map +1 -0
- package/dist/site/generic-foundation-geometry.js +75 -0
- package/dist/site/generic-foundation.d.ts +4 -0
- package/dist/site/generic-foundation.d.ts.map +1 -0
- package/dist/site/generic-foundation.js +91 -0
- package/dist/site/ground-hole.d.ts +92 -0
- package/dist/site/ground-hole.d.ts.map +1 -0
- package/dist/site/ground-hole.js +306 -0
- package/dist/site/ground-pit-geometry.d.ts +39 -0
- package/dist/site/ground-pit-geometry.d.ts.map +1 -0
- package/dist/site/ground-pit-geometry.js +213 -0
- package/dist/site/ground-pit.d.ts +45 -0
- package/dist/site/ground-pit.d.ts.map +1 -0
- package/dist/site/ground-pit.js +175 -0
- package/dist/site/ground-veil.d.ts +39 -0
- package/dist/site/ground-veil.d.ts.map +1 -0
- package/dist/site/ground-veil.js +86 -0
- package/dist/site/ground-window-system.d.ts +9 -0
- package/dist/site/ground-window-system.d.ts.map +1 -0
- package/dist/site/ground-window-system.js +108 -0
- package/dist/site/hole-noise.d.ts +11 -0
- package/dist/site/hole-noise.d.ts.map +1 -0
- package/dist/site/hole-noise.js +79 -0
- package/dist/site/index.d.ts +1 -1
- package/dist/site/index.js +1 -1
- package/dist/site/lot-mask.d.ts +5 -3
- package/dist/site/lot-mask.d.ts.map +1 -1
- package/dist/site/lot-mask.js +9 -5
- package/dist/site/panel.d.ts.map +1 -1
- package/dist/site/panel.js +25 -1
- package/dist/site/parametrics.js +1 -1
- package/dist/site/renderer.d.ts.map +1 -1
- package/dist/site/renderer.js +136 -32
- package/dist/site/terrain-holes.d.ts +1 -1
- package/dist/site/terrain-mesh.d.ts +2 -2
- package/dist/site/terrain-mesh.js +2 -2
- package/dist/site/terrain-renderer.d.ts +3 -1
- package/dist/site/terrain-renderer.d.ts.map +1 -1
- package/dist/site/terrain-renderer.js +13 -6
- package/dist/site/underground-edge.d.ts +26 -0
- package/dist/site/underground-edge.d.ts.map +1 -0
- package/dist/site/underground-edge.js +46 -0
- package/dist/skylight/definition.d.ts +1 -1
- package/dist/skylight/definition.d.ts.map +1 -1
- package/dist/skylight/definition.js +11 -10
- package/dist/skylight/geometry.d.ts +1 -1
- package/dist/skylight/geometry.js +1 -1
- package/dist/skylight/index.d.ts +4 -4
- package/dist/skylight/index.js +4 -4
- package/dist/skylight/move-tool.js +4 -4
- package/dist/skylight/panel.js +3 -3
- package/dist/skylight/parametrics.d.ts +1 -1
- package/dist/skylight/parametrics.js +1 -1
- package/dist/skylight/preview.d.ts +1 -1
- package/dist/skylight/preview.d.ts.map +1 -1
- package/dist/skylight/preview.js +2 -2
- package/dist/skylight/renderer.d.ts.map +1 -1
- package/dist/skylight/renderer.js +5 -5
- package/dist/skylight/system.d.ts.map +1 -1
- package/dist/skylight/tool.d.ts.map +1 -1
- package/dist/skylight/tool.js +7 -7
- package/dist/slab/boundary-editor.d.ts.map +1 -1
- package/dist/slab/definition.d.ts +1 -1
- package/dist/slab/definition.d.ts.map +1 -1
- package/dist/slab/definition.js +26 -17
- package/dist/slab/floorplan-affordances.d.ts +100 -100
- package/dist/slab/floorplan-affordances.js +1 -1
- package/dist/slab/floorplan-move.js +1 -1
- package/dist/slab/geometry.js +3 -3
- package/dist/slab/hole-editor.d.ts.map +1 -1
- package/dist/slab/index.d.ts +2 -2
- package/dist/slab/index.js +2 -2
- package/dist/slab/move-tool.d.ts.map +1 -1
- package/dist/slab/move-tool.js +1 -1
- package/dist/slab/paint.d.ts +1 -1
- package/dist/slab/paint.d.ts.map +1 -1
- package/dist/slab/paint.js +6 -3
- package/dist/slab/panel.d.ts.map +1 -1
- package/dist/slab/panel.js +5 -5
- package/dist/slab/parametrics.d.ts +1 -1
- package/dist/slab/parametrics.js +1 -1
- package/dist/slab/quick-measurement.js +1 -1
- package/dist/slab/system.d.ts.map +1 -1
- package/dist/slab/system.js +1 -1
- package/dist/slab/tool.d.ts.map +1 -1
- package/dist/slab/tool.js +5 -3
- package/dist/solar-panel/definition.d.ts +1 -1
- package/dist/solar-panel/definition.d.ts.map +1 -1
- package/dist/solar-panel/definition.js +8 -7
- package/dist/solar-panel/index.d.ts +4 -4
- package/dist/solar-panel/index.js +4 -4
- package/dist/solar-panel/move-tool.js +3 -3
- package/dist/solar-panel/panel.d.ts.map +1 -1
- package/dist/solar-panel/panel.js +4 -4
- package/dist/solar-panel/parametrics.d.ts +1 -1
- package/dist/solar-panel/parametrics.js +1 -1
- package/dist/solar-panel/preview.d.ts +1 -1
- package/dist/solar-panel/preview.d.ts.map +1 -1
- package/dist/solar-panel/preview.js +2 -2
- package/dist/solar-panel/renderer.d.ts.map +1 -1
- package/dist/solar-panel/renderer.js +3 -3
- package/dist/solar-panel/tool.d.ts.map +1 -1
- package/dist/solar-panel/tool.js +7 -7
- package/dist/spawn/definition.d.ts +1 -1
- package/dist/spawn/definition.js +7 -7
- package/dist/spawn/floorplan-affordances.js +1 -1
- package/dist/spawn/floorplan.d.ts +1 -1
- package/dist/spawn/index.d.ts +2 -2
- package/dist/spawn/index.js +2 -2
- package/dist/spawn/panel.js +1 -1
- package/dist/spawn/parametrics.d.ts +1 -1
- package/dist/spawn/parametrics.js +1 -1
- package/dist/spawn/renderer.d.ts.map +1 -1
- package/dist/spawn/renderer.js +1 -1
- package/dist/spawn/tool.d.ts.map +1 -1
- package/dist/spawn/tool.js +2 -2
- package/dist/stair/baluster-geometry.d.ts +2 -2
- package/dist/stair/baluster-guard.d.ts +1 -1
- package/dist/stair/baluster-guard.d.ts.map +1 -1
- package/dist/stair/baluster-guard.js +1 -1
- package/dist/stair/boards-guard.d.ts +1 -1
- package/dist/stair/boards-guard.js +1 -1
- package/dist/stair/cable-guard.d.ts +1 -1
- package/dist/stair/cable-guard.js +1 -1
- package/dist/stair/construction-controls.js +1 -1
- package/dist/stair/continuous-railings.d.ts +1 -1
- package/dist/stair/continuous-railings.js +9 -9
- package/dist/stair/definition.d.ts +1 -1
- package/dist/stair/definition.d.ts.map +1 -1
- package/dist/stair/definition.js +23 -9
- package/dist/stair/documentation.d.ts +1 -1
- package/dist/stair/documentation.js +1 -1
- package/dist/stair/floorplan-affordances.js +1 -1
- package/dist/stair/floorplan-move.d.ts.map +1 -1
- package/dist/stair/floorplan-move.js +90 -10
- package/dist/stair/floorplan.d.ts +1 -1
- package/dist/stair/floorplan.d.ts.map +1 -1
- package/dist/stair/floorplan.js +24 -5
- package/dist/stair/glass-guard.d.ts +1 -1
- package/dist/stair/glass-guard.js +1 -1
- package/dist/stair/guard-path.d.ts.map +1 -1
- package/dist/stair/index.d.ts +1 -1
- package/dist/stair/index.js +1 -1
- package/dist/stair/metal-guard.d.ts +1 -1
- package/dist/stair/metal-guard.js +1 -1
- package/dist/stair/paint.d.ts +9 -9
- package/dist/stair/paint.d.ts.map +1 -1
- package/dist/stair/paint.js +2 -2
- package/dist/stair/panel.d.ts.map +1 -1
- package/dist/stair/panel.js +23 -9
- package/dist/stair/parametrics.js +3 -3
- package/dist/stair/post-and-rail-guard.d.ts +1 -1
- package/dist/stair/post-and-rail-guard.js +1 -1
- package/dist/stair/railing-controls.js +1 -1
- package/dist/stair/renderer.d.ts.map +1 -1
- package/dist/stair/renderer.js +108 -15
- package/dist/stair/stair-click-guard.d.ts +43 -0
- package/dist/stair/stair-click-guard.d.ts.map +1 -0
- package/dist/stair/stair-click-guard.js +44 -0
- package/dist/stair/stair-type.d.ts.map +1 -1
- package/dist/stair/stair-type.js +1 -2
- package/dist/stair/surface-move-preview.d.ts +4 -0
- package/dist/stair/surface-move-preview.d.ts.map +1 -0
- package/dist/stair/surface-move-preview.js +53 -0
- package/dist/stair/surface-transition.d.ts +9 -0
- package/dist/stair/surface-transition.d.ts.map +1 -0
- package/dist/stair/surface-transition.js +61 -0
- package/dist/stair/system.d.ts.map +1 -1
- package/dist/stair/tool.d.ts +2 -0
- package/dist/stair/tool.d.ts.map +1 -0
- package/dist/stair/tool.js +580 -0
- package/dist/stair/use-stair-render-data.d.ts +87 -85
- package/dist/stair/use-stair-render-data.d.ts.map +1 -1
- package/dist/stair-segment/definition.d.ts +1 -1
- package/dist/stair-segment/definition.d.ts.map +1 -1
- package/dist/stair-segment/definition.js +7 -10
- package/dist/stair-segment/index.d.ts +1 -1
- package/dist/stair-segment/index.js +1 -1
- package/dist/stair-segment/panel.js +3 -3
- package/dist/stair-segment/parametrics.js +2 -2
- package/dist/stair-segment/renderer.d.ts.map +1 -1
- package/dist/stair-segment/renderer.js +2 -2
- package/dist/structural-grid/definition.d.ts +1 -1
- package/dist/structural-grid/definition.js +3 -3
- package/dist/structural-grid/floorplan-tool.d.ts.map +1 -1
- package/dist/structural-grid/index.d.ts +1 -1
- package/dist/structural-grid/index.js +1 -1
- package/dist/turbine-vent/definition.d.ts +1 -1
- package/dist/turbine-vent/definition.d.ts.map +1 -1
- package/dist/turbine-vent/definition.js +9 -8
- package/dist/turbine-vent/geometry.js +1 -1
- package/dist/turbine-vent/index.d.ts +3 -3
- package/dist/turbine-vent/index.js +3 -3
- package/dist/turbine-vent/move-tool.js +4 -4
- package/dist/turbine-vent/paint.js +2 -2
- package/dist/turbine-vent/panel.js +1 -1
- package/dist/turbine-vent/parametrics.d.ts +1 -1
- package/dist/turbine-vent/parametrics.js +1 -1
- package/dist/turbine-vent/preview.d.ts +1 -1
- package/dist/turbine-vent/preview.d.ts.map +1 -1
- package/dist/turbine-vent/preview.js +2 -2
- package/dist/turbine-vent/renderer.d.ts.map +1 -1
- package/dist/turbine-vent/renderer.js +3 -3
- package/dist/turbine-vent/tool.d.ts.map +1 -1
- package/dist/turbine-vent/tool.js +7 -7
- package/dist/unit/definition.d.ts +1 -1
- package/dist/unit/definition.js +2 -2
- package/dist/unit/index.d.ts +1 -1
- package/dist/unit/index.js +1 -1
- package/dist/unit/parametrics.js +1 -1
- package/dist/unit/unit-panel.js +2 -2
- package/dist/wall/actions.js +2 -2
- package/dist/wall/construction-dimensions.d.ts +3 -3
- package/dist/wall/construction-dimensions.js +6 -6
- package/dist/wall/curtain-opening-frame.d.ts.map +1 -1
- package/dist/wall/curtain-wall-adapter.js +2 -2
- package/dist/wall/curtain-wall-floorplan.js +2 -2
- package/dist/wall/curtain-wall-geometry.d.ts.map +1 -1
- package/dist/wall/curtain-wall-geometry.js +4 -4
- package/dist/wall/curtain-wall-layout.d.ts +1 -2
- package/dist/wall/curtain-wall-layout.d.ts.map +1 -1
- package/dist/wall/curtain-wall-layout.js +1 -23
- package/dist/wall/curtain-wall-materials.d.ts.map +1 -1
- package/dist/wall/curtain-wall-materials.js +2 -1
- package/dist/wall/curtain-wall-panel.d.ts.map +1 -1
- package/dist/wall/curtain-wall-panel.js +4 -4
- package/dist/wall/curtain-wall-piece-geometry.d.ts +1 -1
- package/dist/wall/curve-tool.d.ts.map +1 -1
- package/dist/wall/definition.d.ts +1 -1
- package/dist/wall/definition.d.ts.map +1 -1
- package/dist/wall/definition.js +31 -26
- package/dist/wall/exterior.d.ts +6 -0
- package/dist/wall/exterior.d.ts.map +1 -0
- package/dist/wall/exterior.js +13 -0
- package/dist/wall/floorplan-move.js +1 -1
- package/dist/wall/floorplan-tool.js +1 -1
- package/dist/wall/floorplan.d.ts +2 -2
- package/dist/wall/floorplan.d.ts.map +1 -1
- package/dist/wall/floorplan.js +4 -4
- package/dist/wall/index.d.ts +2 -2
- package/dist/wall/index.js +2 -2
- package/dist/wall/measurement.js +1 -1
- package/dist/wall/move-endpoint-tool.d.ts.map +1 -1
- package/dist/wall/move-endpoint-tool.js +5 -6
- package/dist/wall/move-shared.js +1 -1
- package/dist/wall/move-tool.d.ts.map +1 -1
- package/dist/wall/move-tool.js +3 -4
- package/dist/wall/paint.d.ts +1 -1
- package/dist/wall/paint.d.ts.map +1 -1
- package/dist/wall/paint.js +11 -16
- package/dist/wall/panel-model.d.ts.map +1 -1
- package/dist/wall/panel-model.js +6 -6
- package/dist/wall/panel.d.ts.map +1 -1
- package/dist/wall/panel.js +50 -17
- package/dist/wall/parametrics.d.ts +1 -1
- package/dist/wall/parametrics.js +1 -1
- package/dist/wall/pointer-transparency.d.ts +1 -1
- package/dist/wall/pointer-transparency.d.ts.map +1 -1
- package/dist/wall/preview.d.ts.map +1 -1
- package/dist/wall/property-preview.d.ts.map +1 -1
- package/dist/wall/quick-measurement.js +1 -1
- package/dist/wall/rectangle-command.d.ts +235 -42
- package/dist/wall/rectangle-command.d.ts.map +1 -1
- package/dist/wall/rectangle-tool.js +1 -1
- package/dist/wall/renderer.d.ts.map +1 -1
- package/dist/wall/renderer.js +27 -8
- package/dist/wall/selection-hit-owner.d.ts.map +1 -1
- package/dist/wall/split-floorplan-layer.js +3 -3
- package/dist/wall/split-pointer.js +2 -2
- package/dist/wall/split-preview.d.ts +1 -1
- package/dist/wall/split-session.js +2 -2
- package/dist/wall/split-store.d.ts +1 -1
- package/dist/wall/split-tool.js +3 -3
- package/dist/wall/system.d.ts.map +1 -1
- package/dist/wall/system.js +6 -6
- package/dist/wall/tool.d.ts.map +1 -1
- package/dist/wall/tool.js +9 -4
- package/dist/wall/treatment-level-data.d.ts.map +1 -1
- package/dist/wall/treatments.d.ts +1 -1
- package/dist/wall/treatments.d.ts.map +1 -1
- package/dist/wall/treatments.js +11 -4
- package/dist/wall/wall-batch-system.d.ts.map +1 -1
- package/dist/wall/wall-batch-system.js +47 -5
- package/dist/window/contextual-dimensions.js +1 -1
- package/dist/window/corner-cue.d.ts +9 -0
- package/dist/window/corner-cue.d.ts.map +1 -0
- package/dist/window/corner-cue.js +31 -0
- package/dist/window/corner-fuse.d.ts +14 -0
- package/dist/window/corner-fuse.d.ts.map +1 -0
- package/dist/window/corner-fuse.js +42 -0
- package/dist/window/definition.d.ts +1 -1
- package/dist/window/definition.d.ts.map +1 -1
- package/dist/window/definition.js +31 -26
- package/dist/window/floor-projection.js +1 -1
- package/dist/window/floorplan-affordances.js +2 -2
- package/dist/window/floorplan-move.d.ts.map +1 -1
- package/dist/window/floorplan-move.js +47 -13
- package/dist/window/floorplan.d.ts.map +1 -1
- package/dist/window/floorplan.js +98 -56
- package/dist/window/index.d.ts +2 -2
- package/dist/window/index.js +2 -2
- package/dist/window/mechanism.js +1 -1
- package/dist/window/move-tool.d.ts.map +1 -1
- package/dist/window/move-tool.js +92 -27
- package/dist/window/paint.js +1 -1
- package/dist/window/panel.d.ts.map +1 -1
- package/dist/window/panel.js +108 -18
- package/dist/window/parametrics.d.ts +1 -1
- package/dist/window/parametrics.d.ts.map +1 -1
- package/dist/window/parametrics.js +7 -1
- package/dist/window/placement.d.ts +6 -0
- package/dist/window/placement.d.ts.map +1 -1
- package/dist/window/placement.js +26 -0
- package/dist/window/preview.d.ts +1 -1
- package/dist/window/preview.d.ts.map +1 -1
- package/dist/window/preview.js +1 -1
- package/dist/window/renderer.d.ts.map +1 -1
- package/dist/window/renderer.js +2 -2
- package/dist/window/system.d.ts.map +1 -1
- package/dist/window/system.js +1 -1
- package/dist/window/tool.d.ts.map +1 -1
- package/dist/window/tool.js +113 -28
- package/dist/window/window-math.d.ts +1 -1
- package/dist/window/window-math.js +1 -1
- package/dist/zone/definition.d.ts +1 -1
- package/dist/zone/definition.d.ts.map +1 -1
- package/dist/zone/definition.js +14 -12
- package/dist/zone/floorplan-affordances.d.ts +463 -87
- package/dist/zone/floorplan-affordances.d.ts.map +1 -1
- package/dist/zone/floorplan-affordances.js +1 -1
- package/dist/zone/floorplan-move.js +1 -1
- package/dist/zone/floorplan.js +3 -3
- package/dist/zone/index.d.ts +1 -1
- package/dist/zone/index.js +1 -1
- package/dist/zone/parametrics.js +1 -1
- package/dist/zone/quantities-panel.js +3 -3
- package/dist/zone/quick-measurement.js +1 -1
- package/dist/zone/renderer.d.ts.map +1 -1
- package/dist/zone/renderer.js +10 -2
- package/dist/zone/room-clear-dimensions.js +1 -1
- package/dist/zone/room-documentation.d.ts +1 -1
- package/dist/zone/room-documentation.js +1 -1
- package/dist/zone/system.d.ts.map +1 -1
- package/package.json +26 -13
- package/dist/shared/connection-compatibility.d.ts +0 -8
- package/dist/shared/connection-compatibility.d.ts.map +0 -1
- package/dist/shared/connection-compatibility.js +0 -28
- package/dist/shared/distribution-run-contract.d.ts +0 -49
- package/dist/shared/distribution-run-contract.d.ts.map +0 -1
- package/dist/shared/distribution-run-contract.js +0 -30
- package/dist/shared/distribution-run-tool.d.ts +0 -117
- package/dist/shared/distribution-run-tool.d.ts.map +0 -1
- package/dist/shared/distribution-run-tool.js +0 -986
- package/dist/shared/draw-alignment.d.ts +0 -25
- package/dist/shared/draw-alignment.d.ts.map +0 -1
- package/dist/shared/draw-alignment.js +0 -30
- package/dist/shared/ports.d.ts +0 -92
- package/dist/shared/ports.d.ts.map +0 -1
- package/dist/shared/ports.js +0 -305
- package/dist/shared/run-cursor.d.ts +0 -22
- package/dist/shared/run-cursor.d.ts.map +0 -1
- package/dist/shared/run-cursor.js +0 -19
- package/dist/shared/run-direction-feedback.d.ts +0 -20
- package/dist/shared/run-direction-feedback.d.ts.map +0 -1
- package/dist/shared/run-direction-feedback.js +0 -139
- package/dist/shared/run-port-snap.d.ts +0 -11
- package/dist/shared/run-port-snap.d.ts.map +0 -1
- package/dist/shared/run-port-snap.js +0 -19
- package/dist/shared/run-screen-direction.d.ts +0 -5
- package/dist/shared/run-screen-direction.d.ts.map +0 -1
- package/dist/shared/run-screen-direction.js +0 -24
- package/dist/site/setbacks.d.ts +0 -33
- package/dist/site/setbacks.d.ts.map +0 -1
- package/dist/site/setbacks.js +0 -204
package/dist/stair/definition.js
CHANGED
|
@@ -312,12 +312,12 @@ function stairHandles(node) {
|
|
|
312
312
|
return handles;
|
|
313
313
|
}
|
|
314
314
|
import { computeStairSegmentFloorStackTransforms, getStairFloorPlacedFootprints, } from '@pascal-app/core';
|
|
315
|
-
import { buildStairFloorplan } from './floorplan';
|
|
316
|
-
import { curvedStairInnerRadiusAffordance, curvedStairSweepAffordance, curvedStairWidthAffordance, segmentLengthAffordance, segmentWidthAffordance, stairRotateAffordance, } from './floorplan-affordances';
|
|
317
|
-
import { stairFloorplanMoveTarget } from './floorplan-move';
|
|
318
|
-
import { stairPaint } from './paint';
|
|
319
|
-
import { stairParametrics } from './parametrics';
|
|
320
|
-
import { StairNode } from './schema';
|
|
315
|
+
import { buildStairFloorplan } from './floorplan.js';
|
|
316
|
+
import { curvedStairInnerRadiusAffordance, curvedStairSweepAffordance, curvedStairWidthAffordance, segmentLengthAffordance, segmentWidthAffordance, stairRotateAffordance, } from './floorplan-affordances.js';
|
|
317
|
+
import { stairFloorplanMoveTarget } from './floorplan-move.js';
|
|
318
|
+
import { stairPaint } from './paint.js';
|
|
319
|
+
import { stairParametrics } from './parametrics.js';
|
|
320
|
+
import { StairNode } from './schema.js';
|
|
321
321
|
/**
|
|
322
322
|
* Stair — Stage A. Composite node like roof: owns overall framing,
|
|
323
323
|
* `stair-segment` children own per-flight geometry. Wrap-exports the
|
|
@@ -354,6 +354,19 @@ export const stairDefinition = {
|
|
|
354
354
|
return rest;
|
|
355
355
|
},
|
|
356
356
|
capabilities: {
|
|
357
|
+
reveal: { phase: 'circulation', style: 'drop', height: 2.5 },
|
|
358
|
+
revealOnEdit: [
|
|
359
|
+
'stairType',
|
|
360
|
+
'width',
|
|
361
|
+
'totalRise',
|
|
362
|
+
'stepCount',
|
|
363
|
+
'thickness',
|
|
364
|
+
'innerRadius',
|
|
365
|
+
'sweepAngle',
|
|
366
|
+
'railingMode',
|
|
367
|
+
'topLandingDepth',
|
|
368
|
+
],
|
|
369
|
+
hostRefFields: ['destinationSurfaceId'],
|
|
357
370
|
surfacePlacement: 'floor-only',
|
|
358
371
|
selectable: { hitVolume: 'bbox' },
|
|
359
372
|
// A stair has no centred box footprint: straight = a cumulative
|
|
@@ -377,17 +390,18 @@ export const stairDefinition = {
|
|
|
377
390
|
// `shared/move-roof-tool` — routed through `MoveTool`'s registry-
|
|
378
391
|
// affordance lookup rather than a hardcoded dispatcher arm.
|
|
379
392
|
affordanceTools: {
|
|
380
|
-
move: () => import('../shared/move-roof-tool'),
|
|
393
|
+
move: () => import('../shared/move-roof-tool.js'),
|
|
381
394
|
},
|
|
395
|
+
tool: () => import('./tool.js'),
|
|
382
396
|
parametrics: stairParametrics,
|
|
383
397
|
handles: stairHandles,
|
|
384
398
|
rendersChildren: false,
|
|
385
399
|
renderer: {
|
|
386
400
|
kind: 'parametric',
|
|
387
|
-
module: () => import('./renderer'),
|
|
401
|
+
module: () => import('./renderer.js'),
|
|
388
402
|
},
|
|
389
403
|
system: {
|
|
390
|
-
module: () => import('./system'),
|
|
404
|
+
module: () => import('./system.js'),
|
|
391
405
|
priority: 3,
|
|
392
406
|
},
|
|
393
407
|
// Stage C — stair is the parent; it walks its `stair-segment` children
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type FloorplanGeometry, type GeometryContext, type StairNode } from '@pascal-app/core';
|
|
2
|
-
import type { FloorplanStairArrowEntry, FloorplanStairEntry } from './plan-entry';
|
|
2
|
+
import type { FloorplanStairArrowEntry, FloorplanStairEntry } from './plan-entry.js';
|
|
3
3
|
export type StairPlanDirection = 'up' | 'down';
|
|
4
4
|
export declare function resolveStairPlanDirection(stair: StairNode, activeLevelId: string | null | undefined): StairPlanDirection;
|
|
5
5
|
export declare function resolveStraightStairDirectionArrow(entry: FloorplanStairEntry, direction: StairPlanDirection): FloorplanStairArrowEntry | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { resolveStairArcDimensions, resolveStairTotalRise, resolveStairWinder, useScene, } from '@pascal-app/core';
|
|
2
2
|
import { floorplanGeometryMetadata, readFloorplanContext } from '@pascal-app/editor';
|
|
3
|
-
import { formatConstructionLength, } from '../shared/construction-length';
|
|
3
|
+
import { formatConstructionLength, } from '../shared/construction-length.js';
|
|
4
4
|
const ANNOTATION_OFFSET = 0.28;
|
|
5
5
|
const ANNOTATION_FONT_SIZE = 0.125;
|
|
6
6
|
const DIRECTION_FONT_SIZE = 0.16;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createAngleAccumulator, planStairSweepEdit, useLiveNodeOverrides, useScene, } from '@pascal-app/core';
|
|
2
2
|
import { isAngleSnapActive } from '@pascal-app/editor';
|
|
3
|
-
import { rotateAffordanceDelta } from '../shared/rotate-affordance';
|
|
3
|
+
import { rotateAffordanceDelta } from '../shared/rotate-affordance.js';
|
|
4
4
|
const MIN_SEGMENT_WIDTH = 0.001;
|
|
5
5
|
const MIN_SEGMENT_LENGTH = 0.001;
|
|
6
6
|
const MIN_CURVED_WIDTH = 0.001;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"floorplan-move.d.ts","sourceRoot":"","sources":["../../src/stair/floorplan-move.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,mBAAmB,
|
|
1
|
+
{"version":3,"file":"floorplan-move.d.ts","sourceRoot":"","sources":["../../src/stair/floorplan-move.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,mBAAmB,EAKxB,KAAK,SAAS,EAKf,MAAM,kBAAkB,CAAA;AASzB;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,wBAAwB,EAAE,mBAAmB,CAAC,SAAS,CAiJnE,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { collectAlignmentAnchors, movingAlignmentAnchors, snapScalar, useLiveNodeOverrides,
|
|
1
|
+
import { collectAlignmentAnchors, getFloorStackedPosition, movingAlignmentAnchors, resolveStairSurfaceSnap, snapScalar, useLiveNodeOverrides, } from '@pascal-app/core';
|
|
2
2
|
import { applyFloorplanAlignment, getSegmentGridStep, isGridSnapActive, isMagneticSnapActive, } from '@pascal-app/editor';
|
|
3
|
-
import { createFloorplanCursorResolver } from '../shared/floorplan-cursor';
|
|
3
|
+
import { createFloorplanCursorResolver } from '../shared/floorplan-cursor.js';
|
|
4
4
|
/**
|
|
5
5
|
* 2D floor-plan move handler for stair.
|
|
6
6
|
*
|
|
@@ -13,7 +13,10 @@ import { createFloorplanCursorResolver } from '../shared/floorplan-cursor';
|
|
|
13
13
|
* The position previews through the live override store and is written to
|
|
14
14
|
* scene once via `commit()`.
|
|
15
15
|
*/
|
|
16
|
-
export const stairFloorplanMoveTarget = ({ node, nodes }) => {
|
|
16
|
+
export const stairFloorplanMoveTarget = ({ node: picked, nodes, sceneApi, }) => {
|
|
17
|
+
// The stair as the scene holds it now: a surface it sits on may have re-hosted it since
|
|
18
|
+
// it was picked up.
|
|
19
|
+
const node = nodes[picked.id] ?? picked;
|
|
17
20
|
const startY = node.position[1];
|
|
18
21
|
const resolveCursor = createFloorplanCursorResolver({
|
|
19
22
|
original: [node.position[0], node.position[2]],
|
|
@@ -22,8 +25,12 @@ export const stairFloorplanMoveTarget = ({ node, nodes }) => {
|
|
|
22
25
|
// Alignment candidates gathered once — the scene is stable during the drag.
|
|
23
26
|
const candidates = collectAlignmentAnchors(nodes, node.id);
|
|
24
27
|
let lastValid = null;
|
|
28
|
+
const flight = node.children
|
|
29
|
+
.map((id) => nodes[id])
|
|
30
|
+
.find((child) => child?.type === 'stair-segment' && child.segmentType === 'stair');
|
|
31
|
+
let surfaceSnap = null;
|
|
25
32
|
const session = {
|
|
26
|
-
affectedIds: [node.id],
|
|
33
|
+
affectedIds: flight ? [node.id, flight.id] : [node.id],
|
|
27
34
|
apply({ planPoint }) {
|
|
28
35
|
const step = isGridSnapActive() ? getSegmentGridStep() : 0;
|
|
29
36
|
const snap = (value) => (step > 0 ? snapScalar(value, step) : value);
|
|
@@ -36,17 +43,56 @@ export const stairFloorplanMoveTarget = ({ node, nodes }) => {
|
|
|
36
43
|
: [{ nodeId: node.id, kind: 'corner', x: gx, z: gz }], candidates, { applySnap: isMagneticSnapActive() });
|
|
37
44
|
const sx = aligned[0];
|
|
38
45
|
const sz = aligned[1];
|
|
39
|
-
|
|
46
|
+
const sceneNodes = sceneApi?.nodes() ?? nodes;
|
|
47
|
+
const baseElevation = getFloorStackedPosition({
|
|
48
|
+
node,
|
|
49
|
+
nodes: sceneNodes,
|
|
50
|
+
position: [sx, startY, sz],
|
|
51
|
+
rotation: node.rotation,
|
|
52
|
+
levelId: node.parentId,
|
|
53
|
+
})[1];
|
|
54
|
+
surfaceSnap = !isMagneticSnapActive()
|
|
55
|
+
? null
|
|
56
|
+
: resolveStairSurfaceSnap(node, sceneNodes, [sx, startY, sz], flight?.length ?? 3, baseElevation, sceneApi?.installedPlugins?.());
|
|
57
|
+
const position = surfaceSnap?.position ?? [sx, startY, sz];
|
|
58
|
+
if (lastValid &&
|
|
59
|
+
lastValid.position[0] === position[0] &&
|
|
60
|
+
lastValid.position[2] === position[2] &&
|
|
61
|
+
lastValid.rotation === surfaceSnap?.rotation)
|
|
40
62
|
return;
|
|
41
|
-
lastValid = { position:
|
|
42
|
-
|
|
43
|
-
|
|
63
|
+
lastValid = { position, ...(surfaceSnap ? { rotation: surfaceSnap.rotation } : {}) };
|
|
64
|
+
if (!surfaceSnap)
|
|
65
|
+
useLiveNodeOverrides.getState().clear(node.id);
|
|
66
|
+
useLiveNodeOverrides.getState().set(node.id, {
|
|
67
|
+
...lastValid,
|
|
68
|
+
...(surfaceSnap
|
|
69
|
+
? {
|
|
70
|
+
totalRise: surfaceSnap.totalRise,
|
|
71
|
+
stepCount: surfaceSnap.stepCount,
|
|
72
|
+
destinationSurfaceId: surfaceSnap.surfaceId,
|
|
73
|
+
railingMode: 'none',
|
|
74
|
+
}
|
|
75
|
+
: { destinationSurfaceId: undefined }),
|
|
76
|
+
});
|
|
77
|
+
if (flight) {
|
|
78
|
+
if (surfaceSnap)
|
|
79
|
+
useLiveNodeOverrides.getState().set(flight.id, {
|
|
80
|
+
height: surfaceSnap.totalRise,
|
|
81
|
+
length: surfaceSnap.length,
|
|
82
|
+
stepCount: surfaceSnap.stepCount,
|
|
83
|
+
});
|
|
84
|
+
else
|
|
85
|
+
useLiveNodeOverrides.getState().clear(flight.id);
|
|
86
|
+
}
|
|
87
|
+
sceneApi?.markDirty(node.id);
|
|
88
|
+
if (flight)
|
|
89
|
+
sceneApi?.markDirty(flight.id);
|
|
44
90
|
},
|
|
45
91
|
canCommit() {
|
|
46
92
|
// No overlap / placement rules for stairs in 2D — any pointer-up
|
|
47
93
|
// position commits, as long as we actually moved. Mirrors the 3D
|
|
48
94
|
// move tool which also lets stairs land anywhere on the slab.
|
|
49
|
-
return lastValid !== null;
|
|
95
|
+
return lastValid !== null && Boolean(sceneApi?.applyChanges);
|
|
50
96
|
},
|
|
51
97
|
commit() {
|
|
52
98
|
// Own the atomic write so the overlay takes the deterministic
|
|
@@ -55,7 +101,41 @@ export const stairFloorplanMoveTarget = ({ node, nodes }) => {
|
|
|
55
101
|
if (!lastValid)
|
|
56
102
|
return;
|
|
57
103
|
useLiveNodeOverrides.getState().clear(node.id);
|
|
58
|
-
|
|
104
|
+
if (flight)
|
|
105
|
+
useLiveNodeOverrides.getState().clear(flight.id);
|
|
106
|
+
sceneApi?.applyChanges?.({
|
|
107
|
+
update: [
|
|
108
|
+
{
|
|
109
|
+
id: node.id,
|
|
110
|
+
data: {
|
|
111
|
+
...lastValid,
|
|
112
|
+
...(surfaceSnap
|
|
113
|
+
? {
|
|
114
|
+
totalRise: surfaceSnap.totalRise,
|
|
115
|
+
stepCount: surfaceSnap.stepCount,
|
|
116
|
+
slabOpeningMode: 'none',
|
|
117
|
+
destinationSurfaceId: surfaceSnap.surfaceId,
|
|
118
|
+
railingMode: 'none',
|
|
119
|
+
}
|
|
120
|
+
: node.destinationSurfaceId
|
|
121
|
+
? { destinationSurfaceId: undefined }
|
|
122
|
+
: {}),
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
...(surfaceSnap && flight
|
|
126
|
+
? [
|
|
127
|
+
{
|
|
128
|
+
id: flight.id,
|
|
129
|
+
data: {
|
|
130
|
+
height: surfaceSnap.totalRise,
|
|
131
|
+
length: surfaceSnap.length,
|
|
132
|
+
stepCount: surfaceSnap.stepCount,
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
|
+
]
|
|
136
|
+
: []),
|
|
137
|
+
],
|
|
138
|
+
});
|
|
59
139
|
},
|
|
60
140
|
};
|
|
61
141
|
return session;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { FloorplanGeometry, GeometryContext, StairNode } from '@pascal-app/core';
|
|
2
2
|
/** The stair parent emits its complete cumulative segment chain. */
|
|
3
|
-
export declare function buildStairFloorplan(
|
|
3
|
+
export declare function buildStairFloorplan(rawStair: StairNode, ctx: GeometryContext): FloorplanGeometry | null;
|
|
4
4
|
//# sourceMappingURL=floorplan.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"floorplan.d.ts","sourceRoot":"","sources":["../../src/stair/floorplan.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EAEjB,eAAe,EACf,SAAS,EAEV,MAAM,kBAAkB,CAAA;AAiCzB,oEAAoE;AACpE,wBAAgB,mBAAmB,CACjC,
|
|
1
|
+
{"version":3,"file":"floorplan.d.ts","sourceRoot":"","sources":["../../src/stair/floorplan.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EAEjB,eAAe,EACf,SAAS,EAEV,MAAM,kBAAkB,CAAA;AAiCzB,oEAAoE;AACpE,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,SAAS,EACnB,GAAG,EAAE,eAAe,GACnB,iBAAiB,GAAG,IAAI,CAoiB1B"}
|
package/dist/stair/floorplan.js
CHANGED
|
@@ -5,12 +5,31 @@ import { computeSegmentTransforms, measureStairDetail, resolveStairArcDimensions
|
|
|
5
5
|
// curved-arrow gizmo would sit at the matching world point.
|
|
6
6
|
const STAIR_ROTATE_PLAN_OFFSET = 0.4;
|
|
7
7
|
import { buildSvgAnnularSectorPath, buildSvgArcPath, buildSvgArrowHeadPoints, floorplanGeometryMetadata, getArcPlanPoint, } from '@pascal-app/editor';
|
|
8
|
-
import { buildStairDocumentation, resolveStairPlanDirection, resolveStraightStairDirectionArrow, stairPlanBreakStep, } from './documentation';
|
|
9
|
-
import { buildFloorplanStairEntry } from './plan-entry';
|
|
8
|
+
import { buildStairDocumentation, resolveStairPlanDirection, resolveStraightStairDirectionArrow, stairPlanBreakStep, } from './documentation.js';
|
|
9
|
+
import { buildFloorplanStairEntry } from './plan-entry.js';
|
|
10
10
|
/** The stair parent emits its complete cumulative segment chain. */
|
|
11
|
-
export function buildStairFloorplan(
|
|
12
|
-
const
|
|
13
|
-
|
|
11
|
+
export function buildStairFloorplan(rawStair, ctx) {
|
|
12
|
+
const parent = ctx.parent;
|
|
13
|
+
let stair = rawStair;
|
|
14
|
+
if (parent && parent.id === rawStair.destinationSurfaceId && parent.position && parent.rotation) {
|
|
15
|
+
const angle = parent.rotation[1];
|
|
16
|
+
const c = Math.cos(angle), s = Math.sin(angle);
|
|
17
|
+
const [x, y, z] = rawStair.position;
|
|
18
|
+
stair = {
|
|
19
|
+
...rawStair,
|
|
20
|
+
parentId: parent.parentId ?? null,
|
|
21
|
+
position: [
|
|
22
|
+
parent.position[0] + c * x + s * z,
|
|
23
|
+
parent.position[1] + y,
|
|
24
|
+
parent.position[2] - s * x + c * z,
|
|
25
|
+
],
|
|
26
|
+
rotation: rawStair.rotation + angle,
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
const segments = (ctx.children ?? [])
|
|
30
|
+
.map((child) => ctx.resolve(child.id) ?? child)
|
|
31
|
+
.filter((child) => child.type === 'stair-segment' && child.visible !== false);
|
|
32
|
+
const detail = measureStairDetail(stair, segments);
|
|
14
33
|
const entry = buildFloorplanStairEntry(stair, segments, !!detail.error);
|
|
15
34
|
if (!entry)
|
|
16
35
|
return null;
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
* into a post standing there; `topPost: false` then omits the top post.
|
|
35
35
|
* `postThrough` runs the posts past the cap with a small cap of their own.
|
|
36
36
|
*/
|
|
37
|
-
import { type GuardBox, type GuardRail, type Vec3 } from './guard-path';
|
|
37
|
+
import { type GuardBox, type GuardRail, type Vec3 } from './guard-path.js';
|
|
38
38
|
export type GlassGuardOptions = {
|
|
39
39
|
railHeight: number;
|
|
40
40
|
/** Metres between posts along the run; omit (or Infinity) for ends only. */
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
* into a post standing there; `topPost: false` then omits the top post.
|
|
35
35
|
* `postThrough` runs the posts past the cap with a small cap of their own.
|
|
36
36
|
*/
|
|
37
|
-
import { add, barBox, buildGuardChassis, horizontalLength, scale, sub, } from './guard-path';
|
|
37
|
+
import { add, barBox, buildGuardChassis, horizontalLength, scale, sub, } from './guard-path.js';
|
|
38
38
|
// Dressed glass balustrade, in metres.
|
|
39
39
|
const POST = 0.0381; // a slim 1½ in square stainless post
|
|
40
40
|
const POST_EMBED = 0.05; // the post foot runs this far below the nosing line
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guard-path.d.ts","sourceRoot":"","sources":["../../src/stair/guard-path.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,MAAM,MAAM,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAA;AAE3C,gFAAgF;AAChF,MAAM,MAAM,QAAQ,GAAG;IACrB,kBAAkB;IAClB,MAAM,EAAE,IAAI,CAAA;IACZ,qEAAqE;IACrE,IAAI,EAAE,IAAI,CAAA;IACV,gFAAgF;IAChF,SAAS,EAAE,IAAI,CAAA;IACf;;0BAEsB;IACtB,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,CAAA;AAED,eAAO,MAAM,EAAE,EAAE,IAAgB,CAAA;AAEjC,eAAO,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"guard-path.d.ts","sourceRoot":"","sources":["../../src/stair/guard-path.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,MAAM,MAAM,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAA;AAE3C,gFAAgF;AAChF,MAAM,MAAM,QAAQ,GAAG;IACrB,kBAAkB;IAClB,MAAM,EAAE,IAAI,CAAA;IACZ,qEAAqE;IACrE,IAAI,EAAE,IAAI,CAAA;IACV,gFAAgF;IAChF,SAAS,EAAE,IAAI,CAAA;IACf;;0BAEsB;IACtB,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,CAAA;AAED,eAAO,MAAM,EAAE,EAAE,IAAgB,CAAA;AAEjC,eAAO,MAAM,GAAG,MAAO,IAAI,KAAK,IAAI,KAAG,IAA+C,CAAA;AACtF,eAAO,MAAM,GAAG,MAAO,IAAI,KAAK,IAAI,KAAG,IAA+C,CAAA;AACtF,eAAO,MAAM,KAAK,MAAO,IAAI,KAAK,MAAM,KAAG,IAAsC,CAAA;AACjF,eAAO,MAAM,IAAI,MAAO,IAAI,KAAK,IAAI,KAAK,MAAM,KAAG,IAAmC,CAAA;AACtF,eAAO,MAAM,gBAAgB,MAAO,IAAI,WAA2B,CAAA;AAEnE,uFAAuF;AACvF,wBAAgB,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,QAAQ,GAAG,IAAI,CAStF;AAED,4EAA4E;AAC5E,wBAAgB,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,QAAQ,CAM3E;AAED;0CAC0C;AAC1C,MAAM,MAAM,SAAS,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAA;AAEvE;gFACgF;AAChF,wBAAgB,QAAQ,CACtB,UAAU,EAAE,IAAI,EAAE,EAClB,QAAQ,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,OAAO,EAChC,KAAK,EAAE,SAAS,EAAE,GACjB,QAAQ,EAAE,CAuBZ;AAED;;6CAE6C;AAC7C,eAAO,MAAM,eAAe,QAAc,CAAA;AAE1C,MAAM,MAAM,gBAAgB,GAAG;IAC7B,6EAA6E;IAC7E,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,uEAAuE;IACvE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iEAAiE;IACjE,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB,CAAA;AAED,MAAM,MAAM,SAAS;AACnB;qEACqE;AACnE;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,EAAE,EAAE,IAAI,CAAC;IAAC,EAAE,EAAE,IAAI,CAAA;CAAE,GACrC;IACE,IAAI,EAAE,MAAM,CAAA;IACZ,+CAA+C;IAC/C,GAAG,EAAE,MAAM,CAAA;IACX,oEAAoE;IACpE,UAAU,EAAE,IAAI,EAAE,CAAA;IAClB,yDAAyD;IACzD,OAAO,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IAC5B,yEAAyE;IACzE,QAAQ,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,OAAO,CAAA;IAChC,yDAAyD;IACzD,aAAa,EAAE,IAAI,EAAE,CAAA;IACrB,6DAA6D;IAC7D,YAAY,EAAE,MAAM,EAAE,CAAA;IACtB,wEAAwE;IACxE,cAAc,EAAE,IAAI,EAAE,CAAA;CACvB,CAAA;AAEL;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,IAAI,EAAE,EAAE,OAAO,EAAE,gBAAgB,GAAG,SAAS,GAAG,IAAI,CAoG5F;AAED,eAAO,MAAM,kBAAkB,SAAS,CAAA;AACxC,eAAO,MAAM,kBAAkB,QAAQ,CAAA;AAEvC,MAAM,MAAM,YAAY,GAAG;IACzB,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,QAAQ,CAAA;CACrD,CAAA;AAED,qFAAqF;AACrF,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,IAAI,EAAE,EACd,OAAO,EAAE,YAAY,EACrB,KAAK,EAAE,SAAS,EAAE,EAClB,OAAO,EAAE,WAAW,EACpB,QAAQ,GAAE,IAAI,CACZ,gBAAgB,EAChB,aAAa,GAAG,aAAa,GAAG,gBAAgB,GAAG,gBAAgB,CAC/D;;;SAwBP;AAED,wBAAgB,YAAY,CAC1B,IAAI,EAAE,OAAO,CAAC,SAAS,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,EAC1C,KAAK,EAAE,MAAM,EACb,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,MAAM,GACV,QAAQ,EAAE,CAaZ"}
|
package/dist/stair/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { stairDefinition } from './definition';
|
|
1
|
+
export { stairDefinition } from './definition.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/stair/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { stairDefinition } from './definition';
|
|
1
|
+
export { stairDefinition } from './definition.js';
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
* die into a post standing there; `topPost: false` then omits the top post.
|
|
21
21
|
* `postThrough` runs the posts past the top rail with a small cap of their own.
|
|
22
22
|
*/
|
|
23
|
-
import { type GuardBox, type GuardRail, type Vec3 } from './guard-path';
|
|
23
|
+
import { type GuardBox, type GuardRail, type Vec3 } from './guard-path.js';
|
|
24
24
|
export type MetalGuardOptions = {
|
|
25
25
|
railHeight: number;
|
|
26
26
|
/** Metres between posts along the run; omit (or Infinity) for ends only. */
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
* die into a post standing there; `topPost: false` then omits the top post.
|
|
21
21
|
* `postThrough` runs the posts past the top rail with a small cap of their own.
|
|
22
22
|
*/
|
|
23
|
-
import { buildGuardChassis, guardPickets, } from './guard-path';
|
|
23
|
+
import { buildGuardChassis, guardPickets, } from './guard-path.js';
|
|
24
24
|
// Fabricated steel guardrail, in metres.
|
|
25
25
|
const POST = 0.04; // a slim 1½ in square steel post
|
|
26
26
|
const BASEPLATE_W = 0.1; // the welded foot plate that mounts the post…
|
package/dist/stair/paint.d.ts
CHANGED
|
@@ -2,17 +2,24 @@ import { type AnyNode, type PaintPreviewArgs, type PaintResolveArgs } from '@pas
|
|
|
2
2
|
export declare const stairPaint: import("@pascal-app/core").PaintCapability;
|
|
3
3
|
declare const segmentPaint: import("@pascal-app/core").PaintCapability;
|
|
4
4
|
export declare const stairSegmentPaint: {
|
|
5
|
+
materialTarget?: import("@pascal-app/core").MaterialTarget;
|
|
6
|
+
roomScope?: boolean;
|
|
7
|
+
resolveRole: (args: PaintResolveArgs) => string | null;
|
|
8
|
+
roleLabel?: (node: AnyNode, role: string) => string | null;
|
|
9
|
+
buildPatch: (args: import("@pascal-app/core").PaintPatchArgs) => Partial<AnyNode>;
|
|
10
|
+
commit?: (args: import("@pascal-app/core").PaintPatchArgs) => void;
|
|
11
|
+
applyPreview: (args: PaintPreviewArgs) => (() => void) | null;
|
|
5
12
|
getEffectiveMaterial: (args: Parameters<NonNullable<typeof segmentPaint.getEffectiveMaterial>>[0]) => {
|
|
6
13
|
material: {
|
|
7
14
|
id?: string | undefined;
|
|
8
|
-
preset?: "
|
|
15
|
+
preset?: "brick" | "concrete" | "custom" | "glass" | "marble" | "metal" | "plaster" | "tile" | "white" | "wood" | undefined;
|
|
9
16
|
properties?: {
|
|
10
17
|
color: string;
|
|
11
18
|
roughness: number;
|
|
12
19
|
metalness: number;
|
|
13
20
|
opacity: number;
|
|
14
21
|
transparent: boolean;
|
|
15
|
-
side: "
|
|
22
|
+
side: "back" | "double" | "front";
|
|
16
23
|
} | undefined;
|
|
17
24
|
texture?: {
|
|
18
25
|
url: string;
|
|
@@ -22,13 +29,6 @@ export declare const stairSegmentPaint: {
|
|
|
22
29
|
} | undefined;
|
|
23
30
|
materialPreset: string | undefined;
|
|
24
31
|
} | null;
|
|
25
|
-
materialTarget?: import("@pascal-app/core").MaterialTargetValue;
|
|
26
|
-
roomScope?: boolean;
|
|
27
|
-
resolveRole: (args: PaintResolveArgs) => string | null;
|
|
28
|
-
roleLabel?: (node: AnyNode, role: string) => string | null;
|
|
29
|
-
buildPatch: (args: import("@pascal-app/core").PaintPatchArgs) => Partial<AnyNode>;
|
|
30
|
-
commit?: (args: import("@pascal-app/core").PaintPatchArgs) => void;
|
|
31
|
-
applyPreview: (args: PaintPreviewArgs) => (() => void) | null;
|
|
32
32
|
};
|
|
33
33
|
export {};
|
|
34
34
|
//# sourceMappingURL=paint.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paint.d.ts","sourceRoot":"","sources":["../../src/stair/paint.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,OAAO,EAGZ,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EAMtB,MAAM,kBAAkB,CAAA;AAwHzB,eAAO,MAAM,UAAU,4CAKrB,CAAA;AAEF,QAAA,MAAM,YAAY,4CAMhB,CAAA;AACF,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"paint.d.ts","sourceRoot":"","sources":["../../src/stair/paint.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,OAAO,EAGZ,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EAMtB,MAAM,kBAAkB,CAAA;AAwHzB,eAAO,MAAM,UAAU,4CAKrB,CAAA;AAEF,QAAA,MAAM,YAAY,4CAMhB,CAAA;AACF,eAAO,MAAM,iBAAiB;;;;;;;;iCAGpB,UAAU,CAAC,WAAW,CAAC,OAAO,YAAY,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;CAa7E,CAAA"}
|
package/dist/stair/paint.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getEffectiveStairSurfaceMaterial, parseMaterialRef, } from '@pascal-app/core';
|
|
2
|
-
import { buildSlotPreviewMaterial, createSlotPaintCapability, declaredSlotLook, } from '../shared/slot-paint';
|
|
3
|
-
import { swapPreviewMaterial } from '../shared/swap-preview-material';
|
|
2
|
+
import { buildSlotPreviewMaterial, createSlotPaintCapability, declaredSlotLook, } from '../shared/slot-paint.js';
|
|
3
|
+
import { swapPreviewMaterial } from '../shared/swap-preview-material.js';
|
|
4
4
|
function isStairSlotId(value) {
|
|
5
5
|
return value === 'treads' || value === 'body' || value === 'railing' || value === 'infill';
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"panel.d.ts","sourceRoot":"","sources":["../../src/stair/panel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"panel.d.ts","sourceRoot":"","sources":["../../src/stair/panel.tsx"],"names":[],"mappings":"AA4FA,MAAM,CAAC,OAAO,UAAU,UAAU,uCAo4BjC"}
|
package/dist/stair/panel.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import {
|
|
3
|
-
import { getLevelDisplayName, measureStair, planStairPreset, planStairRiseEdit, planStairSizingEdit, proposeStairLayouts, resolveStairArcDimensions, resolveStairTotalRise, runAsSingleSceneHistoryStep, StairSegmentNode as StairSegmentNodeSchema, useScene, } from '@pascal-app/core';
|
|
2
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { getBoundarySurfaces, getLevelDisplayName, measureStair, planStairPreset, planStairRiseEdit, planStairSizingEdit, proposeStairLayouts, resolveStairArcDimensions, resolveStairTotalRise, runAsSingleSceneHistoryStep, StairSegmentNode as StairSegmentNodeSchema, useRegistryVersion, useScene, } from '@pascal-app/core';
|
|
4
4
|
import { ActionButton, ActionGroup, duplicateNodeAndPickUp, formatLinearMeasurement, getStairLevelOptions, MetricControl, PanelSection, PanelWrapper, resolveStairDestinationLevel, resolveStairFromLevelId, resolveStairToLevelId, SegmentedControl, SelectControl, SliderControl, ToggleControl, triggerSFX, useEditor, } from '@pascal-app/editor';
|
|
5
5
|
import { useViewer } from '@pascal-app/viewer';
|
|
6
6
|
import { Copy, Move, Plus, Trash2 } from 'lucide-react';
|
|
7
7
|
import { useCallback, useMemo, useState } from 'react';
|
|
8
8
|
import { useShallow } from 'zustand/react/shallow';
|
|
9
|
-
import { StairConstructionControls } from './construction-controls';
|
|
10
|
-
import { getStairDestinationUpdates } from './destination';
|
|
11
|
-
import { StairRailingControls } from './railing-controls';
|
|
12
|
-
import { getStairTypeChange } from './stair-type';
|
|
9
|
+
import { StairConstructionControls } from './construction-controls.js';
|
|
10
|
+
import { getStairDestinationUpdates } from './destination.js';
|
|
11
|
+
import { StairRailingControls } from './railing-controls.js';
|
|
12
|
+
import { getStairTypeChange } from './stair-type.js';
|
|
13
13
|
const RAILING_MODE_OPTIONS = [
|
|
14
14
|
{ label: 'None', value: 'none' },
|
|
15
15
|
{ label: 'Left', value: 'left' },
|
|
@@ -56,6 +56,8 @@ export default function StairPanel() {
|
|
|
56
56
|
const [walkingLineOffset, setWalkingLineOffset] = useState(0.5);
|
|
57
57
|
const [division, setDivision] = useState('equal-going');
|
|
58
58
|
const [riseError, setRiseError] = useState(null);
|
|
59
|
+
const installedPlugins = useScene((s) => s.installedPlugins);
|
|
60
|
+
useRegistryVersion();
|
|
59
61
|
const node = useScene((s) => selectedId ? s.nodes[selectedId] : undefined);
|
|
60
62
|
const levels = useMemo(() => (node?.type === 'stair' ? getStairLevelOptions(nodes, node) : []), [node, nodes]);
|
|
61
63
|
const candidateDecks = useMemo(() => {
|
|
@@ -310,6 +312,13 @@ export default function StairPanel() {
|
|
|
310
312
|
.filter((segment) => segment.segmentType === 'landing')
|
|
311
313
|
.reduce((sum, segment) => sum + segment.height, 0)
|
|
312
314
|
: 0) + 0.001);
|
|
315
|
+
const surfaceLevelId = node.destinationSurfaceId && node.parentId === node.destinationSurfaceId
|
|
316
|
+
? nodes[node.parentId]?.parentId
|
|
317
|
+
: node.parentId;
|
|
318
|
+
const boundarySurfaces = getBoundarySurfaces(nodes, surfaceLevelId, installedPlugins);
|
|
319
|
+
const connectedSurface = node.destinationSurfaceId
|
|
320
|
+
? nodes[node.destinationSurfaceId]
|
|
321
|
+
: undefined;
|
|
313
322
|
return (_jsxs(PanelWrapper, { icon: "/icons/stairs.webp", onClose: handleClose, title: node.name || 'Staircase', width: 300, children: [_jsx(PanelSection, { title: "Type", children: _jsx(SegmentedControl, { onChange: handleStairTypeChange, options: STAIR_TYPE_OPTIONS, value: node.stairType ?? 'straight' }) }), _jsxs(PanelSection, { title: "Layout", children: [_jsx(SegmentedControl, { value: presetTurn, onChange: setPresetTurn, options: [
|
|
314
323
|
{ label: 'Left turn', value: 'left' },
|
|
315
324
|
{ label: 'Right turn', value: 'right' },
|
|
@@ -336,10 +345,15 @@ export default function StairPanel() {
|
|
|
336
345
|
? 'Not evaluated'
|
|
337
346
|
: measurements.headroom.minimum === null
|
|
338
347
|
? 'No overhead surface'
|
|
339
|
-
: formatLinearMeasurement(measurements.headroom.minimum, unit, metricNotation)] }), _jsx("div", { className: "text-muted-foreground", children: "Floors, ceilings and stairs only." })] })] }), [...new Set(measurements.diagnostics.map((diagnostic) => diagnostic.message))].map((message) => (_jsx("div", { role: "status", className: "rounded-lg bg-muted/40 px-3 py-2 text-xs text-muted-foreground", children: message }, message))), _jsxs("details", { className: "space-y-3", children: [_jsx("summary", { className: "cursor-pointer px-1 py-2 text-xs text-muted-foreground", children: "Design targets" }), _jsx(MetricControl, { label: "Target max riser", unit: "m", precision: 3, step: 0.005, min: 0.001, value: measurements.targets.maxRiserHeight, onChange: (value) => handleUpdate({ designTargets: { ...measurements.targets, maxRiserHeight: value } }) }), _jsx(MetricControl, { label: "Target minimum going", unit: "m", precision: 3, step: 0.01, min: 0.001, value: measurements.targets.minimumGoing, onChange: (value) => handleUpdate({ designTargets: { ...measurements.targets, minimumGoing: value } }) }), _jsx(MetricControl, { label: "Target going", unit: "m", precision: 3, step: 0.01, min: 0.001, value: measurements.targets.targetGoing, onChange: (value) => handleUpdate({ designTargets: { ...measurements.targets, targetGoing: value } }) }), _jsx(MetricControl, { label: "Target headroom", unit: "m", precision: 2, step: 0.05, min: 0.001, value: measurements.targets.minimumHeadroom, onChange: (value) => handleUpdate({ designTargets: { ...measurements.targets, minimumHeadroom: value } }) })] }), _jsx(ActionButton, { className: "flex-none", label: "Fit uniform risers", onClick: () => applySizing(false) }), _jsx(ActionButton, { className: "flex-none", label: "Fit risers and going", onClick: () => applySizing(true) })] }),
|
|
348
|
+
: formatLinearMeasurement(measurements.headroom.minimum, unit, metricNotation)] }), _jsx("div", { className: "text-muted-foreground", children: "Floors, ceilings and stairs only." })] })] }), [...new Set(measurements.diagnostics.map((diagnostic) => diagnostic.message))].map((message) => (_jsx("div", { role: "status", className: "rounded-lg bg-muted/40 px-3 py-2 text-xs text-muted-foreground", children: message }, message))), _jsxs("details", { className: "space-y-3", children: [_jsx("summary", { className: "cursor-pointer px-1 py-2 text-xs text-muted-foreground", children: "Design targets" }), _jsx(MetricControl, { label: "Target max riser", unit: "m", precision: 3, step: 0.005, min: 0.001, value: measurements.targets.maxRiserHeight, onChange: (value) => handleUpdate({ designTargets: { ...measurements.targets, maxRiserHeight: value } }) }), _jsx(MetricControl, { label: "Target minimum going", unit: "m", precision: 3, step: 0.01, min: 0.001, value: measurements.targets.minimumGoing, onChange: (value) => handleUpdate({ designTargets: { ...measurements.targets, minimumGoing: value } }) }), _jsx(MetricControl, { label: "Target going", unit: "m", precision: 3, step: 0.01, min: 0.001, value: measurements.targets.targetGoing, onChange: (value) => handleUpdate({ designTargets: { ...measurements.targets, targetGoing: value } }) }), _jsx(MetricControl, { label: "Target headroom", unit: "m", precision: 2, step: 0.05, min: 0.001, value: measurements.targets.minimumHeadroom, onChange: (value) => handleUpdate({ designTargets: { ...measurements.targets, minimumHeadroom: value } }) })] }), _jsx(ActionButton, { className: "flex-none", label: "Fit uniform risers", onClick: () => applySizing(false) }), _jsx(ActionButton, { className: "flex-none", label: "Fit risers and going", onClick: () => applySizing(true) })] }), node.stairType === 'straight' &&
|
|
349
|
+
(boundarySurfaces.length > 0 || node.destinationSurfaceId) && (_jsx(PanelSection, { title: "Surface connection", children: _jsxs("div", { className: "space-y-2", children: [_jsx(ToggleControl, { checked: node.autoSurfaceSnap !== false, label: "Snap to nearby surfaces", onChange: (checked) => handleUpdate({ autoSurfaceSnap: checked }) }), _jsx("p", { className: "px-1 text-[11px] text-muted-foreground", children: node.autoSurfaceSnap !== false
|
|
350
|
+
? connectedSurface
|
|
351
|
+
? `Connected to ${connectedSurface.name || 'surface'}. Move the stair to connect to another edge.`
|
|
352
|
+
: 'Drag near a deck, patio, concrete slab, or landing edge to fit the stair.'
|
|
353
|
+
: 'Moving this stair keeps its current rise, steps, and run.' })] }) })), _jsx(PanelSection, { title: "Opening", children: _jsxs("div", { className: "space-y-3", children: [attachedDeck ? null : (_jsx(ToggleControl, { checked: (node.slabOpeningMode ?? 'none') === 'destination', label: "Auto Cutout", onChange: handleAutoCutoutChange })), _jsxs("div", { className: "space-y-1.5", children: [_jsx("div", { className: "px-1 text-[11px] text-muted-foreground uppercase tracking-[0.14em]", children: "From Level" }), _jsx("select", { className: "h-9 w-full rounded-lg border border-border/50 bg-black/4 dark:bg-[#2C2C2E] px-3 text-foreground text-sm", onChange: (event) => handleFromLevelChange(event.target.value), value: resolvedFromLevelId ?? '', children: levels.map((level) => (_jsx("option", { value: level.id, children: getLevelDisplayName(level) }, level.id))) })] }), _jsxs("div", { className: "space-y-1.5", children: [_jsx("div", { className: "px-1 text-[11px] text-muted-foreground uppercase tracking-[0.14em]", children: "To" }), _jsxs("select", { className: "h-9 w-full rounded-lg border border-border/50 bg-black/4 dark:bg-[#2C2C2E] px-3 text-foreground text-sm", onChange: (event) => handleDestinationChange(event.target.value), value: attachedDeck ? attachedDeck.id : (resolvedToLevelId ?? ''), children: [levels.map((level) => (_jsx("option", { value: level.id, children: getLevelDisplayName(level) }, level.id))), candidateDecks.map((deck) => (_jsx("option", { value: deck.id, children: deck.name || 'Deck' }, deck.id)))] })] }), _jsxs("div", { className: "space-y-1.5", children: [_jsx("div", { className: "px-1 text-[11px] text-muted-foreground uppercase tracking-[0.14em]", children: "Rise" }), _jsx(SegmentedControl, { onChange: (value) => handleUpdate(value === 'custom' ? { totalRise: resolvedRise } : { totalRise: undefined }), options: [
|
|
340
354
|
{ label: attachedDeck ? 'Follows deck' : 'Follows level', value: 'follows' },
|
|
341
355
|
{ label: 'Custom rise', value: 'custom' },
|
|
342
|
-
], value: node.totalRise == null ? 'follows' : 'custom' }), node.totalRise == null ? (_jsxs("div", { className: "px-1 text-[11px] text-muted-foreground", children: ["Currently ", formatLinearMeasurement(resolvedRise, unit, metricNotation)] })) : (_jsx(MetricControl, { label: "Rise", min: minimumRise, onChange: (value) => handleUpdate({ totalRise: value }), precision: 2, step: 0.05, unit: "m", value: resolvedRise }))] }), riseError?.id === node.id ? (_jsx("div", { role: "alert", className: "text-destructive text-xs", children: riseError.message })) : null, attachedDeck ? null : (_jsxs(_Fragment, { children: [_jsx(SegmentedControl, { onChange: (value) => handleAutoCutoutChange(value === 'destination'), options: STAIR_SLAB_OPENING_OPTIONS, value: node.slabOpeningMode ?? 'none' }), (node.slabOpeningMode ?? 'none') === 'destination' ? (_jsx(MetricControl, { label: "Opening Offset", min: 0, onChange: (value) => handleUpdate({ openingOffset: value }), precision: 2, step: 0.01, unit: "m", value: node.openingOffset ?? 0 })) : null] })), node.stairType === 'spiral' && (_jsxs(_Fragment, { children: [_jsxs("div", { className: "space-y-1.5", children: [_jsx("div", { className: "px-1 text-[11px] text-muted-foreground uppercase tracking-[0.14em]", children: "Landing" }), _jsx(SegmentedControl, { onChange: (value) => handleUpdate({ topLandingMode: value }), options: TOP_LANDING_MODE_OPTIONS, value: node.topLandingMode ?? 'none' })] }), (node.topLandingMode ?? 'none') === 'integrated' && (_jsx(MetricControl, { label: "Top Landing", max: Math.PI * 2 * resolveStairArcDimensions(node, resolvedRise).walkingRadius, min: 0.001, onChange: (value) => handleUpdate({ topLandingDepth: value }), precision: 2, step: 0.05, unit: "m", value: node.topLandingDepth ?? 0.9 }))] }))] }) }), node.stairType === 'straight' && (_jsxs(PanelSection, { title: "Segments", children: [_jsx("div", { className: "flex flex-col gap-1", children: segments.map((seg, i) => (_jsxs("button", { className: "flex items-center justify-between rounded-lg border border-border/50 bg-[#2C2C2E] px-3 py-2 text-foreground text-sm transition-colors hover:bg-[#3e3e3e]", onClick: () => handleSelectSegment(seg.id), type: "button", children: [_jsx("span", { className: "truncate", children: seg.name || `Segment ${i + 1}` }), _jsx("span", { className: "text-muted-foreground text-xs capitalize", children: seg.segmentType })] }, seg.id))) }), _jsxs("div", { className: "flex gap-1.5", children: [_jsx(ActionButton, { icon: _jsx(Plus, { className: "h-3.5 w-3.5" }), label: "Add flight", onClick: handleAddFlight }), _jsx(ActionButton, { icon: _jsx(Plus, { className: "h-3.5 w-3.5" }), label: "Add landing", onClick: handleAddLanding })] })] })), (node.stairType === 'curved' || node.stairType === 'spiral') && (_jsxs(PanelSection, { title: "Geometry", children: [_jsx(MetricControl, { label: "Width", min: 0.001, onChange: (value) => handleUpdate({ width: value }), precision: 2, step: 0.05, unit: "m", value: node.width ?? 1 }), _jsx(MetricControl, { label: "Steps", min: 2, onChange: (value) => handleUpdate({ stepCount: Math.max(2, Math.round(value)) }), precision: 0, step: 1, unit: "", value: Math.max(2, Math.round(node.stepCount ?? 10)) }), node.stairType !== 'spiral' && (_jsx(ToggleControl, { checked: node.fillToFloor ?? true, label: "Fit To Floor", onChange: (checked) => handleUpdate({ fillToFloor: checked }) })), (node.stairType === 'spiral' || !(node.fillToFloor ?? true)) && (_jsx(MetricControl, { label: "Thickness", min: 0.001, onChange: (value) => handleUpdate({ thickness: value }), precision: 2, step: 0.01, unit: "m", value: node.thickness ?? 0.25 })), _jsx(MetricControl, { label: "Inner Radius", min: 0.001, onChange: (value) => handleUpdate({ innerRadius: value }), precision: 2, step: 0.05, unit: "m", value: node.innerRadius ?? 0.9 }), _jsx(SegmentedControl, { value: node.sweepAngle < 0 ? 'negative' : 'positive', onChange: (value) => handleUpdate({
|
|
356
|
+
], value: node.totalRise == null ? 'follows' : 'custom' }), node.totalRise == null ? (_jsxs("div", { className: "px-1 text-[11px] text-muted-foreground", children: ["Currently ", formatLinearMeasurement(resolvedRise, unit, metricNotation)] })) : (_jsx(MetricControl, { label: "Rise", min: minimumRise, onChange: (value) => handleUpdate({ totalRise: value }), precision: 2, step: 0.05, unit: "m", value: resolvedRise }))] }), riseError?.id === node.id ? (_jsx("div", { role: "alert", className: "text-destructive text-xs", children: riseError.message })) : null, attachedDeck ? null : (_jsxs(_Fragment, { children: [_jsx(SegmentedControl, { onChange: (value) => handleAutoCutoutChange(value === 'destination'), options: STAIR_SLAB_OPENING_OPTIONS, value: node.slabOpeningMode ?? 'none' }), (node.slabOpeningMode ?? 'none') === 'destination' ? (_jsx(MetricControl, { label: "Opening Offset", min: 0, onChange: (value) => handleUpdate({ openingOffset: value }), precision: 2, step: 0.01, unit: "m", value: node.openingOffset ?? 0 })) : null] })), node.stairType === 'spiral' && (_jsxs(_Fragment, { children: [_jsxs("div", { className: "space-y-1.5", children: [_jsx("div", { className: "px-1 text-[11px] text-muted-foreground uppercase tracking-[0.14em]", children: "Landing" }), _jsx(SegmentedControl, { onChange: (value) => handleUpdate({ topLandingMode: value }), options: TOP_LANDING_MODE_OPTIONS, value: node.topLandingMode ?? 'none' })] }), (node.topLandingMode ?? 'none') === 'integrated' && (_jsx(MetricControl, { label: "Top Landing", max: Math.PI * 2 * resolveStairArcDimensions(node, resolvedRise).walkingRadius, min: 0.001, onChange: (value) => handleUpdate({ topLandingDepth: value }), precision: 2, step: 0.05, unit: "m", value: node.topLandingDepth ?? 0.9 }))] }))] }) }), node.stairType === 'straight' && (_jsxs(PanelSection, { title: "Segments", children: [_jsx("div", { className: "flex flex-col gap-1", children: segments.map((seg, i) => (_jsxs("button", { className: "flex items-center justify-between rounded-lg border border-border/50 bg-black/4 dark:bg-[#2C2C2E] px-3 py-2 text-foreground text-sm transition-colors hover:bg-black/8 dark:hover:bg-[#3e3e3e]", onClick: () => handleSelectSegment(seg.id), type: "button", children: [_jsx("span", { className: "truncate", children: seg.name || `Segment ${i + 1}` }), _jsx("span", { className: "text-muted-foreground text-xs capitalize", children: seg.segmentType })] }, seg.id))) }), _jsxs("div", { className: "flex gap-1.5", children: [_jsx(ActionButton, { icon: _jsx(Plus, { className: "h-3.5 w-3.5" }), label: "Add flight", onClick: handleAddFlight }), _jsx(ActionButton, { icon: _jsx(Plus, { className: "h-3.5 w-3.5" }), label: "Add landing", onClick: handleAddLanding })] })] })), (node.stairType === 'curved' || node.stairType === 'spiral') && (_jsxs(PanelSection, { title: "Geometry", children: [_jsx(MetricControl, { label: "Width", min: 0.001, onChange: (value) => handleUpdate({ width: value }), precision: 2, step: 0.05, unit: "m", value: node.width ?? 1 }), _jsx(MetricControl, { label: "Steps", min: 2, onChange: (value) => handleUpdate({ stepCount: Math.max(2, Math.round(value)) }), precision: 0, step: 1, unit: "", value: Math.max(2, Math.round(node.stepCount ?? 10)) }), node.stairType !== 'spiral' && (_jsx(ToggleControl, { checked: node.fillToFloor ?? true, label: "Fit To Floor", onChange: (checked) => handleUpdate({ fillToFloor: checked }) })), (node.stairType === 'spiral' || !(node.fillToFloor ?? true)) && (_jsx(MetricControl, { label: "Thickness", min: 0.001, onChange: (value) => handleUpdate({ thickness: value }), precision: 2, step: 0.01, unit: "m", value: node.thickness ?? 0.25 })), _jsx(MetricControl, { label: "Inner Radius", min: 0.001, onChange: (value) => handleUpdate({ innerRadius: value }), precision: 2, step: 0.05, unit: "m", value: node.innerRadius ?? 0.9 }), _jsx(SegmentedControl, { value: node.sweepAngle < 0 ? 'negative' : 'positive', onChange: (value) => handleUpdate({
|
|
343
357
|
sweepAngle: Math.abs(node.sweepAngle) * (value === 'negative' ? -1 : 1),
|
|
344
358
|
}), options: [
|
|
345
359
|
{ label: 'Clockwise', value: 'positive' },
|
|
@@ -369,5 +383,5 @@ export default function StairPanel() {
|
|
|
369
383
|
} })] })] }), _jsxs(PanelSection, { title: "Railing", children: [_jsx(StairRailingControls, { node: node, onChange: handleUpdate }), _jsx(SegmentedControl, { onChange: (value) => handleUpdate({ railingMode: value }), options: RAILING_MODE_OPTIONS, value: node.railingMode ?? 'none' }), (node.railingMode ?? 'none') !== 'none' && (_jsxs(_Fragment, { children: [_jsx(SelectControl, { label: "Style", onChange: (value) => handleUpdate({
|
|
370
384
|
railingStyle: value,
|
|
371
385
|
...(value === 'glass' || value === 'metal' ? { railingPath: 'continuous' } : {}),
|
|
372
|
-
}), options: RAILING_STYLE_OPTIONS, value: node.railingStyle ?? 'balusters' }), _jsx(SliderControl, { label: "Height", min: 0.001, onChange: (value) => handleUpdate({ railingHeight: value }), precision: 2, step: 0.02, unit: "m", value: node.railingHeight ?? 0.92 })] }))] }), _jsx(PanelSection, { title: "Actions", children: _jsxs(ActionGroup, { children: [_jsx(ActionButton, { icon: _jsx(Move, { className: "h-3.5 w-3.5" }), label: "Move", onClick: handleMove }), _jsx(ActionButton, { icon: _jsx(Copy, { className: "h-3.5 w-3.5" }), label: "Duplicate", onClick: handleDuplicate }), _jsx(ActionButton, { className: "hover:bg-red-500/20", icon: _jsx(Trash2, { className: "h-3.5 w-3.5 text-red-400" }), label: "Delete", onClick: handleDelete })] }) })] }));
|
|
386
|
+
}), options: RAILING_STYLE_OPTIONS, value: node.railingStyle ?? 'balusters' }), _jsx(SliderControl, { label: "Height", min: 0.001, onChange: (value) => handleUpdate({ railingHeight: value }), precision: 2, step: 0.02, unit: "m", value: node.railingHeight ?? 0.92 })] }))] }), _jsx(PanelSection, { title: "Actions", children: _jsxs(ActionGroup, { children: [_jsx(ActionButton, { icon: _jsx(Move, { className: "h-3.5 w-3.5" }), label: "Move", onClick: handleMove }), _jsx(ActionButton, { icon: _jsx(Copy, { className: "h-3.5 w-3.5" }), label: "Duplicate", onClick: handleDuplicate }), _jsx(ActionButton, { className: "hover:bg-red-500/20", icon: _jsx(Trash2, { className: "h-3.5 w-3.5 text-red-600 dark:text-red-400" }), label: "Delete", onClick: handleDelete })] }) })] }));
|
|
373
387
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { planStairRiseEdit } from '@pascal-app/core';
|
|
2
|
-
import { StairConstructionField } from './construction-controls';
|
|
3
|
-
import { StairRailingField } from './railing-controls';
|
|
2
|
+
import { StairConstructionField } from './construction-controls.js';
|
|
3
|
+
import { StairRailingField } from './railing-controls.js';
|
|
4
4
|
export const stairParametrics = {
|
|
5
5
|
groups: [
|
|
6
6
|
{
|
|
@@ -180,5 +180,5 @@ export const stairParametrics = {
|
|
|
180
180
|
reconcile: (previous, next, nodes) => next.totalRise !== previous.totalRise && next.totalRise !== undefined
|
|
181
181
|
? planStairRiseEdit(next, next.totalRise, nodes).slice(1)
|
|
182
182
|
: [],
|
|
183
|
-
customPanel: () => import('./panel'),
|
|
183
|
+
customPanel: () => import('./panel.js'),
|
|
184
184
|
};
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* die into a post standing there; `topPost: false` then omits the top post.
|
|
15
15
|
* `postThrough` runs the posts past the cap with a small cap of their own.
|
|
16
16
|
*/
|
|
17
|
-
import { type GuardBox, type GuardRail, type Vec3 } from './guard-path';
|
|
17
|
+
import { type GuardBox, type GuardRail, type Vec3 } from './guard-path.js';
|
|
18
18
|
export type PostAndRailGuardOptions = {
|
|
19
19
|
railHeight: number;
|
|
20
20
|
/** Metres between posts along the run; omit (or Infinity) for ends only. */
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* die into a post standing there; `topPost: false` then omits the top post.
|
|
15
15
|
* `postThrough` runs the posts past the cap with a small cap of their own.
|
|
16
16
|
*/
|
|
17
|
-
import { buildGuardChassis, guardPickets, } from './guard-path';
|
|
17
|
+
import { buildGuardChassis, guardPickets, } from './guard-path.js';
|
|
18
18
|
// Dressed deck lumber, in metres.
|
|
19
19
|
const POST = 0.0889; // 4x4
|
|
20
20
|
const POST_EMBED = 0.05; // the post foot runs this far below the nosing line
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import {
|
|
2
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useScene } from '@pascal-app/core';
|
|
4
4
|
import { MetricControl, SegmentedControl, ToggleControl } from '@pascal-app/editor';
|
|
5
5
|
const MODES = [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../../src/stair/renderer.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../../src/stair/renderer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAUL,KAAK,SAAS,EAOf,MAAM,kBAAkB,CAAA;AA2DzB,eAAO,MAAM,aAAa,sBAAuB;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,gCA+JnE,CAAA;eAivCc,aAAa"}
|