Skip to Content
Bear documentation

construction

Import from bear/engine/construction.

Functions

construction()

function construction<P>(name): PartDef<P>;

Defined in: bear/engine/construction.ts:13

Creates a construction part definition.

Construction nodes carry constraint intent (dims, chains) through the ordinary JSX and collect pipeline, but have no size or geometry: their Ref props stay symbolic so solve can resolve them against the finished tree (which is what makes forward references work). Mirrors part() with no extents or geometry.

Type Parameters

Type ParameterDefault type
P extends objectRecord<string, unknown>

Parameters

ParameterType
namestring

Returns

PartDef<P>

On this page