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
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • Chris FullmerC 離線
      Chris Fullmer
      最後由 編輯

      +8 I think. I am still at work - 16:50 here.

      Chris

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

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

        You mean -8 . 😉
        A full workday in difference. Could be tricky to try this outside the weekends...

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

        1 條回覆 最後回覆 回覆 引用 0
        • Chris FullmerC 離線
          Chris Fullmer
          最後由 編輯

          Ahh yes, -8. Yeah, I normally catch you when you wake up and I'ts like midnight here. Or in the middle of the day for me and its the middle of the night for you. So maybe this weekend we'll try it.

          Actualyl though, I already most ofthe code. I got the part that sorts all entities and makes an arrayof all the groups to compare. Now you can just finish up everything after that 😆

          Chris

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

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

            I'll connect it to my magic 8-ball.

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

            1 條回覆 最後回覆 回覆 引用 0
            • ely862meE 離線
              ely862me
              最後由 編輯

              Kind of very useful this plugin ; i ve tried it on version 6 and it s pretty good (if u re setting well the variable debug).
              So,thank you!

              Take care!

              Elisei

              Elisei (sketchupper)


              Before no life was done on Earth it was THE LIFE ITSELF...GOD
              Come and See EliseiDesign

              1 條回覆 最後回覆 回覆 引用 0
              • plot-parisP 離線
                plot-paris
                最後由 編輯

                guys, that new idea of the 'convert groups to components' plugin sounds exciting. I wanted such a script ever since i first importet my first model from 3Ds...
                can't wait to see some first results 🎉

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

                  @ely862me said:

                  Kind of very useful this plugin ; i ve tried it on version 6 and it s pretty good (if u re setting well the variable debug).
                  So,thank you!

                  Take care!

                  Elisei

                  Regardless of the variable, you will run into a Sketchup bug where it's impossible to delete some edges, even if they are 100% planar.

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

                  1 條回覆 最後回覆 回覆 引用 0
                  • pep75P 離線
                    pep75
                    最後由 編輯

                    Brilliant Plugin ThomThom!!! Perfect!!!

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

                      You can download this plugin from the first post in this thread, there should be a link somewhere in the post or sometimes towards the bottom of the post. You dont need to have a pro license to use plugins.

                      http://remusrendering.wordpress.com/

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

                        Yes - download link is in the first post. In this, and most others on this forum, it's at the bottom of the first post.

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

                        1 條回覆 最後回覆 回覆 引用 0
                        • L 離線
                          loolytoo
                          最後由 編輯

                          Thankyou! i got it and got it working

                          1 條回覆 最後回覆 回覆 引用 0
                          • T 離線
                            tomot
                            最後由 編輯

                            this cleanup routine is simply outrageous! 🎉

                            Yesterday I ran the intersect with modelroutine, hoping to get rid of 3 redundant duplicate planes that each face of an imported model had been blessed with 😢 I finally stopped SU after 4 hours of trying to due that job. the SU file had grown to 600,000k in the task manager window. Your Cleanup routine on the other hand was almost instant.

                            Well Done!

                            [my plugins](http://thingsvirtual.blogspot.ca/)
                            tomot

                            1 條回覆 最後回覆 回覆 引用 0
                            • plot-parisP 離線
                              plot-paris
                              最後由 編輯

                              just cleaned up an imported model (from 3Ds Max).

                              cleaned up edges: 62.700
                              remaining edges: 84.300

                              your plugin rocks, thomthom

                              1 條回覆 最後回覆 回覆 引用 0
                              • F 離線
                                Fletch
                                最後由 編輯

                                ThomThom, ran this plugin on a file today - it actually took it a surprising long time to clean the file! 😲

                                So I opened Outliner and find that there are 920 uniquecomponents in the file. It was obviously imported from OBJ file into SketchUp because each component is called "OBJ_29" etc.

                                So, if your Cleanup routine had an option "Convert All Unique Components to Groups" that would be great.

                                It's a fairly simple model, shouldn't really be more than a 1 or 2Mb file if it was build properly in SketchUp... but it's a 29Mb file! 😮

                                I have tried selecting all the unique components and exploding them but SU appears to be chugging along quite some time on it, and I am unsure if it's completely frozen, or just working hard and ignoring me. 😒

                                The absolute best for AutoCAD files would be one that said "Convert Identical Groups to be Identical Components"... wished for that many times when you have 50 columns that are all the same, but each is a unique "group" from ACAD.

                                Fletch
                                Twilight Render Cross-platform Plugin for SketchUp on PC or Mac

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

                                  @fletch said:

                                  So, if your Cleanup routine had an option "Convert All Unique Components to Groups" that would be great.

                                  It's a fairly simple model, shouldn't really be more than a 1 or 2Mb file if it was build properly in SketchUp... but it's a 29Mb file! 😮

                                  Converting the components to groups won't make the file any smaller. Internally, Groups and Components are pretty much the same.

                                  @fletch said:

                                  I have tried selecting all the unique components and exploding them but SU appears to be chugging along quite some time on it, and I am unsure if it's completely frozen, or just working hard and ignoring me. 😒

                                  Yea, exploding large amount of geometry makes SU crawl to a halt. 😕

                                  @fletch said:

                                  The absolute best for AutoCAD files would be one that said "Convert Identical Groups to be Identical Components"... wished for that many times when you have 50 columns that are all the same, but each is a unique "group" from ACAD.

                                  Why is the blocks unique in AutoCAD in the first place? Blocks are imported fine into SU as components. This is really more a matter how the ACAD drawing is made.
                                  Mind you - I've also wanted a function to merge similar groups/components. When importing from Revit you often get windows that should be the same component as different components, but with different axis orientation.

                                  @fletch said:

                                  So, if your Cleanup routine had an option "Convert All Unique Components to Groups" that would be great.

                                  This could in theory be done easily. Except that there seem to be a bug in the SU API that makes the creating of groups some times crash SU.

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

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • GaieusG 離線
                                    Gaieus
                                    最後由 編輯

                                    Hi Fletch,

                                    In case you have zillions of similar but unique components in your model, would a solution like in this topic (replace them with only one) work?
                                    http://forums.sketchucation.com/viewtopic.php?f=79&t=23777#p202554

                                    Gai...

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • soloS 離線
                                      solo
                                      最後由 編輯

                                      Bloody awesome, this script just saved me hours of work, a client sent me an Archicad model for me to get ready for presentation, It converted and opened up in SU looking like a total disaster, weighing in at 12MB. I ran cleanup with all options selected and Viola! it was perfect SU ready and saved at 3.5MB.

                                      This plugin needs to be on everyones machine.

                                      http://www.solos-art.com

                                      If you see a toilet in your dreams do not use it.

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • N 離線
                                        nomeradona
                                        最後由 編輯

                                        thanks thomthom, i like this plugin so much.. really time saver.

                                        visit my blog: http://www.nomeradona.blogspot.com

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • F 離線
                                          Fletch
                                          最後由 編輯

                                          @thomthom said:

                                          Why is the blocks unique in AutoCAD in the first place? Blocks are imported fine into SU as components. This is really more a matter how the ACAD drawing is made.
                                          Mind you - I've also wanted a function to merge similar groups/components. When importing from Revit you often get windows that should be the same component as different components, but with different axis orientation.

                                          yes, but I think ACAD solids come in as groups, not components.

                                          @thomthom said:

                                          @fletch said:

                                          So, if your Cleanup routine had an option "Convert All Unique Components to Groups" that would be great.

                                          This could in theory be done easily. Except that there seem to be a bug in the SU API that makes the creating of groups some times crash SU.

                                          bummer. 😞

                                          Gaieus:
                                          not exactly what I'm looking for... thanks. Imagine you get handed a model from someone else and are told you 'need it done in 4 hours'... before the meeting at the end of the day. Now this model is a mess that was imported from CAD, and then worked on for a day or two by someone else, and now they've given it up and handed it to you "because your faster"... now this model has potentially many issues... not least of which hundreds of components that are each UNIQUE... meaning they are components, but not for any other reason except that is how they are... 50 of THOSE happen to be identical, yet uniquely named columns in various places in a large complex of buildings... so... you now have to change that column... and by hand have to edit every column. 😮 ... yeah... happened to me once. 😐

                                          Fletch
                                          Twilight Render Cross-platform Plugin for SketchUp on PC or Mac

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • plot-parisP 離線
                                            plot-paris
                                            最後由 編輯

                                            the same happens when importing from 3Ds Max. lots and lots of unique components. and unfortunately all with their own origin - so 'replace with component' doesn't work...

                                            a script that could detect similar groups/components and replace them (even taking rotation and scale into account) would be fantastis. probably as useful to some as this cleanup script here...

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 48
                                            • 49
                                            • 4 / 49
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement