bisect_mesh
Slice a mesh along a defined plane, optionally delete one side, and cap the cut to create clean geometry or halve a model for mirroring.
Instructions
Slice a mesh with a plane, optionally deleting one side and capping the cut.
Cuts a new edge loop where the plane crosses, which is also a clean way to halve a model before adding a Mirror modifier.
Args: object_name: Mesh object. plane_point: A point on the cutting plane, in world space. plane_normal: The plane's direction, in world space; it need not be unit length but must not be zero. [0, 0, 1] is a horizontal cut. clear_inner: Delete everything behind the plane (against the normal). clear_outer: Delete everything in front of the plane (along the normal). fill: Cap the cut with a face. Only useful when one side is cleared. selection: "ALL" for the whole mesh, or "CURRENT" for the part already selected.
Returns: Dict with the vertex count afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fill | No | ||
| selection | No | ALL | |
| clear_inner | No | ||
| clear_outer | No | ||
| object_name | Yes | ||
| plane_point | No | ||
| plane_normal | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||