SymmetryMill Tutorials

SymmetryMill for SketchUp: Applying Textures to Curved Surfaces

 
 
 
 
 
 
In the previous tutorial, we learned the basics of using SymmetryMill textures in SketchUp, dealing mainly with surfaces that consisted of a single flat polygon (face). Here, we advance to applying repeating patterns to complex curved surfaces and learn to do it in such a way that the pattern remains seamless after it is applied. We will first wrap a SymmetryMill texture around a simple cylinder and then apply a pattern design to a multi-directional surface, taking a realistic 3D model of a garment as an example. We continue to use the free version of SketchUp, the free SymmetryMill plug-in for SketchUp, and the free version of SymmetryMill—a completely free, but very powerful solution.

Wrapping SymmetryMill texture around a cylinder

1. To start, open a new document and create a cylinder any way you like; or use the following steps:
  1. Click the Circle tool in the toolbox.
  2. Click once at the origin.
  3. Move the mouse pointer horizontally until the radius of the circle (displayed in the Measurements toolbar at the bottom) indicates the desired value. We chose 10".
  4. Click the Push/Pull tool in the toolbox, click the circle, and drag vertically to create a cylinder.

2. Click the Select tool in the toolbar and click the vertical side of the cylinder to select it.

3. Your cylinder is ready to be painted. Click the SymmetryMill Texture Editor window to bring it up front or choose Plugins > SymmetryMill to open the window.

4. Make an edit in SymmetryMill to apply the current pattern to the cylinder. You might also make use of SymmetryMill's built-in color filters and pick more vivid colors.

Because SymmetryMill assigns exactly the same texture to each selected face within a surface, you will notice that the cylinder is painted in vertical stripes, revealing the structure of the surface (as if we had chosen to show hidden geometry, which we did not). In fact, you may want to make sure that the View > Hidden Geometry menu item is not checked, it will be important in the next step.

5. We will now make the texture wrap around the cylinder:

  1. Click the Paint Bucket tool in the SketchUp toolbar.
  2. Position the pointer over the cylinder and press the Alt key (Windows) or the Command key (Mac OS) to change from the Paint Bucket tool to the Sample tool. The cursor will change to an eye dropper. Click the painted surface of the cylinder to sample the texture material and then release the Alt key (or the Command key) to return to the Paint Bucket tool.
  3. Click the surface of the cylinder again to (re)paint it with the sampled texture. The pattern now wraps around the cylinder.

6. However, there is still an imperfection in the wrapping. In our case, it appears on the right side of the cylinder, but it might also be elsewhere and you may need to go around the cylinder to find it: click the Orbit tool in the toolbar, then click and drag the cursor horizontally until the imperfection is clearly visible (or you can rotate the cylinder instead).

The reason for the imperfection is obvious. Just imagine that you have a repeating pattern printed on a properly sized piece of paper and you wrap your paper around the cylinder. Generally, there will be a visible junction where the ends of the paper meet, unless you have taken care to choose the repeat size of your pattern so that it will wrap around exactly the right number of times.

And this is what we will do now. The length of the circumference of a circle with the radius R = 10" is 2πR = 62.8319". Say, we want the pattern to repeat around the cylinder N = 6 times. Then the width of the pattern tile must be about 2πR / N ≈ 10.472". (Given that SketchUp approximates a cylinder with flat segments, the actual width may be a little smaller, but in many cases this estimate will suffice.)

7. Now find your SymmetryMill Tile material in the Window > Materials panel (see "Accessing Your SymmetryMill Patterns" in the basic SymmetryMill texture tutorial for details). Then double-click the SymmetryMill material to edit it, enter 10.472" in the Width field, and press Enter. The abrupt juncture disappears. Click the Close button to finish with the edit. You can download the painted cylinder as a SketchUp file and experiment further.

After you press the Enter key, SketchUp may display an approximate (rounded) number instead of the exact value of the width and height that you enter. If you want to change the display precision, choose Window > Model Info, click Units in the left pane, and choose a different value in the Precision popup.

If you enabled "length snapping" in the Model Info dialog, and chose a relatively large value of snapping, you must click the Close button immediately after you enter the width of your texture—or, depending on what you do next, SketchUp may round the entered value to the nearest "snapped" value and then the joint may reappear.

For finer control, you can employ all the texture positioning tools available in SketchUp. There are a great many tutorials on the web and they are very helpful for applying SymmetryMill textures too. The only difference that you want to keep in mind is that other tutorials usually use imported photo-textures, whereas SymmetryMill automatically creates seamless repeating textures for you.

Applying SymmetryMill texture to a curved surface

For painting more complex surfaces, SketchUp's projected texture method comes in handy. We use it to create a fabric design for a 3D model.

1. Load the Citizen Extras_Female 03 model from 3D Warehouse (or a similar model you like).

2. Prepare an auxiliary flat surface inside the model component:

  1. Double-click the model twice to drill down to the main character.
  2. Click the Rectangle tool in the toolbar.
  3. Click somewhere around the right elbow of the model.
  4. Move the cursor down and to the left and click again to create a rectangle surface.
  5. Should the rectangle turn out facing the light blue side, right-click it and choose Reverse Faces from the context menu to turn the front (white) side toward you.
  6. Select the rectangle, click the SymmetryMill Texture Editor window to bring in to the front, and make an edit in the SymmetryMill window to apply a texture to the rectangle.

3. If you apply the same texture to the pants, the texture will look jagged. We avoid the jagged look by making the texture projected and then apply the projected texture to the pants. Right-click the rectangle and choose Texture > Projected from the context menu.

4. Then sample the projected texture and apply it to the pants:

  1. Click the Paint Bucket tool in the SketchUp toolbar.
  2. Position the pointer over the rectangle and press the Alt key (Windows) or the Command key (Mac OS) to change from the Paint Bucket tool to the Sample tool. The cursor will change to an eye dropper. Click the rectangle to sample the texture material. Release the Alt key (or the Command key) to return to the Paint Bucket tool.
  3. Click the pants to apply the texture.
  4. Feel free to delete the auxiliary rectangle—it served its purpose.
  5. And of course you can rotate (or orbit) the model to see how your design looks from other sides.

Note that you need to do the projected texture trick only once per surface. SymmetryMill will remember your choice and project the texture automatically after each SymmetryMill edit.

Feel free to download the model with our texture applied. Remember that by clicking any surface painted with a SymmetryMill pattern, you can always restore the SymmetryMill settings used to create that pattern. So you can take it from there and experiment further.


Cylinder.skp   ProjectedTexture.skp