Animate spline

I am trying to make an animation of intricate pipes growing out of each other. I have made pipes using the spline tool and sweep, so that's easy, but see no way of animating the spline or otherwise simulating the growing of the pipes. Anyone have any suggestions?

(I am sure there are many fascinating uses for animated splines.)

Thanks!

Cheers,

David
 

Attachments

  • pipe spline.jpg
    pipe spline.jpg
    257.7 KB · Views: 218
There´s a Guided Spline script Hiroto wrote which will do exactly what you want:
GuidedSpline.gif
To open the file you need to install the script first.
I do prefer an image texture approach though - where I made the path visible over time:
Simple Title Animation
Or with the Chain creator:

Cheers
Frank
 

Attachments

  • GuidedSpline.jas.zip
    11.4 KB · Views: 239
* Post Scriptum: On second thoughts, this may be the identical script Frank is referencing above. As I have renamed mine, C3D can´t find the link.

* There is also a useful script to flow a poly-mesh (in this case a cylinder or a pipe) onto a spline.
* The author is unknown and I may have changed the original title. My version is from 2011, so be careful if this is compatible, ie save anything before experimenting. There may be a later update of this script in the relevant forum.
* The script´s parameters can be animated to simulate a "growth" of the tube / pipe from 0 (blank) to 1 (full tube).
* A highly useful script for all sorts of biological processes, BTW :rolleyes:
Screenshot 2019-09-17 at 16.17.28.png

Screenshot 2019-09-17 at 16.32.56.png
 

Attachments

  • Spline Wrap.js.zip
    3.1 KB · Views: 225
* An alternative solution, just using C3D tools, would be:
1 Sweep creator
2 circle
3 spline, ie the axis of the piping
3 build modifier, linear & animated
4 shell to generate the tubular mesh

Screenshot 2019-09-17 at 18.00.14.png


* animate the build modifier from 0 (= blank) to 1 (= complete tube)
* if required, animate the axial spline by point record. This allows to animate the piping not only as a tube growing in length but also as a sort of shape-shifting spaghetti monster :poop:
 
Hi again!

I have been testing the splinewrap script which works, but the animation is very limited and my spline doesn't grow as smoothly as Frank's "Simple Title Animation" above. Any suggestions anyone? Thanks, as always!

David
 
* As stated above:
* When using the Sweep-creator you can add a Build-modifier (linear, animate from 0% to 100%). You will have to add / delete / fine-tune points along the primary spline for a consistent and smooth progress of the tubular geometry.

* The spline wrap script seems to depend on:
* Path-hops / segments of the guiding spline, child object #1
* Segments of the child object #2, presumably some cylinder or tube
* Either can be adjusted to effect a smooth progress.

:unsure: If you upload your .jas, we may be able to give more constructive advice.
 
* An alternative solution, just using C3D tools, would be:
1 Sweep creator
2 circle
3 spline, ie the axis of the piping
3 build modifier, linear & animated
4 shell to generate the tubular mesh

That's really close to what I need. However, the tube does't grow smoothly. It "builds" by segment and in a way that's perpendicular to the spline instead of tangent to it...

Screen Shot 2019-11-15 at 8.35.34 AM.png

Is there a way to prevent the "jaggies"? If there was simply a % value associated with the sweep creator, this would be trivial.
 
Back
Top