1. Toolpath Components - machineagency/Vespidae GitHub Wiki
Toolpath Components
Toolpath components are primarily meant to manipulate curves in Rhino/Grasshopper so that they're useful for different digital fabrication tasks. These components include:
Boolean
Slicing
Offsets
Infill
Boolean
Inputs
A (Curve): The curve that is being acted upon.
B (Curve): The second curve in the boolean operation. For differences, this is what is being subtracted from Curve A.
CT (Int): Defines what type of boolean operation is being performed. The available options are 1: Difference, 2: Intersection, 3: Union, 4: XOR. Examples of each operation are shown below.
pln (Plane): The plane that the resulting operations will show up on. Typically the World XY plane.
Outputs
crvs (Curves): The resulting curves. Will return empty if it fails.
Slicing
Inputs
G (Brep): The geometry (in Brep form) that you would like to slice.
LH (Double): The layer height of the slicing operation, or the distance between each slice of the input geometry, G. \
Outputs
crvs (Curves): The resulting slice curves. These curves are the result of the intersection between the geometry and the XY plane at that specific height.
pln (Planes): The XY planes where the slicing occured. \
Offsets
Inputs
crv (Curves): Input curves to offset. off (double): Offset Distance, in mm. Determines the offset distance from the original curve. Can be positive or negative. amo (int): # of offset curves. How many times the offset occurs. keep (bool): Determines whether or not to keep the original curve in the output.
Outputs
crv (Curves): Returns the offset curves.
Infill
Inputs
crv (Curves): The curves to infill. This component is inside/outside aware, so if given multiple curves it will slice only the appropriate inside geometries (see example below).
den (double): Infill spacing, in mm. Determines the distance between the infill lines.
offset (double): Offset from Curve, in mm. Determines how far in from the curve to perform the infill.
ang (double): Infill Angle, in degrees. Rotates the infill direction.
Outputs
crvs (Curves): Returns the infill curves.