Fill Boxes
Fills each of a set of boxes, oriented or twisted, with one cell of a base field such as a strut lattice. Boxes that share faces form one lattice, whose members run on from box to box. The result is one bounded implicit, ready to combine, preview or mesh.
How it works
Each box takes a copy of the base. Base Bounding Box sets the part of the base that fills one box, and each box stretches and twists that part to its own eight corners. A box larger than the base's geometry leaves a margin, so members stop short of the faces; a smaller one crops the base at the faces.
Boxes that share a face, corner for corner, form one lattice. Across a shared face the members turn smoothly from one box's shape to the next, so a strut that runs through several boxes stays one member, and an
Offset applied afterwards thickens it evenly. Members on the outer faces of a lattice keep their rounded ends.
Inputs
| Name | Nick | Type | Default | Description |
|---|---|---|---|---|
| Base | B | Field | The base Field to morph into each cell. An Implicit can be wired here too: it is read as a Field, and its own bounding box is ignored: Base Bounding Box sets the cell. | |
| Boxesoptional | X | Genericlist | One box per cell: an oriented Rhino Box (affine cell, no twist), or a Twisted Box | |
| Base Bounding Box (required)optional | Bb | Box | Required. The unit-cell reference box: the region of the base that fills each cell. Respected exactly: larger than the base geometry leaves a margin (members won't reach the cell faces), smaller crops it. Never auto-derived from the base: you set the cell. | |
| Fillet Radiusoptional | FR | Generic | Optional fillet radius, a number or a Field to vary it in space. It rounds the joints where the members of neighbouring boxes meet, and the joints between separate lattices. A member that neighbouring boxes share, such as a strut on a shared face, thickens with the radius. Empty or 0 = hard union. |
Outputs
| Name | Nick | Type | Description |
|---|---|---|---|
| Implicit | I | Implicit | The output implicit. |
Example definition
- Drag o0 and o1 to change how the member thickness grades across the part.
- Change Strut Radius and Node Fillet Radius to reshape the unit cell itself.
- Wire a number into Fillet Radius on Fill Boxes to round the joints between neighbouring boxes; the struts that boxes share thicken with it.
- Feed your own twisted boxes, for example from Surface Box or Twisted Box, into Boxes.
Fillet Radius
Fillet Radius rounds the joints where the members of neighbouring boxes meet, and the joints between separate lattices and between boxes that share no face. It is read as the Fillet Radius of
Union.
A member that neighbouring boxes share, such as a strut along a face or an edge between boxes, is drawn once in each of them, so the fillet thickens it as well. In the example definition above, at a Fillet Radius of 1, a strut shared by four boxes is about 2.7 times as thick as at 0, one on an outer face, shared by two boxes, about 1.8 times, and one on an edge of the lattice keeps its thickness. Where struts of neighbouring boxes meet at the top of a lattice they form a dome.
A Fillet Radius above 0 nearly doubles the time the preview of the example takes to draw.
Notes and limits
- Two boxes whose shared face has its corners in another order, with their axes turned against each other, are not joined: each keeps its own members' ends at that face.
- A closed ring of boxes, such as boxes around a cylinder, is joined at every face but one, where the members keep their ends.
- Between separate lattices, a Fillet Radius larger than about one box can make the field step about two boxes beyond a lattice.
- A box twisted by more than about 90° between opposite faces can show flat sheets and cut members inside it.
Messages
What the component may report, shown as a balloon on the canvas.
| Level | Message |
|---|---|
| Warning | Skipped a Boxes input that is neither a box nor a Twisted Box. |
| Warning | No boxes supplied: wire a box (or Twisted Box) per cell into Boxes. |
| Error | Supply a Base Bounding Box that contains the base geometry to populate each cell: the reference cell the base maps into. |
| Error | Could not determine the base bounding box. |
