ScriptSpot

Script

Pflow to Splines

By DeadClown · Credited author: Martin Geupel · 2012-08-13

Version
0.45
Date updated
2012-08-13
Votes
6
Description

This Script will generate animated Splines on PFlow Particle trails.

The Script is mostly self-explanatory. You just have to pick a Pflow source and press the "Generate Splines" button.
You can additionally choose to "fade" the Splines after x frames. This will help to vanish the splines when the particles are dead.
Another very helpful feature is the Precision spinner, use it to minimize the amount of keys produced for every particle. A setting of 1/2 will set a key on each 2nd frame; a setting of 1/3 on each 3rd frame etc. Keep in mind that long frame ranges may take a long time to calculate - use the precision spinner for faster results.

P.s.
- A rightclick on the delete button will select generated Splines.
- You can press and hold ESC to abort.

Hope you find it useful. Let me know what you think and please report any bugs or difficulties :)

Attachments

Tags: spline, Particle, Flow, animate, pflow, shape, Trace, Splines

Comments (26)

Pflow

viennchy · 2019-02-02

Guys, Thank you for the PFLow to splines. I am new in 3ds max i am trying to run the PFLow to Script in 3ds 18 it seems impossible for me is there a way someone could post how to import the script to max in a video, please Help

Here's another very similar script...

rode3d · 2017-09-19

Trajectory to Spline
It creates splines from the trajectory of multiple animated objects, bones or particles from Particle Flow.

http://www.splinedynamics.com/free-3dsmax-scripts/

-> Trajectory to Spline

Great Script

biglittlepictures · 2017-07-04

So many people are complaining about stuff they can elaborate on themselves. You've done us all a solid with getting this established in the first place, congrats on the great implementation idea! Killer Idea!

amazng script !!i

3D-Hai · 2017-01-27

Very sad you do not go further Developed!

regards Bernd

Good job

Yusuf_ES · 2016-12-03

Martin your script is very good. Are you planing add 3 option of spline?
.render_renderable
.render_thickness
.render_sides

issue with 2015

gpaget · 2014-11-28

it worked once...then...no more

dsp_418 · 2014-03-04

Great and really useful script!
Unfortunately I'm having an issue with the generated splines, for some reason the tip of the splines are messed up:

Any idea?

Attachments

DeadClown · 2013-08-31

Sorry, I did not see that there were new comments. It should be working with 2011 (but did not test it explicitly). It's a macroscript - that's the reason why nothing happens if you try to "run" the script. You can either remove the macroscript header or just add the script to a button/hotkey/menu

So its not supported with 3ds max 2011

Maxsterist · 2013-08-28

Ok, There's no reply so i am assuming the script is not supported with 3ds max 2011. !

How to run the script ?

Maxsterist · 2013-08-25

It seems a cool script. Is it supported with 3ds max 2011 ? I tried "maxscript -> run script..." but nothing happens..!

W DIGITAL · 2012-10-14

it would be great to add these features

1 spline per particle system

(right now its one spline per particle) it would be cool to have one spline that connects all particles either in their ID hierarchy or by random IDs, this gives great wireframe networks

keep up the great work!

W DIGITAL · 2012-10-13

this is a really great pf spliner! first one fully working

congrats!!!!!

please

ahmed sami · 2012-10-05

have a good day just hope all be fine .... i have problem i don't know how i can open this script on 3ds max ? the only one i can open it who is .ms file so if you don't have embarrassment just send to me on my E-mail ( thecantankerous@gmail.com )
thanks & regards

Great tool~

SaiLing · 2012-09-27

Very useful~
Thanks a lot ^^

Thank you

wtv3d · 2012-09-11

Impressive!!
Thank you!

titane357 · 2012-08-22

Really cool, so easy :-) Thanks

very cool!

msimecek · 2012-08-18

i love this script!... it seems generating the splines is quite time-consuming. is there a method for doing this faster?

DeadClown · 2012-08-19

if you have a lot of particles over a "long" range (more then 300 frames for example) it may take quite some time to calculate - it's the number of keys per spline that's slowing everything down. The precision spinner may help you in this case. 1/3 is enough in most cases and it will fasten the process a lot. Anyways, if you're still having trouble with that you may try the other script (http://www.scriptspot.com/3ds-max/scripts/pf-spliner) which I found after having completed my own. The technique they're using is quite different, but it seems to be faster on a long time frame. There is of course no "fading" option in the other script.

I'll try to find a way to make the process faster ;)

silencer77 · 2012-08-16

Ahh. I ran it as a standard max script. Had I open it I would have noticed the macro header. Sorry

silencer77 · 2012-08-16

Ahh. I ran it as a standard max script. Had I open it I would have noticed the macro header. Sorry

silencer77 · 2012-08-15

Is it working with 2013? I can not get it to execute

DeadClown · 2012-08-15

everything works fine here, max 2013 x64.
Could you add some details what exactly is not working? Any output in the listener?
It's a macroscript, so you might want to add it to a button or a hotkey to run the script. It will not "run" by simply running it via the "maxscript -> run script..." command. I noticed that I didn't name the file with .mcr, that might be a bit misleading.

dsp_418 · 2012-08-15

Wow! really wow!
Thank you!

Thanks!

flame · 2012-08-14

Try it soon!

Thank you

logicoff · 2012-08-13

again so much thanks :)