[GRASS-dev] Re: v.in.dxf: support for 3DFACE?

Huidae Cho grass4u at gmail.com
Tue Jun 6 11:16:03 EDT 2006


Hamish,

On Wed, Jun 07, 2006 at 02:23:22AM +1200, Hamish wrote:
> Hi,
> 
> all excited to try out v.in.dxf :) but 3DFACE isn't implemented yet :(
> 
> I can convert the DXF to a polyline version, and import with the new -f
> flag, but I need to run v.build before I can display it. After that I

I fixed this bug.

> can do g.region v=, display with d.vect, & display in NVIZ (3D vector).
> 
> Looking in v.info the x,y,z ranges are all 0,0.
> Note the final x,y ranges are both negative. (?)
> 
> after import:
>  |            N: 0.000         S: 0.000                      |
>  |            E: 0.000         W: 0.000                      |
>  |            B: 0.000         T: 0.000                      |
> after v.build:
>  |            N: -4816.565     S: -5951.313                  |
>  |            E: -1943.884     W: -3092.723                  |
>  |            B: -11.644        T: 54.011                    |
> 

Well, I think usual coordinates in DXF are not geographic coordinates, but it
depends on DXF files.

> ??
> 
> 
> Also it exits with "No DXF layers found!" for the 3DFACE import.
> This had me really puzzled as the layer does exist, it is just all
> of unknown feature types. Could the error message be improved?
> "... with data!"
> "Layers found with no features"
> "No features in layer"
> ???

v.in.dxf does not count layers it cannot import.

> 
> 
> Any plans for 3DFACE support? The wireframe is good stuff, but just a
> skeleton. :)
> 
>  http://www.autodesk.com/techpubs/autocad/acad2000/dxf/3dface_dxf_06.htm
> 
>  http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.in.dwg/entity.c?rev=HEAD&content-type=text/vnd.viewcvs-markup

Could you send me a sample DXF for 3DFACE and its screenshot?

Thank you.
Huidae Cho




More information about the grass-dev mailing list