![]() |
#1 |
Senior Member
Professional user
Join Date: Dec 2003
Location: UK
Posts: 369
|
![]()
I've extracted some xyz data for terrain modelling and would like to be able to import the raw xyz data into AC3D.
I've looked at some file formats, thinking I might be able to use one, but much harder then I though. Is it possible to import acsii x,y,z file into AC3D ?
__________________
Regards, Gerry "Mossie" Mos -------------------------------------------------------------------------- WW1 Aircraft Library http://ww1-aircraft.info/ Mossie 3D CAD, "Prompt and Precise" http://mossie3dcad.com/ |
![]() |
![]() |
![]() |
#2 |
Administrator
Professional user
Join Date: Jun 2003
Posts: 4,565
|
![]()
Just make it into an AC3D (.ac) file e.g.:
AC3Db OBJECT poly numvert 7 -0.83 -0.235 -0.04 -0.63 0.185 -0.04 -0.55 0.235 -0.25 -0.33 0.235 0.29 0.09 0.235 -0.29 0.33 -0.195 -0.04 0.83 0.005 -0.04 kids 0 There's also the .pf importer - Field plugin. See Help->About-plugins for more info. Once you get the point data into AC3D, do a Vertex->create-2d-mesh to put surfaces on the vertices. |
![]() |
![]() |
![]() |
#3 |
Senior Member
Professional user
Join Date: Dec 2003
Location: UK
Posts: 369
|
![]()
Great, got the points in, but unable to create surfaces as suggested.
I get message "Unable to perform this function becuase one or mare points are in the same position or plane" I tried surfaces using all three options, but the same message. Then tried just selecting 4 vertices, same message. There are 40804 vertices, spaced at 50 meter intervals, representing 10 km square. Maybe too much data ? Or as it is a terrain model, a number of points are at sea level and thus 0 altitude.
__________________
Regards, Gerry "Mossie" Mos -------------------------------------------------------------------------- WW1 Aircraft Library http://ww1-aircraft.info/ Mossie 3D CAD, "Prompt and Precise" http://mossie3dcad.com/ |
![]() |
![]() |
![]() |
#4 |
Administrator
Professional user
Join Date: Jun 2003
Posts: 4,565
|
![]()
Optimize the vertices to make sure there are no duplicates.
You may need to scale the whole lot so it's larger, if the floating point numbers are very small. If you still can't get it working, send me the file and I'll have a go. Andy |
![]() |
![]() |
![]() |
#5 |
Senior Member
Professional user
Join Date: Dec 2003
Location: UK
Posts: 369
|
![]()
Tried those and no difference. Something is not right, even trying a small area causes the message. Doing the whole just stalls.
File is bigger then allowed by attachement. Send via e-mail.
__________________
Regards, Gerry "Mossie" Mos -------------------------------------------------------------------------- WW1 Aircraft Library http://ww1-aircraft.info/ Mossie 3D CAD, "Prompt and Precise" http://mossie3dcad.com/ |
![]() |
![]() |
![]() |
#6 |
Administrator
Professional user
Join Date: Jun 2003
Posts: 4,565
|
![]()
Got the file. Due to the precision used in Create Mesh function, the best thing for this model is to size the whole model to 1x1x1 (SizeTo) and then do the Vertex->Create-2D-Mesh->Front. (you can try this in sections, otherwise, looking at 40,000 vertices will take a long time to complete)
Last edited by Andy; 3rd August 2006 at 01:40 PM. |
![]() |
![]() |
![]() |
#7 |
Senior Member
Professional user
Join Date: Dec 2003
Location: UK
Posts: 369
|
![]()
OK, thanks for having a look. The file is just too big, even doing small sections doesn't work, but when I do a new model, make a mesh remove surface move vertises and then make a new surface, it does. Something wrong with the file format I think.
__________________
Regards, Gerry "Mossie" Mos -------------------------------------------------------------------------- WW1 Aircraft Library http://ww1-aircraft.info/ Mossie 3D CAD, "Prompt and Precise" http://mossie3dcad.com/ |
![]() |
![]() |
![]() |
#8 |
Administrator
Professional user
Join Date: Jun 2003
Posts: 4,565
|
![]()
I did it with the file you sent (see pic above).
I simply clicked on SizeTo (1x1x1) first. The projection you select is important. In this case, I used Vertex->Create-2d-mesh->front. Look the field plugin: The first two numbers in the file are the x, y size of the grid. this is followed by (x*y) heights in row order. If you can get your data like this (all you really need ar the point heights and the size of the grid), You'll get a better mesh. |
![]() |
![]() |
![]() |
#9 |
Senior Member
Professional user
Join Date: Dec 2003
Location: UK
Posts: 369
|
![]()
What field plugin are you refering to ?
Don't understand.
__________________
Regards, Gerry "Mossie" Mos -------------------------------------------------------------------------- WW1 Aircraft Library http://ww1-aircraft.info/ Mossie 3D CAD, "Prompt and Precise" http://mossie3dcad.com/ |
![]() |
![]() |
![]() |
#10 |
Administrator
Professional user
Join Date: Jun 2003
Posts: 4,565
|
![]()
In AC3D, select menu Help->About-Plugins and select the Field Import Plugin from the list - this will tell you more.
|
![]() |
![]() |
![]() |
|
|