Skip to main content

Crate geop_ops_boolean

Crate geop_ops_boolean 

Source
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§

examples
The examples of combining and splitting solids, which an editor offers to load (set).

Structs§

Boolean
Combines the solids named a and b into one solid named boolean(B) for the operation B, consuming both.
BooleanArgs
Imprint
Imprints the body tool onto the body body, keeping both: every face of each is divided along the curves where the other’s boundary crosses it, and nothing is taken away. With face, only that face of body is divided, and tool stays as it is (see geop_lib_booleans::imprint_on_face).
ImprintArgs
Section
The curves where the boundary of the body body crosses 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.
SectionArgs
Split
Cuts the solid named solid into pieces with the face named face — 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 named split(Scalar,0), split(Scalar,1), … for the operation Scalar, the solid is consumed, and the face is left as it is (see geop_lib_booleans::split).
SplitArgs
SplitFace
Divides the face face along the curves of the sketch sketch, 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.
SplitFaceArgs

Enums§

Along
Which way SplitFace projects a sketch’s curves onto a face.
SectionWith
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.