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

    [Plugin] CleanUp

    已排程 已置頂 已鎖定 已移動 Plugins
    974 貼文 217 Posters 788.7k 瀏覽 217 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • thomthomT 離線
      thomthom
      最後由 編輯

      I'm not sure if it's 100% ok. So let me know if you see new cases.

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

      1 條回覆 最後回覆 回覆 引用 0
      • Dave RD 離線
        Dave R
        最後由 編輯

        I'll run a bunch of models through it and see what happens. It'll be interesting to see how much clean up gets done on some of my models that I think are clean.

        Etaoin Shrdlu

        %

        (THERE'S NO PLACE LIKE)

        G28 X0.0 Y0.0 Z0.0

        M30

        %

        1 條回覆 最後回覆 回覆 引用 0
        • thomthomT 離線
          thomthom
          最後由 編輯

          Some cases it appear that edges that should heal doesn't no matter how many times you run the tool. I''m not sure, but it might be due to some minor SU inaccuracies. But that is acceptable - while leaving random edges around isn't.

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

          1 條回覆 最後回覆 回覆 引用 0
          • Dave RD 離線
            Dave R
            最後由 編輯

            I think so. I find cases where SketchUp's validity check removes faces seemingly at random prior to saving the file. Typically this is on components with somewhat complex surfaces and it seems that SU tries to redraw some of the edges and in the process, opens faces. It's annoying to have to go into the model. Perhaps your plugin is running into the same issue.

            Etaoin Shrdlu

            %

            (THERE'S NO PLACE LIKE)

            G28 X0.0 Y0.0 Z0.0

            M30

            %

            1 條回覆 最後回覆 回覆 引用 0
            • thomthomT 離線
              thomthom
              最後由 編輯

              One of the options is to run the Fix Problems command - but only if you choose so for the whole model cleanup. When you choose Repair Edges (from 3.1) it runs only that command.

              I've seen many issues and oddities when entities becomes very small - or their deviance is very small.

              Are you seeing faces disappearing? ?

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

              1 條回覆 最後回覆 回覆 引用 0
              • Dave RD 離線
                Dave R
                最後由 編輯

                Not yet with your plugin. I'll have to try it when I get home.

                So far the face deletion occurs when SketchUp does its own Fix Problems. I expect you're right about the small components. I was working on a rather detailed drawer pull--made it scaled up 100X, scaled it down to proper size and went to save it. Fix Problems created problems instead of fixing them. 😒 I scaled the a copy of the component back up and repair the missing faces and saved after every couple of re-created faces. After I got finished putting all the faces back, it saved fine.

                Etaoin Shrdlu

                %

                (THERE'S NO PLACE LIKE)

                G28 X0.0 Y0.0 Z0.0

                M30

                %

                1 條回覆 最後回覆 回覆 引用 0
                • thomthomT 離線
                  thomthom
                  最後由 編輯

                  Did you scale the instance - or the definition?

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

                  1 條回覆 最後回覆 回覆 引用 0
                  • M 離線
                    mac1
                    最後由 編輯

                    For what it is worth
                    I play around with other non SU mesh analysis tool(s)for own education and often find SU self intersecting faces, zero area faces and duplicate vertices but the SU models looks very good. It would be nice to know what "fix problems" really means.

                    1 條回覆 最後回覆 回覆 引用 0
                    • Dave RD 離線
                      Dave R
                      最後由 編輯

                      @thomthom said:

                      Did you scale the instance - or the definition?

                      Initially I scale up the loose geometry and then scale back down before creating the component so the definition has the correct size. Sometimes I'll get the component started at normal size--maybe just a profile and Follow Me path--and then make the component. Scale up a copy and do whatever it would be that creates the tiny faces. then I just delete the big copy leaving the original where it was and complete.

                      Etaoin Shrdlu

                      %

                      (THERE'S NO PLACE LIKE)

                      G28 X0.0 Y0.0 Z0.0

                      M30

                      %

                      1 條回覆 最後回覆 回覆 引用 0
                      • thomthomT 離線
                        thomthom
                        最後由 編輯

                        @dave r said:

                        Scale up a copy and do whatever it would be that creates the tiny faces. then I just delete the big copy leaving the original where it was and complete.

                        Scaling the instance doesn't make a difference, does it? As when you modify you always deal with the source data, the definition - so an instance scaled would (should) mean no difference. ...though SU always surprise me...

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

                        1 條回覆 最後回覆 回覆 引用 0
                        • Dave RD 離線
                          Dave R
                          最後由 編輯

                          Well, no, it doesn't (or shouldn't) but, well...

                          I frequently run into models where someone has drawn something small with it scaled up, made it a component and then scale it down without opening the component. When you bring another copy in from the component library, it is a giant. I generally just wait to make the component until after correcting the size. I guess I could also open the component for editing and scale down the geometry, too.

                          Etaoin Shrdlu

                          %

                          (THERE'S NO PLACE LIKE)

                          G28 X0.0 Y0.0 Z0.0

                          M30

                          %

                          1 條回覆 最後回覆 回覆 引用 0
                          • R 離線
                            Ruturaj
                            最後由 編輯

                            Thank you sir .......... 😉

                            Its very best tool in world .........

                            Thanks,
                            RuturaJ

                            1 條回覆 最後回覆 回覆 引用 0
                            • 3 離線
                              3rdEye
                              最後由 編輯

                              Hi TomTom,

                              first of all:

                              Thank you for this plugin, it´s one of my first time favorites!!!
                              Anyway, after upgrading to the last released version (also updated TT Lib to the latest), i got the new cleanup dialog somehow messed up when it pos up - does anybody know how to fix this?


                              The formatting of the lines is somehow messed up...

                              1 條回覆 最後回覆 回覆 引用 0
                              • Dave RD 離線
                                Dave R
                                最後由 編輯

                                Hover the cursor over the right edge of the dialog box. You'll get a double-headed arrow. Click to grab the edge of the box and move the right edge inward.

                                Etaoin Shrdlu

                                %

                                (THERE'S NO PLACE LIKE)

                                G28 X0.0 Y0.0 Z0.0

                                M30

                                %

                                1 條回覆 最後回覆 回覆 引用 0
                                • 3 離線
                                  3rdEye
                                  最後由 編輯

                                  @dave r said:

                                  Over the cursor over the right edge of the dialog box. You'll get a double-headed arrow. Click to grab the edge of the box and move the right edge inward.

                                  Hmm, if I understand u right, I should resize the box - is it what u mean? I tried, but whatever size i make, the messy look stays. The checkboxes and lines and background do not lineup.

                                  thx for the fast reply!

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • Dave RD 離線
                                    Dave R
                                    最後由 編輯

                                    That's odd. If resizing doesn't work, my next inclination would be to close SU and delete the registry entry for WebDialog_TT_CleanUp. then reopen SU and run CleanUp again. It may straighten it out. At least the registry entry will get rewritten. If you want to try that and are unsure of how to do it, drop me a PM.

                                    Etaoin Shrdlu

                                    %

                                    (THERE'S NO PLACE LIKE)

                                    G28 X0.0 Y0.0 Z0.0

                                    M30

                                    %

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • bagateloB 離線
                                      bagatelo
                                      最後由 編輯

                                      Sorry, but it's not working: 😳

                                      undefined method `add_group' for #<Sketchup;;Group;0xf18f5d8>
                                      
                                      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/tt_cleanup.rb;969;in `remove_materials'
                                      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/tt_cleanup.rb;967;in `each'
                                      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/tt_cleanup.rb;967;in `remove_materials'
                                      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/tt_cleanup.rb;935;in `merge_similar_materials'
                                      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/tt_cleanup.rb;495;in `cleanup!'
                                      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/tt_cleanup.rb;438;in `show_cleanup_ui'
                                      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/TT_Lib2/inputbox.rb;160;in `call'
                                      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/TT_Lib2/inputbox.rb;160;in `initialize'
                                      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/TT_Lib2/inputbox.rb;143;in `call'
                                      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/TT_Lib2/inputbox.rb;143;in `close'
                                      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/TT_Lib2/inputbox.rb;143;in `initialize'
                                      

                                      I try to clean this component:
                                      http://sketchup.google.com/3dwarehouse/details?mid=4d0acb2641fa8dff27170042f46719ed&prevstart=0
                                      But it's not working. 😳


                                      mistake.jpg

                                      While the cat's away, the mice will play

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • 3 離線
                                        3rdEye
                                        最後由 編輯

                                        So we found the issue @ least:

                                        If u are using TT_Cleanup make shure u have installed internet explorer 8, else the webdialog menue might not be displayed correctly.

                                        thx again for your great plugins, Tom!

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • bagateloB 離線
                                          bagatelo
                                          最後由 編輯

                                          With older version of cleanup:


                                          mistake no more.jpg

                                          While the cat's away, the mice will play

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • D 離線
                                            diegog321
                                            最後由 編輯

                                            Thank you:

                                            This is the most essential plugin of all.

                                            Keep up the good work!

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 48
                                            • 49
                                            • 12 / 49
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement