Skip to main content
Glama

bulc_auto_mesh

Generate FDS simulation meshes from building geometry with specified resolution for rooms, walls, and multi-level structures.

Instructions

Automatically generate FDS mesh based on building geometry. Creates optimized mesh covering all rooms and walls with specified resolution. Can create single mesh or multiple meshes for multi-level buildings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cellSizeNoTarget cell size in meters. Default: 0.2 (20cm)
paddingNoPadding around geometry in meters. Default: 0.5
heightAboveRoofNoAdditional height above highest point in meters. Default: 1.0
multiMeshNoCreate separate meshes per floor level. Default: false (single mesh)
maxCellsNoMaximum total cell count. Auto-adjusts cell size if exceeded. Default: 1000000

Implementation Reference

  • Handler case for 'bulc_auto_mesh' tool: parses arguments with AutoMeshSchema and sends 'auto_mesh' action to BULC client.
    case "bulc_auto_mesh": { const validated = AutoMeshSchema.parse(args); result = await client.sendCommand({ action: "auto_mesh", params: validated, }); break; }
  • Zod schema for validating inputs to the bulc_auto_mesh tool.
    const AutoMeshSchema = z.object({ cellSize: z.number().positive().optional(), padding: z.number().optional(), heightAboveRoof: z.number().optional(), multiMesh: z.boolean().optional(), maxCells: z.number().int().positive().optional(), });
  • Registration of the 'bulc_auto_mesh' tool in the meshTools array, including description, input schema, and annotations.
    { name: "bulc_auto_mesh", description: "Automatically generate FDS mesh based on building geometry. " + "Creates optimized mesh covering all rooms and walls with specified resolution. " + "Can create single mesh or multiple meshes for multi-level buildings.", inputSchema: { type: "object" as const, properties: { cellSize: { type: "number", description: "Target cell size in meters. Default: 0.2 (20cm)", }, padding: { type: "number", description: "Padding around geometry in meters. Default: 0.5", }, heightAboveRoof: { type: "number", description: "Additional height above highest point in meters. Default: 1.0", }, multiMesh: { type: "boolean", description: "Create separate meshes per floor level. Default: false (single mesh)", }, maxCells: { type: "integer", description: "Maximum total cell count. Auto-adjusts cell size if exceeded. Default: 1000000", }, }, }, annotations: { readOnlyHint: false, destructiveHint: true, }, },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/using76/BULC_MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server