tS4's Spline Polygon tool back in tS7.6 !

free scripts, plugins, models, textures
Post Reply
User avatar
Emmanuel
Chief Warrant Officer
Posts: 650
Joined: 14 Jun 2009, 06:47

tS4's Spline Polygon tool back in tS7.6 !

Post by Emmanuel »

If you are old enough, you may have used trueSpace4

In tS4 there was a tool called Spline Polygon. It is gone now. It has been replaced with the NURBS curve tool.
With the Spline Polygon tool you could draw a 2D shape, and specify the amount of segments between each control point. That feature was great when building a polygonal pot with the Lathe tool because user can finely control the number of vertices : add segments when the curve is soft and draw straight lines where no sgments are needed. See below :
tS4_spline polygon.jpg
But when tS5 came, we were forced to use NURBS. NURBS are great as long as you keep them NURBS, but if you need to convert it to polygonal, you have almost no control over the process : trueSpace is putting segments automatically and there is no way to refine it precisely.

The former draw path tool still exists in tS7.6 though, but it is dedicated to animation paths. Stan did a cool plugin some time ago, called QuickPoly.tsx, to convert an animation path into a polygonal object.

But if you want to build a Spline Polygon directly, there is a Bridge command to call the Draw Path tool while drawing a polygonal spline.
Here it that command : tSBridge.SuggestTSState(48 , 4096);

So I did a Workspace button to run it, thanks to Clinton's create button tool.
You will find this tool in the zip file below.
spline polygon.jpg
To install it manually to the bottom-right WS toolbar,
1. download and unzip the RsObj file on your desktop,
2. in tS open the Link Editor, move up to the root, then enter Windows_Manager_Space>Frame_Window,2>Toolbar, then drag the Spline_Polygon.RsObj file there.
3. update that toolbar : clic the little arrow at the right border of the toolbar to switch to 1D, then back 2D display.

WS is not my universe and I don't know how to make an installer yet :)
Attachments
Spline Polygon.zip
(3.51 KiB) Downloaded 230 times
User avatar
clintonman
Captain
Posts: 5428
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: tS4's Spline Polygon tool back in tS7.6 !

Post by clintonman »

So how did you find 48 and 4096:
tSBridge.SuggestTSState(48 , 4096)
?
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5214
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: tS4's Spline Polygon tool back in tS7.6 !

Post by trueBlue »

Nice one Emmanuel

tS7 exposes all of tS6.6 commands in their toolbars in the Link Editor.
User avatar
Emmanuel
Chief Warrant Officer
Posts: 650
Joined: 14 Jun 2009, 06:47

Re: tS4's Spline Polygon tool back in tS7.6 !

Post by Emmanuel »

clintonman wrote:So how did you find 48 and 4096:
tSBridge.SuggestTSState(48 , 4096)
?
It was a suggestion by Vladimir Sisolak (former Caligari dev.)
User avatar
clintonman
Captain
Posts: 5428
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: tS4's Spline Polygon tool back in tS7.6 !

Post by clintonman »

trueBlue wrote:Nice one Emmanuel

tS7 exposes all of tS6.6 commands in their toolbars in the Link Editor.
Can you post a picture of that?
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5214
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: tS4's Spline Polygon tool back in tS7.6 !

Post by trueBlue »

It may be awhile as I have tS7 packed away. If you install it look in System/Toolbar Prototypes. As I recall.
User avatar
clintonman
Captain
Posts: 5428
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: tS4's Spline Polygon tool back in tS7.6 !

Post by clintonman »

"packed away!?!???!" why that's blasphemy!

Anyway, I looked but only saw workspace toolbars, nothing for modelside.
Clinton Reese

http://clintons3d.com
stan
Master Chief Petty Officer
Posts: 580
Joined: 21 May 2009, 17:20

Re: tS4's Spline Polygon tool back in tS7.6 !

Post by stan »

Here is a 7.11 model tool bar in link editor.
Attachments
tbarsy.jpg
User avatar
clintonman
Captain
Posts: 5428
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: tS4's Spline Polygon tool back in tS7.6 !

Post by clintonman »

I see... tS7 not tS7.6
I'll have to reinstall and take a look. Thanks for the clarification.
Clinton Reese

http://clintons3d.com
Post Reply