CAD Data Trees
3 nodes
On this page 3
Collect
FunctionFlattens a tree to a collection, without boolean fusion.
Signature
Collect(tree: Cad Tree of Cad Model) -> Cad Model
CadModel Collect(CadTree<CadModel> tree)
Parameters
| name | type | default | description |
|---|---|---|---|
| tree | Cad Tree of Cad Model | — |
Returns
| result | Cad Model |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Data Trees
- Package
- CAD
Tree
FunctionCreates an explicitly branched CAD collection.
Signature
Tree -> Cad Tree of Cad Model
paths: Integer Array Array
branches: Cad Model Array ArrayCadTree<CadModel> Tree(int[][] paths, CadModel[][] branches)
Parameters
| name | type | default | description |
|---|---|---|---|
| paths | Integer Array Array | — | |
| branches | Cad Model Array Array | — |
Returns
| result | Cad Tree of Cad Model |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Data Trees
- Package
- CAD
Union Branches
FunctionFuses every branch independently, keeping one model (possibly empty) at each path.
Signature
UnionBranches -> Cad Tree of Cad Model
tree: Cad Tree of Cad Model
tolerance: NumberCadTree<CadModel> UnionBranches(
CadTree<CadModel> tree,
double tolerance = 1E-06)Parameters
| name | type | default | description |
|---|---|---|---|
| tree | Cad Tree of Cad Model | — | |
| tolerance | Number | 1E-06 |
Returns
| result | Cad Tree of Cad Model |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- CAD Data Trees
- Package
- CAD