Expand description
A product’s Body split by a stack of parallel planes: one exact part per material layer (#455).
§What this does and does not know
The planes arrive as a neutral LayerCut: a unit normal and ascending
signed distances in the product’s object frame, metres. Where they come
from (an IfcMaterialLayerSetUsage, its thicknesses, its offset) is the
facade’s business; this crate does not depend on ifc-material.
§The cut, in the host’s frame
The Body is lowered in the host’s own frame (see the net module, #388),
where the planes are stated, split into its solid parts, and each part of
layer k gets one exact Difference per inner boundary of the layer:
part_k = body - HalfSpace(n.x < b_k) - HalfSpace(n.x > b_(k+1))One Instance with the host’s world transform sits above each part, as
above the net body. Nothing is evaluated or tessellated here (ADR 0004).
§Outer layers extend
Only the inner boundaries cut. The first layer with thickness keeps
everything of the Body below its upper plane, the last everything above its
lower plane, so a Body that is thicker or thinner than its stack is never
left with a remainder that belongs to no layer, and the parts add up to the
Body by construction. A zero-thick layer owns no part (None) and no
boundary of its own: the next layer with thickness extends over it.
§Polarity
The kernel’s HalfSpace.agreement = true selects the NORMAL side. The
tool removed below a boundary therefore has agreement = false, the one
removed above it true.
Structs§
- Layer
Cut - A stack of parallel planes in a product’s object frame.
- Layered
Lowering - A Body split by a
LayerCut.
Enums§
- Layer
Body - Which Body is split.
Functions§
- lower_
product_ layers - Split
product’s Body bycut: one exact part per layer.