General Category > ASL Scripts

Script Request: Chain Link Maker

<< < (2/10) > >>

Aarangend:
Two words:
Holy crap.
That looks amazing!!!! Man how did you do that? and how long did it take?  I am really new and I want to build something just like that.  Man I am like drooling!
Oh yeah and I can't help you on the script... sorry.

Steve:
DoctorStopMo, check out the split functions added in v0.97b  and the script example on the scripts page.  You should be able to make some great chains with these!

NickE:
Attached below is a script to create chains that follow splines. [Thank you Steve for spline-following ASL ability!].

The script basically creates torii alternating at right angles along the spline.  The parameters of the torii can be changed: the size, width, number of sides, number of segments per torii.  The script currently makes each link a separate mesh to allow easier edits (easily changed if desired).  This editing ability comes in handy if the spline turns more rapidly than the diameter of the link.

Try it out.

Let me know if you have any questions.

hihosilver:
Fabulous script there NickE!
I have one criticism for you and a request.
Crit:  Every alternating chain link that is created has flipped normals.  Can you fix this?
Request.  Would it be possible to create oblong chain links as well?  Perhaps some kind of option would be available? (that would be awesome)
What you've done already is awesome, so great job.

Edit:
Another thing I noticed is that the script doesn't seem to take into account the thickness or hole size when creating the chain.  So if you create different widths of chains, the chains intersect.  It would be nice if the script did its best to make the chains go through one another.  It wont be possible all the time with certain settings of course, but say the hole were too small for the chain to go through, it would just do the best it could perhaps having it go straight through the center.
Once again, fabulous job so far.

NickE:
Good catch on the flipped normals, Hihosilver.  The fixed script is attached.  Oblong links will take a little longer since that shape cannot be explicitly described by a parametric equation like a torus.  I'll see what I can do.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version