ScriptSpot

Script

Place Objects according to normal

By Perfect_Storm · 2012-12-09

Version
1.1
Version requirement
3ds Max 2012
Date updated
2014-02-20
Votes
2
Description

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.

Additional Info

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.
Videos
Attachments

Tags: Objects, random, object, list, automatic, auto, place, multiple

Comments (7)

selection box disappears after using the script

chofita89 · 2017-11-10

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.

titane357 · 2017-10-20

Hi, thanks for your tool, but it don't work with 2018... :-(

max 2015

3dcrgr · 2014-11-30

doesn't work...

--Runtime error: Object snap item index out of range <1 or > 2:5

Fouinard · 2016-05-25

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

Perfect_Storm · 2017-01-10

Thanks for the headsup. I will update the script soon.

Perfect_Storm · 2012-12-12

Your welcome. Please let me know if anything is bugged or you need more features.

was looking for something like this...

crystal3d · 2012-12-12

thanks, i will begin testing.