Save your entire In-Model Material Library on Mac
-
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. -
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].
-
@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 usefulSorry - 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
-
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.
-
@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
-
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
-
@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?
-
Perhaps, or using the new "Service". Though thats beyond my abilities
-
@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
-
@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
-
Ahhh, thank you. I was sure that was for individual texture.
By the way, what are those two extra icons you got there?
-
@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 -
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)
-
@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
-
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
-
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...
Advertisement