sculpt_brush_stroke
Apply a programmed brush stroke to a mesh for sculpting using bmesh displacement. Choose from various brush types, define stroke points in world space, set strength and radius, and enable symmetry.
Instructions
Execute a programmatic sculpt brush stroke on a mesh.
Uses bmesh vertex displacement for precise, reproducible sculpting that doesn't depend on screen coordinates.
Args: mesh_name: Name of the mesh object. brush_type: Brush to use — DRAW, CLAY_STRIPS, SMOOTH, GRAB, INFLATE, CREASE, FLATTEN, PINCH, SNAKE_HOOK. strength: Brush strength 0.0-1.0. radius: Brush radius in Blender units (world space). stroke_points: JSON array of {"x","y","z"} world-space points defining the stroke path. Each point applies the brush effect. use_symmetry_x: Mirror across X axis (left/right). use_symmetry_y: Mirror across Y axis. use_symmetry_z: Mirror across Z axis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| radius | No | ||
| strength | No | ||
| mesh_name | Yes | ||
| brush_type | No | DRAW | |
| stroke_points | No | [] | |
| use_symmetry_x | No | ||
| use_symmetry_y | No | ||
| use_symmetry_z | No |