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

    [Plugin] Edge Tools

    Scheduled Pinned Locked Moved Plugins
    209 Posts 73 Posters 265.5k Views 73 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.
    • pilouP Offline
      pilou
      last edited by

      @unknownuser said:

      hm... no...
      this one is a thinker...

      Because after this will easy to have a uniform object well oriented! ☀

      Frenchy Pilou
      Is beautiful that please without concept!
      My Little site :)

      1 Reply Last reply Reply Quote 0
      • thomthomT Offline
        thomthom
        last edited by

        @unknownuser said:

        @unknownuser said:

        hm... no...
        this one is a thinker...

        Because after this will easy to have a uniform object well oriented! ☀

        If the purpose is to orient all faces, then right click a face and choose Orient Faces.

        Thomas Thomassen — SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 Reply Last reply Reply Quote 0
        • pilouP Offline
          pilou
          last edited by

          No, it's not so simple 😉
          Try with the object linked above!
          You must select by hand all different aeras and make different Reverse before Orient 😮
          Easy with this object but for a more complex, it's a mess! 😒

          Frenchy Pilou
          Is beautiful that please without concept!
          My Little site :)

          1 Reply Last reply Reply Quote 0
          • thomthomT Offline
            thomthom
            last edited by

            Ah, yea, I see now that there are a couple of problem areas. The problem here is knowing programmatically what is "outside".

            Thomas Thomassen — SketchUp Monkey & Coding addict
            List of my plugins and link to the CookieWare fund

            1 Reply Last reply Reply Quote 0
            • pilouP Offline
              pilou
              last edited by

              "Outside" is not given by face's sign of a normal?

              Frenchy Pilou
              Is beautiful that please without concept!
              My Little site :)

              1 Reply Last reply Reply Quote 0
              • A Offline
                arjunmax09
                last edited by

                http://media.freeola.com/images/user-images/4366/u2closeup.jpg

                Awesome!!! Awesome!!!Awesome!!!Awesome!!!Awesome!!! Thomthom you rock...that's why a rocking cake for you 😄 btw..do you listen to u2??

                when you fail at something....you haven't really failed...you've found one way the thing will not work out

                1 Reply Last reply Reply Quote 0
                • mitcorbM Offline
                  mitcorb
                  last edited by

                  Sketchup would have to decide what is outside, what is inside. What if it would have something to do with faces facing camera? Or, if the model is a closed volume somehow Sketchup would check for this and assumes all outside faces should be white, all inside faces should be grey. But what would it decide on an almost closed volume?

                  I take the slow, deliberate approach in my aimless wandering.

                  1 Reply Last reply Reply Quote 0
                  • TIGT Offline
                    TIG Moderator
                    last edited by

                    That is why with some of my tools - like EEbyRails - it makes the mesh and asks if you want to reverse the faces - it tries to double-guess which is inside and which is out, BUT only you know which way round you'd like it...

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • thomthomT Offline
                      thomthom
                      last edited by

                      Problem arise when you have meshes with internal faces.

                      Thomas Thomassen — SketchUp Monkey & Coding addict
                      List of my plugins and link to the CookieWare fund

                      1 Reply Last reply Reply Quote 0
                      • TIGT Offline
                        TIG Moderator
                        last edited by

                        If an edge has more than two faces it is impossible to have all of those faces oriented the same way.
                        A simple fact of geometry - therefore trying to orient meshes with 'internal' faces is futile...

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • mitcorbM Offline
                          mitcorb
                          last edited by

                          This must be due to Sketchup being a surface modeler?.
                          I'm not sure what Blender is classified as, but it has ways to deal with face orientation, internals and duplicates. I wonder if some analogous form of these concepts could still be applied to Sketchup?-- that is, short of exporting to Blender and back.

                          I take the slow, deliberate approach in my aimless wandering.

                          1 Reply Last reply Reply Quote 0
                          • thomthomT Offline
                            thomthom
                            last edited by

                            Update 1.1.1
                            Important bug fix in my Ramer-Douglas-Peucker implementation of the curve simplification.

                            Thomas Thomassen — SketchUp Monkey & Coding addict
                            List of my plugins and link to the CookieWare fund

                            1 Reply Last reply Reply Quote 0
                            • B Offline
                              Ben Ritter
                              last edited by

                              Thom thom, thank you for the great plugin. I don't seem to understand how to get the colinear function. I see the rest but not this one.

                              Ben

                              1 Reply Last reply Reply Quote 0
                              • N Offline
                                notareal
                                last edited by

                                Nice!

                                Welcome to try [Thea Render](http://www.thearender.com/), Thea support | [kerkythea.net](http://www.kerkythea.net/) -team member

                                1 Reply Last reply Reply Quote 0
                                • thomthomT Offline
                                  thomthom
                                  last edited by

                                  Sorry about replacing the Divide Face video is a poorer quality YouTube video, but I ran out of bandwidth on Screencast and I did not have the original video.

                                  Thomas Thomassen — SketchUp Monkey & Coding addict
                                  List of my plugins and link to the CookieWare fund

                                  1 Reply Last reply Reply Quote 0
                                  • pilgerP Offline
                                    pilger
                                    last edited by

                                    Hey thom!

                                    I wonder if the simplify curve bit work with closed curves or even surfaces. I find myself in a position in which i imported geometry from a DWG and it left me with some insanely segmented edges. I'm trying to find a method to simplify this thing which complies with the Human Rights.

                                    I've uploaded a small sample to make it clearer.

                                    Thanks in advance.
                                    EDIT:
                                    Found a neat SimplifyCountours.rb script right on the SketchUp repository (http://sketchup.google.com/download/rubyscripts.html). Silly me.

                                    I figured i should post it here in order to help whoever has a similar issue, since it's somehow related to the plugin subject.

                                    I'll be keeping your plugin though, thom. It's pure juice. Keep it up!


                                    Segments from imported geometry

                                    1 Reply Last reply Reply Quote 0
                                    • thomthomT Offline
                                      thomthom
                                      last edited by

                                      I realised last week that it did not work for closed curves. But this I should be able to make work.

                                      However, it will not work with faces attached.

                                      Thomas Thomassen — SketchUp Monkey & Coding addict
                                      List of my plugins and link to the CookieWare fund

                                      1 Reply Last reply Reply Quote 0
                                      • pilgerP Offline
                                        pilger
                                        last edited by

                                        That wouldn't be much of a problem. There's a pretty good Make Face plugin around (i don't remember who wrote it, though).

                                        I'm having some difficulties in using that Simplify thingy i've found as it uses angles to do the dirty job and not the neat Rammer-Douglas_Peucker algorhithm. 😕

                                        1 Reply Last reply Reply Quote 0
                                        • thomthomT Offline
                                          thomthom
                                          last edited by

                                          Yea - it's why I was looking for a different algorithm as I found that Simplify didn't preserve the overall shape as well.

                                          From your screenshot it looks as though you have a lot of criss-crossing curves. That leads to problems with any curve simplification algorithms.

                                          In my DP implementation I pre-process the selection to locate curve segments. A curve segment is only valid if it doesn't have faces connected or forks. Anything that doesn't fit the requirements is silently ignored.

                                          Thomas Thomassen — SketchUp Monkey & Coding addict
                                          List of my plugins and link to the CookieWare fund

                                          1 Reply Last reply Reply Quote 0
                                          • pilgerP Offline
                                            pilger
                                            last edited by

                                            Indeed, i realise the crossing is a bit of a problem. However, i separated them all in groups (which is basically double clic and group, being a fairly easy task) so i guess that wouldn't get much in the way.

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

                                            Advertisement