SU6 SKM processing
-
does anyone knows how to get the texture file from a material ?
sketchup.com is down and I dont have a mirror of SU6 Ruby help and in SU6 textures are stored inside .skm (which are renamed .zip files) versus SU5 where all textures were stored normally in Materials subdir.
one way is to TextureWrite it but I dont like to clutter the HDD for that
-
I wrote this script a while ago. It was meant for getting 'color-by-layer' colors , but with the right settings it also exports the colors' textures; if you have it pre-set appropriately...
There might be something in there you can use ? It's a hack but it works...
If you see my post earlier of today about 'layer colors' you can seen in the associated script how you might use this method to get the model's materials...
-
that means that the user must export as OBJ first - not acceptable
so I think I will use TextureWriter as there is no Ruby method that points to the .skm file to do a .zip parsing of .xml files. urgh
thanks anyway
Advertisement