Skip to main content

Module solids

Module solids 

Source
Expand description

The solids a part shows, wherever they are placed — its own, and those of the parts placed in it, however deep — each of its own part’s material, if it has one: what weighing a part, checking it for interference, ordering it and simulating it read.

What a step says of a solid beyond its shape (see crate::notes) is read here: a solid only drawn is no body.

Lengths are millimetres and densities kg/m³ (see crate::parameters::Material), so a mass is in kilograms.

Structs§

PlacedSolid
A solid of a part, or of a part placed in it: named as the part names it (/pin:extrude(pin) for one of the part placed as pin, see Located::key), where it is.
Shapes
The mass properties of solids’ shapes — of unit density, each in its own part’s frame — each integrated once, however often its part is placed.

Functions§

own_solids
The bodies of the part reader reads itself, the oldest first: not those of the parts placed in it.
own_solids_at
The solids of the part reader reads itself — not of the parts placed in it, and none only drawn (see crate::SolidNote::drawn_only) — the oldest first, each named behind prefix and placed at pose: as the part placed there at the path instance has them.
placed_solids
Every body of the part reader reads and of the parts placed in it, however deep — every solid but those only drawn — each where it is: the part’s own first, then those of each part placed, in the order they were placed.