pyboxbuilder.box.features.hinge_intrusion¶
-
pyboxbuilder.box.features.hinge_intrusion(spec: BoxSpec, filament_diameter: float =
1.75) Bosl2Solid[source]¶ Return the volume a hinge occupies inside the box, as a solid to subtract.
A hinge that sits inside the box’s outline has to take that room from somewhere, and it takes it from the interior: the barrel and the leaf webs stand in the back of the box, right where a compartment would otherwise go. Rather than leave a compartment to collide with them, a hinge box subtracts this from its contents mask (following the original’s FilamentBoxInsideMask, which does the same for the filament hinge).