Is there a plugin to draw face normals?
-
Seems like someone must have done this before. I need an edge drawn on a face to display its normal, preferably at the centroid.
Oh, and arbitrary faces! Any orientation in space, possibly concave, with holes.

-
Here is a quick plugin that will create small construction lines along the normal of the selected faces.
- Normal is shown at barycenter of the face (external loop)
- length of the construction line is just the avreage of the distance of its contour to the barycenter
Menu "Construct Face Normal" in Plugins menu and in contextual menu when at least one face is selected.
Fredo

-
Wow, thanks Fredo! This is exactly what I needed.
Can I tear your code apart and put it in mine? My plugin is free but will be packaged with commercial software. You have a disclaimer at the top but I don't see any explicit copyright notice. It also looks like you copied the header from some other code. I'll be happy to include any copyright information in my code, but maybe you want to update what's currently there?
Thanks again!
-
Oh and also I just wanted a line coming out one side of the face. Easy enough by changing line 108 to:
pt2 = bary
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement