Align Slice Modifier Gizmo(Plane) to 3 points

7 votes
Version: 
1.2
Date Updated: 
02/23/2020

The script allows you to pick 3 points in the scene. The slice gizmo of the slice modifier of the selected object will be aligned to the picked points. When you run the script the SNAP will be automatically turned ON.

If the Shift key is pressed when you run the script the Slice plane will be aligned to the currently active grid. Works best if the script is ran from a toolbar button.

Version 1_1 - align only to 3 points

Version 1_2 - align to 3 points or to active grid

Requested here: http://www.scriptspot.com/forums/3ds-max/scripts-wanted/align-slice-modi...

Version Requirement: 
https://www.youtube.com/watch?v=2EHOgxITfXo
AttachmentSize
miauualignslicemodgizmoto3pts_11.ms2.02 KB
miauualignslicemodgizmoto3pts_12.ms2.59 KB

Comments

Comment viewing options

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

tooltip text appeared on the buton, as result -very long button)

Thanks again for fast update.
But it seems that the text on the button and the text of the tooltip should be interchanged)
I corrected these two inscriptions in my script instance
- but other people can be confused)

AttachmentSize
2020-02-24_00_40_17-greenshot.jpg 583.93 KB
miauu's picture

.

Tooltip is added. Redownload the version 1.2 and reinstall it.

x_OL's picture

Upgrade working - it is amazing

Wow, so fast upgrade! Huge thanks again, miauu :)

Also maybe it will be more clear to user if you add a tool tip like:
"Hold Shift - to align to Active Grid"

I tested this new version and it work good:
https://youtu.be/CoGH7Rjsn70

miauu's picture

.

Thank you.
Align to active grid is added. The shift key must be pressed when you run the script.

x_OL's picture

good work

3ds Max 2020 - work good, huge thanks,miauu
This is very useful when you want to make a cut parallel to the sloped surface of a neighboring object. It will be great if you will add feature - align Slice Plane to Active Grid

miauu's picture

.

When you run the script you have to pick 3 points and then to use the move tool or any other tool. In the video you pick one or two points and then you press the move Tool button.

niney's picture

v

Although it is not necessary to use the mobile tool when using this script, sometimes it is hard to avoid mistakes. I don't know if this is a problem with the MAX software itself, because I have encountered this kind of mobile error before. And I use the max2016 version.

https://youtu.be/bvPp6D4I-Rw

miauu's picture

.

What the script does is just to align the gizmo. After the gizmo is aligned the script stops working. When you use the Move tool the script not works at all.

But, can you make a video to show what exactly happens?

niney's picture

I found a bug

I like the script you wrote very much, but when the script works, when choosing the adsorption vertex, using the mobile tool to move will make 3DMAX error, movement will become difficult to control, must turn off 3DMAX and reopen..

miauu's picture

.

The new version of the script works properly with rotated objects/

Comment viewing options

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