nickberckley / bool_tool

Quick boolean operations and carving tools for hard surface mesh modeling (Blender 4.2 and upward)
https://extensions.blender.org/add-ons/bool-tool/
GNU General Public License v3.0
6 stars 1 forks source link

Naming convention change? #31

Open GuyPaddock opened 2 weeks ago

GuyPaddock commented 2 weeks ago

I've noticed that the naming of some functions appears to be different between the Blender 4.1 release of add-ons and this new fork of them. For example, in the 4.1 release one of the operators I could call was booltool_auto_difference but I don't find this exact operator in any of the history of this repo. I do see boolean_auto_difference, though.

If these are the same operator, is there any guidance for script authors updating from pre-4.2 to 4.2? For example, "the old names for these methods were X and now they're Y".

nickberckley commented 2 weeks ago

I made those changes before I started git log, when I split original into separate files, but can still be easy to find based on names. Original 8 operators (autobooleans and brush booleans) are in /operators/boolean.py file. Think it will be intuitive to find which is which.

Utility operators (apply/remove/toggle) were refactored even more that I would consider them new operators. If you use them as well I advise to first research them so you know if they're exactly what you're looking for. They're in /operators/cutter.py and /operators/canvas.py