Demonstrates how to implement a brush tool that modifies a BaseObject by grabbing all points under the brush.
The brush finds points under the cursor and moves them according to the grab interaction, illustrating the SculptBrushToolData lifecycle.
To run this example, place the file in the Cinema 4D plugins folder and restart Cinema 4D.
Topics:
- Finding points under a sculpt brush
- Moving points with a grab interaction
| File | Description |
|---|---|
| py_tool_sculpt_grab_brush.pyp | Demonstrates how to implement a brush tool that modifies a BaseObject by grabbing all points under the brush. |
| README.md | This file. |
| res/c4d_symbols.h | Global symbols and identifiers used by the plugin. |
| res/description/pythongrabbrush.h | Description symbols for the pythongrabbrush tool. |
| res/description/pythongrabbrush.res | Description definition for the pythongrabbrush tool. |
| res/strings_us/c4d_strings.str | The global English language string table used by the plugin. |
| res/strings_us/description/pythongrabbrush.str | The English language string table by the pythongrabbrush description. |