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

    [Req] Check for N-Gons

    Scheduled Pinned Locked Moved Plugins
    25 Posts 6 Posters 3.3k Views 6 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.
    • R Offline
      remus
      last edited by

      Ok, here you go.

      Several improvements in v.3:
      works over the entire model (in groups and components), thanks to TIGs handy little snippet.
      Adds all N-gons to a new selection
      Tells you how many N-Gons there are in the model
      Added a Tri check which can be accessed by typing tri_check() in to the ruby console


      ngon_check.rb

      http://remusrendering.wordpress.com/

      1 Reply Last reply Reply Quote 0
      • StinkieS Offline
        Stinkie
        last edited by

        Thanks!

        1 Reply Last reply Reply Quote 0
        • K Offline
          Khai
          last edited by

          not working right.... it's reporting everything has 18 N-gons... even a cube.....

          wish I could help 😞 but I'm no programmer 😞

          1 Reply Last reply Reply Quote 0
          • R Offline
            remus
            last edited by

            Hmmm, most unusual. Working ok for me. Could you post a problem model?

            http://remusrendering.wordpress.com/

            1 Reply Last reply Reply Quote 0
            • K Offline
              Khai
              last edited by

              no point.. since even a simple six sided cube is reporting '18 Ngons' tho, if I add 3 Ngons... it reports '21 Ngons' !

              for some reason it's reporting 18 instead of 0....

              Edit

              Found the problem. it's checking all the entities in the scene. example : a new scene automatically has 18 Ngons = the default human figure.

              even deleting him, he registers in the Ngon check.. do a purge and remove him totally, it reports correctly...

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

              Advertisement