sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Is there a plugin to draw face normals?

    Scheduled Pinned Locked Moved Plugins
    4 Posts 2 Posters 388 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      draftomatic
      last edited by

      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. 😃

      1 Reply Last reply Reply Quote 0
      • fredo6F Offline
        fredo6
        last edited by

        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

        ConstructFaceNormal.jpg

        1 Reply Last reply Reply Quote 0
        • D Offline
          draftomatic
          last edited by

          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!

          1 Reply Last reply Reply Quote 0
          • D Offline
            draftomatic
            last edited by

            Oh and also I just wanted a line coming out one side of the face. Easy enough by changing line 108 to:
            pt2 = bary

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Buy SketchPlus
            Buy SUbD
            Buy WrapR
            Buy eBook
            Buy Modelur
            Buy Vertex Tools
            Buy SketchCuisine
            Buy FormFonts

            Advertisement