export_ce3x_envelope
Extract CAD thermal envelope parameters for CE3X energy certification, including wall areas, orientations, windows, and floor area, then save them as a standardized JSON file.
Instructions
Extract CAD thermal building envelope parameters for CE3X energy certification.
Behavior:
Mutation: Strictly read-only for CAD geometry; does not alter drawing database or active viewport.
Persistence: Saves a standardized JSON envelope file to the configured output directory.
Side Effects: Filesystem write of the output JSON file.
Usage Guidelines:
When to Use: Call when bridging CAD floor plans to energy certification workflows (CE3X-MCP-SERVER, CTE DB-HE, or RD 390/2021). Computes exterior wall surface areas, wall azimuth orientations (N, S, E, W) by normal vector geometry, associated window openings, and usable floor area.
Sibling Routing / Alternatives:
For generic drawing takeoffs, Excel spreadsheets, or FIEBDC-3 budgets, use
export_data.For spatial queries or room area schedules without thermal calculations, use
inspect_drawingormanage_entities(operations="area|...").
Parameters:
wall_height: Clear floor-to-ceiling height in meters. Default: 2.70.
climate_zone: CTE climate zone (e.g., "A3", "C1", "D3"). Default: "C1".
building_type: Building typology ("vivienda_individual", "bloque_viviendas", "terciario"). Default: "vivienda_individual".
filename: Output JSON filename. Default: "envolvente_ce3x.json".
Returns: JSON string containing CTE thermal envelope parameters, ready for direct ingestion by CE3X-MCP-SERVER.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | envolvente_ce3x.json | |
| wall_height | No | ||
| climate_zone | No | C1 | |
| building_type | No | vivienda_individual |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |