sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    Mac User? | Join the Rayscaper Beta for Mac Learn More

    [Plugin] Remove group materials, leave geometry material

    Scheduled Pinned Locked Moved Plugins
    88 Posts 27 Posters 71.2k Views 27 Watching
    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.
    • thomthomT
      thomthom
      last edited by

      @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 Reply Last reply
      Reply Quote 0
      • thomthomT
        thomthom
        last edited by

        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 Reply Last reply
        Reply Quote 0
        • EarthMoverE
          EarthMover
          last edited by

          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 Reply Last reply
          Reply Quote 0
          • thomthomT
            thomthom
            last edited by

            @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 Reply Last reply
            Reply Quote 0
            • M
              Matt666
              last edited by

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

              Frenglish at its best !
              My scripts

              1 Reply Last reply
              Reply Quote 0
              • M
                m48
                last edited by

                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 Reply Last reply
                Reply Quote 0
                • C
                  chango70
                  last edited by

                  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 Reply Last reply
                  Reply Quote 0
                  • thomthomT
                    thomthom
                    last edited by

                    @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 Reply Last reply
                    Reply Quote 0
                    • D
                      dragonbizcut
                      last edited by

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

                      1 Reply Last reply
                      Reply Quote 0
                      • thomthomT
                        thomthom
                        last edited by

                        @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 Reply Last reply
                        Reply Quote 0
                        • C
                          chango70
                          last edited by

                          @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 Reply Last reply
                          Reply Quote 0
                          • A
                            AliMG
                            last edited by

                            Thank-you Matt, Your plugin has saved me!

                            1 Reply Last reply
                            Reply Quote 0
                            • L
                              lukdoberder
                              last edited by

                              nice plugin!definitely speed things up!thanks matt!

                              1 Reply Last reply
                              Reply Quote 0
                              • dereiD
                                derei
                                last edited by

                                [FEATURE REQUEST]

                                It's a useful plugin, until I found it, I had to remove all materials from selection using This Plugin, then reassign materials only to geometry inside group/component -often I have different materials on faces.

                                I would like some features to this plugin: Now, with so many plugins, the Plugins Menu gets really crowded, so submenus are welcomed. So, I was thinking if you could add a feature to this plugin to remove all materials, something like this:

                                REMOVE MATERIALS
                                >Remove CG Materials
                                >Remove ALL Materials

                                In this way, instead of having two entries for those two plugins, I would have one single menu with two child options.

                                Also, if the inputbox could be disabled, to speed-up the usage. I never replaced CG material using the inputbox, so for me is just a unnecessary mouse click ๐Ÿ˜„ Actually, I'm curious if anyone uses that feature.

                                Thank you.

                                DESIGNER AND ARTIST DEREI.UK

                                1 Reply Last reply
                                Reply Quote 0
                                • ToboboT
                                  Tobobo
                                  last edited by

                                  The link to the rapid share download doesn't work, can some post the script?

                                  Toby

                                  Philippians 4:13

                                  I can do everything through him who gives me strength.

                                  1 Reply Last reply
                                  Reply Quote 0
                                  • GaieusG
                                    Gaieus
                                    last edited by

                                    It's attached straight to the post here:
                                    http://forums.sketchucation.com/viewtopic.php?p=102323#p102323

                                    Gai...

                                    1 Reply Last reply
                                    Reply Quote 0
                                    • ToboboT
                                      Tobobo
                                      last edited by

                                      Thanks Gai

                                      Toby

                                      Philippians 4:13

                                      I can do everything through him who gives me strength.

                                      1 Reply Last reply
                                      Reply Quote 0
                                      • P
                                        Panga
                                        last edited by

                                        Thanks a lot for this plugin ! ๐Ÿ‘

                                        1 Reply Last reply
                                        Reply Quote 0
                                        • M
                                          Myhand
                                          last edited by

                                          @unknownuser said:

                                          [FEATURE REQUEST]

                                          It's a useful plugin, until I found it, I had to remove all materials from selection using This Plugin, then reassign materials only to geometry inside group/component -often I have different materials on faces.

                                          I would like some features to this plugin: Now, with so many plugins, the Plugins Menu gets really crowded, so submenus are welcomed. So, I was thinking if you could add a feature to this plugin to remove all materials, something like this:

                                          REMOVE MATERIALS
                                          >Remove CG Materials
                                          >Remove ALL Materials

                                          In this way, instead of having two entries for those two plugins, I would have one single menu with two child options.

                                          Also, if the inputbox could be disabled, to speed-up the usage. I never replaced CG material using the inputbox, so for me is just a unnecessary mouse click ๐Ÿ˜„ Actually, I'm curious if anyone uses that feature.

                                          Thank you.

                                          This plugin should do what you want: http://www.keepingmyhandin.com/Downhome/Sketchup/material_maintenance_2

                                          http://www.keepingmyhandin.com/

                                          1 Reply Last reply
                                          Reply Quote 0
                                          • srxS
                                            srx
                                            last edited by

                                            Thank you MyHand. Very useful plugin which I haven't seen it before. ๐Ÿ‘

                                            www.saurus.rs

                                            1 Reply Last reply
                                            Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better ๐Ÿ’—

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 2 / 5
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement