• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

CLOTHWORKS - Collider showing through cloth

Scheduled Pinned Locked Moved Extensions & Applications Discussions
18 Posts 3 Posters 38 Views 3 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.
  • R Offline
    Rich O Brien Moderator
    last edited by 19 Mar 2023, 23:28

    @unknownuser said:

    I've switched out tables.

    What does that mean?

    You can define the space between collider and cloth so clipping doesn't occur. But it is dependent on the object's size.

    Sharing a skp would help.

    Download the free D'oh Book for SketchUp πŸ“–

    1 Reply Last reply Reply Quote 0
    • K Offline
      kylekin Newcomers
      last edited by 19 Mar 2023, 23:45

      It doesn't matter the collider I use. If I switch tables or build my own geometry, the cloth is getting clipped. Attached is the file. How do you define the space between the cloth and collider?


      Tablecloth.skp

      1 Reply Last reply Reply Quote 0
      • K Offline
        kylekin Newcomers
        last edited by 20 Mar 2023, 06:33

        It appears to be a problem with the adaptive remeshing. Any time I use it I get clipping. Works fine as long as I simply turn that off.

        1 Reply Last reply Reply Quote 0
        • R Offline
          Rich O Brien Moderator
          last edited by 20 Mar 2023, 09:08

          As mentioned in the manual...

          @unknownuser said:

          Adaptive grid is used for applying grids to shapes that are not rectangular

          @unknownuser said:

          Quadrilateral grid usually gives the best results in all types of simulations, except for curtains

          Download the free D'oh Book for SketchUp πŸ“–

          1 Reply Last reply Reply Quote 0
          • K Offline
            kylekin Newcomers
            last edited by 20 Mar 2023, 13:59

            The manual suggests using adaptive REMESHING. I used a quadrilateral grid in my model. It's the remeshing that doesn't work.

            1 Reply Last reply Reply Quote 0
            • K Offline
              kylekin Newcomers
              last edited by 20 Mar 2023, 14:11

              To follow up, if I create a circular table cloth and apply an adaptive GRID - that also does not work.


              Screenshot 2023-03-20 at 7.11.01 AM.png

              1 Reply Last reply Reply Quote 0
              • R Offline
                Rich O Brien Moderator
                last edited by 20 Mar 2023, 14:53

                Clothworks has a substantial amount of settings to tweak.

                Your original post was for a rectangular shape. Can you confirm the Quad grid is failing? What was the resolution of the quad cloth you simulated?

                It would need to be at least 100 if Adaptive is on. But 3000+ if its just quad grid.

                Don't set the quad to 3000+ and then add adaptive remeshing or you'll be waiting......

                https://i.imgur.com/T2cFphO.png

                The Thickness Slider controls distance between cloth and collider. As the tooltip mention its in millimeters. So select the cloth and set a thickness and then the collider. The collider I typically set higher that the cloth.

                Download the free D'oh Book for SketchUp πŸ“–

                1 Reply Last reply Reply Quote 0
                • R Offline
                  Rich O Brien Moderator
                  last edited by 20 Mar 2023, 15:09

                  For example your file you posted if the cloth is 200 quad grid resolution with adaptive set to 5 you get no edge protrusion.

                  https://i.imgur.com/MydtBbm.png

                  If you run more that 1 iteration of Laplacian Smoothing it will cause table corners to peek through. But 1 iteration is ok.

                  https://i.imgur.com/BThh9dc.png

                  Download the free D'oh Book for SketchUp πŸ“–

                  1 Reply Last reply Reply Quote 0
                  • K Offline
                    kylekin Newcomers
                    last edited by 20 Mar 2023, 16:22

                    I tried exactly what you suggested but still got the table corners poking through. No matter the level of adaptive remeshing I use I get the table poking through the table cloth.


                    Screenshot 2023-03-20 at 8.53.02 AM.png

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      Rich O Brien Moderator
                      last edited by 20 Mar 2023, 16:47

                      That's weird. How many frames did you let it run for?

                      If we both ran the same simulation the only difference would be the length of time or you inadvertently clicked on the cloth causing Drag to activate. I doubts its the latter.

                      What Thickness did you have for the collider?

                      Download the free D'oh Book for SketchUp πŸ“–

                      1 Reply Last reply Reply Quote 0
                      • K Offline
                        kylekin Newcomers
                        last edited by 20 Mar 2023, 18:16

                        I had a thickness of 3 on the collider as suggested. Tried it with a thickness of 1. I finally got it to work once I had the thickness of the cloth higher than the thickness of the table (which I suppose makes sense). I set the cloth to a thickness of 5 and the collider to a thickness of 1. Thanks for being patient and talking me through this!

                        Now... I just need to figure out how to apply an adaptive grid to a circular table cloth. Any time I run that (no matter the padding) it gives me messed up geometry.


                        Screenshot 2023-03-20 at 11.15.19 AM.png

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          Rich O Brien Moderator
                          last edited by 20 Mar 2023, 19:51

                          Cloth simulation relies heavily on real world dimensions and some small setting adjustments.

                          I could replicate your edge peek on the table cloth if quad grid resolution was 120 or below.

                          For the round cloth your input geometry for the cloth need drape friendly topology. Then with Adaptive Remeshing you'll get it to simulate correctly.

                          https://i.imgur.com/aTaX1UX.png

                          https://i.imgur.com/qxi3AIS.png

                          Download the free D'oh Book for SketchUp πŸ“–

                          1 Reply Last reply Reply Quote 0
                          • K Offline
                            kylekin Newcomers
                            last edited by 20 Mar 2023, 21:27

                            How did you set up the topology for the circle? Can't seem to find a plugin that will subdivide a circle in the way you're showing. Unless of course you just did it manually. Copy mode/rotate and copy/scale.

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              Rich O Brien Moderator
                              last edited by 20 Mar 2023, 21:42

                              I used Vertex Tools 2 to extrude and finally merge. But TIGs Split Tools would also do the same for you.

                              Just use the native Offset Tool to create concentric rings and TIGs Split Donut tool in Split Tools to divide it.

                              https://i.imgur.com/LWgEIn8.png

                              Link Preview Image
                              SketchUp Plugins | PluginStore | SketchUcation

                              SketchUp Plugin and Extension Store by SketchUcation provides free downloads of hundreds of SketchUp extensions and plugins

                              favicon

                              (sketchucation.com)

                              If you have Sketchucation Tools 4.3.0 installed just search for split in the ExtensionStore and install it.

                              https://i.imgur.com/gJNDjvc.png

                              Download the free D'oh Book for SketchUp πŸ“–

                              1 Reply Last reply Reply Quote 0
                              • P Offline
                                pilou
                                last edited by 20 Mar 2023, 23:24

                                And can make cool things! πŸ˜‰

                                Frenchy Pilou
                                Is beautiful that please without concept!
                                My Little site :)

                                1 Reply Last reply Reply Quote 0
                                • K Offline
                                  kylekin Newcomers
                                  last edited by 21 Mar 2023, 14:03

                                  Thank you Rich. I have that plugin. And thanks for all your help πŸ˜ƒ

                                  1 Reply Last reply Reply Quote 0
                                  • R Offline
                                    Rich O Brien Moderator
                                    last edited by 21 Mar 2023, 16:00

                                    @kylekin said:

                                    Thank you Rich. I have that plugin. And thanks for all your help πŸ˜ƒ

                                    No problem. Happy draping!

                                    Download the free D'oh Book for SketchUp πŸ“–

                                    1 Reply Last reply Reply Quote 0
                                    • 1 / 1
                                    1 / 1
                                    • First post
                                      11/18
                                      Last post
                                    Buy SketchPlus
                                    Buy SUbD
                                    Buy WrapR
                                    Buy eBook
                                    Buy Modelur
                                    Buy Vertex Tools
                                    Buy SketchCuisine
                                    Buy FormFonts

                                    Advertisement