OptionalabsolutetoleranceAbsolute tolerance used in computation
OptionalangletoleranceAngular tolerance used in computation
OptionalapiOptional API key for authenticating with the server (RhinoComputeKey)
OptionalauthOptional Bearer token for authentication (e.g., when behind a proxy or API gateway)
OptionalcachesolveWhether to use cached solution
OptionaldataversionData version (7 or 8)
OptionaldebugEnable debug logging to the console
OptionalmodelunitsModel units used
OptionalretryRetry policy for transient errors. Default: no retries.
The base URL of the Rhino Compute server (e.g., http://localhost:6500)
OptionalsignalOptional caller-supplied AbortSignal. Composes with the internal timeout — whichever fires first wins. Lets callers cancel in-flight requests (e.g. on component unmount or when superseding a stale solve).
OptionalsuppressSuppress browser security warnings in the console
OptionaltimeoutPer-request timeout in milliseconds. Set to 0 to disable (useful for long
solves where any timeout is the wrong answer). Default: no timeout.
Uses AbortSignal.timeout so the timer is not throttled when the tab is hidden.
Configuration for Grasshopper compute operations Combines server config with optional Grasshopper-specific computation settings
Note: The definition source (pointer/algo) is NOT part of config. Instead, pass the definition directly to methods like solve(), getIO(), etc.