[Tutorial] Import custom images as permanent new materials
-
I thought that it might be useful to write a fairly comprehensive account of how to import custom materials into SketchUp, so that they can be saved as permanent library files. It's a question we often get asked on FormFonts (I'm pushing for a skm slot, so that we can offer ready-to-go materials).
There are several ways to do this, including simply dragging the image off your desktop into the drawing area. However, this requires that you partially minimise SU...so that you can actually see the desktop...which totally screws up the tool bars, so I prefer to introduce the graphic via the Import menu....as an image, not a texture.
Having imported the image, you then need to correctly size it. Obviously, if it's something non-critical like stucco or grass you can probably just scale it by eye to match the existing content. If it is an image of brick or something similar then the scaling will need to be fairly precise, based upon the standard brick size in your part of the world. In the US that is likely to be around 2.25", in the UK it is more like 2.5" (65mm) allow about 10mm/ 0.5" for each mortar course. A quick calculation will give you the necessary height of the image, based upon how many courses of brick it contains.
If you are scaling an image imported into an otherwise empty file, there is no problem in using the tape measure tool to measure up the height of the image, overtype the correct distance into the VCB then hit Enter to rescale the model. If you are importing such an image into a file which already contains content then the rescaling will need to be done inside a group in order to limit the rescaling to just that element, not the entire model. The easiest way to do this is to draw a single line up the side of the image, then group that and the image together...then go inside the group and rescale the line.
Having got the image to the correct scale, you then simply explode it. At which point it will instantly appear on the In Model tab of the Materials browser. If necessary, edit the name of the material at this point. When you are happy with all its properties, you have a few choices...either you can continue to add more materials to your file, to build up a collection, then save the entire tab as a new library, or....
You can open up the secondary pane on the Materials browser, navigate to the appropriate existing library, then simply drag the material from the In Model pane into the secondary pane. If this was, for instance, Bricks and Cladding, then a skm file of the new material would be automatically produced in that sub folder of Materials and would then remain as a permanent addition to that library.That's it...it takes less time to do than explain. By the way, the new format of skm files in V6 are actually just renamed zip files. That is where the image files themselves are hiding. The old style skms were located in the Library folder and covered an entire library of materials. They were just simple text files, referencing external images that were located in the Materials folder. The new style skms relate to just a single material and contain the image itself plus an xml file that deals with its properties. The Library structure is created simply by arranging these skms in the appropriate folder. V6 will read any sub folder of Materials as a library and will take any skm in that folder as a material in that library.
Alan
poster-Alan Fraser -
Thanks Alan, this will definately be a good resource to point people to.
-
Thank you ever so much, Alan. Just use your tut to guide me through installing some new wood grain.
-
Alan, any plans to get the FF Installer working again for version 6? It was a really useful tool.
-
Excellent... thanks soo much for the contribution.
-
How about components?
-
I understand this from the old forum, but no one has answered my question about components yet
-
Thank you Alan, now I can keep my materials in SU and not have to import each time.
Cheers, Bill. -
Hi Alan (or anyone else)
Is there a way to distort an image in SketchUp so that it will stay that way after tiling?
For example, I have an image of an area of bricks that is distorted from the camera's perspective. It can be scaled, but the perspective remains. Placing as a texture allows you to adjust the texture to a specific area, but it doesn't tile any differently. The image can be scaled X & Y, but not along an edge, no?
Is PhotoShopping the only way to get the original image to look right after tiling?
TIA...
E
-
Yes, you will need to photoshop it so it is all squared up, and tileable. There are some good tutorials here on the forum for doing that I believe.
Chris
-
Thanks Chris
I skewed and cropped and squared up the image in PS, then imported and exploded per Alan's comments. Worked great.
Getting the color to match was a bit tedious, but by messing with the values in the image editor, saving and reloading a few times, the textures on all the components updated instantly throughout.
SU is amazing....
E
Advertisement