Util

Callouts

Callouts : Generates non-overlapping callouts and annotations among mesh objects.

Parameters

Input

  1. Target Input and View Settings
  • Meshes (Mesh): Connects the target meshes to be numbered and from which callouts will be drawn.
  • UpdateView (Generic Data): Connects geometric reference data related to view updates.
  • View (Text): Sets the viewport or view mode to reference.
  • PlaneAngle (Number): Sets the rotation angle of the plane where the callouts will be placed.
  • PlaneAxis (Boolean): Determines whether to display the plane axis or sets its reference direction.
  1. Callout and Layout Optimization
  • NumDir (Integer): Sets the directionality or order of numbering.
  • CalloutType (Integer): Selects the form or style type of the callouts.
  • GuideSpace (Number): Adjusts the spacing between guidelines.
  • Dist / Angle (Number): Sets the default distance from the object and the drawing angle.
  • AngleRange (Number): Restricts the range of angles where callouts can be placed.
  • MaxStep (Integer): Sets the number of calculation iterations to prevent overlapping.
  1. Alignment and Offset Control
  • SortType (Text): Specifies the callout sorting method (by name, position, etc.) as text.
  • SortCrv (Generic Data): Connects the curve data to be used as the criteria for sorting.
  • PlaneShift (Generic Data): Controls the displacement of the plane position.
  • CalloutOffset (Generic Data): Sets the fine offset spacing for callout objects.
  1. Text Style and Specification
  • W / H (Number): Sets the width and height of the callout text box.
  • Font / FontWeight (Text/Integer): Sets the font name and weight (1 to 9) to be used.
  • TextHeight (Number): Sets the height of the annotation text to be displayed.

Output

  1. Annotation and Number Objects
  • Texts (Generic Data): Outputs the generated annotation text geometry.
  • SNs (Generic Data): Outputs the serial number text assigned to the objects.
  • Callouts (Generic Data): Outputs the full callout objects combining text and leader lines.
  1. Leader Lines and Reference Information
  • Lines (Generic Data): Outputs only the leader line data among the callout components separately.
  • NotFound (Generic Data): Outputs information on objects that failed callout generation or were excluded from the targets.
  • SortRef (Generic Data): Outputs the reference data used as the sorting criteria.
  1. Plane and Axis Data
  • Planes (Generic Data): Outputs each reference plane data where the callouts are placed.
  • PlaneTop (Generic Data): Outputs the top reference plane information for callout placement.
  • AxisX / AxisY (Generic Data): Outputs the X-axis and Y-axis vector data of the placement plane.

Note

  • The core function of this component is to automatically calculate positions to ensure they are non-overlapping when numbering parts or creating drawing callouts in complex modeling.
  • Increasing the MaxStep value increases computation time but yields more sophisticated overlap-evaded results.

BezierMapper

BezierMapper : Provides coordinate-based Bezier (degree 1 to 3) control instead of a Graph Mapper.

Parameters

Input

  • y0 (Number): Inputs the Y coordinate of the start point of the Bezier curve. (Range: 0 to 1)
  • x1, y1 (Number): Inputs the X and Y coordinates of the first control point. (Range: 0 to 1)
  • x2, y2 (Number): Inputs the X and Y coordinates of the second control point. (Range: 0 to 1)
  • y3 (Number): Inputs the Y coordinate of the end point of the Bezier curve. (Range: 0 to 1)
  • x (Number): Connects the input X value to map the resulting value. (Range: 0 to 1)

Output

  • y (Generic Data): Outputs the resulting Y value on the Bezier curve corresponding to the input X value in rhinoscriptsyntax format.
  • crv (Generic Data): Outputs the generated Bezier curve geometry in rhinoscriptsyntax format.
  • pts (Generic Data): Outputs the point data along the curve in rhinoscriptsyntax format.
  • cpts (Generic Data): Outputs the control point data that governs the curve in rhinoscriptsyntax format.

Note

  • This component is designed to replace or complement Grasshopper's native Graph Mapper functionality.
  • It allows precise control over 1st- to 3rd-degree Bezier curves through numerical inputs instead of mouse dragging, providing an advantage in algorithm-based numerical mapping.
  • All coordinate input values use a normalized range between 0 and 1, and internal operations are processed through rhinoscriptsyntax.

MultilineTextObject

MultilineTextObject : Converts text into curves or surfaces.

Parameters

