[Closed] Macroscript PolySpline v2.1
you can download it and view an example from here: http://3dcenter.ru/forum/index.php?showtopic=62261
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.
The user type coords in the MAXScript Listener Window (press F11 to open it).
Installation:
- Copy PolySpline_v2.1.mcr and PolySpline_v2.1.mse to max folder \UI\MacroScripts.
- Copy files from folder “Icons” to max folder UI\Icons.
- Run 3dsmax, go to Customize\Customize User Interface\Toolbars, and create new toolbar.
- Select “PolySpline” from Category list and drag label “PolySpline v2.1” 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.
If the button appeared without image (PolySpline logo) do following:
- Right click the button and select “Edit Button Appearance”.
- Select “Image Button”.
- In the Group list select “PolySpline”.
- Logo will appear in the field.
- Restart 3dsmax.
Thats all, PolySpline is ready to work.
PolySpline features:
-
To draw orthogonal line to precisely distance, leave mouse cursor in required direction, type distance value, press Enter (in Ortho-ON mode).
-
To start Arc press A
-
To point the Center of the Arc press C (Ortho-OFF mode automatically turnes on). Press P, if you don’t wish to point center.
-
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. -
Press [, ] and I buttons to zoom and pan.
-
O button turns Ortho mode to ON or OFF state.
-
ESC button finishes the drawing and asks is the spline must be closed or not.
Known bug:
If you draw a spline and don’t use right clicking then everything will be OK. If you remove some vertices and type the coord of the next vertex then everything will be OK. If you remove some vertices and click the point in viewport then the vertex usually creates in wrong place.
To solve this problem do following;
Turn off Snap, right click, left click in the viewport, right click, turn Snap on.
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.
If you find any errors in PolySpline, please mail to building-building@yandex.ru
Enjoy now, while PolySpline is freeware 1acc
P.S. 1acc equals OneAcc
Now available at scriptspot.com:
http://www.scriptspot.com/scripts/web_upload/1acc/PolySpline_v2.1_eng.zip
OMG !!!
I was looking for a script like that for AGES !
I will install to try it now and will let you know …
THANKS !!
I can not belive that this script does not have more attention here in this forum.
I have installed it, and it works just GREAT.
This is a really helful script to all arch. viz. people… especially those who work with autocad and are used to the fast point input it has.
I have only two comments about the workflow.
- in the arc. option maybe the ” second point” option of ACAD is missing.
- while drawing you can not zoom in or out.
other than that, it is realy a nice one !
good job…
- may be in future
- [ ] – press for zoom, I – press for pan. Standart 3dsmax hotkeys.
when i press the button this text comes on a note pad “Welcome to MAXScript.
Happy New 2007 Year !!!
From this moment you can’t use PolySpline v2.1
Visit www.scriptattack.com for the additional information.
Happy New 2007 Year !!!
From this moment you can’t use PolySpline v2.1
Visit www.scriptattack.com for the additional information.”
what is this?
This is announcement.
Here is the new version of the script:
http://www.scriptattack.com/maxscripts/polyspline/PolySpline_v2.1.1_eng.zip
Hello
See here
http://forums.cgsociety.org/showthread.php?f=6&t=486057
your plug don’t work in 3ds max 9 + SP1 + Extension 1.
you can fix it?
Thank’s
_cecofuli
New features:
- Added Polar Snap Mode.
- Added hotkeys S (Settings) and P (Polar).
- Tip [Point] renamed to [End point].
PolySpline features:
- 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).
- All hotkeys below work only if MAXScript Listener Window active.
- O button turns Ortho mode to ON or OFF state.
- P button turns Polar Snap mode to ON or OFF state or changes the vector to snap on.
- 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.
- Press S to open or close Polar Snap Settings rollout.
- To start Arc press A.
- To point the Center of the Arc press C (Ortho mode automatically turnes off). Press E, if you don’t wish to point center.
- 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.
- Press [, ] and I buttons to zoom and pan.
- E button turns Extend mode on
- T button turns Trim mode on
- ESC button finishes the drawing and asks is the spline must be closed or not.
I am loving this script. Very helpful.
Could you please tell me how to exit out of Trim or Extend mode to continue drawing lines? In other words how to you tun Extend and Trim ‘Off’?
Thanks