Selva Compute API Reference - v1.1.2
    Preparing search index...

    Interface GrasshopperComputeConfig

    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.

    interface GrasshopperComputeConfig {
        absolutetolerance?: number | null;
        angletolerance?: number | null;
        apiKey?: string;
        authToken?: string;
        cachesolve?: boolean | null;
        dataversion?: 7 | 8 | null;
        debug?: boolean;
        modelunits?: RhinoModelUnit | null;
        serverUrl: string;
        suppressClientSideWarning?: boolean;
        timeoutMs?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    absolutetolerance?: number | null

    Absolute tolerance used in computation

    angletolerance?: number | null

    Angular tolerance used in computation

    apiKey?: string

    Optional API key for authenticating with the server (RhinoComputeKey)

    authToken?: string

    Optional Bearer token for authentication (e.g., when behind a proxy or API gateway)

    cachesolve?: boolean | null

    Whether to use cached solution

    dataversion?: 7 | 8 | null

    Data version (7 or 8)

    debug?: boolean

    Enable debug logging to the console

    modelunits?: RhinoModelUnit | null

    Model units used

    serverUrl: string

    The base URL of the Rhino Compute server (e.g., http://localhost:6500)

    suppressClientSideWarning?: boolean

    Suppress browser security warnings in the console

    timeoutMs?: number