Jump to content

[MaxScript] miauu's Polyline


miauu_u
 Share

Recommended Posts

miauuPolyline_splashScreen.bmp

 

Create splines in 3dsMax like never before

 

 

miauu's Polyline allows you to create splines precisely with measurements and angles. Now precision spline modeilng is easy and faster.

 

Create splines using:

- Ortho mode - it constrains drawn lines to the horizontal or the vertical

- Polar Mode - it constrain your cursor movement into predefined angles

- Freehand mode - create points without any constraints

- Arc mode - create an arc that is a part of the current spline

 

Use command line or dynamic input fields to enter coordinates and all other possible commands.

 

mainUI_01.png

 

 

You can find more information here

Link to comment
Share on other sites

  • 3 weeks later...

miauu's Polyline is updated to version 1.2

 

Changelog:

 

- Added UI to choose what to do when you want to finish drawing of the spline. When you are ready with the spline creation click with the right mouse button and UI will be shown. You can choose to:

- close the spline and start drawing new spline

- close the spline and start drawing new attached spline

- close the spline and exit

- exit(without closing the spline) and start drawing new spline

- exit(without closing) and start drawing new attached spline

- exit

When the script is started you can press the RMB and to select Start Attached Spline to start drawing spline that is automatically attached to the selected spline.

 

- You can enter "u" (without the quotes) to delete the last created knot. Works the same way as Alt+LMB click.

 

- You can execute any hotkey that not contains Ctrl. Shift or Alt key. To do this hold down the middle mouse button and press the desired keys.

 

- -FROM command - allows you to enter temporary reference or base point from which you can specify an offset to locate the next point. When the FROM command is active click in the viewport to set the base point or enter the base point coordinates (absolute or relative) using the keyboard. A marker will show the coordinates of the base point. Now you can use the keyboard to:

- enter the offset location from the base point as a relative coordinate

- move the cursor in the desired direction and enter the distance on which the new point will be created away from the base point

- create segment with desired length rotated along the X axis or along the line from the last knot and the base point.

Delta X and Delta Y will be measured from the specified base point.

FROM command not works when ARC drawing mode is active.

 

Download the updated manual from here.

 

Link to comment
Share on other sites

Great to see this update, it closing all the time was a bit annoying but looks like that is taken care of.

 

One thing I have tried to do but have not figured out yet:

Lets say I am drawing along and I want to draw at a upward angle of 30 degrees for example and want to draw 100 units in X+. Is that possible? Maybe I just have no figured out the magic combination to type in yet.

 

Great script, so much more control now and no more needing to draw reference objects and stuff.

Link to comment
Share on other sites

Do you mean this:

mPolyline_idea.png

 

You can't do this with the current version of miauu's Polyline, but this is a very good idea. Thank you.

Possible way to achieve this can be(for positive X/Y axis):

 

X100

X [Enter] 100 [Tab] 30 entered in the dynamic input fields

 

For negative X/Y axis:

 

X-100

Link to comment
Share on other sites

  • 2 weeks later...

miauu's Polyline is updated to version 1.3.

 

Changelog:

Now you to create the next point at desired distance in X or Y axis rotated at arbitrary angle. This way you will not enter the length of the segment, but the distance that the point will be moved in X or Y axis. For example if you want to use the command line and to create the next point at distance 50 units away in the X axis, rotated at 30 deg enter in command line:

x50

 

Link to comment
Share on other sites

  • 1 month later...

miauu's Polyline is updated to version 1.4.

 

Changelog:

New command is added - Mid Between 2 Points. This command allows you to create the next point(knot) in the middle between two points. To run the command enter m2p in the Command Line or in the Dynamic Input field. Then click or use the keyboard to specify the first and the second point. The next point will be created in the middle between the two points.

 

 

Link to comment
Share on other sites

  • 1 month later...

miauu's Polyline version 1.5.

 

 

Changelog:

 

 

New commands added:

 

 

CA - close and start attached spline

CN - close and start new spline(not attached)

CE - close and exit miauu's Polyline.

 

VA - finish and start attached spline

VN - finis and start new spline

VE - finish and exit

 

In the Settings you can choose which symbol to use as separator sign ,(comma) or /(backslash). When comma is used as decymal symbol by the OS, please use the backslash as separator sign.

 

Pressing Esc key:

When on focus is the field where you enter the Y coordinates you can go back to Dimensional Input field and edit its value by pressing the Escape key. Y coordinates input field will disappear and you can edit the value in the Dimensional Input field or can continue creating next segment of the spline.

 

Fixed bug when drawing arcs

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...