Align Slice Modifier Gizmo(Plane) to 3 points

7 votes
Version: 
1.2
Date Updated: 
02/15/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.56 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
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/

miauu's picture

.

With rotated objects it is not working correctly.

Martin Breidt's picture

Rotation?

Are you sure this is working correctly for rotated objects?

cptSwing's picture

very nice

This should work with all modifiers with such a gizmo setup!

Comment viewing options

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