More info here
This script comes pre-installed in the Unofficial trueSpace Updates - https://www.united3dartists.com/forum/viewforum.php?f=55
The installer will add a button to the toolbar. Pressing this button will open the curves toolbar.
This button will convert the selected polygon to a curve.
The Polygon Draw tool will create a polygon with vertices ordered for good curve creation. Make a plane and draw a polygon on it. Select the polygon and push the button.
Preexisting polygons may or may not have good vertex order. If not the curve will be twisted.
Push this button to enter a special vertex selection mode. In this mode you select vertices one at a time and they will have a green line in between each selected vertex that represents the final curve. Right click to exit this mode to create the curve.
Push this button to enter a special mode for adding control points to the control point mesh. After pressing the button the handles will disappear and the previously invisible line segments between the handles will become visible. Select one of these line segments and a new set of control points will be added to the center of the line segment making a new handle.
Select the vertex representing the root of a handle and push this button to delete the handle.
Select one of the vertices at the end(or start) of the control point mesh and push this button to extend the length of the curve with a new set of control points.
Used to create a series of sweeps along a curve path. A usable uv mapping will be created with the sweep.
The mesh must already have uv assigned to set number 1.
The face that will be swept must have other faces connected to it. This is needed so the tool knows how to extend the existing uv into the sweep. A cylindrical uv assigned to the face and it's connected neighbors works best.
The mesh must also have no rotations in world space. The freeze transform script can be used before entering PE mode to freeze the rotations OR
The control point curve was preventing selection during this capture so I used the "Invisible" check box on the node so that the curve was easier to select in the 3D view. This is no longer an issue in more recent curve versions.
The number of curve points controls the smoothness of the sweep.
This button will open a panel for loading curves from trueSpace scn and cob files generated from the modelside or earlier truespace versions. It also reads bezier curves from turbocad dxf files and svg format files. Another section is used to save curves in truespace format and to export svg animations for the web.
Save curves from modelside in trueSpace 6.6 ascii format. The version 7 format has a lot of extra information and will slow down the load process.
The scn and cob files must be ascii format. JScript only reads ascii text format files and has no check for binary format files.
2 new buttons on the toolbar for fixing curve based concave polygons and for flipping the normals of mesh faces. The fix polygon is set to work in object mode, not point edit mode. These 2 buttons were added to deal with SVG import problems.
Modelside SVG exporter plugin by "Fenerit" - http://www.united3dartists.com/forum/viewtopic.php?f=43&t=3147
Files from Adobe Illustrator and other sources may have a "DTD" line that prevents the Microsoft XML parser/loader from working. To fix open the file in a text editor and remove the line:
DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
A curve is composed of 3 parts. The Control Point Mesh(CPM), the curveShaper and the curve mesh.
The curves are really cone meshes with the faces and most of the edges set to be invisible. You edit the curve by point editing the control point mesh, controlPointMesh . The CPM looks like yellow bezier handles, but is also just a cone mesh. To edit the shape select the CPM and enter point edit mode. Select all the vertices or edges of a "handle" and use the transform widget to move, rotate or scale them. Change a control from smooth to sharp by selecting and moving just one of the handle vertices.
The curves are based on cone meshes because of their consistent point index order and it is the simplest polygon mesh that can represent a curve.
It is easier to use vertex snapping to vertices than to snap to edges.
Some uv editor script commands will crash truespace if the uv editor window is not open.
Moving a point selection is enough to change the triangle indices. The vertex indices are fine but the triangles get scrambled.
The Nano SVG parser code was used to enhance the import section (Nov 2015) https://github.com/memononen/nanosvg
January 14, 2018: widget install fix
March 10, 2017
March 5, 2017 - SVG improvements and CSS export
April 5, 2016 - read small exponential values as zero instead of just failing
November 21, 2015 -
December 1 2012: unique button ids
July 9 2012 - Curves are encapsulated inside a group. The name of the group is assigned from the load script and the save scripts use the group name for the curve name. To rename a group, select the curve in the 3D view and press the up narrow key once to select the group. To edit a curve select it in the 3D view. It's name will be "controlPointMesh". If the "LODMesh" is selected use the left or right arrow keys until controlPointMesh is selected. Once a curve is selected the left and right arrows can be used to select the curve shaper node and it's controls will show in the panel view.
June 17, 2012 - bug fix for the points to curve widget, had mouse drag instead of mouse click node
June 3, 2012
January 16 2012: bug fix for the sweep function which worked in one computer but failed in another. Made it more robust by breaking out a selection and a conversion into seperate script nodes so the scene can update more consistently.
January 8, 2012
October 9, 2011 - reads bezier curves from TurboCAD(v14) dxf files