Place Objects according to normal
This script will place objects according to the normal of the face you place them on.
You can add multiple objects in a list and let the script random pick one of those, or disable the random button and choose yourself.
Script features:
- Add multiple objects to a list and start placing them.
- Place them with the first click, then move your mouse to rotate the object and click again to confirm.
- Cancel placement at any time.
- Random select objects from the list.
- Add a Z-Offset to the objects.
- Place objects according to the normal they are placed on.
- Change object by pressing left CTRL button.
- Selected objects will have Z axis up and Y axes front.
Update 2014-02-20:
Fixed lots of small errors in the script.
Script tested on 3ds Max 2012 / 3ds Max 2014. Should be compatible with lower versions as well.
How to install:
Drag the placeobjects.ms in your viewport
Go to Customize --> Customize User Interface
You can find the script in the catagory Ron Tools, named Place Objects.
Either bind the script to a shortcut or drag it to your toolbar.
Attachment | Size |
---|---|
placeobjects.ms | 8.16 KB |
Comments
selection box disappears after using the script
Thank you!
Changing that little thing in the code works but then the selection box (the dash lines to show what you are selecting in 3ds Max) just disappears, even though I press J.
Hi, thanks for your tool, but
Hi, thanks for your tool, but it don't work with 2018... :-(
Thanks for the headsup. I
Thanks for the headsup. I will update the script soon.
Late but it may help someone
Late but it may help someone else...
They have added a new type of snap and you need to change the code in 2 places :
snapMode.setOSnapItemActive 6 ...
To
snapMode.setOSnapItemActive 7 ...
Save in the ms file and reload the script, only modifying the mcr by right clicking the toolbar icon and editing the code wont work
max 2015
doesn't work...
--Runtime error: Object snap item index out of range <1 or > 2:5
Your welcome. Please let me
Your welcome. Please let me know if anything is bugged or you need more features.
was looking for something like this...
thanks, i will begin testing.