MoI discussion forum
MoI discussion forum

Full Version: Is it possible to configure straight snap to only snap to surface normals?

Show messages: All  1-5  6-12

From: Frenchy Pilou (PILOU)
28 Oct 2018   [#6] In reply to [#5]
I am confident of the Max scripts! ;)
From: Michael Gibson
28 Oct 2018   [#7] In reply to [#1]
Hi silverwoods, there are some settings under Options > Snaps > "Straight snap options" that can get you close to what you want.

If you uncheck "Vertical snapping" that will disable the z direction snap. The Tangent and Perpendicular options are for when the first point is on a curve, those can also be disabled.

Then the remaining x and y snaps are controlled by the "Snap angle" option. By default it is 90 degrees meaning you'll get snaps at each 90 degree increment from the x axis. If it was set to 45 degrees you'll get 8 straight snaps in the x/y plane, etc... You can set it to 0 which will make only the x-axis snap and effectively disable the y axis snap.

So with that you should end up 2 straight snaps happening, surface normal and x axis. Hope that helps you for now.

I'll see about disabling the x-axis snap too when snap angle is set to 0 for the next v4 beta.

- Michael
From: silverwoods
28 Oct 2018   [#8] In reply to [#7]
Great, that is a big help, thank you!
From: silverwoods
28 Oct 2018   [#9] In reply to [#8]
Another question- Would it be possible to write a script that functions similarly like orient line to line command which places copies of an object oriented to the surface normal at a point without having to pick up the surface normal? I.e., the normal direction is already pre-selected? So that using each click I can select a point on the surface, and the script will repeatedly place a copy of the prong centered at that point and oriented normal to the surface at that point?
From: Frenchy Pilou (PILOU)
28 Oct 2018   [#10] In reply to [#9]
Sorry I can't write script myself ! But if Max or other scripts' creators see your request...
From: Michael Gibson
28 Oct 2018   [#11] In reply to [#8]
Hi silverwoods, the regular "Orient" command, the one to the left of Line/Line can work like that.

Set the "Make copies" option and then you will be able to place many target points onto a surface, each target point will automatically align to the surface normal and there is a second stage where you can adjust the rotation, but if you do not want to do that you can just right click at that point. So you would just do a left click on the surface and then a right click anywhere in the viewport for each one.

- Michael
From: silverwoods
29 Oct 2018   [#12] In reply to [#11]
Oh my... its wonderful! Thank you!

Show messages: All  1-5  6-12