Input

  • text (Text): Inputs the text string to be converted. The input content is converted into a text fragment collection.
  • pln (Plane): Sets the reference plane where the text will be placed. The input data is converted into a 3D coordinate system collection.
  • weight (Integer): Sets the font weight (thickness) of the characters.
    • 1 = Thin, 2 = UltraLight, 3 = Light, 4 = Normal, 5 = Medium, 6 = SemiBold, 7 = Bold, 8 = UltraBold, 9 = Heavy
  • italic (Boolean): Connects a true/false value determining whether to apply italic styling.
  • font (Text): Inputs the name of the font to be used.
  • lineheight (Number): Sets the line height (spacing between lines).
  • size (Number): Sets the size of the characters.
  • space (Number): Sets the tracking (spacing between characters).
  • hor (Integer): Sets the horizontal alignment method.
    • 0 = Left, 1 = Center, 2 = Right
  • ver (Integer): Sets the vertical alignment method.
    • 0 = Top, 1 = Middle, 2 = Bottom
  • single (Boolean): Determines whether to use a single-stroke font.

Output

  • crvs (Generic Data): Outputs the generated text curves in rhinoscriptsyntax geometry format.
  • srfs (Generic Data): Outputs the generated text surfaces in rhinoscriptsyntax geometry format.

Note

  • This component quickly converts simple text data into editable curve or surface geometry within Rhino.
  • Detailed typography options such as alignment, weight, and tracking can be controlled via Grasshopper parameters, making it useful for automated nameplate production or logo placement tasks.
  • It internally utilizes rhinoscriptsyntax to generate the results.

Export

Export : Exports objects to a file.

Parameters

Input

  • Save (Boolean): Connects a true/false value determining whether to execute the file save operation. The input value is converted into a boolean collection for processing.
  • Objs (Generic Data): Connects the target objects to be exported. The input is processed as-is without any separate data conversion.
  • Path (Text): Specifies the path where the file will be saved. The input path is converted into a text fragment collection.
  • Name (Text): Inputs the name of the file to be saved. The input name is converted into a text fragment collection.
  • Opt (Generic Data): Connects data for setting export options. It uses rhinoscriptsyntax geometry format.

Output

  • R (Generic Data): Outputs the report or status value regarding the export result in rhinoscriptsyntax format.

Note

  • This component is used to automatically save or export objects worked on within Grasshopper into external file formats.
  • Since file paths and names can be quantified or set according to automated rules, it is highly efficient for processes that require separating and saving large amounts of data into individual files.
  • All input items operate flexibly depending on the data connection status, and it internally utilizes rhinoscriptsyntax to execute the process.

ExportExtensionOption

ExportExtensionOption : Configures detailed options for each file extension when exporting files.

Parameters

Input

  • Ext (Text): Specifies the extension format of the file to be exported. The input content is converted into a text fragment collection.
  • Version (Integer): Sets the program version number to be applied when saving the file. It contains integer number collection data.

Output

  • Opt (Generic Data): Outputs the configured export option information in rhinoscriptsyntax geometry format.

Note

  • This component is used by connecting it to the Opt input parameter of the Export component, and it automates the exporting process by predefining the file extension and software version to be saved.
  • It configures the option data required for the Rhino export command based on the text and integer values specified by the user.
  • It internally utilizes rhinoscriptsyntax to generate the option data.

ViewCaptureToFile

ViewCaptureToFile : Captures the viewport screen and exports it as an image file.

Parameters

Input

  1. Execution and Target Settings
  • Capture (Boolean): Determines whether to execute the capture (Executes when True).
  • ViewNames (Text): The name of the viewport to capture (e.g., Perspective, Top, etc.).
  1. File Save Information
  • Path (Text): The folder path where the file will be saved.
  • FileName (Text): The name of the file to be saved.
  1. Image Specifications and Area
  • Width (Integer): The horizontal width of the output image.
  • Rect (Generic Data): Specifies a particular area to capture.
  1. Visual Options
  • BgColor (Color): Sets the background color (RGB).
  • Trans / Grid / Axis (Boolean): Determines whether to make the background transparent, display the grid, and display the coordinate axes.

Output

  • R (Generic Data): Outputs data in rhinoscriptsyntax geometry format.

Note

  • This component is used to instantly export the viewport screen as an image file by automating Rhino's native ViewCaptureToFile command within the Grasshopper environment.
  • Since the file path, name, and resolution (Width) can be controlled via parameters, it is highly useful for sequentially recording design alternatives or extracting animation frames.
  • It internally utilizes rhinoscriptsyntax to execute the capture process.