Skip to content

spatial-monorepo


spatial-monorepo / core/src / WallBandOptions

Interface: WallBandOptions

Defined in: packages/core/src/layers/wall-bands.ts:82

Properties

baseHeight?

optional baseHeight?: number

Defined in: packages/core/src/layers/wall-bands.ts:92

base_height applied to every generated feature, in metres. Default 0.


doorGapHalfWidth?

optional doorGapHalfWidth?: number

Defined in: packages/core/src/layers/wall-bands.ts:98

Perpendicular half-width of the door-gap cut, in metres. Must exceed the thickest band it needs to fully punch through (a shared wall is ~2×thickness). Default: thickness × 4.


doorHeight?

optional doorHeight?: number

Defined in: packages/core/src/layers/wall-bands.ts:116

Lintel base_height, in metres — the header slab extrudes from this height up to wall_height. Default 2.1 (a standard interior door height). Clamped to [0, wallHeight] so a misconfigured value can never invert or exceed the wall's own top. Only used when doorLintels is true.


doorLintels?

optional doorLintels?: boolean

Defined in: packages/core/src/layers/wall-bands.ts:109

Issue #481 — When true, every door opening additionally produces a wallKind: 'lintel' feature (a header slab from doorHeight up to wall_height) instead of leaving a bare full-height gap there. The gap cut itself (subtracting the opening rectangle from the main wall bands) is unconditional — this flag only controls whether the removed material is also kept as a separate lintel feature, so it is independently toggleable from the base gap behavior. Default false (no lintel features — exact pre-#481 output).


thickness?

optional thickness?: number

Defined in: packages/core/src/layers/wall-bands.ts:88

Inward inset distance per unit boundary, in metres. Two adjacent rooms each contribute this along their shared boundary, so shared walls come out ~2×thickness wide. Default 0.12 (12cm), per the plan doc.


wallHeight?

optional wallHeight?: number

Defined in: packages/core/src/layers/wall-bands.ts:90

wall_height applied to every generated feature, in metres. Default 3.

Released under commercial licensing.