construction.Solid
construction.Solid()
Factories creating a primitive and its construction mirror at once.
Each returns the placed SDF, so solids compose directly::
scene = Union(
Solid.box(size=[1, 1, 0.5], position=[0, 0, 0]),
Solid.sphere(radius=0.6, position=[1.5, 0, 0]),
)
The viewer picks up the mirror separately and draws its outline, which is what makes the result selectable and draggable.
Each returned SDF also carries its analytic faces, so a box is a work-plane reference the moment it exists::
deck = Solid.box(size=[1, 1, 0.2], position=[0, 0, 0], name="deck")
top = SketchPlane.on(deck.face("+z"))