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

    Creating a plaid on a chair - cloth simulator?

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    76 Posts 19 Posters 13.6k Views 19 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.
    • A Offline
      Anton_S
      last edited by

      Actually this can be done with MSPhysics. All this does is creates a bunch of speres linked by BallAndSocket joints. Then it uses a script to move cloth vertices to new position. This is artificial cloth and has its downsides, primarily the performance. But I can modify that small script for compatibility with MSPhysics.

      1 Reply Last reply Reply Quote 0
      • F Offline
        faust07
        last edited by

        Ingenious, I've known it... Thanks, Anton! 😎

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

          So it might work with msphysics?

          I hope as I don't have access to su 2016 anymore.

          sketchup pro 2016 16.1.1449 64 bit | windows 10 pro | i7-3770k @3.5 GHz | 16gb ram | gtx 780 ti / gtx 980 ti | nvidia driver 368.39

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

            a proof of concept to creating like "Marvelous Designer " plugin perhaps. Are we still decades away from there?

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

              Here is the proof!

              I intend of writing a new plugin for this kind of stuff.

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

                That would be very very cool Anton!

                It would make cloth creating a lot easier.
                Just create a flat cloth, add a nice texture, animate the cloth onto a chair, stop the animatin, make small adjustments with artisan or like - and render.

                Can we set the resolution of the cloth?

                Thanks
                Jorgensen

                sketchup pro 2016 16.1.1449 64 bit | windows 10 pro | i7-3770k @3.5 GHz | 16gb ram | gtx 780 ti / gtx 980 ti | nvidia driver 368.39

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

                  Yes, Jorgensen,

                  The resolution is dependent on the number of vertices of your cloth or any other deformable mesh. If you have a plane made up of many vertices, the the number of bending vertices will be as much. Before getting it fully working, I need to make the faces in between the vertices to be collidable as well. That way things in between, such as the edges of the table shown in the video, won't intersect the cloth. I also need to make different constraints for the nodes that will allow the deformable mesh to stretch and unbend, such as for making a tire, a gummybear, or a sofa, or anything squishy.

                  I'm still trying to decide whether to include it in the upcoming release of MSPhysics or write a new plugin that will specifically focus on soft body simulations.

                  Regards,
                  Anton

                  1 Reply Last reply Reply Quote 0
                  • pilouP Offline
                    pilou
                    last edited by

                    Except some little tears that is marvellous! β˜€

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

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

                      hi anton

                      my personal thought - release it as quick as possible πŸ˜„

                      but if i was you, i would design it as a "cloth plugin" for sketchup, that makes it very clear what the plugin is used for - and consider make it a "pay for" plugin - good plugins takes time to develop and i'm sure people will pay, if the quality is there πŸ˜„

                      thanks
                      jorgensen

                      sketchup pro 2016 16.1.1449 64 bit | windows 10 pro | i7-3770k @3.5 GHz | 16gb ram | gtx 780 ti / gtx 980 ti | nvidia driver 368.39

                      1 Reply Last reply Reply Quote 0
                      • PixeroP Offline
                        Pixero
                        last edited by

                        Do what ever is easiest for you development wise.
                        A cloth simulator would be awesome.
                        Making it work with Thomthoms subD would be prefered.

                        Don't think too long.
                        Just do it! πŸ‘ πŸ˜„

                        1 Reply Last reply Reply Quote 0
                        • soloS Offline
                          solo
                          last edited by

                          @unknownuser said:

                          I'm still trying to decide whether to include it in the upcoming release of MSPhysics or write a new plugin that will specifically focus on soft body simulations.

                          I vote for a stand alone cloth simulator, great work by the way.

                          http://www.solos-art.com

                          If you see a toilet in your dreams do not use it.

                          1 Reply Last reply Reply Quote 0
                          • F Offline
                            faust07
                            last edited by

                            Great examples in your video, Anton! And it seams to work in MSPhysics.
                            A simple variant for MSPhysics would also be welcome.
                            This would make moving objects made of flexible materials more natural.
                            The problem of interpenetration of the partial surfaces could be solved temporarily with larger hidden body parts.

                            1 Reply Last reply Reply Quote 0
                            • jujuJ Offline
                              juju
                              last edited by

                              Definitely a separate cloth simulator, pretty please!

                              Save the Earth, it's the only planet with chocolate.

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

                                Thank you all for your suggestions! Now suggestions for the name of the plugin and some upfront ideas would be great.

                                Right now I'm thinking of naming it, SoftWorks.

                                The plugin will have a UI for controlling the selected deformable groups' mass, stiffness and linear/angular acceleration/damper.

                                There will also be a toolbar.

                                One toolbar button will allow dropping/simulating the selected or all the deformable bodies until a stop button is pressed, which will freeze​ all/selected in place.

                                Another button will allow resetting the original placement of all/selected bodies.

                                And another button will allow toggling the UI.

                                Another two will allow adding Fixed and Slider constraints in places. The touching cloth will automatically will be connected to the constraints.

                                As for the back ground, all other non-ignored visible groups/components will act as static/movable solid bodies.

                                There will also be options for exporting animations.

                                These are the ideas for now. Suggestions that will guide me in the right way would be nice.

                                Thanks!

                                1 Reply Last reply Reply Quote 0
                                • soloS Offline
                                  solo
                                  last edited by

                                  'Softworks' works for me, now shut up and take my money already. πŸ’š

                                  acb.jpg

                                  http://www.solos-art.com

                                  If you see a toilet in your dreams do not use it.

                                  1 Reply Last reply Reply Quote 0
                                  • F Offline
                                    faust07
                                    last edited by

                                    There are several firms in the world with the name "Softworks"...
                                    Regarding the functions of the plugin you are on the right way.
                                    It sounds like a little bit of a baby of MSPhysics outside of the physics world.
                                    Please don't forget the mother... πŸ˜‰

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

                                      Hi Anton

                                      I think you should think in search therms / what it does - use words that people search for - i searched for "cloth simulator", so that would be my suggestion (even though is does more).

                                      Will I be possible to pick the cloth itself - and deform it?

                                      Can you talk about an estimated development time? Like one week or two months?
                                      (I know it can be difficult talking about that).

                                      Thanks
                                      Jorgensen

                                      sketchup pro 2016 16.1.1449 64 bit | windows 10 pro | i7-3770k @3.5 GHz | 16gb ram | gtx 780 ti / gtx 980 ti | nvidia driver 368.39

                                      1 Reply Last reply Reply Quote 0
                                      • PixeroP Offline
                                        Pixero
                                        last edited by

                                        It would be cool if it could have a virtual thickness setting for simulating thicker stuff.
                                        And maybe a setting so that it could use let's say every other or third vertices of a dense mesh to speed up simulation.
                                        My only name suggestion so far are Draper or ClothWorks.

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

                                          Just a quick Thesaurus search on the word Drape - Cloak, Swathe, Shroud, Veil

                                          My 3D Catalogue
                                          https://3dwarehouse.sketchup.com/collection/103ed44c-a0c4-4049-9a84-89cd017bcc07/Measured-Move
                                          SU8/Brighter3D/Gimp/SimLab Composer

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

                                            Solo, good idea! lol

                                            Pixero, ClothWorks sounds nice and actually very accurate. Even though it will also allow simulating soft bodies, such as the torus, the collisions acts as if cloth is wrapped around it. The name is also more informal about what the plugin does, which should also attract more users.

                                            Jorgensen, it should take 1-3 months to get the first version released. Everything should be easy because most of it is integrating the features of MSPhysics, the other thing is getting a licence system like in Thomthoms SUdb. That, I will need to do more research on.

                                            Faust, I will never forget MSPhysics. I will always work on it. In fact ClothWorks with its simplicity, will allow experienced users to get a grip of how MSPhysics works and transition to it MSPhysics for more possibilities.

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

                                            Advertisement