News:

Be sure your post is relevant to the current discussion.  Create a new topic within the appropriate board if you are unsure.

Main Menu

Coordinate and entity import

Started by murray dickinson, March 06, 2025, 07:19:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

murray dickinson

In general discussion, Alvin posted regarding importing coordinates, he settled on Kevan Chapman's Ruby script for .xyz text files.  I thought I'd have a look around and see how other entities and methods might work.  I found that the 3D mesh tool can be used to create polylines if the .xyz file is tab delimited, not if it's got commas or others.  Kevan's scripts and the the mesh tool interpolate exactly with the coordinates.  I've always assumed that point clouds would interpolate with the point coordinates, but that's not so.  The point cloud is inserted where you nominate, so the points will be relative to each other but not to world CS.  The points can't be extracted from the cloud, either, all you can do with it is triangulate, but the triangulated surface doesn't interpolate exactly with the coordinates, either.  Then I tried Terrain, and it seems to me to use a similar triangulation method to point cloud triangulation, but it does insert the terrain object at World CS values.  Then I went and tried the same point file in MeshLab, and again, it seems that most triangulation methods are approximate, or use smoothing algorithms, because those results didn't interpolate with the coordinates either. Geez, I keep learning new stuff... in the file attached, the various results are different categories in DesignDirector, so they can be turned on and off to see how they relate..