Fuses several shapes into one, the way two overlapping blobs of clay become one lump.
A compound counts as its pieces, so overlapping pieces of one compound merge too. strategy
sets how many shapes go into each step, and keepEdges false, the default, merges faces left
on one surface.
The shapes to fuse and whether to keep the seam edges
The fused shape
Fuses shapes as union does, and reports for each shape given, in order, what became of its
faces, edges and vertices in the result, as indexes the selectors and fillets take.
The shapes to fuse, the strategy and whether to keep the seam edges
The fused shape and one history per shape given
Cuts shapes away from a main shape, the way a drill removes material: what remains is the main shape minus every shape in the list.
strategy sets how many shapes are cut away in each step. With keepEdges false, the
default, faces left on one surface are merged, and a lone remaining solid is returned
without a compound.
The main shape, the shapes to subtract and whether to keep the seam edges
What is left of the main shape
Cuts shapes away as difference does, and reports what became of the faces, edges and
vertices of the main shape and of each cutting shape, in that order: a drill's side becomes
the wall of its hole.
The main shape, the shapes to subtract, the strategy and whether to keep the seam edges
What is left of the main shape and one history per shape given, the main shape first
Keeps only the volume the first shape shares with each of the others.
The first shape is intersected with every other shape one at a time and the pieces come back in one compound: with three shapes you get the overlap of the first with the second and with the third, not of all three. Fewer than two shapes throw.
The shapes, the first being the one intersected with the rest, and whether to keep the seam edges
A compound of the shared parts
Finds where the surfaces of two shapes cross by triangulating both and intersecting the triangles, and returns the crossing lines as wires.
Each shape has its own meshing precision: a smaller value follows curved surfaces more
closely and takes longer. The wires are polylines, so they trace the crossing approximately;
the exact curves come from intersection with faces.
The two shapes and their meshing precisions
The crossing lines as polyline wires
Finds where the surfaces of two shapes cross by triangulating both and intersecting the triangles, and returns the crossing lines as lists of points.
Each shape has its own meshing precision: a smaller value follows curved surfaces more closely and takes longer. Each list of points is one crossing line, in order along it.
The two shapes and their meshing precisions
One list of points per crossing line
Finds where the surface of one shape crosses the surfaces of several others by triangulating them all and intersecting the triangles, and returns the crossing lines as wires.
precision meshes the main shape and precisionShapes gives one precision per other shape;
smaller values follow curves more closely and take longer.
The main shape, the other shapes and the meshing precisions
The crossing lines as polyline wires, for all the shapes together
Finds where the surface of one shape crosses the surfaces of several others by triangulating them all and intersecting the triangles, and returns the crossing lines as lists of points.
precision meshes the main shape and precisionShapes gives one precision per other shape;
each list of points is one crossing line, in order along it.
The main shape, the other shapes and the meshing precisions
One list of points per crossing line, for all the shapes together
Combining OpenCascade shapes with each other: union fuses them into one, difference cuts one away from another, intersection keeps only what they share. These work on the exact geometry and give exact results. The mesh intersection methods instead triangulate the shapes and intersect the triangles, which is faster and more robust on awkward geometry but gives polylines rather than curves. Every method returns a new shape; unless
keepEdgesis set, faces that end up lying on one surface are merged and the seams between them removed.