News:

When replying to a specific statement be sure to quote the previous post.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Importing X, Y data points to create a curve

Started by Joe, April 15, 2010, 03:19:39 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Joe

I am very much a novice at TC and this may be covered in the help files but, if so, I can't find it. 

I have a set of data points (X, Y format) that describe a curve and wonder if they can be imported somehow into TC to automatically create a curve.  I know how to enter the data pairs one by one in the Bezier or spline controls and this works fine for a small dataset but is very tedious for a largeone.  My question is, can the data points be typed into a table or imported from an Excel table and then used to create the curve.

Thanks

Jeff_in_90620

I haven't experimented with it, but you could try the Import Terrain function.

You might have to add some temporary data points to make your data set look like a terrain (say, by adding a couple straight edges that would form two sides), but you can Explode it afterwards, deleting the new lines and just have the curve.

Jeff

Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

murray dickinson

#2
You can use the mesh tool to import coordinate couplets of up to 255 points.  If you've got more points, make as many meshes as you need.  Declare 255 x 2 nodes and pick a start point, when you pick a second point the node coordinate entry field will be opened and you can paste your data into it, or place it arbitrarily and you've got access to the coordinate fields from properties when selected.  When you've got the mesh, 3D add them if you've got more than one, then use the section tool through the mesh(es) to give you a polyline that you can format|convert to curve, nominating to keep line segments.  You can then change the curve to a spline in properties, the control points are at your coordinates.  If you change the curve back to bezier, the curve will interpolate through the control points, but will adopt a smooth curve shape instead of the line-segmented-curve you opted to keep at the first conversion.