looking for scripts: verts->spline and spline->bones

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
  01 January 2004
looking for scripts: verts->spline and spline->bones

hi there,

for a current project that is done in max i'm missing a few things that i have started to love in mirai.

just wondering if anyone knows of scripts to create a spline from selected vertices on the surface of a mesh and also one that lets you create bone chains on splines where the number of segments determines the number of bone objects.

any input appreciated!
  01 January 2004
The spline bones thing isn't all that tricky, in fact I'm attaching a simple macroscript that does a rudimentary job of it. As for creating a spline from selected vertices, that proved to be more difficult that it initially seemed. Maxscript doesn't store selected vertices in the order they were picked, so it's nigh impossible to determine what path for the spline to take. If you need to create splines that follow along a surface, I'd suggest using a tool like Draw Spline and just sketch the spline on. You sacrifice exact knot placement, but it does get the job done!

Rename the attached file extension to .mcr and place in your UI/macroscripts directory, then restart Max. To add the macro to your interface, go to Customize User Interface and find the script in the "RHTools" category.

Attached Files
File Type: ms rhtools_splinebones.ms (377 Bytes, 18 views)
Got Maxscript?
  01 January 2004
hey, thanks a lot! i'll try this out immediately.

as for the verts->spline thing - in my case it would be really helpful to create the spline so that it exactly follows the vertices on the mesh. is there the possibility to snap spline vertices to those of a mesh during or after creating them?
  01 January 2004
Sure, just turn on snapping and set it to snap on vertices. If you right-click the snap button, you get a menu of what kinds of things to snap to.

Got Maxscript?
  02 February 2004
Thumbs down

ok, i've tried your script and - rudimentary or not - it does the job.
i prefer the simple stuff over those huge scripts with many options that are rarely used.

  01 January 2006
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 02:45 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.