Skip to Content
Bear documentation
API referenceBlueprintsConnectors

concrete

Import from bear/blueprints/connectors/concrete.

Interfaces

Embedment

Defined in: bear/blueprints/connectors/concrete.ts:94

What a cast-in part asks of the concrete around it, in project units.

Properties

PropertyTypeDescription
depthnumberHow far below the top it reaches.
edgeDistancenumberThe least cover from its centerline to the pour's nearest side.

Footprint

Defined in: bear/blueprints/connectors/concrete.ts:145

A plan rectangle in a part's own frame: what it occupies below the top.

Properties

PropertyType
maxobject
max.xnumber
max.ynumber
minobject
min.xnumber
min.ynumber

Pour

Defined in: bear/blueprints/connectors/concrete.ts:49

A pour as a cast-in part reads it, in the part's parent frame.

Properties

PropertyTypeDescription
depthnumberHow much concrete stands under that top.
labelstringThe pour's fqn, for the messages that name it.
memberSquareMember-
topnumberThe top of the concrete: the embedment line.

Variables

CAST_IN_DIVISION

const CAST_IN_DIVISION: "03 15 19" = "03 15 19";

Defined in: bear/blueprints/connectors/concrete.ts:46

CSI division: cast-in concrete anchors.

Functions

castInPose()

function castInPose(pour, at): TransformMatrix;

Defined in: bear/blueprints/connectors/concrete.ts:80

The pose, which is only the datum written in the parent frame: on the plan point, at the top of the concrete, turned onto the pour's own sides so a square envelope runs with the wall it is cast in.

Parameters

ParameterType
pourPour
at{ x: number; y: number; }
at.xnumber
at.ynumber

Returns

TransformMatrix


coverAt()

function coverAt(pour, at): number;

Defined in: bear/blueprints/connectors/concrete.ts:134

How far a plan point stands in from the pour's nearest side, read off the pour's own section. Negative is outside it.

Parameters

ParameterType
pourPour
at{ x: number; y: number; }
at.xnumber
at.ynumber

Returns

number


depthProblems()

function depthProblems(
   model, 
   pour, 
   depth
): readonly string[];

Defined in: bear/blueprints/connectors/concrete.ts:171

Whether the pour is deep enough to take a part embedded depth.

Parameters

ParameterType
modelstring
pourPour
depthnumber

Returns

readonly string[]


embedmentProblems()

function embedmentProblems(
   model, 
   pour, 
   at, 
   need
): readonly string[];

Defined in: bear/blueprints/connectors/concrete.ts:108

Every rule the pour breaks for a part cast in at at, in plain language. Empty means the concrete holds it.

The cover is measured to the pour's own sides, off its section, so a wall run at an angle is read the same as one square to the assembly.

Parameters

ParameterType
modelstring
pourPour
at{ x: number; y: number; }
at.xnumber
at.ynumber
needEmbedment

Returns

readonly string[]


footprintCover()

function footprintCover(
   pour, 
   pose, 
   __namedParameters
): number;

Defined in: bear/blueprints/connectors/concrete.ts:155

The least cover over a part's footprint where pose puts it: negative is how far it reaches outside the pour. A pour's plan is a rectangle, so the footprint's corners are the whole question.

Parameters

ParameterType
pourPour
poseTransformMatrix
__namedParametersFootprint

Returns

number


pour()

function pour(role, model): Pour;

Defined in: bear/blueprints/connectors/concrete.ts:65

The pour, for place: anything but plumb or level is a named error.

Parameters

ParameterType
rolePlacedRole
modelstring

Returns

Pour


squarePour()

function squarePour(role): Pour | undefined;

Defined in: bear/blueprints/connectors/concrete.ts:70

The pour, for check: a sloped one is place's error, not a warning.

Parameters

ParameterType
rolePlacedRole

Returns

Pour | undefined

On this page