OptionalcolorHex/rgb/named color string, parsed by parseColor. Falls back to a viewer default.
Stable pick key. Both meshes and items synthesize it as ${sourceComponentId}:${originalIndex}.
Rhino CommonObject JSON for the curve.
Layer path for grouping in the scene manager (e.g. "Structure/Walls").
OptionalmetadataArbitrary key-value pairs from the GH Metadata input.
Human label (e.g. "North wall"). Distinct from id — renaming must not change identity.
OptionalopacityOpacity 0–1. Omitted means fully opaque.
OptionalwidthLine thickness in CSS pixels (screen-space, constant regardless of zoom). Rendered via a fat
Line2, so unlike THREE.Line this is actually honoured. Omitted → viewer default.
A curve shipped as Rhino-native JSON (
curve.ToNurbsCurve().ToJSON()), decoded via rhino3dm and tessellated to a fatLine2on the web (so DisplayCurve.width is honoured).