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

    Save your entire In-Model Material Library on Mac

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    16 Posts 5 Posters 2.7k Views 5 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.
    • J Offline
      Joarek
      last edited by

      Hello!
      Im in the process of adding a rather large collection of materials i have been gathering for some projects. However i find the entire method extremely tedious adding one by one, so im hoping for some input from more experienced users on how this can be done effectively.

      I have been searching for a way to do this for quite some time now, and they all end up the same by showing this quote

      @unknownuser said:

      ...there's a dropdown menu pick called Save Library As...

      That will save your entire In-Model Material Library as a named
      library, like Wood or Carpet and Textiles. The new library will
      correspond to a like-named folder under C:\Program Files\Google\Google
      SketchUp 6\Materials, and the folder will contain one .skm file for
      each texture.

      I have no such option anywhere to be found, so either im blind or there is no such thing on the Mac 😳

      So in short what im after is:
      A way to convert entire folders of images(textures etc) to .skm - Either by import directly to SketchUp or using another application/script etc.

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        http://www.crai.archi.fr/RubyLibraryDepot/Ruby/massmaterialimporter.rb
        Will batch import ALL image files found in a selected folder and make new materials in the model using the images' names.

        Note that you will need to manually adjust the image tiling size and transparency etc before saving......

        You can then use 'Save Collection As' from the side pop-out menu to export these as .skm sets into their own folder[s].

        TIG

        1 Reply Last reply Reply Quote 0
        • TIGT Offline
          TIG Moderator
          last edited by

          @joarek said:

          Thanks for the quick reply TIG!
          But no such option "Save Collection As" exist apparently in my SketchUp (OS X).
          Also, when i select an image from within the folder i wish to import the textures, nothing happens. I have tried several times now and looked through all the libraries to see if they where added to any of them. Is this rubyscript confirmed to work on Mac?
          Please let me know if any more info would be useful πŸ˜„

          Sorry - I missed the Mac part... 😳
          Most ruby-scripts [including this one] work on Macs.
          The Mac's Materials work differently from PC's - seem less intuitive for a change ! See this link where someone tries to explain how to batch import images then export .skm files on a Mac... http://groups.google.com/group/Sketchup-Pro/browse_thread/thread/75888401f42c327e
          πŸ’­

          TIG

          1 Reply Last reply Reply Quote 0
          • J Offline
            Joarek
            last edited by

            Thanks for the quick reply TIG!

            But no such option "Save Collection As" exist apparently in my SketchUp (OS X).
            Also, when i select an image from within the folder i wish to import the textures, nothing happens. I have tried several times now and looked through all the libraries to see if they where added to any of them. Is this rubyscript confirmed to work on Mac?

            Please let me know if any more info would be usefull πŸ˜„

            Edit:

            Ok, i figured it out, though not optimal it works.

            @unknownuser said:

            Texture Palette Picker
            β€’ Drag and drop image files directly from the finder into the Swatch Browser. You will be prompted to supply a name and dimensions for the material when you drag and drop an image file into the Swatch Browser.

            You can only drag and drop one file at a time.. But atleast it gets added to the chosen Library as a .skm file.

            1 Reply Last reply Reply Quote 0
            • T Offline
              tfdesign
              last edited by

              @joarek said:

              I have no such option anywhere to be found, so either im blind or there is no such thing on the Mac 😳

              Hi Joarek!

              You're not blind. πŸ˜„

              You can find your materials library in the Application support folder within you main library, under Google SketchUp.

              It's fairly easy to find. πŸ˜„

              Tom

              My book "Let's SketchUp!" Download from here

              1 Reply Last reply Reply Quote 0
              • J Offline
                Joarek
                last edited by

                Aye, thats the method i first tried but it was doing my brain in hehe.
                Anyway, i edited my post over with a new way that seemed a tad less "barbaric" πŸ˜†

                If only it would accept a bunch of files.. But oh well!

                Edit: Hi Tom, i know where the actual Library is, itΒ΄s the spesific "Drop-down menu - Save As" im not finding πŸ˜‰

                1 Reply Last reply Reply Quote 0
                • T Offline
                  tfdesign
                  last edited by

                  @joarek said:

                  Edit: Hi Tom, i know where the actual Library is, itΒ΄s the spesific "Drop-down menu - Save As" im not finding πŸ˜‰

                  Whoops- sorry. I was being a little hasty 😳

                  I get what you mean now. I'm sure I've managed this before in bulk. I wonder if it is possible to write a script in Automator?

                  My book "Let's SketchUp!" Download from here

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    Joarek
                    last edited by

                    Perhaps, or using the new "Service". Though thats beyond my abilities πŸ’š

                    1 Reply Last reply Reply Quote 0
                    • wind-borneW Offline
                      wind-borne
                      last edited by

                      @joarek said:

                      Aye, thats the method i first tried but it was doing my brain in hehe.
                      Anyway, i edited my post over with a new way that seemed a tad less "barbaric" πŸ˜†

                      If only it would accept a bunch of files.. But oh well!

                      Edit: Hi Tom, i know where the actual Library is, itΒ΄s the spesific "Drop-down menu - Save As" im not finding πŸ˜‰

                      Mac Version
                      click list, duplicate, name it, OK


                      1.png


                      2.png

                      "To read between the lines was easier than to follow the text."OSX 10.11.6

                      %(#BF80BF)[SU 8 pro

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        tfdesign
                        last edited by

                        @joarek said:

                        Save As" im not finding πŸ˜‰

                        I think I've just worked it out. You don't save anything. SU does this automatically after you save the model then quit SU.

                        Reopening brings up the imported texture into the texture panel, and the skm file is added to the directory.
                        I guess to add multiple files, you must create a file first in the application support directory, and then just import multiple files all at once. I haven't got that far yet.

                        does that make sense?

                        Tom

                        My book "Let's SketchUp!" Download from here

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          Joarek
                          last edited by

                          Ahhh, thank you. I was sure that was for individual texture.

                          By the way, what are those two extra icons you got there?

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            driven
                            last edited by

                            @joarek said:

                            By the way, what are those two extra icons you got there?

                            Don't know exactly which one's wind-borne has, but you can add different, colour wheels/chooses/pickers directly into the Mac library and they become available system wide, I really like 'old jewels softwares' 'painters picker' myself.
                            also, I fairly recently used mass material importer successfully, but I can't remember how and both SU mac's are tied up rendering at moment, so I can't refresh my memory,
                            I do remember it was annoying...
                            and I don't recall giving up and doing it manually,
                            but I can't check with 2 busy beachballs.... good luck

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

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              Joarek
                              last edited by

                              Awesome tip on Painters Picker, i bought that right away πŸ‘

                              If you would though when your beachballs(of doom) have finished, try to figure out what you did to automate the process i would be truly gratefull. Im about 5% done and will most likely cry myself to sleep traumatized tonight!

                              Edit:

                              And the " # " Picker from wind-bornes screenshot was: Hex Color Picker (free)

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                driven
                                last edited by

                                @joarek said:

                                Awesome tip on Painters Picker, i bought that right away :thumb:

                                If you would though when your beachballs(of doom) have finished, try to figure out what you did to automate the process i would be truly gratefull. Im about 5% done and will most likely cry myself to sleep traumatized tonight!

                                If you like PP you should try their 'Trampoline' (do the trial, some people don't like it) I want to get it working inside SU for my tool selections....

                                1 idea re: material library, if your prepared to post it someone on a PC might convert it and re-post, but it means sharing...

                                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
                                • J Offline
                                  Joarek
                                  last edited by

                                  Hmm, giving Trampoline a spin.. But im pretty happy with Quicksilver for the most part. But as you say, if one could tweak it to use tools within SU it would be pretty handy indeed.

                                  As for sharing the textures some of them are copyrighted etc and well over a gig in total so i don't think thats really an option. If need be ill do it myself from bootcamp, parallels desktop or even use my gfΒ΄s PC next to me. But i like to be able to do it "in house" and it might help other users that does not have the opportunity to do so also πŸ˜„

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    driven
                                    last edited by

                                    I did not have too many, but can I remember a work-around that I think I used.
                                    This may not be the one that worked [when traveling, I always remember the route to how I got lost and end up getting lost again]

                                    I set up a new drawing using styles, model info, ect to get it how I like, I than used Mass Materials Importer to get them into the drawing, Save as template, use for default. Then one by one over time, when I used one of them in my models I saved them into my materials folder. It means you have to use colours in models a lot for a while and it's annoying if you purge your drawing and then need one that you haven't moved, but you can always open a new drawing from templates and import the model over.

                                    anyway without being able to check my memory...

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

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

                                    Advertisement