Quarter Sawn Oak texture
-
Remus,
There's a Ruby script called massmaterialimporter.rb that will do what you want.
See http://www.crai.archi.fr/rubylibrarydepot/ruby/em_ren_page.htm. -
@kennyl said:
Remus,
There's a Ruby script called massmaterialimporter.rb that will do what you want.
See http://www.crai.archi.fr/rubylibrarydepot/ruby/em_ren_page.htm.Thanks. I had found that a few minutes ago, but can't figure out how to make it work.
It prompts me to open a file, which it says will open the folder. I do so, and nothing further happens.
Any suggestions gratefully received.
Thanks
Steve
-
Start the material importer, navigate to the directory containing your jpg images, click on any one of them and then click the Open button. After a bit, new materials will be added to your 'In Model' library.
-
Yes, but they do not appear to be saved as skm files.
Each must be saved individually.
Or am I just being dense?
Steve
-
You need to move each new material from the 'In Model' library to either an existing material library or to a new one. I suggest that you read up on the Material Browser in the SketchUp User's Guide which explains the whole process.
-
So you do have to handle each file individually.
There is no way to "select all" and move/drag/copy to another folder/library.
But I am way better off with this plugin than I was before. Thanks for it.
Steve
-
I got this excellent advice in the Google Group Sketchup forum
http://groups.google.com/group/sketchup/.
@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.Hope others find it useful
And thank you again for your help
Steve
-
cheers, thats very useful, i was just going to do it by dragign all the materials into their respective folders
-
I'm a Newbie here on Sketchup and Ruby Plugins.
Could someone explain to me how to download this massmaterialimporter.rb Plugin? When I go into the Plugins library and click on this Plugin it comes up with script. Is there a way to download it normally or do I need to do it some other way. I would like to set up a materials library and do not know how.
Thanks, John
-
Wow! Amazing textures! Thanks!
-
@oldworld124 said:
...Could someone explain to me how to download this massmaterialimporter.rb Plugin...?
Hi John,
Yes, ruby files are simple text files (only difference is the *.rb extension vs. the *.txt extension). Web browsers and text editors therefore handle both the same way. Anyway, there are two easy ways to save them:
- Right click on the file and "Save as..." (or something like that in different browsers) into the Plugins folder. Make sure to give it the same name as it is written on the download page and add the .rb extension (in case it is not added automatically).
NEVERgo to File > save page as... in your browser because it will add a whole bunch of html codes to the text file and it will get corrupted. - When you have already clicked on it and the text is opened in your browser, select all (Ctrl A) > Copy (Ctrl C) and paste it (Ctrl V) into a plain text editor (like Notepad - NEVER a Word processor like MS Word or such!!!).
Now save it (with the same naming rules as above) into your Plugins folder.
- Right click on the file and "Save as..." (or something like that in different browsers) into the Plugins folder. Make sure to give it the same name as it is written on the download page and add the .rb extension (in case it is not added automatically).
-
Hello Gaieus,
Thanks for the reply. However, I tried saving massmaterialimporter.rb into the Plugins section of Google SK7 and it does not show up. I must be doing something wrong. I copied and pasted in Notepad as you explained and named everything correctly and saved it in Plugins. The Folder does not show up at all. I then saved it in My Documents to see if it would show up. It does but only opens in Excel. The script is the same as is on the site. Your help and any from others is much appreciated.
Thanks, John
-
It mightnot show up in the Plugins menu but somewhere else (I don't have it so don't know).
It's interesting though that it opens in Excel. Can you open it in Notepad? Do you see any strange in the text if you open it?
-
I have been able to copy and save it to Notepad and reconfigured it to open in Notepad
instead of Excel. The problem is that I cannot get it to go to SKP7
Plugins. It only opens in Notepad and is in it's proper script as is shown on the Ruby Library. It will not go into Plugins on SK7. Am I copying too much? Could someone please give me some pointers as to how to get this to run? It seems like a very useful Plugin. I am a quick learner. I just needs some pointers.Thanks, John
-
@oldworld124 said:
...The problem is that I cannot get it to go to SKP7 Plugins. It only opens in Notepad...
Well, then in Notepad, save the file as is - into the SU 7 Plugins folder. Are you saying you cannot svae there?
-
John,
You say it won't go into Plugins. Do you mean you aren't seeing "Import Materials" in the Plugins menu in SketchUp? Or you can't save it as an rb file in the Plugins folder?
-
click on the arrow in the top right and us "save collection as" to quickly save all the imported materials
-
When I save it into SKP 7 Plugins it only saves it as a .txt file. Isn't it supposed to be an .rb file? It will not show up in the Plugins window if it is a .txt file. I can find it if I do a file search for it. If it is to be an .rb file or other file name, can someone show me how to do this. I have downloaded a few plugins and have this same problem. It is only with the plugins that need to be copied and saved of the text type. There are some plugins I have found that are already set up to save as an .rb file that have loaded correctly into tool, plugins, etc.
Thanks, John
-
Have you tried renaming the TXT file in the Plugins folder with the file extension RB?
-
The problem is that it can only be saved as .txt file. I have tried and cannot change it to an .rb file. I copied this from the Ruby Library as instructed and pasted it in notepad. Then I clicked on file save as and saved to SKP 7 plugins. It is a text only file. It will only open in notepad as normal text the same way I originally pasted it. I know there is a way to make these plugins work. I just need the knowledge. Others don't seem to have any problem at all. I have a few others that are the same way. They show as text files. The only ones I have been able to activate are the ones I downloaded as .zip files. The person who put them on the Ruby Library already had them configured to be able to send to the tools or plugins area in SKP.
Thanks, John
Advertisement