Selva Compute API Reference - v2.1.0
    Preparing search index...

    Interface DisplayPoint

    A single point, shipped raw (no rhino3dm decode), rendered as one vertex of a THREE.Points.

    interface DisplayPoint {
        color?: string;
        id: string;
        kind: "point";
        layer: string;
        metadata?: Record<string, string>;
        name: string;
        opacity?: number;
        position: DisplayPosition;
    }

    Hierarchy (View Summary)

    Index

    Properties

    color?: string

    Hex/rgb/named color string, parsed by parseColor. Falls back to a viewer default.

    id: string

    Stable pick key. Both meshes and items synthesize it as ${sourceComponentId}:${originalIndex}.

    kind: "point"
    layer: string

    Layer path for grouping in the scene manager (e.g. "Structure/Walls").

    metadata?: Record<string, string>

    Arbitrary key-value pairs from the GH Metadata input.

    name: string

    Human label (e.g. "North wall"). Distinct from id — renaming must not change identity.

    opacity?: number

    Opacity 0–1. Omitted means fully opaque.

    position: DisplayPosition

    World position in Rhino Z-up; the shared Rhino→Three transform is applied on parse.