This is a simple tool to snap all selected vertices to the (approximate) plane of best fit that describes them. It was made in about two half-days, and it is my first time developing for Blender (and Python for that matter). In the future, I intend to make it an interactive tool. The usage pattern would be:
- Select three-or-more vertices that define your intended plane.
- Run the “Make Coplanar” command. If four-or-more, the plane will be an approximate average of these and the vertices will snap to it.
- Your selected vertices will deselect.
- Select more vertices to add to plane, defined in Step 1.
- Press “Enter” to apply these extra vertices, or “Esc” to cancel.
Also, do you have any other comments? Critiques? Suggestions? Etc.
This is currently released under a standard, copyright license. I intend to make this open source, but I do not know what open-source license to use, yet. As such, I am leaving myself the maximum amount of licensing freedom while it’s still up in the air. What do you suggest?
Should I make it permissive (BSD, Apache, etc.) or copy-left (GPL, Mozilla, etc.)?
NOTE: The faces might still shade a bit weirdly, especially if they’re NGONs. That’s just the shading of it. You will see the same thing if you moved the vertices there yourself. No geometry is added or removed.
https://github.com/ScottMichaud/blender-makecoplanar ((Download Zip))
Installation and usage instructions are available at GitHub.
((Old version attached below… do not use))
mesh_makecoplanar.zip (2.32 KB)