More info here
A collection of scripts for using NURBS curves in the truespace workspace environment. Includes file loaders, polygon to curve conversion, curve from vertex selection, insert curve point, delete curve point, extend curve and polygon curve sweep. Animated svg export in css and greensock javascript formats.
Use existing scene geometry as a "draw panel" for curve creation.
Drag for a freehand drawing style.
RMB panel for PickSelect and Draw Panel options.
This button will convert a polygon to a curve.
Select the polygon and push the button.
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.
Create circles by selecting point edit geometry.
From left to right is Circle Center Point and plane, Circle by 2 Points and plane and Circle by 3 points no plane needed. The circle curves will be named "NURBS Circle".
The circle NURBS control point data does not generate a perfect circle. It has slightly bulging sides with a squarish shape.
New Info: scale each of the 4 pairs of circle handles to about 0.942 will improve the circle shape.
RMB panel, Half Circle option to create half a circle instead of a full circle.
When not in point edit mode the selections will be points and a triangle for the orientation.
The 3 point circle does not select a face for orientation because the 3 points form a plane and the circle is created in that plane.
Dev Note: the plugin returns a second set of tesselated circle points. Not used in these scripts.
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 any element of an interior handle and push this button to delete the handle. Select one or more points of the handle or select one or two edges of the handle.
Select any element 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. Select one or more points of the start or end handle or select the edge that makes up the start or end handle.
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 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.
This button has been removed and corresponding items have been added to the file import and export menus.
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.
Fix Concave Face, Flip Face: 2 utility buttons 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.
TODO notes for responsive svg display
Think have some workflow notes somewhere for import, animate, export process
Modelside SVG exporter plugin by "Fenerit" - http://www.united3dartists.com/forum/viewtopic.php?f=43&t=3147
It's easier to select a straight line curve in the middle of the line.
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
Legacy Curve tools installer NURBS Curves for trueSpace7.61(workspace)