ScriptSpot

Script

Align Slice Modifier Gizmo(Plane) to 3 points

By miauu · 2015-06-26

Version
1.2
Version requirement
https://www.youtube.com/watch?v=2EHOgxITfXo
Date updated
2020-02-23
Votes
8
Description

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…

Attachments

Tags: modifier, align, slice, plane, gizmo, points

Comments (19)

good work

x_OL · 2020-02-15

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 · 2020-02-15

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

Upgrade working - it is amazing

x_OL · 2020-02-23

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 · 2020-02-23

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

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

x_OL · 2020-02-23

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)

Attachments

script work demonstration video: mini tutorial - new link

x_OL · 2021-11-21

I moved script work demonstration video to my another channel - because want to store my videos in one place - so old link don`t work, sorry :(
And if you interesting in which case this script can be helpfull - check this video mini tutorial - by new link:
https://youtu.be/KrsJjShC59M

.

miauu · 2021-11-21

Thank you. :)

I found a bug

niney · 2018-09-17

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 · 2018-09-17

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?

v

niney · 2018-09-18

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 · 2018-09-18

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.

.

miauu · 2018-08-13

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

Rotation?

Martin Breidt · 2018-05-02

Are you sure this is working correctly for rotated objects?

.

miauu · 2018-05-02

With rotated objects it is not working correctly.

very nice

cptSwing · 2017-09-27

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

.

miauu · 2015-06-26

I think that someone have to write it, because AD will never do it.

lightcube · 2015-06-30

Possibly you are right. Maybe it's time for you to learn some of the SDK? You know I love you! You build that better slice mod and I'll buy it!

.

miauu · 2015-06-30

I'm still far far away from the SDK. :) Maybe the author of the PolygonMap can write such a plugin. I don't know if this plugin can cap holes and add approriate mapping.