Repository navigation
Some booleans that threw in 3.0.0 now build, and some refused pairs throw a different error.
See "3.0 to 3.0.1" in MIGRATION.md for each case.
Changed
operatebuilds the union and the intersection of two planar solids that are not both
axis-aligned boxes: a turned cuboid, a polyhedron with sloped faces such as a roof, or a
polyhedron that is not convex. Faces of both bodies that lie in one plane and face the same
way become one face. The report'shandlersis['boolean_planar_polyhedra'].OG_OPERATION_SUBTRACTcuts an extrusion whose profile has arcs, or a cylinder, with a
slanted cuboid or convex prism, such as a mitre. The cut end is an exact ellipse, and two
mitres work in one call. A cuboid or convex prism minus a slanted rod also builds.- Two planar solids that touch on a face unite into one solid. Their intersection, and a
subtraction that leaves nothing, throwEmptyResult. - A union or intersection of two planar solids that is still refused throws
CoverageGapwith
details.familiesequal to['layered planar profile extrusion', 'layered planar profile extrusion'],
not['canonical aligned cuboid', 'canonical aligned cuboid']. Code that matches the old pair
must match the new one.
Fixed
- Subtracting a body that lies wholly inside another made a cavity for only one of its solids
and could put it in the wrong solid. Each solid now gets its cavity in the solid that holds it. - A body with a cavity or several solids whose shells lie on different sides of the other body
gave a wrong result for some pairs. It now throwsUnresolvedIntersection. - Subtracting a hollow body that lies wholly inside another threw
InvalidTopology, and
subtracting a body that only stands on a face of the host threwInvalidTopology. Both build. - A pair where one solid lay inside the other, very close to its face, threw
UnresolvedIntersection. It builds. - Flat faces that are parallel up to rounding, as after turning a polyhedron about a slanted
axis, made some booleans throwUnresolvedIntersection. They build.