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

    [Plugin] CleanUp

    Planifier Épinglé Verrouillé Déplacé Plugins
    974 Messages 217 Publieurs 788.7k Vues 217 Watching
    Charger plus de messages
    • Du plus ancien au plus récent
    • Du plus récent au plus ancien
    • Les plus votés
    Répondre
    • Répondre à l'aide d'un nouveau sujet
    Se connecter pour répondre
    Ce sujet a été supprimé. Seuls les utilisateurs avec les droits d'administration peuvent le voir.
    • thomthomT Hors-ligne
      thomthom
      dernière édition par

      @bob james said:

      I tried the "similar" tool but that didn't seem to do anything (that I could tell).

      It doesn't currently handle nested components etc. It's very experimental and I've not had time to work more on it. 😞

      @bob james said:

      I can't manually fix it because SU requires unique names.

      Select the component you want in the model - then type into the Ruby Console:
      prototype = Sketchup.active_model.selection[0].definition

      Select one or more of the instances of the definition you want to replace - then:
      Sketchup.active_model.selection.each{|e|e.definition=prototype}

      (Make sure the components axis are place identically.)

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

      1 réponse Dernière réponse Répondre Citer 0
      • R Hors-ligne
        rocorona
        dernière édition par

        --Select the COMPONENT you want to replace;
        --Go to the Components Browser:
        --Right-click on the preview of the replacing component;
        --Choose the "Replace selection" command;

        Was this your goal?

        1 réponse Dernière réponse Répondre Citer 0
        • Bob JamesB Hors-ligne
          Bob James
          dernière édition par

          @rocorona said:

          --Select the COMPONENT you want to replace;
          --Go to the Components Browser:
          --Right-click on the preview of the replacing component;
          --Choose the "Replace selection" command;

          Was this your goal?

          Thank you for your idea, but I've used the workflow you describe, but it still leaves the names different.

          Goal: Several identical components have different names: I want consolidate all of them into one component and one name.

          i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

          1 réponse Dernière réponse Répondre Citer 0
          • D Hors-ligne
            dedmin
            dernière édition par

            I have a problem with this file - when running Cleanup it's says cleaned 12 edges and the next run is the same. Saved, reopened and again - every time Cleanup cleans 12 edges.
            clenaup.skp

            1 réponse Dernière réponse Répondre Citer 0
            • thomthomT Hors-ligne
              thomthom
              dernière édition par

              @dedmin said:

              I have a problem with this file - when running Cleanup it's says cleaned 12 edges and the next run is the same. Saved, reopened and again - every time Cleanup cleans 12 edges.
              [attachment=0:1ztpects]<!-- ia0 -->clenaup.skp<!-- ia0 -->[/attachment:1ztpects]

              What settings did you use?

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

              1 réponse Dernière réponse Répondre Citer 0
              • D Hors-ligne
                dedmin
                dernière édition par

                @thomthom said:

                @dedmin said:

                I have a problem with this file - when running Cleanup it's says cleaned 12 edges and the next run is the same. Saved, reopened and again - every time Cleanup cleans 12 edges.
                [attachment=1:1nonbopm]<!-- ia1 -->clenaup.skp<!-- ia1 -->[/attachment:1nonbopm]

                What settings did you use?

                [attachment=0:1nonbopm]<!-- ia0 -->Capture.PNG<!-- ia0 -->[/attachment:1nonbopm]


                Capture.PNG

                1 réponse Dernière réponse Répondre Citer 0
                • thomthomT Hors-ligne
                  thomthom
                  dernière édition par

                  It's the repair edges feature. Some times it tries to repair edges where they don't seem to remain repaired. It's some oddity I've not worked out why it occurs yet. Might be due to small edges or small accuracy issues. The Repair Broken Edges plugin do the same thing.

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

                  1 réponse Dernière réponse Répondre Citer 0
                  • D Hors-ligne
                    dedmin
                    dernière édition par

                    Thanks - unchecked Repair Split Edges and now it's fine!

                    1 réponse Dernière réponse Répondre Citer 0
                    • thomthomT Hors-ligne
                      thomthom
                      dernière édition par

                      @dedmin said:

                      Thanks - unchecked Repair Split Edges and now it's fine!

                      Note that it's not an error or anything. It's just some edges that SketchUp doesn't heal properly.

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

                      1 réponse Dernière réponse Répondre Citer 0
                      • Bob JamesB Hors-ligne
                        Bob James
                        dernière édition par

                        @bob james said:

                        Goal: Several identical components have different names: I want consolidate all of them into one component and one name.

                        Is there a solution to this goal?

                        i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

                        1 réponse Dernière réponse Répondre Citer 0
                        • thomthomT Hors-ligne
                          thomthom
                          dernière édition par

                          @bob james said:

                          @bob james said:

                          Goal: Several identical components have different names: I want consolidate all of them into one component and one name.

                          Is there a solution to this goal?

                          Work in progress: http://forums.sketchucation.com/viewtopic.php?f=323&t=30143
                          Not sure if it's exactly what you're looking for... ?

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

                          1 réponse Dernière réponse Répondre Citer 0
                          • S Hors-ligne
                            shoeb_cars
                            dernière édition par

                            till recently i was using cleanup3 in SU7 but it was a bit slow so i stuck to ur first version which is mighty fast and doesnt ask too many questions. but i recently migrated to SU8 in which cleanup1 doesnt work so then i tried cleanup3... and i just bloody fell in love with it. it is fast and damn, is it clean. as always thom thom "U da MAAAN"

                            1 réponse Dernière réponse Répondre Citer 0
                            • thomthomT Hors-ligne
                              thomthom
                              dernière édition par

                              @shoeb_cars said:

                              till recently i was using cleanup3 in SU7 but it was a bit slow so i stuck to ur first version which is mighty fast and doesnt ask too many questions. but i recently migrated to SU8 in which cleanup1 doesnt work so then i tried cleanup3... and i just bloody fell in love with it. it is fast and damn, is it clean. as always thom thom "U da MAAAN"

                              I'm guessing you had "Erase Duplicate Faces" checked - which is very slow.

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

                              1 réponse Dernière réponse Répondre Citer 0
                              • marleusM Hors-ligne
                                marleus
                                dernière édition par

                                Thanks ThomThom 😎

                                I do a lot of 3ds-import and conversions and your ruby really
                                speeds up my work and reduces file size 😍

                                I ove you one 😄

                                Markus Sillander
                                Vantaa, Finland
                                I'm on FormFonts now
                                http://www.formfonts.com

                                1 réponse Dernière réponse Répondre Citer 0
                                • P Hors-ligne
                                  publied
                                  dernière édition par

                                  very nice and very very useful. thanks theo

                                  hire me@ http://www.publied.it !

                                  1 réponse Dernière réponse Répondre Citer 0
                                  • L Hors-ligne
                                    LannorMov
                                    dernière édition par

                                    Thomthom, yo veo ese plugin como muy pesado 😎 ¿no te parece? o es que la máquina en la que hiciste el vídeo es de poca capacidad?
                                    Es solo una apreciación, no lo tomes a mal.

                                    1 réponse Dernière réponse Répondre Citer 0
                                    • thomthomT Hors-ligne
                                      thomthom
                                      dernière édition par

                                      ke?

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

                                      1 réponse Dernière réponse Répondre Citer 0
                                      • L Hors-ligne
                                        LannorMov
                                        dernière édition par

                                        @thomthom said:

                                        ke?

                                        Thomthom, I see this plugin is heavy is, or not? or is the machine where you made the video that is of capacity limited?
                                        It's just an appreciation, not take it personal.

                                        1 réponse Dernière réponse Répondre Citer 0
                                        • thomthomT Hors-ligne
                                          thomthom
                                          dernière édition par

                                          @lannormov said:

                                          Thomthom, I see this plugin is heavy is, or not? or is the machine where you made the video that is of capacity limited?
                                          It's just an appreciation, not take it personal.

                                          The model I used was a very heavy model. Lots of geometry. I used it as an example to show how fast the plugin worked even on very large models. 😒

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

                                          1 réponse Dernière réponse Répondre Citer 0
                                          • L Hors-ligne
                                            LannorMov
                                            dernière édition par

                                            ok, thanks, I installed it and it works great.
                                            Thanks you mate

                                            1 réponse Dernière réponse Répondre Citer 0
                                            • 1
                                            • 2
                                            • 15
                                            • 16
                                            • 17
                                            • 18
                                            • 19
                                            • 48
                                            • 49
                                            • 17 / 49
                                            • Premier message
                                              Dernier message
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement