Shape export obst
shape_export_obstVoxelizes a selected shape or visible roots and exports it as an FDS obstacle with voxel geometry, optionally aligning voxels to project mesh cells or using shell mode.
Instructions
Shape Studio → FDS: voxelize the shape (node_id, or union of all visible roots) and add it to the model as an obstacle with voxel geometry. Recommended: align_to_mesh=true — voxels then use the project MESH cell size and sit exactly on FDS cell boundaries (no ±1 cell snapping). Otherwise voxel_size (m, e.g. 0.1) or per-axis cell [dx,dy,dz]. voxel_mode "shell" voxelizes only the surface (hollow meshes such as hoods, ducts, funnels, open imported STL); default "solid" fills the inside. origin optionally repositions the bbox min corner in the domain (breaks mesh alignment). [bulc-mcp rules] GEN-003, GEO-009, GEO-010 — bulc_knowledge_search ""
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell | No | Per-axis voxel size [dx,dy,dz] (m) — overrides voxel_size | |
| origin | No | Domain position of bbox min corner (default: keep authored coords) | |
| node_id | No | Node to export (default: union of visible roots) | |
| surf_id | No | SURF for all faces (default: node surf or INERT) | |
| voxel_mode | No | solid (default) or shell (surface only) | |
| voxel_size | No | Voxel edge (m), e.g. 0.1 — ignored when align_to_mesh | |
| obstacle_id | Yes | New obstacle ID | |
| align_to_mesh | No | Use the (finest) project MESH cell size and grid origin |