Import
Example
Notes
extractPhysicalWallPlanalso draws the part of a wall that follows a roof (topFollowsRoof) whose top is below the cut. It draws that part asPlanBelowpolylines withsubId: 'beyond'. The function has no view depth, so that part reaches down to the wall base. A storey plan fromdrawProjectViewstops it at the storey floor.- An arc wall that follows a roof and whose sloped top crosses the cut throws an error.
extractPhysicalWallPlan
Extract actual horizontal sections of straight planar wall bodies in metres.projectWorldLinework
Orthographically project supplied 3D segments into right/down drawing metres.drawingFromProfile
Wrap an element’s editableprofile (a closed cross-section ring + holes, in [x, z]) as a single-region VectorDrawing so the 2D engine can render and edit it with the SAME path it uses for plan footprints — i.e.
toLines
Tessellate the standardized primitive vocabulary down to flat line segments: line → 1 segment; arc → N segments; region → outer + hole boundary segments; polyline → its segments (plus the closing one whenclosed); text → none.
boundsOfPrimitives
Bounds include analytic arc extrema and text anchors, without tessellation.boundaryPoint
boundaryBoundsPoints
Includes all angular extrema within a signed sweep, without sampling.arcSegmentCount
validateCurvedRegion
flattenCurvedRegion
Explicit polygon approximation for consumers that require point rings.createLiveSourceResolver
Build a lookup for the current compilation.DEFAULT_ISOMETRIC_CAMERA
DEFAULT_ISOMETRIC_HLR
Types
PhysicalWallPlanOptions
Actual compiler registry; only supplied wall identities become selectable.