• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

[Plugin] CleanUp

Scheduled Pinned Locked Moved Plugins
974 Posts 217 Posters 787.9k Views
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.
  • T Offline
    tt_su
    last edited by 20 Mar 2014, 10:04

    I'm sorry how much back and forth this takes, but without being able to reproduce I'm a bit blind here.

    SketchUp prior to SU2014 has flawed error messages that makes it hard to debug. Can I ask you to open the Ruby Console (SketchUp's console, not Linux) and see what you get from this command: load "TT_Lib2/core.rb"

    1 Reply Last reply Reply Quote 0
    • T Offline
      tt_su
      last edited by 20 Mar 2014, 15:16

      What? "load_uninstalled.txt" was a result of running load "TT_Lib2/core.rb when TT_Lib was uninstalled? That makes no sense because it's loading files... if you had unisntalled TT_Lib2 then load "TT_Lib2/core.rb should have returned an error about file not found.
      I'm not able to make any sense out of this...

      Did you restart SketchUp after uninstalling?

      1 Reply Last reply Reply Quote 0
      • S Offline
        saucerful
        last edited by 20 Mar 2014, 15:39

        Sorry, by uninstall I meant unchecking TT_Lib2 and Cleanup in the Extensions dialog and restarting SketchUp.

        The TT_Lib2 files are still in the Plugins directory. Maybe it makes no sense to run "TT_Lib2/core.rb" in this state? I thought it might be akin to how SketchUp loads the extension at startup?

        1 Reply Last reply Reply Quote 0
        • T Offline
          tt_su
          last edited by 20 Mar 2014, 15:44

          Unchecking TT_Lib2 in the Extension Manager will have no effect.

          This error is very strange.

          Can you try a few other mutations?

          ` load "TT_Lib2/sketchup.rb"

          load "TT_Lib2/system.rb"

          load "TT_Lib2/entities.rb"`

          1 Reply Last reply Reply Quote 0
          • S Offline
            saucerful
            last edited by 20 Mar 2014, 15:53

            Here's one log for all of them (search for the command to get to it).


            loads.txt

            1 Reply Last reply Reply Quote 0
            • S Offline
              saucerful
              last edited by 20 Mar 2014, 16:16

              @tt_su said:

              I'm sorry how much back and forth this takes, but without being able to reproduce I'm a bit blind here.

              No worries! I really appreciate your patience and am happy to send you any debug info.

              @tt_su said:

              SketchUp prior to SU2014 has flawed error messages that makes it hard to debug. Can I ask you to open the Ruby Console (SketchUp's console, not Linux) and see what you get from this command: load "TT_Lib2/core.rb"

              I ran this with both TT_Lib2 installed, and not. I think the latter has more information about the error...


              load_uninstalled.txt


              load_installed.txt

              1 Reply Last reply Reply Quote 0
              • T Offline
                TIG Moderator
                last edited by 20 Mar 2014, 18:39

                @saucerful said:

                ...The TT_Lib2 files are still in the Plugins directory. Maybe it makes no sense to run "TT_Lib2/core.rb" in this state?...
                πŸ˜• !!! Do you mean by that you have files from the TT_Lib2 folder 'loose' in the Plugins folder?? πŸ˜’
                When you install the TT_Lib2 you should have a loader .rb and a subfolder with the same name which contains everything else.
                I ANY of the files inside the subfolder have found there way into the Plugins folder they will load out of sync as SketchUp starts, rather that as TT's other plugins 'require' them, as they themselves auto-load...
                So if that is the case, then you need to carefully 'sanitize' your Plugins folder and remove all of the TT Lib files that should NOT ever be in there... πŸ˜•

                TIG

                1 Reply Last reply Reply Quote 0
                • S Offline
                  saucerful
                  last edited by 20 Mar 2014, 19:50

                  It works! Thank you so much. This plugin is extremely useful for our workflow at Open Source Ecology (see here).

                  Any idea when 2.9.9 will be pushed to the extension warehouse?

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    tt_su
                    last edited by 20 Mar 2014, 22:09

                    @saucerful said:

                    It works!

                    Huh! How about that! Stab in the dark!
                    Glad it worked. πŸ˜„
                    I'll upload to EW right now. Not sure when it goes live, depends on the moderation queue.

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      tt_su
                      last edited by 20 Mar 2014, 22:25

                      So, I'm making a guess here: Wine calls Linux's file functions which returns the files in a different order - revealing a dependency bug that isn't visible in Windows or OSX.

                      Can you try this version attached:
                      (Deleted file as it's now been uploaded to Extension Warehouse, Plugin Store and GitHub.)

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        Asloric
                        last edited by 10 May 2014, 15:36

                        Hello i have a problem: useless faces in models (per exemple a face in a cube) doesnt erase with the plugin . could it be possible to add please? or explain how to do if there is yet

                        here is a screen if you don't understand what i mean

                        the wood face in the cube doesn't erase

                        PS: thanks a lot for this usefull plugin πŸ˜„

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          TIG Moderator
                          last edited by 10 May 2014, 16:26

                          If it's the one occurrence, then can't you cut a temporary section to give access to the inner unwanted face and erase it/its edges that way ?
                          Some tools like my SolidSolver will remove inner partitions/flaps if the 'box' [group] is intended to be a 'solid'...

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            Asloric
                            last edited by 10 May 2014, 21:52

                            thanks.i've erase all useless faces πŸ˜„ .but i thinks it's a bit buggy with my model ( it erase most part of my project sometimes)

                            1 Reply Last reply Reply Quote 0
                            • thomthomT Offline
                              thomthom
                              last edited by 11 May 2014, 10:45

                              Does your model have many very small faces/edges? Like ~1mm?

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

                              1 Reply Last reply Reply Quote 0
                              • A Offline
                                Asloric
                                last edited by 11 May 2014, 20:21

                                yes beacause a lot of detail for much immersion ( i use the playup plugin to export it to crysis2)

                                1 Reply Last reply Reply Quote 0
                                • Dave RD Offline
                                  Dave R
                                  last edited by 12 May 2014, 00:02

                                  If you are trying to create tiny faces (less than 1mm) you are going to have problems unless you work at a larger scale. This has nothing to do with CleanUp, it's just a fact of using SketchUp.

                                  Etaoin Shrdlu

                                  %

                                  (THERE'S NO PLACE LIKE)

                                  G28 X0.0 Y0.0 Z0.0

                                  M30

                                  %

                                  1 Reply Last reply Reply Quote 0
                                  • thomthomT Offline
                                    thomthom
                                    last edited by 12 May 2014, 10:19

                                    SketchUp's internal precision is 1/1000th of an inch. When things get close to that vertices begin to be treated as having the same position and edges and faces might not create - or be lost when you modify them.

                                    One workaround is to scale up the actual geometry, the edges and faces by a factor of say 100 - then scale down the instance/group to counter-weight it. That way the definition of the geometry it large enough, but the instance's scale make it appear in correct size.

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

                                    1 Reply Last reply Reply Quote 0
                                    • frankflafyF Offline
                                      frankflafy
                                      last edited by 20 May 2014, 06:47

                                      hi
                                      thanx for the plug in. really love this.

                                      i have one problem. its Vray dome light
                                      when i ran this with vray dome light on screen, the vray dome light deleted.

                                      how i fix this?

                                      thanx

                                      1 Reply Last reply Reply Quote 0
                                      • thomthomT Offline
                                        thomthom
                                        last edited by 20 May 2014, 08:32

                                        What does it look like this VRay dome?
                                        This plugin isn't aware of "special" objects that other extensions create - it treats everything as regular edges and faces.

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

                                        1 Reply Last reply Reply Quote 0
                                        • jiminy-billy-bobJ Offline
                                          jiminy-billy-bob
                                          last edited by 20 May 2014, 08:46

                                          It's two arcs and a circle, without any face. So no surprise Cleanup deletes these edges.

                                          25% off Skatter for SketchUcation Premium Members

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

                                          Advertisement