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

      I looked at it briefly. Added your request to the list of things to look at for future version. But it won't happen immediately. Got some other projects I need to attend. ( Also, I've been ill for a week - still am - so I've got quite a bit of catching up to do when my head stops throbbing.)

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

      1 Reply Last reply Reply Quote 0
      • bagateloB Offline
        bagatelo
        last edited by

        Wow, what a pity. I am sorry you are sick. Health to you!

        While the cat's away, the mice will play

        1 Reply Last reply Reply Quote 0
        • bagateloB Offline
          bagatelo
          last edited by

          I think this can be useful: http://forums.sketchucation.com/viewtopic.php?f=18&t=35291

          @bagatelo said:

          I would like to share here a technique to export models from 3dsmax Autodesk to google sketchup using 3ds files.

          Please download the file: DetachElements.mcr in this site:
          http://www.scriptspot.com/3ds-max/scripts/detach-elements

          Then insert this file in the folder:
          C:\Program Files (x86)\Autodesk\3ds Max 2010\Scripts\Startup

          I import the model to be exported into the Sketchup into the 3dsmax, I press on the keyboard Alt+NumPad2 and after this Alt+NumPad3. What do these shortcuts?

          Alt + NumPad2 Separates groups in all elements of the model, using the script mentioned above.
          Alt + NumPad3 Makes 'Reset Xform'.

          After that it's only export to Google Sketchup, that objects do not come all messed up.

          Surely you want to use the plugin CleanUP done by thomthom.

          Thanks..

          While the cat's away, the mice will play

          1 Reply Last reply Reply Quote 0
          • C Offline
            cadmunkey
            last edited by

            Great ruby, just halved the size of my current model. Cheers!

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

              ThomThom,

              I've been having a lot of success with this plugin so far, but I just came across a few problems. First, running Merge Faces on my model deletes geometry, and also it isn't actually merging most of my co planar faces:

              Before running merge faces:

              http://img717.imageshack.us/img717/6093/36578289.jpg

              After merge faces:

              http://img220.imageshack.us/img220/841/77504264.jpg

              See deleted and non-merged faces circled in red.

              Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.

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

                Can you share the model? Or send it directly to me if you don't want it shared in public?
                Without the model it's hard to determine what's going on.

                (The scale of the model isn't very small, is it?)
                And do you have Erase Duplicate Faces on or off? (leave it off unless you have problems with faces overlapping the same space. it's very slow and can be buggy)

                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
                  JPMays
                  last edited by

                  No, the model is not small scale, in fact it's pretty large. No, I have not had erase duplicate faces checked.

                  I'll pm you with the file.

                  Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.

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

                    The disappearing faces seems to be related to some rouge faces with area of 0 - or close to. Some very very thing faces which throws off the calculations. I'll see if I can find time this week to find a way to deal with them.

                    The co-planar faces that where not merged: I could not test these as the model you sent appear to be somewhat different that the once you posted screens off. Doesn't seem to include the faces.

                    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

                      SketchUp considers all the edges in these troublesome faces to be all parallel to each other. I might be able to use that as a way to detect potentially troublesome faces.

                      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
                        JPMays
                        last edited by

                        Oops, I must have saved over the model that was having the problems. Sorry.

                        Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.

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

                          Well, at least I managed to reproduce the most critical. Disappearing geometry is much worse than some bits that remain.

                          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
                            JPMays
                            last edited by

                            Ok, I sent you a cleaned up version of the file, with reduced geometry (I deleted a lot to reduce file size). Still getting the same problem.

                            I want to merge these two faces:

                            http://img62.imageshack.us/img62/5557/14488237.jpg

                            But when I select them, then go here:

                            http://img546.imageshack.us/img546/4679/91470050.jpg

                            I get nothing. But if I delete one edge, they become a single face, so you know they are co-planar:

                            http://img251.imageshack.us/img251/4448/29294919.jpg

                            Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.

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

                              That's because one of them got a material applied to its backside. Tick the Ignore Materials checkbox and it'll merge them.

                              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
                                JPMays
                                last edited by

                                I had thought something like that might be the issue, and so I selected everything and applied a uniform material. I even did Reverse Faces to make sure everything was the same. I also used cleanup to set everything to Level 0, but still couldn't get them to merge.

                                Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.

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

                                  But you get them to merge when you tick Ignore Material, right?

                                  Btw, I think I've trapped the case where faces disappear. Will post an update later this week.

                                  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
                                    JPMays
                                    last edited by

                                    Aha, yes it worked! Thanks Thom.

                                    Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.

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

                                      thank you!it's very useful!

                                      1 Reply Last reply Reply Quote 0
                                      • F Offline
                                        firebert85
                                        last edited by

                                        i loaded this plugin into sketchup 8 and its not working, gives me an error message at startup and the plug in cant be found.

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

                                          @unknownuser said:

                                          i loaded this plugin into sketchup 8 and its not working, gives me an error message at startup and the plug in cant be found.
                                          We are not psychics - please post the error message. So far it suggests you have not installed things properly. Can you confirm what files were put in what folders, and the TT_Lib you installed etc...

                                          TIG

                                          1 Reply Last reply Reply Quote 0
                                          • utilerU Offline
                                            utiler
                                            last edited by

                                            @tig said:

                                            We are not psychics - please post the error message. So far it suggests you have not installed things properly. Can you confirm what files were put in what folders, and the TT_Lib you installed etc...

                                            You sound like I feel, TIG! Bloody big weeks' work and you still get asked silly questions..... 😮

                                            purpose/expression/purpose/....

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

                                            Advertisement