Last Updated on 13/10/2019
Straighten Edge – 3ds Max MAXscript, allows you to align the vertices / edges in a straight line, which is given by two clicks.
The script works with the following objects / modifiers:
When ALT key is pressed vertices/edges will be normalized.
When SHIFT key is pressed vertices/edges will be straighten with axis constraints (in World coordinates).
(how to use axis constraints please read 3dsmax help Using the Axis Constraints chapter).
- Drag and drop .mcr file in viewport.
- In Customize -> Customize User Interface -> Category -> Veda3d.com assign Straighten Edge on hotkey or on any element of UI.
How to usage:
- Select an Editable Poly object (or another of the supported objects / modifiers) -> switch to Vertex / Edge mode -> select one or more edges (edges) -> run the script.
- Using the snap, specify the first point and then the second, between which a straight line is formed along which the selected sub-objects will be aligned.
|v1.5.1 (13.10.2019)||– Fixed bug when constrains mode doesn’t works with Edit Poly modifier|
|v1.5.0 (30.09.2018)||– Fixed bug in constraint mode when verteces not align properly (constraint mode works in World coordinate system)|
|v1.4.0 (01.02.2009)||– Added restrictions of straight. Use SHIFT key to get straight with axis constraints.
– Now snap mode and type are restored after straighten. When straightening begins, snap mode changes in active and snap type in 3D.
|v1.3.0 (05.08.2008)||– Added normalize when straight. Use ALT key to get vertexes/edges normalized.|
|v1.2.0 (23.05.2008)||– Added support for Edit Poly modifier
– Added support for Editable Spline & Line objects (vertex only).
|v1.1.1 (21.08.2007)||– Fixed bug when vertices are not placed properly when Constraints is on|
|v1.1.0 (16.05.2007)||– Added support to work with edges
– Added support for modifiers over Editable Poly baseobject – Now after vertex/edges straightened snap mode is off
|v1.0.0 (25.09.2006)||– Initial release for MAX 8.|
Order custom maxscript
Sometimes modeling, texturing, or animation work in 3ds Max requires optimization. In the case of a unique task, a tool is required that is only suitable for solving it.
If you could not find a ready maxscript to solve for your problem you can make an order to develop custom maxscript from me.
Cost of develop begins from 100$ and depending on complexity of maxscript.
Use the form below to make an order the develop MaxScript according to your technical specifications.
Do not forget to include your email, which I can contact with you to clarify the list of works.
Comments ( 30 )
Hello, Sorry but Straighten Edge file rar is empty. How i get this maxscript ?
thank you very much
Link fixed. Thank for letting me know.
hi was wondering if you could make a version compatible with max 2014???
It should works well with 3ds max 2014. Do you have any problems with it?
Why when i’m using script in 3d max 2018 it projecting edges on xy plane all the time ?
Are you use it with 3d snaps toggled on? I’m using it in 3ds max 2018 without problem.
no, i have all snaps turned off 🙁 Have no idea. It is fresh max 2018 installation.
You should use script with switched ON 3d snaps!
Holy damn, i was switching on and off, but didn’t switch vertexes ;O. Shame on me. Ten lashes on my back.
Thank you !
I can’t find maxroot\UI\Macroscripts. Where is it for the default install location
You can simply drag-n-drop this .mcr to viewport and then setup UI through “Customize User Interface”.
Thank you for the script! I have been looking for something like this for a long time. However, it seems when i use it with axis constraints (using shift when selecting each vertex) the points move on the specified axis only like they are supposed to, but do not quite form a straight edge in the specified direction. There is a slight bend still. Any ideas?
Peter, this is known bug. I will try to fixing it in the near future. I let you know.
Peter, please try new 1.5.0 version, it should works correct with axis constraint mode.
@RGhost thank you for the reply. I am trying 1.5.0 now. Although I am still having problems with the axis constraints. Axist constraints only seem to be working on collapsed Editable Poly objects and not within the Edit Poly Modifier as the description indicates. Also, the script doesn’t seem to work at all within Edit Spline modifiers. It only works with collapsed Editable Splines. Is this correct?
Peter, you right. In 1.5.0 constraint mode fixed only for Editable Poly. Edit Spline modifier not supported, so you right about this too.
But, I want improve it, so I will try add support Edit Spline modifier and fix constraint mode in Edit Poly modifier. Probably I will release new version of the script in 1-2 weeks, stay tuned.
Thank you!!!! I will be watching for it. It is a very useful script, but will be even more useful if we don’t have to collapse our objects first!!!! Thanks again!
Peter, I fixed bug with Edit Poly modifier, now script should work properly (v1.5.1). But with Edit Spline modifier I can’t do nothing. MAXscript doesn’t have methods to move points in Edit Spline modifier.
Great! Thank you very much. I will give it a try right NOW!
i don’t know how to use Shift key.. sometimes works..but almost doesn’t works
Sometimes Shift+click not works, it seems bug or glitch of maxscript. Try use Right Shift instead of Left Shift it’s works better.
BTW, I’m working to change it is behavior of this script and fix this glitch in future versions.
maxscript error when trying to constraining to axis.
Can you post error log from Maxscript Listener?
I didnt find veda3d in UI category://
You should drag and drop .mcr file in viewport before searching category.
Does it not work in the v2021?
It works well with 2021 & 2022.
Thank you very much. Very helpful.
Thank you so much! Really helpful tool and appreciate!
i try to download 1.5.1 but site can’t reached.