pub enum VoidShellNormals {
AwayFromMaterial,
TowardMaterial,
}Expand description
Which way the face normals of the void shells passed to
StepBuilder::solid_with_voids point. The caller declares this so
step-io can orient each cavity’s ORIENTED_CLOSED_SHELL correctly without
evaluating geometry. See that method for how to choose.
Variants§
AwayFromMaterial
Normals point away from the solid material — for a cavity, into the
empty hole. This is the same rule the outer shell follows, the
validator- and mass-property-friendly orientation, and what most
kernels emit for a cavity (a reversed shell). Kept as authored,
written as ORIENTED_CLOSED_SHELL(..., .T.). The right choice when unsure.
TowardMaterial
Normals point into the solid material — a cavity wound like an ordinary
outward-facing solid box dropped into the hole. step-io reverses it,
written as ORIENTED_CLOSED_SHELL(..., .F.).
Trait Implementations§
Source§impl Clone for VoidShellNormals
impl Clone for VoidShellNormals
Source§fn clone(&self) -> VoidShellNormals
fn clone(&self) -> VoidShellNormals
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more