3Pt Align
說明
3pt align will adjust position, rotation and scale of an object in the current Autodesk® 3ds Max® scene to align a set of three source points to a second set of three target points.
To use, select any object, then invoke the macro. Next, you pick three source points (A1...A3) in the viewport (you might want to turn on vertex snap while doing so); then you select three target points (B1...B3).
The selected object will be now be transformed in 3D space in such a way that
* point A1 and Point B1 will coincide,
* point A1..A3 will lie in the same plane as Point B1..B3, and
* the line A1-A2 will be parallel to the line B1-B2.
After you have picked the last point, a dialog will open which allows further modifications:
* you can flip the orientation of the alignment,
* you can shift the aligned object along the alignment plane's normal (z axis), and
* you can apply a (uniform) scaling of the object around the point A1 (or have it computed automatically based on the distance between A1 and A2)
Simple, fast and it just works. I just don't understand how this functionality isn't included in Max by default. C'mon Audodesk - Sketchup has this implemented since forever.
For anyone having trouble with installation, do it the "good old way" - head over to author's webpage and download .mcr from there. After dropping the script into the viewport go to Customize User Interface and look for MBTools category. Using it on 2022.3 and it works fine.
I don't understand why you can only download .msi installer from the store when .mcr is much smaller and potentionally has less issues due to OS admin rights. overzealous Windows defender settings etc.
Hello michal, I have questoion. what is MBTools? After drooping script, I went to Customize User Interface. But I can't find this menu. I don't know where is the menu
Hello michal, I have questoion. what is MBTools? After drooping script, I went to Customize User Interface. But I can't find this menu. I don't know where is the menu. i'm using 2023.
Hello, If the script installed correctly, you should have a new entry(MB Tools) in all three "Category" lists under Toolbars, Quads and Menus tabs inside the Customize User Interface dialog. It should also appear somewhere similar in Hotkey Editor dialog. Even if you can't find it that way, you should be able to see 3pt Align command entry if you just leave those lists set to Main UI & All Commands. It should be somewhere pretty high up in the list since its name starts with number. From there you can put it anywhere you want - either as a button in a new custom toolbar, to existing Quad menu, or you can assign a hotkey.
Hi,
I'm using this script for many years now and appreciate it a lot.
But for any reason i can't install it on max 2022. I can't find it in the "Customize User Interface".
Now i've got a max 2016 still installed (with the same script) and as it's an auto install script , you can't choose any max folder by yourself. So it might be the problem.
I opened the script in 2016, copy it...create a new one in max 2022, pasted it in a new scipt but it did not worked at all.
Any suggestions?
Best regards
odd, i ran the .mcr file under run script and it was in the "Customize User Interface"...found on Toolbars tab... then added it to a custom toolbar as "3pt align"
Can you add 2021 version support?
Well, the script itself is most likely compatible with 2021, it is just the installer of the App store that has not been updated to 2021.
You are right. problem with the installer. Script works perfectly in 2021
When is the 2020 version available?
useful scripts thanks.
there is an issue with (invert alignment), if i checked (auto scale) first it will do nothing !!.
Super! Quick and easy. Works in Max2015. Just remember to select the object to make the script active.
Downloaded and installed successefully. But cannot find it anywhere in 3ds max. Is it compatible with max 2015 ?
So you do not get an 'Exchange Store' menu entry in the main menu bar, with a '3PT Align' entry? I don't have 3ds Max 2015 available for testing right now, but in principle, the tool should work.
Yes the menu entry appeared, but it is empty.
Karim, I was informed by Autodesk that there is a problem with the installer framework for 3ds Max 2015. Apparently, they are working on fixing it. Could you please try again now and maybe again in a few days? Unfortunately, I do not have 2015 installed, so I cannot test or provide a workaround. The best I can offer you at this point is a download link for a slightly older version at http://scripts.breidt.net/#3ptalign. Download the file, run it once in 3ds Max, then go to the 'MB Tools' category in the Customize UI dialog to find it and assign it to a button, menu, hotkey etc.
Yes, I noticed that. I tried again, the installation is successeful but the plugin doesnt appear in max. So what I did is that I added the folder where 3Pt Align gets installd by default (C:\ProgramData\Autodesk\ApplicationPlugins) to "3rd Party Plug-Ins" in Customize>Configure System Paths. That way the plugin is loaded.
I tried Ka Ha's solution, but it didn't work for me. I ran the install (I use MAX2015). The 3Pt Align item shows up in the Exchange Store pulldown, but it is greyed out. I added the C:\ProgramData\Autodesk\ApplicationPlugins path as described, saved and re-started, but it was still greyed out. Under the default path there are two folders, "Martin Breidt 3Pt Align2014.bundle" and "Martin Breidt 3Pt Align2015.bundle." I tried editing the 3rd Party Plug-Ins path to not just include the root C:\ProgramData\Autodesk\ApplicationPlugins, but added the folder Martin Breidt "3Pt Align2015.bundle" to the path. Saved, Re-started...the 3Pt Align menu option is still greyed out.
It works very well, however, Note: You MUST select an object to make the script active. Once you do that it is not greyed out anymore. Works like a champ!
Great script. We needed to align lots of objects, and the align tool wasn't an option, and this really solve our problem.