Using Clothworks to Simulate Fabric in SketchUp – STEP BY STEP TUTORIAL



In this video, I get more in-depth on how to use the extension Clothworks to simulate fabric in SketchUp! We cover everything from draping fabric over shapes to applying textures for UV mapping on your fabrics!

Want to Support the SketchUp Essentials?
http://www.patreon.com/thesketchupessentials

Support The Show!

THE SKETCHUP ESSENTIALS COURSE
http://www.thesketchupessentials.com/course

DOWNLOAD CLOTHWORKS
https://sketchucation.com/plugin/2053-clothworks

CLOTHWORKS MANUAL
https://drive.google.com/open?id=1JkfPUSfhqxEDgPb0RtzBiFL3ZmaC7VQD

MY YOUTUBE SETUP
https://kit.co/TheSketchUpEssentials/sketchup-modeling-and-youtube-creation-kit
SKETCHUP BOOKS AND RESOURCES
https://kit.co/TheSketchUpEssentials/sketchup-books-and-resources
MY CURRENT FAVORITE SKETCHUP PLUGINS AND EXTENSIONS
https://kit.co/TheSketchUpEssentials/my-current-favorite-sketchup-extensions
(Affiliate Links)

PLEASE LIKE AND SUBSCRIBE

Check Us Out On –
Website – http://www.thesketchupessentials.com
Twitter – http://www.twitter.com/easysketchup
Facebook – http://www.facebook.com/thesketchupessentials
Pinterest – http://www.pinterest.com/easysketchup/

Disclaimers: all opinions are my own, sponsors are acknowledged. Product Links in the description are typically affiliate links that let you help support the channel at no extra cost.

Once you’ve installed Clothworks, getting started is fairly easy. Start by putting the geometry you want to use as a fabric into a group. In addition, place any geometry that you’d like the cloth to collide with in a group, then right click and select “Make Collider.” This will make this a piece of geometry that clothworks will simulate a collision with.
There’s another step in here that it’s easy to miss the first time – you want to go in a subdivide your geometry so that it actually has geometry that can bend, otherwise your cloth shape is just going to bounce off of the face as a kind of rigid shape.
You can set the width of your subdivision within the grid creation settings. So far, I’ve just been using the simple grid option. This will subdivide your object into smaller pieces of geometry, allowing for cloth simulation. You can see this geometry if you turn hidden geometry on.
One other note – per the manual, you should minimize the “Outliner” and “Component Inspector” sections of your tray – otherwise SketchUp takes a lot longer to calculate.
Now, let’s run our simulation. You can do this by clicking the play button within the Clothworks menu. As you can see, this will simulate draping the cloth on top of your object. One thing you may note is that some of the cloth overlaps with itself – to fix this, we’re going turn self-collision detection on, which will cause our material to collide with itself.
In addition, if you try to apply a texture while the material is draped, the UV mapping won’t work right, so we’re going to go in and apply a texture as well. One very important thing to note is that you must apply your texture to the raw face. If you apply it to the outside of your group, it won’t work.
There’s a toggle button called “Toggle draped” in the Clothworks toolbar. Then, select your object and go to the “Object” tab. Under “Cloth,” go down and check the box for “Self-Collide.” This will keep your object from colliding with itself.
Then, you can run your simulation again.
One other thing to note is that the simulation is actually live, meaning you can click and drag different parts of geometry.
Finally, note that if you right click and go to the options for your clothworks material, there’s two options for “Apply Loop Subdivision” and “Apply Laplacian Smoothing.” These will smooth the edges of your cloth material.
Now, let’s talk a bit about pins. Pins allow you to fix different parts of your cloth, allowing for the simulation of hanging cloth. To use these, simply go to the clothworks menu, then select the last button for “Add Pin,” and click on a point in your model. You can actually copy paste these within your model like you would with any other SketchUp geometry and they’ll still work.
One other thing to note with these is that you can move them within your cloth simulation. When you select them, you get an axis gizmo, and you can click and drag the various arrows. You can also hold the control key to move them closer together or further apart.
The final thing I want to note is that you can also use clothworks to simulate rope or wire in the same way. Simply create a line, then right click on it and divide it into a series of lines. Select all of these lines and put them in a group, then make them a clothworks object. You can pin the edges or drape along a face. One thing to note is that sometimes you may get some weird results depending on the edge density of your rope and the faces you drape along.

source

Save This Post
Please login to bookmarkClose