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.
    • 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
                              • B Offline
                                bentleykfrog
                                last edited by

                                Awesome toolset, would be nice if divide faces preserved the edges soft, smooth and hidden properties though.

                                thanks thomthom

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

                                  @bentleykfrog said:

                                  Awesome toolset, would be nice if divide faces preserved the edges soft, smooth and hidden properties though.

                                  thanks thomthom

                                  Good idea. I have an update coming up very shortly. Though it won't make it for that, but I'll be on my todo 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 2.0.0

                                    • Bug fixes
                                    • Toolbar
                                    • Close Gaps
                                    • Erase Stray Curves

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

                                    1 Reply Last reply Reply Quote 0
                                    • srxS Offline
                                      srx
                                      last edited by

                                      Thank you, thank you, thankyou...

                                      www.saurus.rs

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

                                        Version 2.0.1

                                        • Fixed minor issue where the plugin might throw an error if another plugin hadn't already loaded TT_Lib2.

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

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

                                          Capture.PNG

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

                                            Version 2.0.2

                                            • Fixed minor namespace reference issue.

                                            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
                                            • 10
                                            • 11
                                            • 4 / 11
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement