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)
OptionalcacheerroredsolvesOpt-in: cache a solve even when the definition reported GH errors. See
GrasshopperBaseSchema.cacheerroredsolves. Only meaningful with
cachesolve.
OptionalcachesolveWhether to use cached solution
OptionaldataversionData version (7 or 8)
OptionaldebugEnable debug logging to the console
OptionalmodelunitsModel units used
OptionalonOptional callback invoked with the server's per-request Server-Timing
breakdown when the response carries one (the /grasshopper solve endpoint
emits decode;dur=N, solve;dur=N, encode;dur=N on every response).
Fires on success only, once per request, before the parsed body is returned. The transport stays response-type-agnostic — this is a side channel for telemetry, it does not change what a call returns. Use it to feed a perf monitor or surface "solve took Nms" without server log access.
OptionalretryRetry policy for transient errors. Default: no retries.
The base URL of the Rhino Compute server (e.g., http://localhost:6500).
This should point at the rhino.compute front (the reverse proxy), not a
bare compute.geometry child process. ComputeServerStats relies on the
proxy liveness root / and proxy-only endpoints like /activechildren,
/idlespan, and the child-lifecycle controls; targeting a bare
compute.geometry would make those 404 even though /grasshopper would
still solve.
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
OptionalsuppressOptionaltimeoutPer-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.