sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] ClothWorks v1.8.0 - 28 Apr 2024

    Scheduled Pinned Locked Moved Plugins
    699 Posts 160 Posters 605.9k Views 159 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Paul RussamP Offline
      Paul Russam
      last edited by

      I saw this tutorial this morning:
      https://youtu.be/QGlrqRP7-Z8

      and 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:
      https://youtu.be/Loa0hv3Fitk

      UnWrap2:
      https://youtu.be/hL-9wWF1IoI

      UnWrap3:
      https://youtu.be/vQJv5OnQOWE

      UnWrap4:
      https://youtu.be/mDcWUQGWVlA

      UnWrap5:
      https://youtu.be/Xgz9x2QNukc

      No4 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.

      Paul Russam
      English doesn't borrow from other languages. It follows them down dark allies, knocks them over, and goes through their pockets for loose grammar.

      1 Reply Last reply Reply Quote 0
      • M Offline
        macchu
        last edited by

        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!


        hanging lamp chain.jpg


        hanging lamp chain w_sleeve.jpg

        1 Reply Last reply Reply Quote 0
        • A Offline
          Anton_S
          last edited by

          @macchu My suggestion would be to do the following:

          1. 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.
          2. Assign a cloth property to the cylinder group.
          3. 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.
          4. Assign a collider property to the chain and the wire.
          5. 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.
          6. 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.
          7. Run simulation. You may adjust the scale as needed. You can also adjust thickness options of either the cloth or the collider.
          8. Stop the simulation when you have a good result.
            Let me know if this works.
          1 Reply Last reply Reply Quote 0
          • M Offline
            macchu
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • M Offline
              macchu
              last edited by

              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?


              chain sleeve_test 1.jpg

              1 Reply Last reply Reply Quote 0
              • M Offline
                macchu
                last edited by

                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.


                chain sleeve_textured.jpg

                1 Reply Last reply Reply Quote 0
                • A Offline
                  Anton_S
                  last edited by

                  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.

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    JamesLeese
                    last edited by

                    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

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      Anton_S
                      last edited by

                      Hello James,

                      There are two things to keep in mind when simulating with texture:

                      1. 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.
                      2. 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

                      1 Reply Last reply Reply Quote 0
                      • C Offline
                        cativoivo
                        last edited by

                        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. 😞

                        1 Reply Last reply Reply Quote 0
                        • Dave RD Offline
                          Dave R
                          last edited by

                          @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.
                          Screenshot - 7_11_2020 , 10_20_18 AM.png

                          Etaoin Shrdlu

                          %

                          (THERE'S NO PLACE LIKE)

                          G28 X0.0 Y0.0 Z0.0

                          M30

                          %

                          1 Reply Last reply Reply Quote 0
                          • L Offline
                            lomaer
                            last edited by

                            It's very nice plugin.Thank you very much!

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              Atilla_Ahmediye
                              last edited by

                              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?

                              1 Reply Last reply Reply Quote 0
                              • A Offline
                                Anton_S
                                last edited by

                                @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

                                1 Reply Last reply Reply Quote 0
                                • K Offline
                                  kagealita
                                  last edited by

                                  Hi Anton,

                                  I bought this plugin with my personal ID in hurry, but it was actually for my company and I need to transfer it over to my work ID (DU_CAD). Please let me know how to go about it. Thank you.

                                  1 Reply Last reply Reply Quote 0
                                  • Y Offline
                                    Yai_ya
                                    last edited by

                                    Hello!
                                    I have installed ClothWorks v1.7.2 in SketchUp 2021. Unfortunately it doesn't work. An error pops up

                                    1 Reply Last reply Reply Quote 0
                                    • M Offline
                                      Mateshev
                                      last edited by

                                      Добрый вечер! Являюсь обладателем лицензии, после обновления SketchUp приложение не работает. Когда появиться поддержка SketchUp 2021?

                                      1 Reply Last reply Reply Quote 0
                                      • A Offline
                                        Ahmed0007
                                        last edited by

                                        not working in SketchUp 2021 😕

                                        1 Reply Last reply Reply Quote 0
                                        • Dave RD Offline
                                          Dave R
                                          last edited by

                                          I'm sure Anton will get it sorted out and issue an update. 2021 hasn't been out that long so it might take him a few days.

                                          Etaoin Shrdlu

                                          %

                                          (THERE'S NO PLACE LIKE)

                                          G28 X0.0 Y0.0 Z0.0

                                          M30

                                          %

                                          1 Reply Last reply Reply Quote 0
                                          • TIGT Offline
                                            TIG Moderator
                                            last edited by

                                            Clothworks uses the SCF licensing system.

                                            This has been updated with the SketchUcation Toolset v4.0.0 to suit the v2021 changes.

                                            To use licensed tools like this you will need to install the newest version of the SketchUcation Toolset and restart SketchUp.

                                            😉

                                            TIG

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 23
                                            • 24
                                            • 25
                                            • 26
                                            • 27
                                            • 34
                                            • 35
                                            • 25 / 35
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement