Rectangle by Edge

20 votes
Version: 
0.01a
Author Name: 
Vojtech Cada

Spline primitive that creates a rectangle based on the direction of clicked point:

Rotated Rectangle

See also NGon by Edge.

Additional Info: 

Installation: Copy the .ms file to your scripts\startup folder or run as a script if you want to try it out first. The object primitive will be available under Shapes -> Splines dropdown menu in the Create panel.

AttachmentSize
rectangleByEdge.ms1.02 KB

Comments

Comment viewing options

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

.

Make a macroscript calling startObjectCreation RectangleByEdge - after restarting max, you should be able to assign shortcut to it. I've attached the macro for simplicity, the category name is Shortcuts.

The script itself should be placed in the stdscripts directory for this to work.

AttachmentSize
rectangleMacro.mcr 162 bytes
ibm's picture

Hotkey

Hi,
How do I find it in the list to assign a hotkey?

Thanks

I_Megaman_I's picture

Hello. Can you please make

Hello. Can you please make the same but for a box primitive!

rachka's picture

Very useful tool, just tried it.

Very useful tool, just tried it.

igamaximus's picture

Perfect

Yes, now it works perfectly mate, thank you so much for your work and support on all of your magnificent tools !

Swordslayer's picture
A.Kavyani's picture

Front view

Hi

Looks does not work in front view as expected.

real08121985's picture

Nice man, very handy!

Nice man, very handy!

igamaximus's picture

Such a great idea !

But somehow i keep getting this error in Max 2012 x64.
Can you please check and tell me what may be the problem?

Thank you Swordslayer !

AttachmentSize
rectbyedge_error.jpg 167.82 KB
rgby's picture

This is great - works exactly

This is great - works exactly as you'd want it to, why in gods name has max not got this really basic functionality already!

Thank you, Swordslayer.

Comment viewing options

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