Jump to content
Sign in to follow this  
Ozzzzzzy

xyz

Recommended Posts

What is the format for importing xyz data into visirtor 3. I want to export xyz information out of autocad land desktop into visotor but i need to now the format (example) 645621.0154,254896.2546,125.217 i think this is what it looks like.

Share this post


Link to post
Share on other sites

I guess you have it more or less right, except for the commas. Working XYZ file looks like this:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

0.0 0.0 -50.00

0.0 20.0 -50.01

0.0 40.0 -50.01

0.0 60.0 -50.02

0.0 80.0 -50.02

0.0 100.0 -50.03

0.0 120.0 -50.03

...

Your file should contain data for square area of desired size, which should be power of 2: 64x64, 128x128, ... up to 4096x4096.

Share this post


Link to post
Share on other sites

Thanks Edge, Do you now what the shortest distance between two points is. it looks like youre example is 20 feet/meters apart? and is the bottom left corner 0.0  0.0?

Share this post


Link to post
Share on other sites

Distance between points depends on the size of your map. In this case, I wanted to create 5120x5120 m map with 256x256 cells, which means 5120/256=20 m vertex distance.

I always used the same distance as it will be on the map, which is really 20 meters in this case.

Yes, [0,0] is bottom left corner.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×