Skip to main content

Module trim

Module trim 

Source
Expand description

TrimSurface: a sheet cut back to one side of a face.

The face cuts the sheet as it cuts a solid in a split: a copy of it is imprinted onto the sheet (see remesh), which divides the sheet’s faces along where the two cross. Every piece of the sheet then lies on one side of the face’s surface — in front of it, where its normal points, or behind it — and the pieces on the side asked for are kept. The copy is deleted again.

A piece that reaches both sides means the face does not cut the sheet clean through there: refused, naming the piece.

Structs§

TrimSurface
Cuts the sheet the face named face stands in back to the side keep of the face named tool — of a solid or standing on its own, left as it is — for the operation T (see the module docs). What survives of the sheet keeps its names; what the cut creates is named as a split names it, trim(T,...).
TrimSurfaceArgs

Enums§

TrimKeep
Which side of the cutting face a TrimSurface keeps, as its normal points.

Functions§

trim
Cuts the sheet of the face named face back to the side keep of the face tool (see the module docs).