place_structural_reference
Draws a structural reference in Rhino with member lines, support points, and section/release/support user text; returns GUIDs and nearest validation arguments for structural checks.
Instructions
Draw a structural reference in Rhino (through the bridge): one line per member with almond:section (and almond:release for bars and pinned ends) user text, one point per support with almond:support user text, on its own layer, in the document's units, with the reference origin at (x_mm, y_mm, z_mm). Returns the GUIDs (members first, in the reference's member order, then supports) and rhino.validate_structure, the nearest validate_structure arguments: the bridge exports geometry, sections, releases and support points but not loads, so the reference's variable loads become one load_kn. The bridge (almondbridge 0.8.0 and later) reads almond:support on the support points, so validate_structure applies each point's own type. lateral_restraints=True also places the lateral-y restraint points of a planar reference (Pratt truss, portal, arch, Vierendeel); leave it False for an older bridge, which ignores almond:support and would make every point a full support.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"reference_id": "<reference_id>"
},
"name": "place_structural_reference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x_mm | No | ||
| y_mm | No | ||
| z_mm | No | ||
| layer | No | ||
| parameters | No | ||
| reference_id | Yes | ||
| lateral_restraints | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||