ScriptSpot

Script

Rectangle by Edge

By Swordslayer · Credited author: Vojtech Cada · 2018-05-11

Version
0.01a
Votes
20
Description

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.

Attachments

Tags: primitive, rectangle, rotated, aligned

Comments (12)

Hotkey

ibm · 2018-11-14

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

Thanks

.

Swordslayer · 2018-11-20

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.

Attachments

Evgeniy Poyan · 2018-11-06

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

rachka · 2018-06-27

Very useful tool, just tried it.

Front view

A.Kavyani · 2018-06-01

Hi

Looks does not work in front view as expected.

Swordslayer · 2018-06-13

Should work as expected now.

Perfect

igamaximus · 2018-06-25

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

real08121985 · 2018-05-29

Nice man, very handy!

rgby · 2018-05-14

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.

cx19800101 · 2018-05-12

the ms file isnt run in the max9 AND MAX2011

Swordslayer · 2018-05-14

Those are pretty ancient versions... anyway, now it should support even max 4 - enjoy.

Such a great idea !

igamaximus · 2018-05-28

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 !

Attachments