PolySpline

34 votes
Version: 
3.0
Date Updated: 
07/19/2008
Author Name: 
1acc

Helps to draw a spline - like a AutoCAD Polyline tool by free or precisely coordinates - but works faster.
Syntax of the coordinate input is the same as AutoCAD Command Line.

New features:
1. Correct button-trigger to turn script on or off.
2. Freehand mode to draw splines by hand on XY-plane or surface of the Base-object (Hotkey F).

Additional Info: 

Installation:

1. Copy PolySpline_v3.0.mcr and PolySpline_v3.0.mse to max folder UIMacroScripts.
2. Copy files from folder 'Icons' to max folder UIIcons.
3. Run 3dsmax - go to CustomizeCustomize User InterfaceToolbars - and create new toolbar.
4. Select 'ScriptAttack' from Category list and drag label 'PolySpline v3.0' to your toolbar. The button will creates there.
If you wish - you may drag the label to any standart toolbar without creating you own toolbar.

Thats all - PolySpline is ready to work.

Version Requirement: 
2009; 2008; 9; 8; 7; 6; 5.1
Video URL: 
AttachmentSize
polarsnapshoot.gif24.82 KB
polyspline_eng.zip39.34 KB

Comments

Comment viewing options

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

Have updated the installation

2014?
Is there any chance you can make a new version that will work in Max 2014? I get a popup saying "-- Type error: if-test requires BooleanClass, got undefined"
 
Thanks

Have updated the installation to work with 2014. Please check my post below!

3D Visualiser

pravingasva's picture

Updated for 3ds Max 2014/2015/2016

Hi Guys,

I have updated the script to work with 3ds Max 2014/2015/2016, the complete ZIP file is attached. I have also included the new Installation instructions, please read the Install.txt file within the zip (the old instructions are not valid now).

The script works the same as it was on Max 2010, I just modified the installation part for newer MAX versions; hence the owner and copyright remains the same.

I think it will also run on 2011, 2012, 2013 and 2017 (may be) but I've not checked it personally. Try it and see!

AttachmentSize
polyspline_v3.0.zip 39.04 KB

3D Visualiser

Bert Van Eeckhout's picture

Fix problem

The problem is that the script can't find the path to the Macroscript.
If you use this script instead it should work again.

If not: check if the path to the Macroscipt exists.

P.s. Love this script

Regards
Bert

AttachmentSize
polyspline_v3.0.mcr 614 bytes
polyspline_v3.0.mse 33.8 KB
3dwannab's picture

Updates

Any updates on when/if we can expect an update :) Cheers

YoyoGraphics's picture

2014?

Is there any chance you can make a new version that will work in Max 2014? I get a popup saying "-- Type error: if-test requires BooleanClass, got undefined"

Thanks

- Geoff

shopkeeper's picture

Brillant! Works fine in maxs

Brillant! Works fine in maxs 2010 from my use so far.

Thanks for this great script.

DIA-Doca's picture

Великолепный скрипт! Огромное

Великолепный скрипт! Огромное спасибо автору!

W DIGITAL's picture

jea max 2010 would be great

jea max 2010 would be great

rockobello's picture

Any chance for a max2010

Any chance for a max2010 Version ?

3dwannab's picture

The user type coords in the

The user type coords in the MAXScript Listener Window (press F11 to open it).

New features:
1. Added Polar Snap Mode.
2. Added hotkeys S (Settings) and P (Polar).
3. Tip [Point] renamed to [End point].

Installation:

1. Copy PolySpline_v2.1.mcr and PolySpline_v2.1.5.mse to max folder UIMacroScripts.
2. Copy files from folder "Icons" to max folder UIIcons.
3. Run 3dsmax, go to CustomizeCustomize User InterfaceToolbars, and create new toolbar.
4. Select "PolySpline" from Category list and drag label "PolySpline v2.1" to your toolbar. The button will be created there.
If you wish, you may drag the label to any standart toolbar without creating you own toolbar.

If the button has appeared without image (PolySpline logo) do following:

1. Right click the button and select "Edit Button Appearance".
2. Select "Image Button".
3. In the Group list select "PolySpline".
4. Logo will appear in the field.
5. Restart 3dsmax.

Thats all, PolySpline is ready to work.

PolySpline features:

1. To draw orthogonal or polar line to precisely distance, leave mouse cursor in required direction, type distance value, press Enter (in Ortho or Polar mode).

2. All hotkeys below work only if MAXScript Listener Window active.

3. O button turns Ortho mode to ON or OFF state.

4. P button turns Polar Snap mode to ON or OFF state or changes the vector to snap on.

5. Press P to change Polar Snap Mode. Polar Snap works relative to X Axis or previous segment or tangent if the segment is the part of the arc.

6. Press S to open or close Polar Snap Settings rollout.

7. To start Arc press A.

8. To point the Center of the Arc press C (Ortho mode automatically turnes off). Press E, if you don't wish to point center.

9. Right click to remove previous vertex. If the previous segment is a curve then the clicking cancels tangent feature but don't deletes the vertex. To delete vertex right click again. If PolySpline in Arc drawing mode then right click to cancel it. Hotkey O does not work when tangent drawing mode is on. Hotkey P does not work when tangent drawing mode is on.

10. Press [, ] and I buttons to zoom and pan.

11. E button turns Extend mode on

12. T button turns Trim mode on

13. ESC button finishes the drawing and asks is the spline must be closed or not.

The user can enter coordinates in one of several forms (based on the command line input syntax for AutoCAD), as follows (from chapter "Picking Points in the Viewports" of the MAXScript Reference):

x, y, z or [x, y, z]

explicit point in current construction plane coordinates

x, y or [x, y]

point on the construction plane (cp)

d

point d units away in mouse direction from last point

@ x, y, z or @[x, y, z]

relative, offset to last input point

@ x, y or @[x, y]

on cp, relative to last point's projection on cp

d < a

polar on cp, distance from cp origin at a angle from x-axis

@ d < a

relative polar on cp, centered on last point

d < a1 < a2

spherical on cp, d from cp origin at a1 from x and a2 angle from xy-plane

@ d < a1 < a2

relative spherical

There can be zero or more white space characters before and between numbers and metacharacters.

These typed-coordinates are interpreted as relative to the current active grid construction plane and the coordinates returned by pickPoint() are always in world-space.

hope this helps

Comment viewing options

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