Store the compute response for reuse.
Convert all geometry results into Three.js mesh objects.
This uses internal helpers to decode Rhino geometry into Three.js primitives such as meshes and lines, making them ready for rendering.
All processing options (scaling, positioning, compression, etc.) can be customized. The processor's debug flag is merged with options - explicit options take precedence.
Note: This only works when using the Selva Display component in Grasshopper, and requires the custom branch of rhino.compute from VektorNode. This method dynamically imports three.js visualization modules. Ensure three.js is installed as a peer dependency if you use this feature.
Optionaloptions: MeshExtractionOptionsConfiguration for mesh extraction and parsing. Overrides processor's debug flag if provided.
Promise resolving to an array of Three.js mesh objects.
Download all files generated by Grasshopper, optionally including additional user-provided files.
Files are grouped under the specified folder name when downloaded.
Name for the download directory.
OptionaladditionalFiles: FileBaseInfo | FileBaseInfo[] | nullExtra files to package (single file, array, or null).
Retrieve a specific value using the parameter ID.
Parameter GUID from the Grasshopper definition.
Optionaloptions: GetValuesOptionsParsing configuration (e.g. disable parsing or enable Rhino).
Parsed value, array of values, or undefined if not present.
Retrieve a specific value using the parameter name.
Human-readable parameter name from the Grasshopper definition.
Optionaloptions: GetValuesOptionsParsing configuration (e.g. disable parsing or enable Rhino).
Single parsed value, array of values, or undefined if the parameter is absent.
Extract all values in the response.
Expected structure of the return value. Defaults to a simple key/value map. (later cast as needed)
If true, keys are parameter IDs; if false, keys are parameter names.
Controls parsing behavior such as Rhino geometry decoding.
Parsed Grasshopper output values.
Note: Using byId only works with the custom VektorNode rhino.compute branch.
High-level wrapper for interacting with Grasshopper Compute responses.
This class exposes a clean, consistent API for accessing parsed values, geometry, and produced files. It is designed to be the primary interface when working with Grasshopper results in client applications.