Expand description
The Boolean, Split, Imprint, SplitFace and Section
operations of a program: combining two solids of the part, cutting one
into pieces with a face standing on its own, dividing two bodies where
they cross, dividing a face along a sketch’s curves, and the curves where
two bodies cross as a wire. The algorithms are
geop_lib_booleans’; this crate resolves the bodies, faces and planes a
step names and offers the forms that pick them.
Modules§
Structs§
- Boolean
- Combines the solids named
aandbinto one solid namedboolean(B)for the operationB, consuming both. - Boolean
Args - Imprint
- Imprints the body
toolonto the bodybody, keeping both: every face of each is divided along the curves where the other’s boundary crosses it, and nothing is taken away. Withface, only that face ofbodyis divided, andtoolstays as it is (seegeop_lib_booleans::imprint_on_face). - Imprint
Args - Section
- The curves where the boundary of the body
bodycrosses a plane or another body’s boundary, as a wire of edges standing on their own, both left as they are: what a sweep runs along (an edge of the wire picked as a path is the run of the wire it is in) or a 3-D sketch takes a curve from. - Section
Args - Split
- Cuts the solid named
solidinto pieces with the face namedface— a face standing on its own, such as an extrude or revolve builds as a face, and with it every face of its sheet. The pieces are namedsplit(Scalar,0),split(Scalar,1), … for the operationScalar, the solid is consumed, and the face is left as it is (seegeop_lib_booleans::split). - Split
Args - Split
Face - Divides the face
facealong the curves of the sketchsketch, projected onto it: the one face becomes two or more on the same surface, and the solid keeps its shape. Every curve of the sketch that is no construction curve divides: its lines, arcs, circles and splines, however they join or cross, and the outlines of its text. - Split
Face Args
Enums§
- Along
- Which way
SplitFaceprojects a sketch’s curves onto a face. - Section
With - What a section cuts a body with: a datum plane, or another body.
Functions§
- register
- Adds what this crate offers an editor to
r: combining, splitting, imprinting and sectioning bodies, splitting faces, and the examples of them.