• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Materials I have not applied to the model

Scheduled Pinned Locked Moved SketchUp Discussions
sketchup
9 Posts 6 Posters 220 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.
  • C Offline
    charly2008
    last edited by 22 Nov 2011, 12:52

    Hi All,

    I've seen it before, that there are materials in a new model that I have not applied. Is this a SketchUp bug?

    Charly


    2011-11-22_132337.jpg

    He who makes no mistakes, makes nothing

    1 Reply Last reply Reply Quote 0
    • D Offline
      Dave R
      last edited by 22 Nov 2011, 12:54

      Charly, open a new session in SketchUp. Then look at the materials browser. Are those materials in the browser? If so, they are saved as part of your template.

      Etaoin Shrdlu

      %

      (THERE'S NO PLACE LIKE)

      G28 X0.0 Y0.0 Z0.0

      M30

      %

      1 Reply Last reply Reply Quote 0
      • T Offline
        thomthom
        last edited by 22 Nov 2011, 13:04

        The triangle of the material thumbnail indicate that the two green materials are in use in the model.

        Make sure your template is cleaned of any hidden geometry and that no edges has any material applied, purge and re-save your template.

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

        1 Reply Last reply Reply Quote 0
        • D Offline
          driven
          last edited by 22 Nov 2011, 13:29

          Ivy maker, preloads it's materials [and so does lightup], whether you want them or not.
          the only way I found to stop it happening is to disable the plugin and turn on it only when you want it/them...

          john

          learn from the mistakes of others, you may not live long enough to make them all yourself...

          1 Reply Last reply Reply Quote 0
          • C Offline
            charly2008
            last edited by 22 Nov 2011, 13:38

            Hi Dave,

            If I start a new session, the materials are gone. Even if I start with a different template the materials are again available. While it is nothing bad, I only ask why this is so.

            Charly


            2011-11-22_132337.jpg


            2011-11-22_132337.jpg

            He who makes no mistakes, makes nothing

            1 Reply Last reply Reply Quote 0
            • C Offline
              charly2008
              last edited by 22 Nov 2011, 13:41

              Hi John,

              thanks for the explanation. The materials disappeared after the deactivation of the plugin.

              He who makes no mistakes, makes nothing

              1 Reply Last reply Reply Quote 0
              • T Offline
                TIG Moderator
                last edited by 22 Nov 2011, 16:19

                At the end of the LiveIvy_tool.rb there's this:

                if (not file_loaded?(File.basename(__FILE__)))
                  menuitem = "SketchupIvy #{LiveIvy;;VERSION}"
                  mm       = UI.menu("Plugins")
                  mm.add_item(menuitem) {
                    Sketchup.active_model.select_tool LiveIvy;;IvyTool.new
                  }
                  LiveIvy;;IvyTool.load_definitions
                  LiveIvy;;Materials.ivy_materials
                end
                file_loaded(File.basename(__FILE__))
                
                

                if you edit it to read thus, then the Components and Materials will only load IF you use the tool...

                if (not file_loaded?(File.basename(__FILE__)))
                  menuitem = "SketchupIvy #{LiveIvy;;VERSION}"
                  mm       = UI.menu("Plugins")
                  mm.add_item(menuitem) {
                    LiveIvy;;IvyTool.load_definitions
                    LiveIvy;;Materials.ivy_materials
                    Sketchup.active_model.select_tool LiveIvy;;IvyTool.new
                  }
                end
                file_loaded(File.basename(__FILE__))
                
                

                because the action is moved into the menu block rather than running when the script loads at startup!

                TIG

                1 Reply Last reply Reply Quote 0
                • C Offline
                  charly2008
                  last edited by 22 Nov 2011, 17:07

                  Thank You TIG,

                  you are great

                  Charly

                  He who makes no mistakes, makes nothing

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    gr8fzy1
                    last edited by 26 Nov 2011, 17:00

                    Post removed, I solved the problem myself

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    1 / 1
                    • First post
                      9/9
                      Last post
                    Buy SketchPlus
                    Buy SUbD
                    Buy WrapR
                    Buy eBook
                    Buy Modelur
                    Buy Vertex Tools
                    Buy SketchCuisine
                    Buy FormFonts

                    Advertisement