> ## Documentation Index
> Fetch the complete documentation index at: https://docs.speckle.systems/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> These docs describe Speckle as it works today, including everything released in 2026.9. Treat page content as current unless the page or section says it applies only to versions published before 2026.9.
> Content scoped to versions published before 2026.9 (the object graph and root object, Proxies, Receive2, operations.receive, object.children) applies only to model versions in that earlier data format. For versions published in 2026.9, answer from the Object model pages and the SDK migration guides.
> The What's new pages summarise what changed in 2026.9 and link to the page that documents each change. Answer from the linked page rather than from the summary. Legacy (v2) connectors are retired; send questions about them to the community help forum.
> Match guidance to the customer's deployment, model data format, connector, plan and permissions. Self-hosted servers on a release before 2026.9 and compatibility-mode workflows follow the Compatibility mode page. If an unknown version or data format changes the answer, ask one focused question; do not infer the deployment version from the date alone.

# Rhino Schema

> Data schema and structure for Rhino models

> [!NOTE]
>
> This page describes the object graph that the Rhino connector published before 2026.9. The 2026.9
> Rhino connector publishes bundles instead; see [Object model](https://docs.speckle.systems/developers/object-model/overview.md)
> and [Relations](https://docs.speckle.systems/developers/object-model/relations.md).

The Rhino connector exports geometry and objects from Rhino 3D, preserving layer organization and user data.

## Hierarchy

Rhino models are organized by File and Layer:

```mermaid theme={null}
graph TD
    A[Root Collection] --> B[Rhino File]
    A --> C[Proxies: RenderMaterial array]
    A --> D[Proxies: Color array]
    A --> E[Proxies: Group array]
    A --> F[Proxies: Definition array]
    A --> G[Info: views<br/>optional]

    B --> H[Layer]
    H --> I[Sublayer<br/>optional]
    I --> J[Geometry<br/>standalone]
    I --> K[Instance]
```

The hierarchy reflects Rhino's layer structure:

* **File** - The Rhino file
* **Layer** - Rhino layer
* **Sublayer** - Nested layer (if present)

## Object Types

Rhino exports three types of objects:

1. **Geometry** - Standalone geometry objects (Point, Line, Mesh, Brep, etc.)
2. **Instance** - Block references pointing to Definition proxies
3. **DataObject** - Objects with attached user data (less common)

### Geometry Objects

Standalone geometry objects can appear directly in collections:

```json theme={null}
{
  "speckle_type": "Objects.Geometry.Mesh",
  "id": "...",
  "applicationId": "guid-123",
  "vertices": [...],
  "faces": [...],
  "units": "meters"
}
```

### Instance Objects

Instance objects reference Definition proxies:

```json theme={null}
{
  "speckle_type": "Objects.Instance",
  "applicationId": "instance-guid",
  "definitionId": "block-guid",
  "transform": {
    "speckle_type": "Objects.Geometry.Matrix",
    "value": [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 10, 20, 30, 1]
  },
  "units": "meters"
}
```

## Properties

Geometry and Instance objects can have a `properties` field dynamically attached containing:

* **User Strings** - Key-value pairs stored on the object
* **User Dictionaries** - Nested dictionary data

```json theme={null}
{
  "speckle_type": "Objects.Geometry.Mesh",
  "applicationId": "guid-123",
  "vertices": [...],
  "faces": [...],
  "properties": {
    "User Strings": {
      "Material": "Steel",
      "Thickness": "5mm"
    },
    "User Dictionaries": {
      "CustomData": {
        "Source": "Import",
        "Date": "2024-01-15"
      }
    }
  },
  "units": "meters"
}
```

## Proxies

Rhino models use these proxy types:

### RenderMaterial

Material assignments for visual representation.

### Color

Color assignments for objects. Referenced by objects via `applicationId`.

### Group

Group proxies encode Rhino group memberships. Objects can belong to multiple groups.

### Definition

Definition proxies store geometry for block instances. Referenced by Instance objects via `definitionId`.

## Info Fields

### views

An array of `Camera` objects from **named perspective views** in the Rhino file. These represent saved view configurations.

## Example: Rhino Geometry Object

```json theme={null}
{
  "id": "mesh-abc123...",
  "speckle_type": "Objects.Geometry.Mesh",
  "applicationId": "rhino-guid-456",
  "vertices": [0, 0, 0, 10, 0, 0, 10, 10, 0, 0, 10, 0],
  "faces": [0, 1, 2, 0, 2, 3],
  "colors": [255, 128, 0, 255, 128, 0, 255, 128, 0, 255, 128, 0],
  "properties": {
    "User Strings": {
      "Material": "Aluminum",
      "Finish": "Anodized"
    }
  },
  "units": "meters"
}
```

## Example: Rhino Instance

```json theme={null}
{
  "id": "instance-xyz789...",
  "speckle_type": "Objects.Instance",
  "applicationId": "instance-guid-789",
  "definitionId": "block-standard-door",
  "transform": {
    "speckle_type": "Objects.Geometry.Matrix",
    "value": [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 5, 10, 0, 1]
  },
  "units": "meters"
}
```

The corresponding Definition proxy:

```json theme={null}
{
  "speckle_type": "Objects.Organization.Definition",
  "applicationId": "block-standard-door",
  "name": "Standard Door",
  "value": {
    "displayValue": [
      {
        "speckle_type": "Objects.Geometry.Mesh",
        "vertices": [...],
        "faces": [...]
      }
    ]
  },
  "objects": ["instance-guid-789", "instance-guid-790"]
}
```

## Invariants and Caveats

1. **Standalone geometry** - Geometry objects can exist directly in collections, not just in DataObject `displayValue`
2. **Instance/Definition pattern** - Block instances use the Instance/Definition proxy pattern
3. **Properties are optional** - Not all geometry objects have properties
4. **Layer organization** - Objects are organized by Rhino's layer structure
5. **User data in properties** - Rhino user strings and dictionaries appear in `properties` field

> [accordion] How do I get the geometry for a block instance?
>
> Use the Instance's `definitionId` to find the corresponding Definition proxy, then access `proxy.value.displayValue` to get the geometry.

> [accordion] What's the difference between Color and RenderMaterial proxies?
>
> * **Color**: Simple color assignment (RGB values)
> * **RenderMaterial**: Full material definition (color, opacity, metallic, roughness, etc.)
>   Rhino uses both because it supports both simple color assignments and full material definitions.

## Related Documentation

* [Object Schema](https://docs.speckle.systems/developers/data-schema/object-schema.md) - Base object structure
* [Geometry Schema](https://docs.speckle.systems/developers/data-schema/geometry-schema.md) - Geometry storage
* [Proxy Schema](https://docs.speckle.systems/developers/data-schema/proxy-schema.md) - How proxies work


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.