• 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
    thomthom
    last edited by 1 Feb 2010, 11:23

    @bagatelo said:

    1. Remove all materials of the object, not leaving any material in the scene. I have implication with materials, as you already noticed. I know you already have tool to do this, but is more sexy if we can do that in one time.

    http://forums.sketchucation.com/viewtopic.php?f=323&t=17587

    @bagatelo said:

    1. To align the red and green axes in the center of the object, in the lower part of the object.

    I suppose that can be done. Option to align the axis to each corner, centre point of the bounding box.

    @bagatelo said:

    1. To run the tool "LOOSE GEOMETRY TO GROUPS" inside of each object, and later to explode each object, just leaving the groups generated by the tool "LOOSE GEOMETRY TO GROUPS."

    So, you'd remove all nesting? And leave only each connected cluster of mesh grouped?

    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
      bagatelo
      last edited by 1 Feb 2010, 14:57

      Please, look inside my models, that I have been imported from 3dsMAX to Sketchup. Please, notice axes location in each model.

      I think you can incorporate de code from "remove materials" inside the script "Cleanup". You can give option, as you wish.

      http://sketchup.google.com/3dwarehouse/details?mid=92778b33f7be81f9ec1a552b6784771b
      http://sketchup.google.com/3dwarehouse/details?mid=a0f08e627f1c429ec1a552b6784771b
      http://sketchup.google.com/3dwarehouse/details?mid=371dc541346d5103ec1a552b6784771b

      Please analize the axes in each object in the illustration.
      I think we have 5 or 6 possibilities axes configuration.


      LUMINARIA 001.jpg


      Base of the object, center - Scene 2.jpg

      While the cat's away, the mice will play

      1 Reply Last reply Reply Quote 0
      • B Offline
        bagatelo
        last edited by 7 Feb 2010, 01:58

        Eureka!!!!!!!!!!
        I found !!!!!
        Very useful
        http://forums.sketchucation.com/viewtopic.php?f=323&t=21635

        While the cat's away, the mice will play

        1 Reply Last reply Reply Quote 0
        • F Offline
          free agent
          last edited by 9 Feb 2010, 08:00

          hey just wanted to say this is a awesome pluggin tried it last night, flippen brillaint how quite it works, and no crashes 😄 thanx alot thom

          http://i167.photobucket.com/albums/u143/FreeAgent84/bug.gif

          1 Reply Last reply Reply Quote 0
          • T Offline
            thomthom
            last edited by 9 Feb 2010, 08:58

            Thanks Sean.
            So you're still using SU? I thought you'd gone all Max now?

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

            1 Reply Last reply Reply Quote 0
            • F Offline
              free agent
              last edited by 9 Feb 2010, 09:21

              yup still using SU, some things are still way quicker with a face modeler than a solid modeler, i doubt it will ever be out of my workflow, i wish u were writing max script, there are alot of sketchup like actions i would like to see available in max... but i have to work with what i have i guess 😄 thanx again for this script 👍

              http://i167.photobucket.com/albums/u143/FreeAgent84/bug.gif

              1 Reply Last reply Reply Quote 0
              • T Offline
                thomthom
                last edited by 9 Feb 2010, 09:26

                Well, the office is making more and more Revit models. And importing them into SU is a workflow nightmare. So I'm very tempted to get Max into my office toolkit. ...so who knows... 😉

                Btw, got any new renders to show off?

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

                1 Reply Last reply Reply Quote 0
                • F Offline
                  free agent
                  last edited by 9 Feb 2010, 10:35

                  please contact me when u take the plunge into maxscript, im sure its easier, definitly a bigger user base, do it do it do it!!!

                  i got a couple, should i email? 😛

                  http://i167.photobucket.com/albums/u143/FreeAgent84/bug.gif

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    thomthom
                    last edited by 9 Feb 2010, 11:14

                    email or make a post in the gallery. I'm always curious to see what you produce.

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

                    1 Reply Last reply Reply Quote 0
                    • G Offline
                      Gaieus
                      last edited by 17 Mar 2010, 13:21

                      Hi Thom,

                      There is an "unwanted" feature in this plugin (I do not necessarily want to call it a "bug"); it erases coplanar edges also when that edge divides faces where the same material applied but positioned differently. See screenshots attached.

                      Highlighted dividing, coplanar edge
                      After running the plugin
                      Could there be at least a settingthat prevents this? I was making an arched surface for this vault when I first discovered this - it simply erased all the dividing edges and of course screwed up the arch big time.

                      arch.jpg
                      Thanks for looking into this issue - this is the best ever cleanup script I have ever encountered. aybe abother wish - could there be a feature/setting to clean up only whatever is in context (like inside a goup) and/or in a certain selection?
                      Or maybe I missed something?

                      Gai...

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        thomthom
                        last edited by 17 Mar 2010, 13:42

                        @gaieus said:

                        There is an "unwanted" feature in this plugin (I do not necessarily want to call it a "bug"); it erases coplanar edges also when that edge divides faces where the same material applied but positioned differently. See screenshots attached.

                        hmm... Yes - I see how this can be an issue. Will need to ponder on how to avoid this though.

                        @gaieus said:

                        Thanks for looking into this issue - this is the best ever cleanup script I have ever encountered. aybe abother wish - could there be a feature/setting to clean up only whatever is in context (like inside a goup) and/or in a certain selection?
                        Or maybe I missed something?

                        CleanUp.png
                        Yea - the UI is horrible.

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

                        1 Reply Last reply Reply Quote 0
                        • G Offline
                          Gaieus
                          last edited by 17 Mar 2010, 13:54

                          Hm. Can I have another (older?) version?

                          cleanup.png

                          Gai...

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            thomthom
                            last edited by 17 Mar 2010, 14:27

                            No - I seem to have extra menu items from working on v1.2.0 oopsie

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

                            1 Reply Last reply Reply Quote 0
                            • G Offline
                              Gaieus
                              last edited by 18 Mar 2010, 09:03

                              😆


                              I tried to lock such faces with positioned materials but the script erases lines in locked groups, too! 😮

                              Gai...

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                thomthom
                                last edited by 18 Mar 2010, 09:46

                                @gaieus said:

                                I tried to lock such faces with positioned materials but the script erases lines in locked groups, too! 😮

                                That's interesting. Another thing to note down.

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

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  thomthom
                                  last edited by 23 Apr 2010, 21:41

                                  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!

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

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    thomthom
                                    last edited by 23 Apr 2010, 21:57

                                    @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!

                                    😞 Turns out it's not 100%. In one of my test model it still left some edges that could be erased.

                                    Updated with some minor UI fixes.

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

                                    1 Reply Last reply Reply Quote 0
                                    • EscapeArtistE Offline
                                      EscapeArtist
                                      last edited by 23 Apr 2010, 21:58

                                      "The selected attachment does not exist anymore"

                                      Error when clicking for download.

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        thomthom
                                        last edited by 23 Apr 2010, 22:06

                                        @escapeartist said:

                                        "The selected attachment does not exist anymore"

                                        Error when clicking for download.

                                        You probably tried to download just as I uploaded a quick patch. 😳

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

                                        1 Reply Last reply Reply Quote 0
                                        • CadFatherC Offline
                                          CadFather
                                          last edited by 23 Apr 2010, 22:09

                                          Thanks Thom, this is good.

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

                                          Advertisement