Connector
Lock
Hinge
Brackets
Machining
Placement
Fastener
Slides
Mapping
Auto Placement
Distributes N copies of a ToolboxItem on a chosen face using a CSS-flexbox layout (justify-content along the long axis, align-items along the cross axis, horizontal/vertical padding shrinks the working area). Each tool’s ops travel as a rigid group so multi-op tools keep relative geometry.
Details
ID
toolbox-placement-auto-placement
Name
Auto Placement
Group
Placement
Package
Toolbox
Keywords
Input ports
| Name | Type | Description | Default Value |
|---|---|---|---|
| Item | Any | ToolboxItem whose machining ops travel as a rigid group at every distributed position. | |
| Host Solid | Solid | Solid whose face hosts the distributed tools. | |
| Face Index | Number | Index of the host face (wraps modulo face count). | 0 |
Output ports
| Name | Type | Description |
|---|---|---|
| Placed Item | Any | ToolboxItem with machining ops baked into world coordinates for every flex position. |
| OpsGeom | Geometry | Cutting-tool solids per baked op (for visualization). |
Config ports
| Name | Type | Description | Default Value |
|---|---|---|---|
| Justify | String | CSS justify-content along the face long axis. | space-between |
| Align | String | CSS align-items across the face cross axis. | center |
| Count | Number | Number of tool copies along the main axis. | 2 |
| Depth | Number | Penetration along the inward face normal (mm). 0 = ops sit on the face. | 0 |
| Padding X | Number | Horizontal padding (mm): shrinks the working area from both ends of the main axis. | 10 |
| Padding Y | Number | Vertical padding (mm): shrinks the working area from both ends of the cross axis. | 0 |
| Rotate X | Number | Rotation (deg) around the face X axis (uAxis), pivoting at the world image of the tool group’s local bbox centre for each copy. For single-op tools (op.position ≈ [0,0,0] in local) this coincides with the group anchor; for multi-op tools the pivot follows the visual centre of the tool cluster. Tilts the tool forward/back in the face plane. | 0 |
| Rotate Y | Number | Rotation (deg) around the face Y axis (vAxis), pivoting at the world image of the tool group’s local bbox centre for each copy. For single-op tools (op.position ≈ [0,0,0] in local) this coincides with the group anchor; for multi-op tools the pivot follows the visual centre of the tool cluster. Tilts the tool left/right in the face plane. | 0 |
| Flex Grow | Any | Per-element CSS flex-grow weights. Each entry overrides the default of 0 for the given element index. When sum(grow) > 0, free space is distributed among grown elements proportionally (expanding their slots) and justify-content is ignored. When all weights are 0 (or no entries), layout falls back to justify-content. | {"entries":[]} |