sculpt_trim
Trim sculpt meshes by subtracting plane, box, sphere, or custom cutters with automatic geometry cleanup.
Instructions
Boolean trim/cut operations for sculpting.
trim_type: 'plane' — Cut mesh with a plane 'box' — Boolean subtract a box 'sphere' — Boolean subtract a sphere 'custom' — Boolean with another object
params (JSON): plane: {"origin": [x,y,z], "normal": [x,y,z], "fill": true} box: {"min": [x,y,z], "max": [x,y,z], "operation": "DIFFERENCE"} sphere: {"center": [x,y,z], "radius": 0.5, "operation": "DIFFERENCE"} custom: {"cutter": "CutterObjectName", "operation": "DIFFERENCE"}
cleanup: Auto-cleanup degenerate geometry after cut.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | {} | |
| cleanup | No | ||
| mesh_name | Yes | ||
| trim_type | No | plane |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |