body_boundary_fill
Fills closed cells enclosed by bodies, faces, or planes to create solids, optionally selecting only cells that contain specified points.
Instructions
Boundary fill: make solids from the closed cells that tool bodies, faces and planes enclose.
Cells are chosen by points, never by index: every cell by default, or the cells that contain cell_points. If a point lies in no cell, nothing is created and the error lists every cell (details.cells: center [x, y, z] mm and volume mm³) to pick points from. Refs: bodies/faces from inspect_query, planes from origin:* / construction_*.
Errors: a point in no cell, tools enclosing no cell -> INVALID_PARAMS (nothing changed); a fill Fusion cannot compute -> FUSION_API_ERROR, rolled back.
Returns {"feature", "health", "created_bodies", "modified_bodies", "removed_bodies"}.
Example: body_boundary_fill(tools=[, "origin:XY"], cell_points=[[5, 5, 5]])
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tools | Yes | Bodies, faces and planes that bound the cells | |
| units | No | Unit of plain-number lengths | mm |
| operation | No | new_body (default), join, cut, intersect, new_component | new_body |
| cell_points | No | Fill only the cells containing these [x, y, z] points (in `units`); omitted = every cell | |
| remove_tools | No | Remove the tool bodies |