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.
    • pilouP Offline
      pilou
      last edited by

      @unknownuser said:

      do i need more than that?

      You must have also AMS Library!

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

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

        Ok. Have that.

        I was just surprised that it works in sketchup 2017 / 64 bit.

        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
        • F Offline
          faust07
          last edited by

          As I wrote, this runs only with "SketchyPysics" up to the SketchUp version 2016 32 bit. It still does not work with "MSPhysics" (SketchUp 2017, 64 bit). But the author of the plugin (Anton S) has something similar on his ToDoList.
          The assignment of material is only possible after reaching the intended position of the cloth and storing a copy of the model during the pausing simulation.


          Cloth_Frame162.jpg

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

            and here is the model, if you want to play...
            The mesh count of the cloth can be increased by copying the elements accordingly and adjusting the numbering of the matrix ...
            Two very interesting techniques have been used: self-linking groups and the creation of a surface following the simulation.
            The model is a little bit modified by me (sorry, don't know the name of the author and can't find it on 3D-warehouse, only copies...)
            If this could be translated for MS Physics one day - Hallelujah β˜€


            Cloth wth smooth faces_modAT_3.skp

            1 Reply Last reply Reply Quote 0
            • 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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 3 / 4
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement