Jump to content

Vellum semi rigid Helix type hose


Vinz

Recommended Posts

Hi Everyone

I am undertaking a simple industrial robot arm type machine which has a nylon spring hose.

I am doing the hose with a little Vellum SOP set up, which is, I think the right tool for this effect?

Unexpectedly, the hose desparately sag and melt no matter how much stiffness, substeps, iterations etc.. I have tried different constraints model Struts, Pressure..

Ideally it should stay firm and wiggle/swing a bit as I animate the arm.

 

Would anyone check my scene quickly, pretty sure it's a simple mistake of mine but I am not so experienced.

 

 

 

Many thanks

Vellum_Helix.hipnc

 

Capture.PNG.ba916cdb1cbe18a4c0137ddc84898762.PNGCapture2.PNG.b39ae6a17b8f5cd593a78bb53f850901.PNG

 

 

Edited by Vinz
Link to comment
Share on other sites

Hi Vincent !

I think your issue is because you are trying to simulate the whole wire geometry
Keeping it as a polyline will be both faster and work better for what you want

Here's my take on it using your file (sorry for the absolute chonker of a gif, a few minutes long)

vellumSpring.thumb.gif.86f70d0ee1a3191343c165f7fb554a65.gif

I am aware this is not a sexy spring, but I guess it kinda works. I'm by no means a Vellum expert, but I hope that's at least a good start for you !

The key is to have enough Substeps. And if you want self-collisions, prepare for a slower feedback. I recommend setting it all up without collisions, and turning them on at the end when quality is required.

Hope that helps !

Vellum_Helix.hipnc

Edited by Alain2131
Link to comment
Share on other sites

Here's another (arguably too long) gif, just for funsies

vellumSpringFun.thumb.gif.7db33c96bb353d9d08ed16799750450e.gif

Adding an outer shell for the spring to collide against, and exaggerating the animation to force interpenetration of the spring with itself at the bottom to see how vellum handles that
The answer - surprisingly well ! (with enough constraint and collision iteration) This is stable and not exploding in any way. Noice

By the way, this simulated at 1.8fps, so it took 2m20s for the 240 frames at this quality.

Link to comment
Share on other sites

Oh, Man..  I had a bit of a lonely moment thinking my stuff was not raising much interest

This is fantastic!

In the meantime I could just have the spring at least holding itself by swapping the' pin to target to 'attach to geometry' instead.. but I had absolutely no flexibility.. the least little force and the mesh would rip apart all that with silly cooking time.

 

So I am going to dive straight into your scene and  get back to you soon with the news.

 

Also I would be interested to know how you managed to stuff as much screen time playing live at a nice resolution directly on here

 

Thank you again  speak soon

Edited by Vinz
Link to comment
Share on other sites

Hi Alain

I have the great pleasure to tell you that this is working beyond dreams

I changed very few things, only the pinning of each ends of the curve; the dynamics were set absolutely right for this type of material.

Cooking time is almost insignificant and the animation plays back at 12fps with the polywire

 

This setup would even handle a lot more stress than shown here.

 

I am thinking of doing a spray paint nozzle and have this thing paint stuff or write.. I am still considering the best approach.. attribute transfer, Pyro spread temp attr..

If you wish to join this little project, you are more than welcome

 

Many Thanks

Spring_hose01.gif

Vellum_Helix_03.hipnc

  • Like 1
Link to comment
Share on other sites

Hey Vinz !

Awesome ! Glad it works well

One thing I would recommend is lowering the amount of points in the second resample.. I put it at 1200 points (which was your original amount), but that is a bit intense just for visual feedback. You can easily halve it with basically no visual impact, which resulted in 23-24fps playback on my side with 600 points. Even 300 points might be good enough.
You might even be able to consider lowering the amount of points being simulated if you don't need that much precision.

Although I do appreciate the offer, I decline.

Also, the software I used for the gif is ScreenToGif
It's pretty light and works well for my needs, and saving the gif using the Octree Encoder yields good result

 

Edited by Alain2131
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...