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,z data using mesh coordinate grid

Started by murray dickinson, May 15, 2013, 06:05:57 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

murray dickinson

There's a workaround to import x,y,z data into TC as a polyline using an arbitrarily-drawn mesh.  It'll work for up to 255 nodes at once.  Open your point coordinates in an app that formats them as delimited columns, select up to 255 lines and copy them.  In TC, draw a mesh with the same node counts, up to 255, in both x and y.  Don't bother entering any coordinates, just click OK on the grid dialogue, the mesh will be on the workplane.  Select it and go to properties|3D mesh shape|table of vertices, fence select all cells in the coordinate grid for the first row and paste your point coordinates into them (ctrl + V, right click doesn't present a context menu), then click OK.  The vertices at the first edge of the mesh are now at your coordinates.  If the number of vertices is low, it might be quicker to just trace a 3D pline or control point spline through them.  Otherwise, select and explode the mesh down to line segments, reselect all segments except those that composed the edge and delete them, then join 3D polyline on the edge segments.  It's quite quick with practice, although naturally not as fast as a dedicated tool, but it's reliable and built into every version of TC with mesh capability, back to V6.

quick vid here: http://screencast.com/t/vCJlxJrVeTPb

Henry Hubich

Thanks for sharing, Murray. Can you suggest "an app that formats them as delimited columns"?

Henry H

Marek

Thanks Murray
I tried it on points taken from the 3D terrain. Points should be already set in the correct order so as not to demolish the order of the 3D grid mesh. For any order placed points, we got incorrect mapping ,and  when we try to enter at once 255 points TurboCAD crashes.
Marek
Marek

TC Pro 2016, TC Pro 2018, TC Plat 2019,TC Plat 2020,TC Plat 2021,TC Plat 2022,TC Plat 2023,TC Plat 2024, TC Plat 2025
Laptop Asus i7 6500U, dual-core 2,50GHz, NVIDIA GeForce GTX 950M, RAM 12 GB, SSD 480GB
Windows 10 64 bit

murray dickinson

#3
Henry, most coordinate lists are character or space delimiited, like .csv, so those will open in Excel or OpenOffice's database app, but even Notepad will usually lay it out correctly, as in the screencast.  If done in a database app, select and copy all of the filled cells.
Marek, thanks for noting the conditions.   It can get messy if unstructured, yes.  The 255 point limit is a mild inconvenience, but there are other solutions for more copious points, like generating a point cloud in Meshlab as a .dxf.
Working with it more, it isn't necessary to create an n x n mesh,  TC is much more responsive using n x 2