plane_cut_fracture
Slices a UGeometryCollection asset into new pieces by cutting its transforms with random planes, then saves the fractured result.
Instructions
Cuts all transforms of a UGeometryCollection asset with num_planes random planes inside its bounds (no noise, islands split by default), then saves it. new_fracture_count is the number of new pieces, measured as the transforms the cut added; the call fails when it added none (an empty collection, or planes that miss every piece) or when the save fails.
Returns: { geometry_collection_path: string, num_planes: int, new_fracture_count: int, transform_count: int, success: bool, saved: bool, save_error: string? }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grout | No | Width of the gap left between cut pieces, in cm (default 0) | |
| num_planes | No | Number of random cutting planes to generate, minimum 1, default 3 | |
| random_seed | No | Optional seed for plane generation, default 1337 | |
| split_islands | No | Optional, split resulting islands, default true | |
| geometry_collection_path | Yes | Asset path of the UGeometryCollection |