almond-mcp
v0.8.0Almond - MCP server for Rhino 8 with a semantic scene layer: curated furniture/drawing/diagram libraries, audited Karamba capsules, structured retrieval…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_library List Library
Lists all available physics logic archetypes in the Grasshopper library. Use this tool first to discover what logic IDs are available before calling get_logic_by_id.
get_logic_by_id Get Logic By Id
Retrieves parsed physics context for a specific Kangaroo2 or Karamba3D archetype. Returns detected components, descriptions, and metadata extracted from the Grasshopper binary file.
| Parameter | Type | Description |
|---|---|---|
logic_id * | string | The filename (without extension) of the Grasshopper file. Use list_library() first to see available IDs. Examples: catenary, bending, 01_simplebeam |
list_drawing_assets List Drawing Assets
Lists representation-only entourage and graphic proxy assets. Drawing assets are representation elements and do not participate in room collision checks unless explicitly registered.
| Parameter | Type | Description |
|---|---|---|
category | string | |
limit | integer | |
offset | integer |
search_drawing_assets Search Drawing Assets
Searches only the controlled architectural drawing-asset library.
| Parameter | Type | Description |
|---|---|---|
category | string | |
limit | integer | |
max_depth_mm | number | |
max_height_mm | number | |
max_width_mm | number | |
offset | integer | |
query | string |
get_drawing_asset Get Drawing Asset
Returns one drawing asset's provenance, scale guidance, and availability.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string |
list_generated_assets List Generated Assets
Lists the redistributable generated asset library: 3D entourage (people, trees, vehicles), site furniture, columns, balustrades, sanitary/kitchen fixtures, and unbranded furniture placeholders. Every asset is a GLB normalised to real-world millimetres with a measured spatial contract and an Almond material_id, so placement, collision checks and material restore work without any third-party download. Place with place_generated_asset.
| Parameter | Type | Description |
|---|---|---|
category | string | |
limit | integer | |
offset | integer |
search_generated_assets Search Generated Assets
Searches only the generated asset library (FTS over product, variant, category and tags; dimension filters use the measured GLB bounds).
| Parameter | Type | Description |
|---|---|---|
category | string | |
limit | integer | |
max_depth_mm | number | |
max_height_mm | number | |
max_width_mm | number | |
offset | integer | |
query | string |
recommend_generated_assets Recommend Generated Assets
Shortlist available models with explicit reasons, quality notes and fit options. Query matches product/variant/tags; room_type is an inferred usage filter (e.g. living_room, dining_room, office, bathroom, landscape). Supply width AND depth for rectangular fit at 0/90 degrees; height 0 is unbounded. Authored clearances count by default. No Rhino connection needed.
| Parameter | Type | Description |
|---|---|---|
category | string | |
depth_mm | number | |
height_mm | number | |
include_clearances | boolean | |
limit | integer | |
max_triangles | integer | |
query | string | |
room_type | string | |
width_mm | number |
get_generated_asset_passport Get Generated Asset Passport
Read portable asset metadata: measured vs nominal dimensions, provenance, materials, spatial contract, usage suggestions, quality limits and rights.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string |
evaluate_generated_asset_fit Evaluate Generated Asset Fit
Check one model's rotated clearance envelope against a rectangle in mm. This is a preflight size check, not obstacle detection or code certification. Mounting heights and actual scene positions are not evaluated.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | |
depth_mm * | number | |
width_mm * | number | |
height_mm | number | |
include_clearances | boolean | |
rotation_degrees | number |
search_detail_sources Search Detail Sources
Search six curated free architectural source directories offline. Returns links, formats and rights notes; no external content is fetched. Results are research candidates, not attributed inputs or certified details. DETAIL subscription access is not required.
| Parameter | Type | Description |
|---|---|---|
query | string |
get_generation_sources Get Generation Sources
Get original recorded provider/task IDs, prompt, transformations and evidence gaps. Includes Higgsfield image job IDs where recorded before the Meshy stage. This is local evidence, not an independent provider/account verification.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string |
get_asset_drawing Get Asset Drawing
Retrieve a bundled pilot drawing package: mm DXF, scaled SVG, A3 SVG sheets and provenance. Ten models have precomputed views; use generate_asset_drawing_views for others.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string |
generate_asset_drawing_views Generate Asset Drawing Views
Generate plan/front/right mesh silhouettes with source metadata, full-size DXF, scaled SVG and A3 SVG sheets where they fit. Writes a NEW local drawing-runs folder. Choose a library asset_id OR an absolute custom source_glb path. Custom files REQUIRE input_units mm or m; up_axis y or z. Scales default to [50,100]. Supports static, uncompressed triangle GLBs only (max 100 MB/250k triangles). No hidden lines, inferred construction or product-front recognition. Optional item-level source_references require source_id/title/url/publisher/ locator/accessed_on/relationship/used_for/terms_url. They de…
| Parameter | Type | Description |
|---|---|---|
asset_id | string | |
input_units | string | |
scales | ||
source_glb | string | |
source_references | ||
up_axis | string |
audit_asset_drawing Audit Asset Drawing
Check exported files and whether source geometry changed. Custom packages need the current source_glb to check staleness; library assets resolve automatically.
| Parameter | Type | Description |
|---|---|---|
package_dir * | string | |
source_glb | string |
get_generated_asset Get Generated Asset
Returns one generated asset's measured dimensions, spatial contract, material, generation provenance (Meshy task ids, prompt) and availability.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string |
list_structural_references List Structural References
List Almond's structural reference library: twelve benchmarked building typologies (moment frame, braced tower, Pratt truss, gable portal, portal-frame warehouse, double-layer space grid, parabolic arch, L-shaped cantilever, cantilever canopy, diagrid tower, Vierendeel girder, a frame on six support types) as parametric line models with their benchmark loads. They are the models the native solver is verified against (closed forms and OpenSees), so a reference run shows what a correct validate_structure result looks like for that typology. query matches titles, summaries, what each exercises an…
| Parameter | Type | Description |
|---|---|---|
family | string | |
limit | integer | |
query | string |
get_structural_reference Get Structural Reference
One reference in full: what it models and exercises, its parameters with ranges and defaults, sections, the default study (material, supports, self weight, connections, deflection span), how it was verified (closed form, OpenSees), related Karamba capsules and parametric definitions, teaching notes, and the model it builds at the given parameters: member and node counts, support types, the loads it applies (G and Q; wind is dropped) and the nearest validate_structure call for the placed geometry. Then analyze_structural_reference to solve it, or place_structural_reference to draw it.
| Parameter | Type | Description |
|---|---|---|
reference_id * | string | |
parameters |
analyze_structural_reference Analyze Structural Reference
Solve a structural reference with Almond's native engine, exactly as validate_structure does for Rhino geometry, but from the reference's own model: no Rhino session needed. The result has validate_structure's shape (verdict, deflection against the limit, utilization, stability with alpha_cr, combinations, warnings, assumptions; members and supports with detail=True) plus "reference": the parameters used, counts, the loads applied (the benchmark's G and Q loads; wind dropped), the support types, conversion notes and "checks", which compare the run with the benchmark frame and, for the Pratt tr…
| Parameter | Type | Description |
|---|---|---|
reference_id * | string | |
connections | ||
design_basis | string | |
design_code | string | |
detail | boolean | |
fabrication | string | |
fixed_supports | ||
floor_dead_kn_m2 | number | |
floor_load_kn_m2 | number | |
load_kn | number | |
material | ||
parameters | ||
self_weight | ||
span_m | ||
stability | ||
uls_combination |
place_structural_reference Place Structural Reference
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 bridg…
| Parameter | Type | Description |
|---|---|---|
reference_id * | string | |
lateral_restraints | boolean | |
layer | string | |
parameters | ||
x_mm | number | |
y_mm | number | |
z_mm | number |
list_parametric_definitions List Parametric Definitions
List the annotated parametric teaching library: openly licensed architectural Grasshopper definitions (facades, structure, massing, site, landscape) reorganised for learning. Each canvas reads left to right: README, green INPUTS with named sliders, numbered explained steps, blue RESULT to bake. Upstream logic is unchanged. query matches titles, summaries, steps and concepts (e.g. "attractor", "loft", "Isotrim"); level is beginner, intermediate or advanced. No Rhino needed.
| Parameter | Type | Description |
|---|---|---|
category | string | |
level | string | |
limit | integer | |
query | string |
get_parametric_definition Get Parametric Definition
Get one teaching definition: what it models, numbered how-to-use steps, the concepts it teaches, each canvas step with its explanation, inputs, plugin and script notes, the local .ghx path (integrity-checked against the source register), the upstream author, commit and licence. Use the steps to walk a learner through the canvas after open_parametric_definition.
| Parameter | Type | Description |
|---|---|---|
definition_id * | string |
open_parametric_definition Open Parametric Definition
Open a teaching definition in Rhino's Grasshopper editor through the bridge (Rhino 8 with almondbridge running). Only library files that match the source register can be opened. Opening solves the definition and adds its preview to the viewport; nothing is baked. The Voronoi screen's script toggle is saved off.
| Parameter | Type | Description |
|---|---|---|
definition_id * | string |
list_drawing_recipes List Drawing Recipes
Lists compact audited layer, lineweight, projection, and export recipes.
get_drawing_recipe Get Drawing Recipe
Returns one complete audited drawing recipe.
| Parameter | Type | Description |
|---|---|---|
recipe_id * | string |
get_retrieval_status Get Retrieval Status
Returns compact diagnostics for the local structured retrieval system.
create_design_scene Create Design Scene
Creates a persistent scene handle for a house or interior generation. Scene metadata remains local and is retrieved by ID instead of being repeated in the model context.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
units | string |
get_design_scene Get Design Scene
Returns a token-efficient scene summary by stable handle.
| Parameter | Type | Description |
|---|---|---|
scene_id * | string |
upsert_design_room Upsert Design Room
Creates or updates a room in the local scene ledger. bounds_mm is [min_x, min_y, min_z, max_x, max_y, max_z]. When room_id is omitted, an existing room with the same name in the scene is updated instead of creating a duplicate.
| Parameter | Type | Description |
|---|---|---|
bounds_mm * | array | |
name * | string | |
scene_id * | string | |
room_id | string |
register_scene_instance Register Scene Instance
Registers or moves an asset instance in millimetres without retransmitting its full metadata. Returns a stable instance handle and scene revision. When z_mm is omitted the instance stands on its room's floor (the room's min_z), so rooms at storey elevation validate correctly.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | |
scene_id * | string | |
x_mm * | number | |
y_mm * | number | |
instance_id | string | |
locked | boolean | |
rhino_guid | string | |
room_id | string | |
rotation_degrees | number | |
scale | number | |
z_mm |
remove_scene_instance Remove Scene Instance
Removes an instance from the scene ledger (recorded as a revision delta). The Rhino geometry, if any, is not touched.
| Parameter | Type | Description |
|---|---|---|
instance_id * | string | |
scene_id * | string |
remove_design_room Remove Design Room
Removes a room from the scene ledger. Instances that referenced it stay in the scene, orphaned (re-home them with register_scene_instance).
| Parameter | Type | Description |
|---|---|---|
room_id * | string | |
scene_id * | string |
validate_scene_layout Validate Scene Layout
Runs local R-tree broad-phase collision and room-containment checks. Only compact violations are returned; geometry remains in Rhino.
| Parameter | Type | Description |
|---|---|---|
scene_id * | string | |
detail_limit | integer |
capture_scene_metadata_snapshot Capture Scene Metadata Snapshot
Explicitly record 1-500 Rhino objects as an immutable local baseline. Reads hidden/locked objects too. Stores bounds and quantities in mm, Almond user text, block transforms and geometry CRCs. Writes only a new local DB record; geometry and existing snapshots are unchanged. Keep snapshot_id for audit_scene_metadata. Requires the matching development bridge.
| Parameter | Type | Description |
|---|---|---|
guids * | array | |
name * | string |
audit_scene_metadata Audit Scene Metadata
Read-only comparison of the current Rhino document with a recorded snapshot. Reports deleted/moved/resized objects, block transforms/definition changes, changed Almond user text and geometric quantities. Never refreshes the baseline, repairs metadata, selects objects or changes their appearance. A unit conversion is compared physically in mm; native CRC/linear transform checks are skipped across different unit systems and reported as limited coverage. A different document is an error, not a deletion verdict.
| Parameter | Type | Description |
|---|---|---|
snapshot_id * | string | |
absolute_mm | number | |
detail_limit | integer | |
relative | number |
show_scene_metadata_issues Show Scene Metadata Issues
Show temporary warning boxes/labels for a fresh audit, or clear them. Does not bake geometry, change attributes, alter selection or repair data. Missing objects get a box at their recorded position. Requires the matching development bridge; call with clear=True when finished reviewing.
| Parameter | Type | Description |
|---|---|---|
clear | boolean | |
snapshot_id | string |
create_generation_plan Create Generation Plan
Creates a dependency-ordered local plan. scope may be house, interior, structure, or drawing. The plan stores handles and step state rather than verbose repeated context.
| Parameter | Type | Description |
|---|---|---|
goal * | string | |
scene_id | string | |
scope | string |
get_generation_plan Get Generation Plan
Returns a compact dependency graph and current step states.
| Parameter | Type | Description |
|---|---|---|
plan_id * | string |
update_generation_step Update Generation Step
Advances a generation step after its dependencies complete. Input and output references should be stable scene, room, asset, instance, or Rhino GUID handles.
| Parameter | Type | Description |
|---|---|---|
plan_id * | string | |
status * | string | |
step_id * | string | |
input_refs | ||
output_refs |
list_materials List Materials
Lists the curated PBR material library used by assign_material. Each entry carries metallic/roughness PBR channels, an Unreal material slot name (ue_material_slot) for deterministic remapping after import, and tags. Categories: metal, plastic, glass, wood, mineral, polymer.
| Parameter | Type | Description |
|---|---|---|
category | string | |
query | string |
get_construction_guidance Get Construction Guidance
Curated construction-system guidance for generating structures that are built the way real buildings are built - not arbitrary members in space. Parameters are distilled from Ching's Building Construction Illustrated (4th ed.): per-system span ranges, depth rules of thumb (depth = span/N), member spacing, element roles, and assembly notes. Call this BEFORE generating structural geometry: pick a system, size and space members from its rules, then generate and run validate_structure (which cross-checks the result against this same library). Each system names its structural_material (validate_st…
| Parameter | Type | Description |
|---|---|---|
category | string | "floor", "wall", "roof", "foundation" (empty = all). |
include_reference_data | boolean | Also return occupancy live loads (kPa) and material densities (kg/m3) for choosing load_kn inputs. |
material | string | "Wood", "Steel", "Concrete" - validate_structure names. |
query | string | Free-text filter (e.g. "glulam", "longspan", "bearing wall"). |
span_m | number | If > 0, each returned system reports fits_span and suggested member depths from its span-ratio rules. |
structure_type | string | validate_structure type ("beam", "truss", "shell", "frame", "canopy", "gridshell", "membrane", "highrise"). |
get_typology_narrative Get Typology Narrative
Architectural typology narratives for project storytelling - precedents, eras, and urban roles distilled from Ching, Jarzombek & Prakash's A Global History of Architecture, with page references (gha_ref). NARRATION ONLY: use these entries to caption, contextualize and narrate a design (which tradition a courtyard block belongs to, what a truss hall's civic ancestors are). They must NEVER drive geometry, member sizing, or structural decisions - that is get_construction_guidance's job. A natural pairing: after building with a construction system, call this with construction_system=<that system_…
| Parameter | Type | Description |
|---|---|---|
construction_system | string | Filter to entries related to a construction library system_id (e.g. "steel-column-frame"). |
limit | integer | Maximum entries returned (default 5). |
query | string | Free text (e.g. "courtyard", "skyscraper", "timber hall"). |
structure_type | string | Filter by validate_structure type ("shell", "truss", "frame", "membrane", ...). |
check_egress Check Egress
Checks a floor plate's means of egress against the construction library's egress rules (BCI A.10-A.13 framework + IBC-typical numeric factors - always verify against the governing code; the response repeats this). Call AFTER laying out cores/exits and BEFORE detailing: it verifies exit count, exit separation, egress width, travel distances and dead ends in one pass, and names the failing requirement so the layout can be fixed (add an exit, move a core, widen a stair) instead of guessed at.
| Parameter | Type | Description |
|---|---|---|
exits * | array | One entry per exit (stair door or exterior exit door): {"name": str, "x_mm": float, "y_mm": float, "width_mm": float}. Positions are the door centers; width is the clear egress width. |
plate_bounds_mm * | array | Floor plate [min_x, min_y, max_x, max_y] in mm (sets gross area and the diagonal used for exit separation). |
dead_end_m | number | Longest dead-end corridor in metres; 0 skips the check. |
net_area_m2 | number | Override the occupied area; 0 uses the gross plate area. |
occupancy | string | Occupant-load key: business, mercantile, assembly_ unconcentrated, classroom, residential, storage. |
sprinklered | boolean | Sprinklered throughout (affects separation fraction, travel-distance and dead-end limits). |
stories | integer | Stories served. Above 1, at least two exits are required and exit width demand uses the stair factor (7.6 mm/occupant) instead of the door factor (5.1). |
travel_distances_m | array | Measured worst-case travel distances (e.g. from drawn egress paths); empty skips the travel check. |
assign_material Assign Material
Assigns a curated PBR material to Rhino objects and stamps them with machine-readable material metadata for downstream pipelines (Unreal). For structural members, also declare what the object IS in construction terms: structural_role (e.g. "joist", "girder", "stud", "truss_chord") and construction_system (a system_id from get_construction_guidance). These are written as almond:structural_role / almond:construction_system user text on the objects, so the stated construction intent lives on the Rhino geometry itself and survives export. If the chosen material_id is not a typical finish for the…
| Parameter | Type | Description |
|---|---|---|
guids * | array | |
material_id * | string | |
apply_render_material | boolean | |
attach_metadata | boolean | |
construction_system | string | |
structural_role | string |
place_drawing_asset Place Drawing Asset
Places an indexed representation asset as a reusable Rhino block. Drawing assets are placed on ALMOND-DRAW::ASSETS and remain distinct from generated model blocks. The tool accepts only files resolved from the controlled DrawingAssetfiles manifest.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | |
rotation_degrees | number | |
scale | number | |
x | number | |
y | number | |
z | number |
apply_drawing_style Apply Drawing Style
Creates or updates the Rhino layer hierarchy, plot weights, colours, and linetypes defined by an audited drawing recipe.
| Parameter | Type | Description |
|---|---|---|
recipe_id | string |
import_drawing_hatch_patterns Import Drawing Hatch Patterns
Imports the AutoCAD-style .pat hatch definitions of an indexed drawing asset into the active Rhino document's hatch pattern table. The tool accepts only .pat files resolved from the controlled DrawingAssetfiles manifest, mirroring the placement tools' security boundary.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string |
list_diagram_assets List Diagram Assets
Lists available vector and CAD diagram assets (people, trees, symbols).
| Parameter | Type | Description |
|---|---|---|
category | string | |
limit | integer | |
offset | integer |
search_diagram_assets Search Diagram Assets
Searches the diagram asset library.
| Parameter | Type | Description |
|---|---|---|
category | string | |
limit | integer | |
max_depth_mm | number | |
max_height_mm | number | |
max_width_mm | number | |
offset | integer | |
query | string |
get_diagram_asset Get Diagram Asset
Returns one diagram asset's metadata.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string |
place_diagram_asset Place Diagram Asset
Places an indexed diagram asset (SVG, DWG, DXF).
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | |
rotation_degrees | number | |
scale | number | |
x | number | |
y | number | |
z | number |
execute_rhino_script Execute Rhino Script
Sends a C# RhinoCommon script to the Rhino 3D Bridge for compilation and execution. The script is compiled by Roslyn inside Rhino and executed natively as JIT-compiled C#. The script MUST define a class with a static Run method that returns created GUIDs: public class Script { public static List<Guid> Run(RhinoDoc doc) { var guids = new List<Guid>(); // Use doc.Objects.AddSphere(), doc.Objects.AddBrep(), etc. // Append each GUID: guids.Add(guid); return guids; } } Available namespaces (auto-imported if not p…
| Parameter | Type | Description |
|---|---|---|
script * | string | C# source code containing a class with public static List<Guid> Run(RhinoDoc doc). |
capture_conditioning_pass Capture Conditioning Pass
Capture RGB + edge (line drawing) + depth frames along a camera path from the LIVE Rhino document, as conditioning for geometry-guided video generation (Wan VACE / ControlNet). Depth and edges are read from the model itself, not estimated, and every frame's camera is recorded so the generated video can be re-projected against the source geometry. shot: JSON string describing the camera path (model units, usually mm). One of: {"type":"orbit","center":[x,y,z],"radius":r,"height":z,"frames":81, "start_deg":0,"end_deg":90,"lens":35,"target_height":z} {"type":"track","cam0":[x,y,z],"cam1":[…
| Parameter | Type | Description |
|---|---|---|
out_dir * | string | |
shot * | string | |
chunk | integer | |
edge_mode | string | |
fps | integer | |
height | integer | |
invert_depth | boolean | |
passes | string | |
rgb_mode | string | |
width | integer |
validate_structure Validate Structure
Validates AI-generated geometry with a structural analysis. The native engine is stable; the Karamba route (engine="karamba", or auto for shells) is (BETA). Call this AFTER execute_rhino_script to verify the generated structure is buildable. engine="auto" (default) analyses line models (beams, columns, trusses, frames) with Almond's built-in 3D frame solver: analysis_method "native", confidence "high", no Karamba install needed. It is a linear-elastic first-order frame analysis with EN 1993-1-1 member checks (elastic moduli; flexural buckling with L_cr = member length; no lateral-torsional bu…
| Parameter | Type | Description |
|---|---|---|
guids * | array | List of Rhino object GUID strings from execute_rhino_script output. |
asset_loads | boolean | add the gravity loads of placed library assets (estimated self weight plus in-use contents/occupants from each asset's load entry, e.g. a filled bathtub) where they stand on (or hang from) the frame.… |
connections | string | "rigid" (default: every joint transmits moment) or "simple": beams are pinned (major-axis bending released) and braces pinned in both axes where they stop - not where another member carries on in line… |
design_basis | string | "en1990" (default): deflection at SLS characteristic (G + Q), member checks at ULS 1.35 G + 1.5 Q. G = self weight, floor build-up and the weight of placed items; Q = load_kn, the occupancy floor load… |
design_code | string | design code profile for the numbers a code or National Annex sets (gamma_G, gamma_Q, psi_0, xi, gamma_M0, gamma_M1, deflection limit): "eurocode" (default, EN recommended values), any profile from lis… |
detail | boolean | native engine only. Adds "members" (per member: role, length, section, ULS design forces N/V/M/T, governing combination and check, slenderness, chi, stress, utilization, SLS deflection and span/deflec… |
engine | string | "auto" | "native" | "karamba" (see above). |
fabrication | string | hollow steel sections (CHS/RHS) are "cold_formed" (default, EN 10219, buckling curve c) or "hot_finished" (EN 10210, curve a; a0 for S460). The difference is up to about 23 % in buckling resistance; u… |
fixed_supports | boolean | True = fully fixed supports, False = pinned (rotations free). |
floor_dead_kn_m2 | number | superimposed dead load in kN/m2 (floor build-up, finishes) on the same bays. |
floor_load_kn_m2 | number | imposed floor load in kN/m2 (e.g. 2.0 for homes, EN 1991-1-1 category A) on every bay enclosed by beams on a level; the beams take it by the 45-degree rule (two-way; above 2:1 one-way with triangular… |
lateral_restraint | string | steel I-section beams are "joints" (default: unrestrained laterally between their joints, so lateral-torsional buckling, EN 1993-1-1 6.3.2, is checked with gravity loads on the top flange) or "continu… |
load_kn | number | Applied load in kN (default 10.0). |
material | string | Material type: "Steel", "S355", "Concrete", "Wood", "Aluminium" (default "Steel"). |
scene_id | string | scene ledger to read placements from (default: tagged Rhino objects). |
self_weight | boolean | include member self weight. |
span_m | structural span in meters for the L/250 limit when members are split at every node (e.g. a 6.2 m joist drawn as two 3.1 m segments). Native engine only. | |
stability | string | "auto" (default): elastic critical load factor alpha_cr for every ULS combination (EN 1993-1-1 5.2.1) and sway imperfections phi = 1/200 x alpha_h x alpha_m (5.3.2, m per sway direction: columns with… |
structure_type | string | Analysis template to use. Options: "beam" — simple beam bending/deflection "truss" — axial force/buckling analysis "shell" — shell stress/displacement "frame" — moment/she… |
uls_combination | "6.10" or "6.10ab" (the worse of 6.10a and 6.10b per member). Default: the design code's choice (Eurocode profile: 6.10). A profile that prescribes one expression overrides the request (with a warning… |
list_design_codes List Design Codes
Lists the design code profiles validate_structure / visualize_structure accept as design_code. A profile holds the numbers a design code or National Annex sets (load factors gamma_G, gamma_Q, psi_0, xi; the ULS expression; material factors gamma_M0, gamma_M1; the deflection limit; suggested imposed floor loads), each with its source clause and a verified flag. "eurocode" (EN recommended values) is built in and the default; "off" is unfactored mechanics. Practices add National Annex profiles as JSON files in user_dir (see docs/design-codes.md). Unverified values are allowed but flagged in ever…
visualize_structure Visualize Structure
Run a live structural analysis on a line model and SHOW it in every Rhino viewport: the undeformed wireframe, the exaggerated deformed shape coloured blue -> red by displacement (or by utilization), supports, load arrows and a legend panel with max deflection, the L/limit check and PASS/FAIL. Nothing is baked into the document. Use it to make structural behaviour visible while designing: model the structural axes as curves, include Rhino point objects at the supports, call this tool, then fix the members it shows in red (add a column, shorten a cantilever, upsize the section via beam_diameter…
| Parameter | Type | Description |
|---|---|---|
asset_loads | boolean | |
beam_diameter_mm | ||
beam_wall_mm | ||
clear | boolean | remove the overlay. |
color_by | string | "displacement" or "utilization". |
connections | string | "rigid" or "simple", as in validate_structure; pinned ends are drawn as small circles. |
deflection_limit_ratio | span/ratio limit, e.g. 250 for L/250. Default: the design code's limit (Eurocode profile: 250). | |
design_basis | string | |
design_code | string | |
display_guids | draw only these members (e.g. one frame line for a section view); the analysis still covers every member in guids. | |
engine | string | "auto" (default: Almond's native frame solver, no Karamba needed; Karamba when the selection has shells or the bridge cannot export a model), "native" or "karamba". |
fabrication | string | |
fixed_supports | boolean | True = fully fixed supports, False = pinned (rotations free). |
floor_dead_kn_m2 | number | |
floor_load_kn_m2 | number | |
guids | Curve GUIDs of the structural axes plus point GUIDs marking supports (see fixed_supports). Without points, the lowest nodes are supported. | |
lateral_restraint | string | |
load_kn | number | Total imposed load in kN, shared equally by the free nodes (-Z). |
material | string | "Steel", "S355", "Concrete", "Wood", "Aluminium". |
physics | boolean | False draws the same members as plain geometry with no analysis overlay ("physics off"), for before/after comparisons. |
reanalyze | boolean | False re-uses the last solve and only changes the display (scale / color_by / reveal / physics / title) - cheap enough to animate. |
reveal | number | 0..1 fraction of members drawn (for staged construction playback). |
scale | deformation exaggeration; omit for automatic (~6% of span). | |
scene_id | string | |
self_weight | boolean | include gravity. |
span_m | reference span in meters for the limit (default: longest member). Set it when members are split at every node, e.g. a 6.2 m joist drawn as two 3.1 m segments. | |
stability | string | "auto" or "off", as in validate_structure. |
structure_type | string | as in validate_structure (sets the reference span; storey drift is checked for every type except "truss"). With the same inputs the overlay's PASS/FAIL is validate_structure's native verdict. |
title | string | legend title. |
uls_combination | ||
view | string | "deflection" (default) or "buckling": draw the first buckling mode of the governing ULS combination with its alpha_cr (STABLE >= 10, SWAY-SENSITIVE 1-10, UNSTABLE <= 1) instead of the deflected shape. |
set_support_type Set Support Type
Sets the support type of Rhino support points for the structural check. Supports are the Rhino point objects included with the structure when calling validate_structure or visualize_structure. This writes the type as almond:support user text on each point (undoable in Rhino); points without one take the run's default (fixed_supports: fixed, or pinned). support: "fixed" (all six), "pinned" (translations), "roller" (vertical only: slides in plan), "roller-x" / "roller-y" (vertical + the other horizontal: slides along x / y), "spring" with stiffnesses, all in global axes. Springs: kx ky kz in k…
| Parameter | Type | Description |
|---|---|---|
guids * | array | |
support | string |
export_structural_report Export Structural Report
Renders the persisted validate_structure history to a Markdown report. Every validate_structure call that returns pass, fail or indicative is recorded in the local state database (inputs, loads and design settings, analysis method, confidence, numbers, warnings). This tool writes them to a .md file, newest first, with an explanation of the analysis routes and pass criteria. Indicative runs (native concrete, timber, aluminium) are labelled INDICATIVE: they carry no pass/fail.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of runs to include (default 50, max 500). |
path | string | Output file path. Default: <user data dir>/reports/structural-validation-<timestamp>.md |
export_asset_contract Export Asset Contract
Exports Rhino objects as a portable Almond asset: a GLB plus an asset contract (.almond.json) carrying what the file cannot. The contract records real dimensions in mm, the anchor and support plane, clearances, and the Almond material_id of every object - so another application (Blender, Unreal, another Rhino) can restore full meaning even though glTF drops per-object metadata. Pair with import_asset_contract on the receiving side.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | Stable id, e.g. "canopy-pavilion-01" (letters, digits, . _ -). |
guids * | array | Rhino object GUIDs to export (from execute_rhino_script). |
name | string | Human-readable name; defaults to asset_id. |
output_dir | string | Destination folder. Default: <user data dir>/exchange. |
import_asset_contract Import Asset Contract
Imports an Almond asset contract (from Blender, Unreal, or another Rhino) into the open Rhino document, restoring everything the file format drops. Runs the full receive sequence: import the GLB, collapse the duplicate materials glTF creates, restore canonical PBR values from the Almond material library (glTF round trips shift base colours), re-attach the almond:* metadata keyed off the surviving material name, place the asset at the requested point using the contract's anchor, and verify the measured size against the contract's recorded dimensions.
| Parameter | Type | Description |
|---|---|---|
contract_path * | string | Path to a .almond.json contract file. |
layer | string | Destination layer, created if absent. |
rotation_degrees | number | Rotation about world Z. |
x_mm | number | |
y_mm | number | |
z_mm | number |
place_generated_asset Place Generated Asset
Imports a generated-library asset into the open Rhino document and places it at a point (contract anchor = bottom centre, mm), restoring its Almond material and almond:* metadata and verifying the landed size against the contract. Use search_generated_assets to choose an asset_id; afterwards call register_scene_instance so the scene ledger and layout validation know about it.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | e.g. "gen-park-bench-1". |
layer | string | destination layer, created if absent. |
rotation_degrees | number | rotation about world Z. |
x_mm | number | |
y_mm | number | |
z_mm | number |
get_blender_helper_script Get Blender Helper Script
Returns Python to run inside Blender (via blender-mcp's execute_code) so Blender participates in the Almond workflow without a dedicated bridge.
| Parameter | Type | Description |
|---|---|---|
action * | string | "export" or "materials". |
asset_id | string | |
material_id | string | |
name | string | |
object_names | ||
output_dir | string |
list_capsules List Capsules
Lists Grasshopper capsules: GH definitions with a typed, audited input/output contract that can be executed via run_gh_definition. Call this FIRST to discover what capsules exist before calling run_gh_definition. Each entry is a compact card with capsule_id, capability, structure_type, audited flag, and the reserved ALMOND_IN_* / ALMOND_OUT_* port names. Only capsules with audited=true can actually run; audited=false capsules are retrieval context only (read them via get_logic_by_id instead).
| Parameter | Type | Description |
|---|---|---|
audited_only | boolean | When true, list only capsules that run_gh_definition will accept. |
capability | string | Optional filter: "analyze", "generate", "form_find", or "aggregate". |
run_gh_definition Run Gh Definition
Runs an audited Grasshopper capsule (GH definition + typed contract) through the Rhino bridge and returns its declared outputs. Workflow: call list_capsules() first to pick a capsule_id and see its input/ output port names. Create any geometry with execute_rhino_script, then pass the returned GUIDs here. Inputs are validated client-side against the capsule manifest before anything is sent to Rhino, so errors from this tool name the exact port at fault. Input value forms (keyed by the exact ALMOND_IN_* port name): - Geometry ports (point/curve/mesh/brep and their [] list forms): {"guids…
| Parameter | Type | Description |
|---|---|---|
capsule_id * | string | Stable capsule identifier from list_capsules (e.g. "karamba_beam_v1"). |
inputs * | object | Object mapping ALMOND_IN_* port names to values (forms above). |
seed | Optional integer seed for stochastic definitions; omit for deterministic ones. | |
timeout_s | number | Solver budget in seconds (default 60, max 600). |
publish_objects_to_chestnut Publish Objects To Chestnut
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.
| Parameter | Type | Description |
|---|---|---|
asset_name * | string | Human-readable name shown in Chestnut. |
guids * | array | Rhino object GUIDs to export. Unrelated document objects are excluded. |
asset_id | string | Stable optional ID for linked updates. Generated deterministically from the Rhino document and GUIDs when omitted. |
body_type | string | "static" for architecture, "dynamic" for loose props, or "kinematic" for script-driven objects. |
collider | string | Collider intent: "box", "convex", "compound", or "trimesh". Chestnut currently falls back to a box where needed. |
mass | number | Physics mass in kilograms. Static bodies always use zero. |
preserve_scale | boolean | Keep Rhino's real-world dimensions instead of normalizing the model to a one-metre display prop. |
publish_to_chestnut Publish To Chestnut
Publishes Rhino objects to Chestnut using safe semantic defaults. This is the preferred publishing tool for normal use. It hides collider, scale, mass, and rigid-body details. Call it when the user says things such as "publish that to Chestnut".
| Parameter | Type | Description |
|---|---|---|
asset_name * | string | Human-readable asset name. |
guids * | array | Rhino object GUIDs returned by execute_rhino_script. |
asset_id | string | Optional stable link ID. Omit for a deterministic Rhino link. |
behavior | string | Optional semantic preset: "auto" — infer architecture versus movable object from name "architecture" — fixed building, terrain, structure, or enclosure "object" — movable physical… |
search_asset_repository Search Asset Repository
Search the unified model/drawing archive. kind: all, model or element. Returns stable IDs, file availability, dimensions and MCP resource URIs. Drawing-ready means a derived projection package is linked to the object.
| Parameter | Type | Description |
|---|---|---|
drawing_ready | boolean | |
kind | string | |
limit | integer | |
query | string |
climate_summary Climate Summary
(BETA) Climate analysis of an EPW weather file (no Rhino needed): location and data quality (every repaired or missing value is counted), monthly temperatures / humidity / solar radiation / sunshine / wind, heating and cooling degree days, design temperatures, a 16-sector wind rose, outdoor adaptive-comfort hours, and indicative passive-strategy hours on the bioclimatic chart (comfort, natural ventilation, thermal mass + night flush, evaporative cooling, passive solar, dehumidification, active heating/cooling; thresholds returned and adjustable through strategy_thresholds, e.g. {"comfort": {"t…
| Parameter | Type | Description |
|---|---|---|
epw_path * | string | |
cdd_base_c | number | |
diurnal_chart | boolean | |
hdd_base_c | number | |
include_psychrometric_bins | boolean | |
strategy_thresholds |
sun_path Sun Path
(BETA) Sun positions for a site (from an EPW file or latitude/longitude/time_zone, east and north positive, time zone in hours from UTC): sunrise, solar noon, sunset and day length for month/day, the hourly altitude/azimuth through that day, and with include_diagram the sun-path diagram arcs (21st of each month) and hourly analemmas. Azimuth is clockwise from true north; north_deg rotates the returned model-space sun vectors (angle of true north from +Y, CCW).
| Parameter | Type | Description |
|---|---|---|
day | integer | |
epw_path | string | |
include_diagram | boolean | |
latitude | ||
longitude | ||
month | integer | |
north_deg | number | |
time_zone |
shadow_study Shadow Study
(BETA) Sun and shadow study for a date (default 20 March at 09:00, 12:00 and 15:00). Times are LOCAL STANDARD TIME (the EPW time zone, no daylight saving): 12:00 is clock noon, not solar noon; each shot reports its solar time too. For each time Almond ray traces a shadow plan of the model seen from above (every visible Rhino object, or geometry_guids, or a shoebox), with roofs, the ground, the shadows, the sun's direction, north and a scale bar, and lays the times side by side on one sheet (PNG). The plans use the analysis scene itself, so they show exactly what the daylight and thermal studie…
| Parameter | Type | Description |
|---|---|---|
epw_path * | string | |
day | integer | |
geometry_guids | ||
month | integer | |
north_deg | ||
pixels | integer | |
rhino_display_mode | string | |
rhino_view | string | |
shoebox | ||
times |
analyze_daylight Analyze Daylight
(BETA) Daylight simulation by daylight coefficients (Almond's own native engine). probes = points [x, y] (or [x, y, z]) in metres where every metric is reported from the nearest sensor (e.g. DA300 2 m from the window); with a shoebox, probe_distance_from_window_m puts one on the room's centreline at that distance from the facade. study: "annual" (climate-based, needs epw_path): sDA300/50% and ASE1000,250h per IES LM-83 with dynamic shades (a group's shade closes when > 2 % of sensors get > 1000 lux of direct sun), DA, cDA, UDI bins, mean illuminance, EN 17037 daylight provision, and simpl…
| Parameter | Type | Description |
|---|---|---|
aperture_grouping | string | |
background | boolean | |
da_threshold_lux | number | |
dynamic_shading | boolean | |
edge_offset_m | number | |
epw_path | string | |
geometry_guids | ||
glazing | string | |
grid_guids | ||
grid_spacing_m | number | |
ground_reflectance | number | |
label | string | |
materials | ||
north_deg | ||
occupied_hours | ||
point_in_time | ||
probe_distance_from_window_m | ||
probes | ||
quality | string | |
shade_transmittance | ||
shoebox | ||
show_in_rhino | boolean | |
study | string | |
views | ||
weekdays_only | boolean | |
work_plane_m | number |
compare_daylight_cases Compare Daylight Cases
(BETA) Daylight of shoebox design cases side by side. base = {"shoebox": {...}, "materials": {...}, "glazing": "...", "shade_transmittance": 0.15}; each case = {"id": "ID3", "shoebox": {...overrides}, "materials": {...}, "glazing": ..., "shade_transmittance": ..., "static_shade_transmittance": 0.14} (shade_transmittance: the dynamic shade that closes against direct sun; static_shade_transmittance: a blind kept down all year, multiplying the glazing's transmittance). Per case: mean daylight factor (CIE overcast), annual sDA300/50 %, ASE, DA300 at probe_distance_from_window_m on the centreline,…
| Parameter | Type | Description |
|---|---|---|
cases * | array | |
epw_path * | string | |
background | boolean | |
base | ||
edge_offset_m | number | |
grid_spacing_m | number | |
label | string | |
probe_distance_from_window_m | number | |
quality | string | |
view_height_m | number | |
view_out | boolean | |
work_plane_m | number |
en17037_view_out En17037 View Out
(BETA) EN 17037 view out, ray traced at viewpoints on a grid view_height_m above the floors (grid_guids in Rhino, or a shoebox): horizontal sight angle through the windows, outside distance to the first obstruction, and the layers seen (sky, landscape, ground). Each viewpoint gets the lowest of the three levels (none / minimum / medium / high; thresholds 14 / 28 / 54 deg, 6 / 20 / 50 m, landscape / + one / all layers, per EN 17037 Annex A). Returns the share of the floor reaching each level, a plan PNG per metric, and draws the level map in Rhino. Indicative design check by Almond's own implem…
| Parameter | Type | Description |
|---|---|---|
edge_offset_m | number | |
geometry_guids | ||
grid_guids | ||
grid_spacing_m | number | |
label | string | |
north_deg | ||
shoebox | ||
show_in_rhino | boolean | |
view_height_m | number |
en17037_sunlight En17037 Sunlight
(BETA) EN 17037 exposure to sunlight: hours of direct sun on a reference point at the centre of each window (on its inside face) on month/day, with the sun above min_altitude_deg and not blocked by the building or its surroundings (every visible Rhino object, or geometry_guids, or a shoebox). Levels: >= 1.5 h minimum, 3 h medium, 4 h high. The standard uses a day between 1 February and 21 March and a minimum sun altitude that depends on the location: set min_altitude_deg to the value that applies (Almond's default 10). date_range=[[2, 1], [3, 21]] also scans every day in the range, reports eac…
| Parameter | Type | Description |
|---|---|---|
epw_path * | string | |
date_range | ||
day | integer | |
geometry_guids | ||
label | string | |
min_altitude_deg | number | |
month | integer | |
north_deg | ||
shoebox | ||
window_guids |
analyze_solar_radiation Analyze Solar Radiation
(BETA) Incident solar irradiation (kWh/m2) and direct-sun hours on surfaces - roofs, facades, ground, a site - over the year or a period (months e.g. [6,7,8]; hours [start, end] local standard time). Perez cumulative sky by daylight coefficients plus the sun traced hourly, with every object in the model shading and (bounces >= 1, the default) reflecting - modelled ground and neighbours included; bounces=0 counts direct sky and sun only. Sensors sit offset_m off each surface, on the side that faces open sky. Geometry: grid_guids (+ geometry_guids, default all visible) in Rhino, or shoebox={...}…
| Parameter | Type | Description |
|---|---|---|
epw_path * | string | |
background | boolean | |
bounces | integer | |
geometry_guids | ||
grid_guids | ||
grid_spacing_m | number | |
ground_reflectance | number | |
hours | ||
label | string | |
materials | ||
months | ||
north_deg | ||
offset_m | number | |
quality | string | |
shoebox | ||
show_in_rhino | boolean |
analyze_thermal Analyze Thermal
(BETA) Hourly thermal simulation of zones for a year (ISO 13790 5R1C, one node set per zone) with solar gains ray traced on the real geometry: heating/cooling energy and peaks (kWh/m2, W/m2), operative temperatures, and comfort - adaptive ASHRAE 55 and EN 16798-1 (Cat II) hours, CIBSE TM52 overheating criteria, PMV/PPD. free_running=True removes both set-points (use with natural_ventilation_ach to test passive design). Zones: zone_guids = closed polysurfaces / extrusions / closed meshes in Rhino, one per zone (glazing objects parallel to a zone face and within 30 cm of it become its windows;…
| Parameter | Type | Description |
|---|---|---|
epw_path * | string | |
air_speed | number | |
background | boolean | |
clothing_summer | number | |
clothing_winter | number | |
comfort_months | ||
construction | string | |
cooling_months | ||
cooling_setback_c | ||
cooling_setpoint_c | ||
custom_schedule | ||
equipment_w_m2 | number | |
export_csv | boolean | |
free_running | boolean | |
geometry_guids | ||
ground_z_m | ||
heating_months | ||
heating_setback_c | ||
heating_setpoint_c | ||
infiltration_ach | number | |
label | string | |
lighting_control | string | |
lighting_min_power | number | |
lighting_steps | integer | |
lighting_target_lux | number | |
lighting_w_m2 | number | |
materials | ||
metabolic_rate | number | |
natural_ventilation_above_c | number | |
natural_ventilation_ach | number | |
natural_ventilation_min_outdoor_c | number | |
natural_ventilation_months | ||
north_deg | ||
occupancy_w_m2 | number | |
people_per_m2 | ||
schedule | string | |
shading_g_factor | number | |
shading_min_outdoor_c | ||
shading_on_above_w_m2 | number | |
shoebox | ||
thermal_mass | string | |
tm52_months | ||
u_values | ||
ventilation_ach | ||
ventilation_l_s_m2 | ||
ventilation_l_s_person | ||
ventilation_months | ||
window_g | ||
window_u | ||
zone_guids |
compare_thermal_cases Compare Thermal Cases
(BETA) Run design cases side by side (one zone each) on the same weather year and compare them. base = {"shoebox": {...}, "settings": {...}}; each case = {"id": "ID2", "settings": {...overrides}, "shoebox": {...overrides}} merged over the base. settings use the thermal setting names (heating_setpoint, cooling_setpoint, heating_setback, people_per_m2, ventilation_l_s_person, ventilation_l_s_m2, equipment_w_m2, lighting_w_m2, u_values, window_u, window_g, shading_g_factor, shading_on_above_w_m2, infiltration_ach, heat_recovery, schedule, custom_schedule, comfort_months, ...; "free_running": true…
| Parameter | Type | Description |
|---|---|---|
cases * | array | |
epw_path * | string | |
balance_case | string | |
base | ||
geometry_guids | ||
label | string | |
zone_guids |
thermal_comfort Thermal Comfort
(BETA) Comfort calculator for one condition: PMV/PPD (ISO 7730, with its validity range), operative temperature, psychrometrics (humidity ratio, dew point, wet bulb, enthalpy), and - when outdoor_running_mean_c (the prevailing / running mean outdoor temperature) is given - the adaptive ASHRAE 55 (80 / 90 %, with the elevated-air-speed allowance) and EN 16798-1 category I-III limits.
| Parameter | Type | Description |
|---|---|---|
air_temperature_c * | number | |
air_speed | number | |
clothing | number | |
mean_radiant_temperature_c | ||
metabolic_rate | number | |
outdoor_running_mean_c | ||
relative_humidity | number |
comfort_setpoints Comfort Setpoints
(BETA) Heating and cooling set-points from PMV for an activity and clothing: the lowest operative temperature that keeps PMV at or above the EN 16798-1 / ISO 7730 category's lower limit with the winter clothing (heating set-point), and the highest that keeps PMV at or below the upper limit with the summer clothing (cooling set-point). Category I +/-0.2, II +/-0.5, III +/-0.7, IV +/-1.0. Typical inputs: seated office 1.2 met, bedroom (sleeping) 0.8 met; clothing 1.0 clo winter, 0.5 summer; radiant_minus_air_k < 0 for cold windows. Use the result as heating_setpoint_c / cooling_setpoint_c, and s…
| Parameter | Type | Description |
|---|---|---|
air_speed | number | |
category | string | |
clothing_cooling | number | |
clothing_heating | number | |
metabolic_rate | number | |
radiant_minus_air_k | number | |
relative_humidity | number |
show_environment_result Show Environment Result
(BETA) Draw a saved daylight or radiation run in Rhino as a vertex-coloured mesh with a legend, on layer Almond::Environment::<label metric> (replacing that layer's previous drawing). metric: one of the run's display_metrics (e.g. da, ase_hours, udi_useful, mean_lux, df, lux, kwh_m2, sun_hours). clear=True removes the drawings (of this run's label, or all when run_id is empty).
| Parameter | Type | Description |
|---|---|---|
clear | boolean | |
max_value | ||
metric | string | |
min_value | ||
run_id | string |
list_environment_runs List Environment Runs
(BETA) Saved environmental analysis runs, newest first, with their headline results.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
get_environment_run Get Environment Run
(BETA) A saved run's full summary (inputs, assumptions, classification, metrics, image paths). include_values adds the per-sensor values (and sensor points, metres) of one metric. Also takes a job_id from a background study: 'running' with elapsed_s (no progress estimate) until it finishes, then its result. Job ids live in the server's memory and are lost if it restarts; a finished run's run_id is saved to disk.
| Parameter | Type | Description |
|---|---|---|
run_id * | string | |
include_values | boolean | |
metric | string |
list_environment_materials List Environment Materials
(BETA) The environmental material library (visible reflectance; glazing transmittance, shade transmittance, g and U) and the layer-name rules that pick them. Use the names in analyze_* materials overrides or as Rhino user text almond:env_material.
list_constructions List Constructions
(BETA) The construction library: layered assemblies (walls, roofs, floors, partitions, windows) with their U-value, areal heat capacity, finishes and glazing g / visible transmittance, plus construction sets (defaults per surface kind) and the sources and licences of the material data. kind: wall_external | wall_internal | roof | floor_ground | floor_exposed | floor_internal | window | door; region: eu, ch, de, uk, sg, tropical, temperate. Assign one to Rhino elements with assign_construction.
| Parameter | Type | Description |
|---|---|---|
kind | string | |
region | string |
get_construction Get Construction
(BETA) One construction in full: its layers (outside to inside, with conductivity, density, specific heat, thermal resistance and source), U-value by the EN ISO 6946 procedure, areal heat capacity each side (EN ISO 13786 periodic method), finishes; windows: U_g, U_w, g, visible transmittance. custom = an inline assembly {"kind": "wall_external", "layers": [{"material": "concrete_2400", "thickness_m": 0.2}, ...]} to evaluate your own build-up. diagram=True adds an SVG section detail.
| Parameter | Type | Description |
|---|---|---|
construction | string | |
custom | ||
diagram | boolean |
list_code_packs List Code Packs
(BETA) Regional code packs for envelope checks: what each contains, whether its values are bundled (licence recorded) or only its method is implemented, and the attribution to show. Packs: sg_bca (ETTV / RETV / RTTV, method; indicative, not a Green Mark assessment), uk_adl_2021 (Approved Document L limiting U-values, OGL), de_banz_2020 (German age-band U-values, public domain), eu_hotmaps (EU stock U-values, CC BY 4.0).
define_room Define Room
(BETA) Mark Rhino objects as one room (user text almond:room...). guids: a closed volume, several surfaces that bound the room (roof, walls - the room is the prism over their plan), or a closed planar curve with height_m. Rooms need not be enclosed: open pavilions and loggias are assessed with a warning. use: living | bedroom | kitchen | bath | circulation | office | classroom | outdoor (sets gains, schedule and set-points); construction_set fills faces with no construction (list_constructions). Set-points in degC (5-40, heating below cooling) or "off"; height_m in metres, for a boundary curve…
| Parameter | Type | Description |
|---|---|---|
guids * | array | |
name * | string | |
construction_set | string | |
cooling_setpoint_c | ||
heating_setpoint_c | ||
height_m | ||
remove | boolean | |
use | string |
assign_construction Assign Construction
(BETA) Give Rhino elements (walls, slabs, roofs, windows) a construction from list_constructions (user text almond:construction). An empty construction removes it. Rooms pick up the construction of each element that bounds them; analyses use its U-value, thermal mass, finishes and glazing. Undoable in Rhino.
| Parameter | Type | Description |
|---|---|---|
construction * | string | |
guids * | array |
list_rooms List Rooms
(BETA) The rooms defined in Rhino with their enclosure check: enclosed / semi-open / open, open share of the sides and top, openings by orientation, and the constructions found on their boundaries. geometry_guids: what to export (default every visible object).
| Parameter | Type | Description |
|---|---|---|
geometry_guids |
analyze_rooms Analyze Rooms
(BETA) Analyse the rooms defined in Rhino (define_room) with their constructions (assign_construction). thermal_settings: any further thermal setting by name, e.g. {"heating_months": [11,12,1,2,3,4], "natural_ventilation_months": [5,6,7,8,9,10], "natural_ventilation_on_above": 18, "natural_ventilation_min_outdoor": 10, "comfort_months": [5,...,10], "heating_setback": 16, "custom_schedule": {...}}; the result's "building" gives whole-building heating / cooling / lighting kWh/m2 over the simulated rooms. study: thermal | daylight. Thermal: enclosed and semi-open rooms as coupled ISO 13790 zones…
| Parameter | Type | Description |
|---|---|---|
epw_path * | string | |
background | boolean | |
construction | string | |
cooling | boolean | |
daylight_study | string | |
envelope_pack | string | |
geometry_guids | ||
heat_recovery | number | |
infiltration_ach | number | |
label | string | |
natural_ventilation_ach | number | |
pack_options | ||
point_in_time | ||
quality | string | |
schedule | string | |
shading_g_factor | number | |
shading_min_outdoor_c | ||
spacing_m | number | |
study | string | |
thermal_settings |
check_envelope Check Envelope
(BETA) Check the envelope of the rooms defined in Rhino against a code pack (list_code_packs). sg_bca: ETTV (or RETV with residential=True) per facade and overall, with solar correction factors derived from the site EPW (epw_path required) and shading from the glazing g-value; user_tables_path = a JSON file of your own licensed CF tables to use instead ({"ETTV_walls": {"N": 0.8, ...}}). uk_adl_2021: area-weighted U per element against the limiting values (flat_roof=False for pitched roofs). de_banz_2020 / eu_hotmaps: reference U-values of the building stock for an age band / country to compare…
| Parameter | Type | Description |
|---|---|---|
pack * | string | |
age_band | string | |
country | string | |
dwelling | boolean | |
epw_path | string | |
flat_roof | boolean | |
geometry_guids | ||
residential | boolean | |
sector | string | |
user_tables_path | string |
place_simulation_tutorial Place Simulation Tutorial
(BETA) Place Almond's simulation tutorial model in Rhino: a small annotated scene that shows what each analysis needs before it can run. part: all | environment | structure. environment: an enclosed room (closed volume, tagged as a room, with a construction set), a window (planar glazing surface with a window construction), an open loggia (closed curve + height), a neighbouring block as context, a north arrow, and numbered text dots for room, glazing, open room, context, site (weather file) and how to run, explained in a notes block beside it. structure: a 6 x 4 m frame (four columns, four bea…
| Parameter | Type | Description |
|---|---|---|
origin | ||
part | string |