apply_mesh_morphology
Apply SDF-based dilate, contract, close, or open operations to a DynamicMeshActor to replace its mesh with an offset approximation for shape modification.
Instructions
Apply an SDF-based morphology op (dilate/contract/close/open) to a DynamicMeshActor's dynamic mesh. Replaces the mesh with an SDF-based offset mesh approximation.
Returns: { actor_name, operation, distance, triangle_count, triangle_count_before, vertex_count, morphed }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| distance | Yes | Required positive float. Offset distance in cm (SDF-based). | |
| operation | Yes | Required. One of: dilate, contract, close, open. | |
| actor_name | Yes | Label or name of the target DynamicMeshActor |