sketchucation logo sketchucation
    • 登入
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    [Plugin] Remove group materials, leave geometry material

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

      thx for your quick answer sepo, i apreciated bro!

      http://www.spazioarquitectura.com

      1 條回覆 最後回覆 回覆 引用 0
      • J 離線
        Jackson
        最後由 編輯

        Not a stupid question at all, but believe me- once you start using ruby scripts with SU, you won't be able to stop as they can increase SU's functionality many many times over.

        Just save the .rb file to the "Plugins" folder in your Google SketchUp program files. The next time you open SU it will be accessible under the "Plugins" menu under the name "Remove C-G Materials".

        Jackson

        1 條回覆 最後回覆 回覆 引用 0
        • free agentF 離線
          free agent
          最後由 編輯

          hi on the front page Mat666 says the new version has all the suggested improvements any way someone could post a features list, to save people (me) having to read through all 5 pages and descern what exactly was implemented 😄...

          lazy freeloaders...

          http:i167.photobucket.comalbumsu143FreeAgent84bug.gif

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

            Sorry, I have no time to work on this plugin... 😳 😞
            And components & groups easily generates lots of bugsplats... It's very hard to work with...
            Give me some time, I will certainly have a moment to improve it...

            Frenglish at its best !
            My scripts

            1 條回覆 最後回覆 回覆 引用 0
            • P 離線
              Pout
              最後由 編輯

              is there an opposite of this plugin?
              one that just keeps the group/component materials but deletes the geometry materials inside it?

              regards

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

                @pout said:

                is there an opposite of this plugin?
                one that just keeps the group/component materials but deletes the geometry materials inside it?

                regards

                It does now: http://forums.sketchucation.com/viewtopic.php?f=180&t=17587

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

                1 條回覆 最後回覆 回覆 引用 0
                • EarthMoverE 離線
                  EarthMover
                  最後由 編輯

                  Anyone notice a REAL dramatic difference in parsing after running this script? Whenever I have a really long parse, I'll run this script, but it never really seems to speed things up. Is it just me?

                  3D Artist at Clearstory 3D Imaging
                  Guide Tool at Winning With Sketchup
                  Content Creator at Skapeup

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

                    @earthmover said:

                    Anyone notice a REAL dramatic difference in parsing after running this script? Whenever I have a really long parse, I'll run this script, but it never really seems to speed things up. Is it just me?

                    Yes, there's a VERY big increase in parsing time.
                    At the end of the script it tells you how much was replaced - what does it tell you? It could be that you are running into other issues. Lots and lots of groups and component definitions eats time as well, more if they are deeply nested.
                    But groups/component materials eats the most of the time.

                    The reason it's so slow is that when VfSU runs into group/component materials it has to internally create a new copy of that object and in order to get the proper UV mapping it has to apply all the group/component material to the faces contained inside - then afterwards restore it. And that takes an insane amount of time.

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

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

                      FYI: I have an imported Revit model that has 777 component definitions and ~2500 component instances. Totalling of about 70-80000 faces. This model takes 1-2 minutes to parse before it opens the render window and begin rendering.
                      And this model has no material at all - just plain default. If I had group/component materials applied the computer would tie a bucket of brick around itself and jump of the bridge...

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

                      1 條回覆 最後回覆 回覆 引用 0
                      • EarthMoverE 離線
                        EarthMover
                        最後由 編輯

                        Must be other issues. It's really frustrating that there is no parsing progress bar. Or, the ability to have it only have to parse once. Seems like since it is just storing UV data, that as long as you don't move the camera, you should be able to reuse the same data. Nothing is more frustrating than having to wait for every test render.

                        On another note, I tried to open SS's Snowberry model (which took about 5 minutes to open) and render with VfSU (with no materials)......after 30 minutes of parsing, i just gave up.

                        3D Artist at Clearstory 3D Imaging
                        Guide Tool at Winning With Sketchup
                        Content Creator at Skapeup

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

                          @earthmover said:

                          Must be other issues. It's really frustrating that there is no parsing progress bar. Or, the ability to have it only have to parse once. Seems like since it is just storing UV data, that as long as you don't move the camera, you should be able to reuse the same data. Nothing is more frustrating than having to wait for every test render.

                          But you need to parse the whole lot again anyway to check if anything has changed.

                          The next version should see some improvements though.

                          @earthmover said:

                          On another note, I tried to open SS's Snowberry model (which took about 5 minutes to open) and render with VfSU (with no materials)......after 30 minutes of parsing, i just gave up.

                          That model is up in the millions in face count isn't it?

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

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

                            Hi all.
                            Sorry for the delay, I will see what I can do.

                            Frenglish at its best !
                            My scripts

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

                              holy shit, it really works!!! 😮 you s-a-v-e my a-s-s.
                              I need to give something in return men, i owe you one,you are my new hero.

                              1 條回覆 最後回覆 回覆 引用 0
                              • C 離線
                                chango70
                                最後由 編輯

                                Do you still need to do this with the new Vray? (v1.488) I seem to encouter problems when with Vray 1.488 after running this script (not 100% this was the culprit)

                                Cheers

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

                                  @chango70 said:

                                  Do you still need to do this with the new Vray? (v1.488)

                                  No - Only with 1.05.30 and older. The new one might actually be faster if you use group/component materials.

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

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

                                    I can not run the remove CG materials plugin, is the link broken or corrupted?

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

                                      @dragonbizcut said:

                                      I can not run the remove CG materials plugin, is the link broken or corrupted?

                                      You have problem downloading or using the plugin?

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

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • C 離線
                                        chango70
                                        最後由 編輯

                                        @thomthom said:

                                        @chango70 said:

                                        Do you still need to do this with the new Vray? (v1.488)

                                        No - Only with 1.05.30 and older. The new one might actually be faster if you use group/component materials.

                                        Hey cheers, thats why...

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • A 離線
                                          AliMG
                                          最後由 編輯

                                          Thank-you Matt, Your plugin has saved me!

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

                                            nice plugin!definitely speed things up!thanks matt!

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

                                            Advertisement