glue

Move To Surface

5
points

The following will let the user move objects along their Z axis to fit a specified surface. Such a script can be used to automatically plant trees, poles etc. on the ground.

This script is straight out of the 3ds Max MAXScript reference file. Its part of the MAXScript 'How To' lessons that teaches how to use MAXScript with practical problems. Load your MAXScript reference (the one that ships with 3ds Max) and do a search for 'align surface' and it'll be the first result.

I did not write this script I merely copied the code here as aligning to a surface is a very common request. Make sure to read the other 'How To' tutorials in the 3ds Max MAXScript reference - they're all really good!


scripted glue

11
points

this scripts does the same thing as a free plugin GLUE does, namely it glues objects to a surface. i've written this sript because i was tired of necessity of looking for new recompiled plugins with every new max release. and this script can do a bit more than original: it can align glued objects to normal, and you can glue along any vector, defined with tape helper object.