surface_trim_cells
Previews the cells a trim tool would create on surrounding surfaces without changing the design, so you can choose cells to remove and pass their points to surface_trim.
Instructions
Preview of a trim: the cells the tool cuts the surrounding surfaces into.
Nothing changes in the design (the trim input is cancelled). Each cell has "center" [x, y, z] mm, "bbox" {"min", "max"} mm, "area_mm2" and "is_solid". Cells are temporary and have no refs: pick the ones to remove by a point near them and pass those points to surface_trim.
Errors: a tool of another type -> INVALID_PARAMS.
Returns {"cells": [{center, bbox, area_mm2, is_solid}], "count"}.
Example: surface_trim_cells(trim_tool="origin:XY")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trim_tool | Yes | Cutting tool: surface body, face, construction plane / origin:XY|XZ|YZ or sketch curve |