Divooka Reference

Constraint Model

6 nodes

On this page 6

Dimensions

Function

The dimensions that drive the model, in the order the model holds them.

Signature
Dimensions(Constraint Model: Constraint Model) -> Constraint Dimension Array
ConstraintDimension[] Dimensions(ConstraintModel Constraint Model)

Parameters

nametypedefaultdescription
Constraint ModelConstraint Model—

Returns

resultConstraint Dimension Array
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Constraint Model
Package
CAD

Groups

Function

The feature history, in order, without the built-in references group.

Signature
Groups(Constraint Model: Constraint Model) -> Constraint Group Array
ConstraintGroup[] Groups(ConstraintModel Constraint Model)

Parameters

nametypedefaultdescription
Constraint ModelConstraint Model—

Returns

resultConstraint Group Array
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Constraint Model
Package
CAD

Is Sound

Function

True when every group solved and built without errors.

Signature
IsSound(Constraint Model: Constraint Model) -> Truth
bool IsSound(ConstraintModel Constraint Model)

Parameters

nametypedefaultdescription
Constraint ModelConstraint Model—

Returns

resultTruth
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Constraint Model
Package
CAD

To Kerf Bytes

Function

The model as a Kerf document (.kerf), from which it can be loaded again.

Signature
ToKerfBytes(Constraint Model: Constraint Model) -> Byte Array
byte[] ToKerfBytes(ConstraintModel Constraint Model)

Parameters

nametypedefaultdescription
Constraint ModelConstraint Model—

Returns

resultByte Array
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Constraint Model
Package
CAD

To String

Function

This node carries no documentation.

Signature
ToString(Constraint Model: Constraint Model) -> Text
string ToString(ConstraintModel Constraint Model)

Parameters

nametypedefaultdescription
Constraint ModelConstraint Model—

Returns

resultText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Constraint Model
Package
CAD

From Kerf Bytes

Function

Loads a model from the bytes of a Kerf document.

Signature
FromKerfBytes(data: Byte Array) -> Constraint Model
ConstraintModel FromKerfBytes(byte[] data)

Parameters

nametypedefaultdescription
dataByte Array—

Returns

resultConstraint Model
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Constraint Model
Package
CAD