creating a plaid on a chair - cloth simulator?

General discussion related to SketchUp Pro and Make

creating a plaid on a chair - cloth simulator?

Postby Jorgensen » Mon Apr 17, 2017 9:36 pm

hi

i wonder if anyone knows of a standalone cloth simulator?
i would like to create a plaid that lays over a chair, like the one in the attached image.

i have tried using artisan, but i'm finding it quite hard (but maybe not impossible) to create something similar.

therefore, does anyone now of a plugin that can simulate cloth in sketchup, or some kind of standalone simulator that imports obj files (the chair) and exports obj files?

any input is very welcome :-)
jorgensen
0

Jorgensen 
 

Re: creating a plaid on a chair - cloth simulator?

Postby pilou » Mon Apr 17, 2017 11:06 pm

Drape CPoints by TIG can maybe help you!

0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: creating a plaid on a chair - cloth simulator?

Postby Jorgensen » Thu Apr 20, 2017 4:40 pm

hi pilou

thanks - drape cpoints looks very interesting. i will test that out.

thanks
jorgensen
0
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

Jorgensen 
 

Re: creating a plaid on a chair - cloth simulator?

Postby faust07 » Fri Apr 21, 2017 1:38 pm

Maybe you can also use SketchyPhysics for it. Possibly there is this technique once for MSPhysics. This example is made with models from 3D-Warehouse and the plugin "SketchyPhysics" (only up to SketchUp 2016, 32 bit).
3

faust07 
 

Re: creating a plaid on a chair - cloth simulator?

Postby Rich O Brien » Fri Apr 21, 2017 2:06 pm

Cool!
0
There's a frontroom and a backroom....reverse faces
User avatar
Rich O Brien 
Administrator
 

Re: creating a plaid on a chair - cloth simulator?

Postby Jorgensen » Fri Apr 21, 2017 4:01 pm

hi faust

that is so cool - i have tried to install MSPhysics in sketchup 2017, and it seems to run - do i need more than that?

thanks
jorgensen
0
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

Jorgensen 
 

Re: creating a plaid on a chair - cloth simulator?

Postby Jorgensen » Fri Apr 21, 2017 4:05 pm

and how the ..... have you made that fantastic cloth? :-)
i don't see that as a material type...
0
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

Jorgensen 
 

Re: creating a plaid on a chair - cloth simulator?

Postby HornOxx » Fri Apr 21, 2017 4:46 pm

faust07 wrote:Maybe you can also use SketchyPhysics for it...


:o WOW !!!
0
User avatar
HornOxx 
 

Re: creating a plaid on a chair - cloth simulator?

Postby solo » Fri Apr 21, 2017 4:52 pm

What trickery have we here? :mrgreen:

So damned cool.
2
My site

People who think they know everything are a great annoyance to those of us who do.
User avatar
solo 
Global Moderator
 

Re: creating a plaid on a chair - cloth simulator?

Postby cuttingedge » Fri Apr 21, 2017 6:16 pm

(sketchy Physics) didnt know that it has that capability at all .they've been sitting on my toolbar for a long while....
0

cuttingedge 
 

Re: creating a plaid on a chair - cloth simulator?

Postby pilou » Fri Apr 21, 2017 6:16 pm

do i need more than that?


You must have also AMS Library!
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: creating a plaid on a chair - cloth simulator?

Postby Jorgensen » Fri Apr 21, 2017 6:19 pm

Ok. Have that.

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

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

Jorgensen 
 

Re: creating a plaid on a chair - cloth simulator?

Postby faust07 » Fri Apr 21, 2017 7:06 pm

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

faust07 
 

Re: creating a plaid on a chair - cloth simulator?

Postby faust07 » Fri Apr 21, 2017 8:28 pm

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 :enlight:
0

faust07 
 

Re: creating a plaid on a chair - cloth simulator?

Postby Anton_S » Fri Apr 21, 2017 8:32 pm

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

Anton_S 
PluginStore Author
PluginStore Author
 

Re: creating a plaid on a chair - cloth simulator?

Postby faust07 » Fri Apr 21, 2017 8:37 pm

Ingenious, I've known it... Thanks, Anton! :fro:
0

faust07 
 

Re: creating a plaid on a chair - cloth simulator?

Postby Jorgensen » Fri Apr 21, 2017 8:52 pm

So it might work with msphysics?

I hope as I don't have access to su 2016 anymore.
0
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

Jorgensen 
 

Re: creating a plaid on a chair - cloth simulator?

Postby cuttingedge » Sat Apr 22, 2017 4:15 am

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

cuttingedge 
 

Re: creating a plaid on a chair - cloth simulator?

Postby Anton_S » Wed Apr 26, 2017 1:14 am

Here is the proof!

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

Anton_S 
PluginStore Author
PluginStore Author
 

Re: creating a plaid on a chair - cloth simulator?

Postby Jorgensen » Wed Apr 26, 2017 5:18 am

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

Jorgensen 
 

Re: creating a plaid on a chair - cloth simulator?

Postby Anton_S » Wed Apr 26, 2017 8:36 am

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
2

Anton_S 
PluginStore Author
PluginStore Author
 

Re: creating a plaid on a chair - cloth simulator?

Postby pilou » Wed Apr 26, 2017 10:03 am

Except some little tears that is marvellous! :enlight:
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: creating a plaid on a chair - cloth simulator?

Postby Jorgensen » Wed Apr 26, 2017 12:06 pm

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

Jorgensen 
 

Re: creating a plaid on a chair - cloth simulator?

Postby Pixero » Wed Apr 26, 2017 12:38 pm

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! :thumb: :D
3
User avatar
Pixero 
Premium Member
Premium Member
 

Re: creating a plaid on a chair - cloth simulator?

Postby solo » Wed Apr 26, 2017 1:31 pm

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.
3
My site

People who think they know everything are a great annoyance to those of us who do.
User avatar
solo 
Global Moderator
 

Re: creating a plaid on a chair - cloth simulator?

Postby faust07 » Wed Apr 26, 2017 2:00 pm

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

faust07 
 

Re: creating a plaid on a chair - cloth simulator?

Postby juju » Wed Apr 26, 2017 2:18 pm

Definitely a separate cloth simulator, pretty please!
1
Save the Earth, it's the only planet with chocolate.
User avatar
juju 
Premium Member
Premium Member
 

Re: creating a plaid on a chair - cloth simulator?

Postby Anton_S » Wed Apr 26, 2017 3:50 pm

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!
3

Anton_S 
PluginStore Author
PluginStore Author
 

Re: creating a plaid on a chair - cloth simulator?

Postby solo » Wed Apr 26, 2017 3:58 pm

'Softworks' works for me, now shut up and take my money already. :mrgreen:

acb.jpg
3
My site

People who think they know everything are a great annoyance to those of us who do.
User avatar
solo 
Global Moderator
 

Re: creating a plaid on a chair - cloth simulator?

Postby faust07 » Wed Apr 26, 2017 4:02 pm

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

faust07 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Next


 

Return to SketchUp Pro & Make Discussions

Who is online

Users browsing this forum: Aster, bulbangs, Google Bot and 3 guests

Visit our sponsors: