Curve
FlipCurve
FlipCurve : Mirrors a curve based on the specified axis (Plane).
Parameters
Input
- C (Curve): Inputs the curve to be mirrored. The input curve is converted into a generic curve collection for processing.
- i (Integer): Specifies the axis to be used as the mirroring reference using a number.
- 0 : X-axis
- 1 : Y-axis
- 2 : Z-axis
- r (Boolean): Determines whether the mirrored direction is positive (+) or negative (-).
- True : + direction
- False : - direction
Output
- C (Generic Data): Outputs the mirrored result in rhinoscriptsyntax geometry format.
- This component instantly mirrors the curve based on the axis index (0, 1, 2) specified by the user.
- The input parameters are designed to be optional, allowing it to function based on default settings even if no separate input is provided.
- It internally utilizes rhinoscriptsyntax to process data, supporting lightweight geometric operations within Grasshopper.
ArcBlend
ArcBlend : Creates an ArcBlend between two curves.
Parameters
Input
- crv0 (Curve): Connects the first curve to start the blend. The input curve is converted into a generic curve collection.
- crv1 (Curve): Connects the second curve to end the blend. The input curve is converted into a generic curve collection.
- adjust (Number): Inputs a floating-point number to adjust the shape of the blend curve.
Output
- arc (Generic Data): Outputs the resulting generated blend arc in rhinoscriptsyntax geometry format.
- line (Generic Data): Outputs the line data created during the blend generation process in rhinoscriptsyntax geometry format.
- pts (Generic Data): Outputs the key point data related to the blend in rhinoscriptsyntax geometry format.
- This component performs a geometric operation that smoothly connects two curves in the form of arcs.
- All input items are designed to be optional, allowing them to operate flexibly depending on the data connection status, and the results are generated internally through rhinoscriptsyntax.
- The output data is separated into arcs, lines, and points, making it convenient for users to selectively utilize the necessary geometric information.
SplitPolyLineByAngle
SplitPolyLineByAngle : Splits a polyline based on angles.
Parameters
Input
- p (Curve): Connects the target polyline curve to be split. The input curve is converted into a generic curve collection for processing.
- deg (Number): Inputs the angle (Degree) value to be used as the criteria for splitting. The input value is processed as a floating-point number collection.
Output
- ps (Generic Data): Outputs the split polyline pieces in rhinoscriptsyntax geometry format.
- s (Generic Data): Outputs additional geometric data related to the split results in rhinoscriptsyntax format.
- This component calculates the bending angle at each vertex of the polyline and splits the curve at points where the bend is greater than the criteria angle (deg) set by the user.
- It is useful when a complex polyline needs to be divided into multiple segments according to specific angle conditions.
- All input items are designed to be optional, and it internally utilizes rhinoscriptsyntax to perform the operations.
ChangeDegreePts
ChangeDegreePts : Changes the degree of a curve while maintaining the positions of its control points.
Parameters
Input
- crv (Curve): Connects the target curve whose degree will be changed. The input curve is converted into a generic curve collection for processing.
- mid (Boolean): Receives a collection of boolean values to control the settings for midpoint processing.
- d (Integer): Specifies the degree value to change to or sets the directionality.
- True : + direction
- False : - direction
Output
- C (Generic Data): Outputs the resulting curve with the changed degree in rhinoscriptsyntax geometry format.
- This component functions to adjust the geometric properties when changing the degree of a curve, while maintaining the positions of the existing control points as much as possible.
- It is similar to Rhino's native ChangeDegree command, but it is useful within the Grasshopper environment when the degree needs to be controlled based on point positions.
- All input items are designed to be optional, and it internally utilizes rhinoscriptsyntax to process the operations.
SymmetricCrv
SymmetricCrv : Mirrors a curve based on a specified axis (Plane).
Parameters
Input
- crv (Curve): Connects the target curve to apply the mirror operation. The input curve is converted into a generic curve collection for processing.
- plane (Generic Data): Connects the plane data to be used as the reference for the mirror operation. It receives data in rhinoscriptsyntax geometry format.
- flip (Boolean): Connects a boolean value that determines whether to flip the direction of the mirror operation.
Output
- crv (Generic Data): Outputs the resulting mirrored curve in rhinoscriptsyntax geometry format.
- This component is used to generate the mirrored geometry of a curve based on a specific plane.
- Unlike a standard Mirror operation, it can maintain the logical symmetry of the data being processed or simultaneously control flipping in a specific direction.
- All input items are designed to be optional, and it internally utilizes rhinoscriptsyntax to perform the operations.