Skip to main content

Import

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 editable profile (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 when closed); 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

ReadonlyMap<string, BuildingSourceRef>
Actual compiler registry; only supplied wall identities become selectable.

ViewFrame

Orthographic frame in metres.

WorldLineSegment

A caller-supplied world-space segment and its independent drawing metadata.
Point3D
required
Point3D
required
DrawingSourceRef
Saved feature identity and interaction policy; never inferred from style.
DrawingStyle
boolean
The caller identifies generated cut linework; this helper does not find cuts.

PlanProjectionCamera

PlanProjectionHlr

Last modified on October 6, 2026