How to develop a custom sculpt tool? Blender comes with a bunch of sculpting tools:



I am wanting to create a custom sculpting tool but I am not sure where to begin. How would I go about creating a custom sculpting tool with several extra properties in the properties area:



As an aside, when looking at the contents of a .blend file I noticed that all of the sculpting tools are inside there; so I basically want to add a new custom one into there somehow...



What I am looking to create

The tool that I want to create would basically have three properties "Source Mesh Min", "Source Mesh Max" and "Direction". Both of the source meshes would have the exact same topology as the actual mesh that is being sculpted.

The sculpting tool would then essentially lerp the current mesh towards one of the two source meshes depending upon the selected direction.
Sculting is a very calculation intensive task. For speed reasons it has been developed in the core of blender using the C language. Implementing the tools you describe in sculpting is possible, but not using the python API. Gladly Blender is OpenSource so you will be able to get the sourcecode and change it to your likings.

Python Alternative:

As in your description the topology must be the same it sounds like sculpting is more the UI/workflow and not the tool (using sculpting the topology does not have to be the same (Dynamic topology). Implementing such a feature inside the 3d editor using python seems to be an good alternative.

You could even store the values in a Weightmap and use this data to calculate the new mesh. Getter the interactivity will be the challenge.