Skip to Content
Bear documentation

printConstraints

Import from bear/engine/printConstraints.

Functions

printConstraints()

function printConstraints(result): string;

Defined in: bear/engine/printConstraints.ts:12

Text dump of the constraint system: every constraint the solver saw (dims, attachments, whatever else solve reports) with its stated and measured values, and the diagnostics about it. This is the agent-facing view into solve, the way printTree is the view into the tree. Every constraint kind reports the same shape, so nothing here knows the kinds.

Parameters

ParameterType
resultModelView

Returns

string

On this page