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

    [Plugin] CleanUp

    Scheduled Pinned Locked Moved Plugins
    974 Posts 217 Posters 788.6k Views 217 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.
    • C Offline
      Crevard
      last edited by

      now i can finally work my things out thanks to you , merging from archicad is not a problem anymore , u rock !!!!!!! πŸ‘ πŸ‘ πŸ‘

      1 Reply Last reply Reply Quote 0
      • Chris FullmerC Offline
        Chris Fullmer
        last edited by

        @thomthom said:

        Armed with more info from Simone Nicolo I now have a better method for detecting coplanar faces - the same method Sketchup use. I think it's 100% reliable. No more messing about with tolerances.

        Highly recommended update!

        Hey Thom, I am having some tolerance problems on a script I'm working on. Comparing Point3d objects. Do you have some insight that might help me make my comparisons more stable?

        Lately you've been tan, suspicious for the winter.
        All my Plugins I've written

        1 Reply Last reply Reply Quote 0
        • Chris FullmerC Offline
          Chris Fullmer
          last edited by

          Oh darn, I see the solution you are using really is specifically for face co-planar-ness detection. So it will not help with my point comparison. I do have 3 points though, and they should all be on the same line. So maybe I can use the same concept, and test if all 3 are on the same line, instead of just tesing if 2 of them are identical. I'll let you know how it goes.

          Chris

          Lately you've been tan, suspicious for the winter.
          All my Plugins I've written

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

            @chris fullmer said:

            Oh darn, I see the solution you are using really is specifically for face co-planar-ness detection. So it will not help with my point comparison. I do have 3 points though, and they should all be on the same line. So maybe I can use the same concept, and test if all 3 are on the same line, instead of just tesing if 2 of them are identical. I'll let you know how it goes.

            Chris

            They should be on the same line - and two are identical? On the same place?

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

            1 Reply Last reply Reply Quote 0
            • Chris FullmerC Offline
              Chris Fullmer
              last edited by

              I've found my tolerance flaw - it is my brain's intolerance for writing code til 4:00 in the morning. I am not having tolerance flaws, but I was having classify_point mis-use issues. I am getting closer to figuring it out.

              Chris

              Lately you've been tan, suspicious for the winter.
              All my Plugins I've written

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

                Does this script erase co-linear lines or lines on top of each other?

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

                  ? Edges on top of another edge? Is that pre SU7 models?

                  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

                    @thomthom said:

                    ? Edges on top of another edge? Is that pre SU7 models?

                    It's an imported .dwg file into an SU8 model.

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      Jim
                      last edited by

                      Thom, could you explain what the option "ignore normals" means?

                      Hi

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

                        @jim said:

                        Thom, could you explain what the option "ignore normals" means?

                        "Normal" - refers to the direction of the face. You can have two co-planar faces next to each other, but one facing up, and one facing down. When "Ignore Normals" is enabled it means that coplanar faces with inverse normals will be merged.

                        This is something I hope to be able to improve in V3 - better descriptions.

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

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          Jim
                          last edited by

                          Thanks, makes sense.

                          Hi

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

                            @jim said:

                            Thanks, makes sense.

                            Once you know it - but maybe not so intuitive when you don't... πŸ˜•

                            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

                              May I humbly request a close-open functionality (with custom search radius defined by user)? Just similar to closeopens.rb
                              by Todd Burch.

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

                                @rv1974 said:

                                May I humbly request a close-open functionality (with custom search radius defined by user)? Just similar to closeopens.rb
                                by Todd Burch.

                                Funny you should mention that. I began on a small utility today:
                                CloseGaps.png

                                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

                                  You are unhealthy unstoppable πŸ™‚ But don't make it a separate tool. Insert it in the cleanup. Those rubies pullulate like cockroaches πŸ™‚

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

                                    @rv1974 said:

                                    But don't make it a separate tool. Insert it in the cleanup. Those rubies pullulate like cockroaches πŸ™‚

                                    I was planning on adding it to Edge Tools. One completely automatic, one where on can inspect, like solid inspector.

                                    Could add the automatic version to CleanUp3.

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

                                    1 Reply Last reply Reply Quote 0
                                    • plot-parisP Offline
                                      plot-paris
                                      last edited by

                                      @thomthom said:

                                      Could add the automatic version to CleanUp3.

                                      oh, will that be in the near future?

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

                                        @plot-paris said:

                                        @thomthom said:

                                        Could add the automatic version to CleanUp3.

                                        oh, will that be in the near future?

                                        CleanUp 3 and Edge Tools 2 will be out next week. ( And the feature of closing small caps will be in Edge Tools. )

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

                                        1 Reply Last reply Reply Quote 0
                                        • Z Offline
                                          Zenhipster
                                          last edited by

                                          Tested the plug-in here on such a model. Does not work.
                                          Inside a lot of extra polygons.


                                          magicube

                                          1 Reply Last reply Reply Quote 0
                                          • GaieusG Offline
                                            Gaieus
                                            last edited by

                                            There's nothing to clean up there. There's not a single line that is not part of the components (which are all perfectly solid so cannot be any stray geometry in them).

                                            If you want to get rid of the separating edges/faces, you need to explode the whole thing first and run another plugin:
                                            http://forums.sketchucation.com/viewtopic.php?f=180&t=12668&p=92295#p92295

                                            (Nice model, by the way!) πŸ˜‰


                                            Solids.jpg

                                            Gai...

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

                                            Advertisement