My first python script addon for Blender. Probably lots of nooby errors and bugs but we all need to start somewhere :D. C&C are welcome !
The normal to surface constraint is an addon in python for Blender that calculates the normal vector to a mesh and applies it to the object. Strangely, this is one of the constraint that doesn’t exist and that I’d like to see in Blender.
You can find it here : https://github.com/StanPaillereau/Blender_Addons
The addon creates 2 buttons in the “tool panel” > “Relations” > “Create Normal To Surface constraint” to add/remove the constraint :
Once the constraint is added to an object, a set of buttons appears in the UI panel ( > “Custom Constraints”). They allow you to change targets/normal axis/up axis, enable/disable or delete the constraint :