How nachomonereo/meshbrushtool-rhino works
MeshBrushTool is a Rhino sculpting plug-in. The user runs SmoothBrush, selects a Mesh or SubD, and drags in the viewport; brush options control smoothing or inflation, radius, strength, and whether the original is retained. The brush updates geometry interactively, then the command commits the final geometry to the Rhino document. SubD conversion, camera-facing filtering, and stroke handling are visible in the sampled code. The README documents the user workflow and capabilities; unsampled internals are not inferred.
Main entry points: SmoothSubMeshCommand.cs SmoothBrush command · SmoothBrush.cs Mesh and SubD sculpting · BaseBrush.cs Brush input and options
Components 6
Command and interaction
- SmoothBrush command
SmoothSubMeshCommand.cs - Brush input and options
BaseBrush.cs
Sculpting engine
- Mesh and SubD sculpting
SmoothBrush.cs
Rhino document
- Rhino document
- Rhino plug-in
MeshBrushTool.cs
Other components
- Rhino user
Connections 7
- Rhino user → SmoothBrush command: runs
README.md - SmoothBrush command → Rhino document: selects geometry
SmoothSubMeshCommand.cs - SmoothBrush command → Mesh and SubD sculpting: creates and paints
SmoothSubMeshCommand.cs - SmoothBrush command → Brush input and options: starts interaction
SmoothSubMeshCommand.cs - Brush input and options → Mesh and SubD sculpting: dispatches brush strokes
BaseBrush.cs - Mesh and SubD sculpting → Rhino document: replaces geometry
SmoothBrush.cs - SmoothBrush command → Rhino document: commits final geometry
SmoothSubMeshCommand.cs