publish_objects_to_chestnut
Export selected Rhino objects as a GLB and publish them to Chestnut, with options for physics body type, collider, scale, mass, and linked updates.
Instructions
Exports specific Rhino objects as one GLB and publishes them to Chestnut.
Use this after execute_rhino_script (and optionally validate_structure), passing the returned object GUIDs. Reusing asset_id updates the existing Chestnut asset without changing placements that already reference it.
Args: guids: Rhino object GUIDs to export. Unrelated document objects are excluded. asset_name: Human-readable name shown in Chestnut. asset_id: Stable optional ID for linked updates. Generated deterministically from the Rhino document and GUIDs when omitted. body_type: "static" for architecture, "dynamic" for loose props, or "kinematic" for script-driven objects. collider: Collider intent: "box", "convex", "compound", or "trimesh". Chestnut currently falls back to a box where needed. preserve_scale: Keep Rhino's real-world dimensions instead of normalizing the model to a one-metre display prop. mass: Physics mass in kilograms. Static bodies always use zero. Returns: JSON containing the stable Chestnut asset ID, URL, metadata, and whether the operation created or updated the asset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mass | No | ||
| guids | Yes | ||
| asset_id | No | ||
| collider | No | box | |
| body_type | No | static | |
| asset_name | Yes | ||
| preserve_scale | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |