• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

[Plugin] ClothWorks v1.8.0 - 28 Apr 2024

Scheduled Pinned Locked Moved Plugins
699 Posts 160 Posters 605.7k Views
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.
  • A Offline
    Anton_S
    last edited by 12 Apr 2020, 21:57

    @unknownuser said:

    I did not find a way to save my presets I already manage, like the one for pillows, an other for curtains

    Hi. Great question! ClothWorks shared materials (the ones you manage with Save and Rename buttons) are only bound to a SketchUp model creating them. To use the same materials in another model, simply export them from your previoous model and import them into your new model. Make use of:

    • (Menu) > Extensions > ClothWorks > Export Materials
    • (Menu) > Extensions > ClothWorks > Import Materials
    1 Reply Last reply Reply Quote 0
    • A Offline
      Anton_S
      last edited by 12 Apr 2020, 22:03

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

      1 Reply Last reply Reply Quote 0
      • T Offline
        TutorialsUp
        last edited by 14 Apr 2020, 03:42

        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

        1 Reply Last reply Reply Quote 0
        • A Offline
          Anton_S
          last edited by 15 Apr 2020, 02:49

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

          1 Reply Last reply Reply Quote 0
          • R Offline
            ricbower
            last edited by 16 Apr 2020, 13:27

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

            Processor
            2.50 gigahertz Intel Core i7-4870HQ

            Thanks for your help
            Ric

            1 Reply Last reply Reply Quote 0
            • D Offline
              Dave R
              last edited by 16 Apr 2020, 15:10

              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?

              Etaoin Shrdlu

              %

              (THERE'S NO PLACE LIKE)

              G28 X0.0 Y0.0 Z0.0

              M30

              %

              1 Reply Last reply Reply Quote 0
              • A Offline
                Anton_S
                last edited by 16 Apr 2020, 17:26

                @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.0

                Processor
                2.50 gigahertz Intel Core i7-4870HQ

                Thanks for your help
                Ric

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

                1 Reply Last reply Reply Quote 0
                • P Offline
                  Paul Russam
                  last edited by 17 Apr 2020, 08:48

                  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 28 Apr 2020, 17:36

                    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 29 Apr 2020, 04:09

                      @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 29 Apr 2020, 11:29

                        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 29 Apr 2020, 14:25

                          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 29 Apr 2020, 14:33

                            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 29 Apr 2020, 19:01

                              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 6 Jun 2020, 15:20

                                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 6 Jun 2020, 22:00

                                  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 11 Jul 2020, 05:45

                                    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
                                    • D Offline
                                      Dave R
                                      last edited by 11 Jul 2020, 15:26

                                      @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 16 Jul 2020, 09:33

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

                                        1 Reply Last reply Reply Quote 0
                                        • A Offline
                                          Atilla_Ahmediye
                                          last edited by 24 Aug 2020, 14:12

                                          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
                                          • 1
                                          • 2
                                          • 22
                                          • 23
                                          • 24
                                          • 25
                                          • 26
                                          • 34
                                          • 35
                                          • 24 / 35
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement