Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

Color
Curve
Domain
List
Mesh
Number
Plane
Point
SubD
Surface
Transform
Twisted Box
Vector

Trim a curve with a set of points (or optionally a set of parameters) like a dash pattern, if points are not on the curve they will be pulled to it.

Inputs

NameIDDescriptionType
CurveCCurve to trimCurve
PointsPPoints to trim withPoint
ParameterstOptional parameters to trim with instead of points (will override points if points are also input)Number
FlipFFlip the trimming pattern to switch which parts of the curve get trimmed awayBoolean

Outputs

NameIDDescriptionType
TrimmedTResulting trimmed curvesCurve
Sub-DomainsSCurve sub-domain for each remaining part of the curve after trimmingDomain
IntersectedITrue if the points trimmed the curve, False if the points did not trim the curveBoolean

Video Tutorials

Site design © Robin Rodricks.   Pufferfish and associated data © 2020 Michael Pryor.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service