create_surface_based_element
Create floors, roofs, ceilings, and other surface-based building elements by providing a closed polygon boundary. Supports batch creation of multiple elements.
Instructions
Create floors, roofs, ceilings, and other surface-based building elements.
Each element needs a closed boundary polygon (list of line segments) where the last point connects back to the first. All dimensions in millimeters. Supports batch creation.
Args: elements: List of element definitions, each with: - element_type (str): "floor", "roof", or "ceiling" (required) - boundary (list[dict]): Array of {"p0": Point, "p1": Point} segments forming a closed polygon (required, minimum 3 segments) - type_name (str): Family type name (optional) - level_name (str): Target level name (optional) - offset (float): Offset from level in mm (optional, defaults to 0) - name (str): Description for reference (optional) ctx: MCP context for logging
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elements | Yes |