scripted glue

Version: 
0.9
Date Updated: 
09/16/2011
Author Name: 
Andrei Kletskov (111)

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. more with newer version - vertex projection, eye ray, more precision

 

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Artie's picture

Andrei, Thanx very much for

Andrei, Thanx very much for this script. Looking forward to new features.

squeakybadger, use Macrotize script to do that.
http://www.scriptspot.com/3ds-max/scripts/mindflow-macrotize

111's picture

new version 0.9

http://andklv2.narod.ru/maxscripts/111_scriptedGlue_v0.9.ms

new features:
- offset (positive and negative)
- automatic selection of ground object (closest along shooting ray)
- keeping front direction of glued objects with "Surf. normal align" option (now objects do not rotate randomly)
- UI changed to be more compact

squeakybadger's picture

is it possible to install

is it possible to install this as a macroscript?

donvella's picture

Thank you mate, awesome

Thank you mate, awesome script you got here.

dutch's picture

great script, just one small

great script, just one small request: use the glued object local axis to project.

also, being able to select multiple base objects would be handy :)

rs3d's picture

:-)

:-)

rs3d's picture

How about making it animated

How about making it animated by using a Scripted Controller? That would be really great!

111's picture

hm... the script processes

hm... the script processes EVERy object in selection, if you want to glue a group of objects, perent all of them to a dummy (or simply have a parent for all) and then just glue the parent object, all other will follow the parent.

 

and there is a newer version which supports perspective views and cameras 

--- 111 ---

kris's picture

I tested the script on a

I tested the script on a forest terrain by selecting ground plane and approximately 180 trees (each tree is agroup ; all 8 variations).What happens is that it uses only 1 variation out of the 8 + some elements of the group depart away from the others.Is it possible to work with groups and how ?

lunerjelly's picture

Very good! I need it. Thank

Very good! I need it. Thank you very much!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.