[Plugin] ClothWorks v1.8.0 - 28 Apr 2024
-
@jamesleese said:
I have been trying to create another flag. The first one I create a year or so ago worked great. This time, however, my context menu is not showing ClothWorks → Make Cloth or ClothWorks → 1 Cloth → Apply Quadrilateral Grid. What am doing wrong? I am using Sketchup 2019 and have your latest plug-in as well as sketchucation's latest plug in. I have installed both and restarted SUP 2019. Still no context menu with Clothworks in it.
Hi! Is your flag grouped and is it a top-level group? If so, is your ClothWorks installed? To check if ClothWorks is there, you should see ClothWorks in your Extension Manager window.
-
Can you please add that feature. that allow us to Scale the Cloth X Y and Z axis separately. Right now cloth Scale option scale uniformly from all axis.
bug in SketchUp 2020
every time I select a cloth it's turn on "Show Hidden Objects" a new feature of SketchUp 2020.Thanks
-
@tutorialsup said:
Can you please add that feature. that allow us to Scale the Cloth X Y and Z axis separately. Right now cloth Scale option scale uniformly from all axis.
bug in SketchUp 2020
every time I select a cloth it's turn on "Show Hidden Objects" a new feature of SketchUp 2020.Thanks
Thank you for your report! I will look into the issue and noted your feature request.
-
Hi Anton
I am loving the potential of Clothworks but am struggling with it constantly crashing Sketchup when I press go on the simulation. I have tried reinstalling extension and simplifying my model. It seems to be connected with applying the grid prior to the simulation. I am using Sketchup Make 2017 on the following machine spec 16gb ram,
Operating System
Windows 10 Professional (x64) Version 1903 (build 18362.778)System Model
Apple Inc. MacBookPro11,5 1.0Processor
2.50 gigahertz Intel Core i7-4870HQThanks for your help
Ric -
What graphics card? Typically crashes related to large amounts of geometry are related to graphics issues. And you're running Windows 10 on a MacBook Pro? Parallels? There have been other reports of issues with graphics by others using SketchUp in Windows on Macs. Maybe you're running into the same thing. What happens if you try Clothworks in SketchUp on Mac instead?
-
@ricbower said:
Hi Anton
I am loving the potential of Clothworks but am struggling with it constantly crashing Sketchup when I press go on the simulation. I have tried reinstalling extension and simplifying my model. It seems to be connected with applying the grid prior to the simulation. I am using Sketchup Make 2017 on the following machine spec 16gb ram,
Operating System
Windows 10 Professional (x64) Version 1903 (build 18362.778)System Model
Apple Inc. MacBookPro11,5 1.0Processor
2.50 gigahertz Intel Core i7-4870HQThanks for your help
RicHi Ric! Thank you for your sincere feedback! Does this crash with every model, or just a particular one? If it is a particular model, can you attach it with a post that I could investigate the issue? You can also, instead, email it to (clothworks@sketchucation.com) Thanks!
It may also be an issue with a graphics card as Dave pointed out in the post above. In that case, try reducing the grid resolution you apply to your cloth.
-
I saw this tutorial this morning:
Youtube Videoand whilst I have the Cloth plugin I haven't used it much beyond curtains etc.
Sooooo, I thought I'd have a go, this is an idea for a social media push with each of the videos being released a few days apart. The results below are just a test, If the client was interested then a bit more thought would be put into the model/materials etc.
Rendered in Enscape, each video took about 2mins to render
UnWrap1:
Youtube VideoUnWrap2:
Youtube VideoUnWrap3:
Youtube VideoUnWrap4:
Youtube VideoUnWrap5:
Youtube VideoNo4 seems far too similar to 3 and maybe if 4 was with the wrapping very nearly flat it could be better.
TutorialsUp has some really good tuts on their channel, well worth a look.
-
I haven't tried ClothWorks yet but it looks amazing with so many different applications. I'm curious whether I could use it to create a fabric chain sleeve for a hanging lamp as shown in the attached image. To help explain I've included 2 images - first one shows the usual chain and wire going through the chain into the canopy, and second one shows the fabric sleeve which would be slid over the chain. The sleeve is longer than the chain so that it "gathers" as it's full length is bunched up between the canopy and the top of the lamp fixture. I've read through the this thread and found one method posted by Oxer - https://sketchucation.com/forums/viewtopic.php?f=323&t=69485&start=210#p634892 - that seems like it could be adapted to make this work. I'd appreciate any suggestions before I dive in and start playing around. Thanks!
-
@macchu My suggestion would be to do the following:
- Draw a thin cylinder across the entire length of the chain (and even longer), around the chain and group the cylinder geometry. You can delete one of the tops if necessary.
- Assign a cloth property to the cylinder group.
- Generate an adaptive grid for the cylinder, with resolution large enough. You may have to undo and regenerate until you find a good grid resolution.
- Assign a collider property to the chain and the wire.
- Create a custom pin at the top of the chain to overlap and lock the upper edges of the cylinder in place. This can be done by drawing a small box, grouping it, assigning a Pin property, placing at the top of the cylinder but slightly lower to overlap the cylinder top edges.
- Reduce the overall scale to 0.95 for the cylinder group. To do this, select the cylinder group, open ClothWorks UI, and adjusting the scale property.
- Run simulation. You may adjust the scale as needed. You can also adjust thickness options of either the cloth or the collider.
- Stop the simulation when you have a good result.
Let me know if this works.
-
Hi Anton. Thanks for the suggested procedure. I'll give that a try. I just purchased the license last night so I'll be able to play around some this morning.
-
Anton -
I tried the method you suggested but it didn't give a result that looked quite like the bunched chain sleeve as in the reference image. I played around with adjusting the scale of the cloth but it looked more like it was "shrink-wrapped" as opposed to bunched. I'm sure if I knew more about how adjusting different properties affects the end result I would have gotten a little closer.
Being impatient I tried a different method, but still using the cylinder as you suggested.I removed both the top and bottom so it is essentially just like the real cloth sleeve. I made the cylinder a cloth and applied adaptive grid. I created a circle at the bottom, at a point just below where the chain connects to the top of the fixture, grouped it and made it a collider. The chain is also grouped and is a collider. I then ran the simulator. [/list]
At first it looked promising but I had made the cloth sleeve longer than the chain (by quite a bit) so the sleeve bunched and fell away to the side of the chain. I tried again after making the chain longer than the sleeve. Result was much better, but after just a little bit the bunching seemed to slow significantly. I created a copy of the original components but replaced the original sleeve with a shorter one and slightly larger diameter. This made a big improvement. I think I also reduced the grid of the cloth from 1" to 0.5". I'll keep testing with making various adjustments to the properties in the UI. I'd like to get a more uniform amount of bunching the full length of the sleeve. There is a section along the upper third of that seemed to not bunch as much.
What are some of the properties I should look at adjusting?
-
Here is an image of the second effort with a fabric texture applied. I forgot to mention that I did apply Loop Subdivision after running the simulation. If I can get a more uniform bunching I think I'll be very happy with the result. I'm quite in awe with what ClothWorks can do and in the hands of a relative newbie. I'm sure this only just scratches the surface.
-
Hmm. Interesting results. Perhaps you may have to attach Pins to both ends.
I figured a feature to only scale (shrink) along x and y directions but not the z (vertical) direction would be useful. Someone already requested this feature. I will ensure to have it available in the next release.
-
Anton, I am still struggling with created the flag waving. Unlike your example video, my flag breaks into tiny segments with the logo on the flag lost. It reappears when I stop the video creation, then does the same as I continue it. Does not look like a waving flag. I am trying to do a several second video of the flag waving in the breeze. I am version 19 of Sketchup and using your lastest version of Clothworks.
I can send you the SUP file and a sample video of the problem. I have tried to attach the two files but nothing happens.
James
-
Hello James,
There are two things to keep in mind when simulating with texture:
- Ensure to apply the texture directly to the faces within the group. It is typical for a user to apply texture to the outer group, which is incorrect.
- If intend to visual texture changes, while simulation is running, and not just after simulation stops, ensure Update Textures in Simulation tab of the UI is checked. You can also disable Draw with OpenGL API to actually visualize an actual flag group changing rather than a temporary geometry.
I attached a link to the flag model, I just created for ClothWorks. Upon downloading, you can press play to see texture changing in effect: flag_with_texture.skp
When you download the file, ensure that Update Textures is checked and Draw with Open GL API is unchecked. You can disable these options if you only care about seeing the texture changes after simulation ends (this improves simulation performance).
Also, when simualting a flag, ensure that Self-Collide is unchecked. Flag geometry overlaps can be mostly eliminated by adding the bending stiffness, as used by the model above. Self-collision is currently unstable (I have this on the to-do list, which I will focus upon after updating a few of my other extensions).
Thanks,
Anton -
Clothworks is a wonderful plugin, but it appears not to work any more with SketchUp 2020.
At least I am not able to activate it.
Any help would be much appreciated. -
@cativoivo said:
...but it appears not to work any more with SketchUp 2020.
At least I am not able to activate it.It actually works fine in SketchUp 2020. The first thing I would check is that you have installed SketchUp correctly. On Windows that requires right clicking on the downloaded installer and selecting Run as administrator from the context menu. If you didn't do that or you don't remember, find the installer or download the latest one from sketchup.com/download/all.
Do you have the Sketchucation Tools installed? Did you get the license file?
This was done in SU2020 today.
-
It's very nice plugin.Thank you very much!
-
Hello Anton thanx for this cool plugin. I would like to buy the plugin but in Turkey paypal is banned from goverment. Is there any other way I can send you money and you can give me the license?
-
@atilla_ahmediye said:
Hello Anton thanx for this cool plugin. I would like to buy the plugin but in Turkey paypal is banned from goverment. Is there any other way I can send you money and you can give me the license?
Hi,
Because PayPal doesn't support sales in Turkey, we are currently limited with where we can sell a licence.
Please send an email to clothworks@sketchucation.com for an alternative.
Thanks,
Anton
Advertisement