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.
    • 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
                            • thomthomT Offline
                              thomthom
                              last edited by

                              hm... I guess it could be made into an option to consider a curve segment to be between forks...

                              Adding to Experiment list.

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

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

                                Version 1.1.2
                                Important Bug Fix!
                                Fixed incorrect lengths for Divide Face tool.

                                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

                                  Perfection is not for this world 😉

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

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

                                    Hi Thomtom,
                                    First, thanks for your hours spent making all these plugins. its a wonder google dont take some onboard for future su releases.
                                    I not very technically inclined when it comes to 3d terminology, just want to ask about importing terrain from google earth (get current view ), If I get a few views all slightly overlapping,then explode and toggle terrain, I get holes and overlaps and mess.
                                    Which one of your scripts is best to clean this up? Edge tools or cleanup rb?
                                    Also in su 8 get current view is no longer in the google toolbar?

                                    1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      shoeb_cars
                                      last edited by

                                      RESPECT ++
                                      u saved my life again...TQ very much

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

                                        Version 1.1.3
                                        Important Update! Now handles curves the forms loops.

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

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

                                          Damn how could I miss it? Excellent! With this set of tools you came very close to the one of the biggest hemorrhoids in my workflow- the acad generated arcs\polylines\curves. They typically overlap, cut each other, have different segment length and stray ends etc. If only you could make something in this direction 😉


                                          kkk.skp


                                          Capture.JPG

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

                                            Overlapping curves that intersect each other is troublesome. It's something that should be corrected in Autocad before importing as it'd be difficult to separate them afterwars. ("Garbage in garbage out")
                                            As for the curve segments - Fredo's Bezier Curve tool let you convert curves into parametric curves you can adjust - can be used to interpolate I think. Maybe his plugin could be automated to process a set of curves?

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

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

                                            Advertisement