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

Hi,

all excited to try out v.in.dxf :slight_smile: but 3DFACE isn't implemented yet :frowning:

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
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 |

??

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"
???

Any plans for 3DFACE support? The wireframe is good stuff, but just a
skeleton. :slight_smile:

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

thanks,
Hamish

Hamish,

On Wed, Jun 07, 2006 at 02:23:22AM +1200, Hamish wrote:

Hi,

all excited to try out v.in.dxf :slight_smile: but 3DFACE isn't implemented yet :frowning:

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. :slight_smile:

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

I haven't kept up with v.in.dxf since initially testing it and cheering its
incorporation into GRASS 6. But I'll be needing it soon and some of my
colleagues are using it quite a bit.

Is there a way to maintain a dxf entity attribute as a cat/attribute for
areas? The object it to avoid going through the complication of converting
lines to boundaries, adding centroids, adding cats, and linking cats with
attributes.

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

From: Huidae Cho <grass4u@gmail.com>
Date: Tue, 6 Jun 2006 10:16:03 -0500
To: Hamish <hamish_nospam@yahoo.com>
Cc: grass5 <grass-dev@grass.itc.it>
Subject: [GRASS-dev] Re: v.in.dxf: support for 3DFACE?

Hamish,

On Wed, Jun 07, 2006 at 02:23:22AM +1200, Hamish wrote:

Hi,

all excited to try out v.in.dxf :slight_smile: but 3DFACE isn't implemented yet :frowning:

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. :slight_smile:

http://www.autodesk.com/techpubs/autocad/acad2000/dxf/3dface_dxf_06.htm

FreeGIS.org
AD&content-type=text/vnd.viewcvs-markup

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

Thank you.
Huidae Cho

On Tue, Jun 06, 2006 at 08:48:56AM -0700, Michael Barton wrote:

I haven't kept up with v.in.dxf since initially testing it and cheering its
incorporation into GRASS 6. But I'll be needing it soon and some of my
colleagues are using it quite a bit.

Is there a way to maintain a dxf entity attribute as a cat/attribute for
areas? The object it to avoid going through the complication of converting
lines to boundaries, adding centroids, adding cats, and linking cats with
attributes.

I'll add the ENTITY column some time later.

Huidae Cho

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

> From: Huidae Cho <grass4u@gmail.com>
> Date: Tue, 6 Jun 2006 10:16:03 -0500
> To: Hamish <hamish_nospam@yahoo.com>
> Cc: grass5 <grass-dev@grass.itc.it>
> Subject: [GRASS-dev] Re: v.in.dxf: support for 3DFACE?
>
> Hamish,
>
> On Wed, Jun 07, 2006 at 02:23:22AM +1200, Hamish wrote:
>> Hi,
>>
>> all excited to try out v.in.dxf :slight_smile: but 3DFACE isn't implemented yet :frowning:
>>
>> 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. :slight_smile:
>>
>> 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=HE
>> AD&content-type=text/vnd.viewcvs-markup
>
> Could you send me a sample DXF for 3DFACE and its screenshot?
>
> Thank you.
> Huidae Cho
>
>

Thanks. I'm passing this on to one of my colleagues who needs it right away.

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

From: Huidae Cho <grass4u@gmail.com>
Date: Tue, 6 Jun 2006 11:24:06 -0500
To: Michael Barton <michael.barton@asu.edu>
Cc: Hamish <hamish_nospam@yahoo.com>, grass5 <grass-dev@grass.itc.it>, Andrea
Moreno Martin <andrea.moreno@uv.es>
Subject: Re: [GRASS-dev] Re: v.in.dxf: support for 3DFACE?

On Tue, Jun 06, 2006 at 08:48:56AM -0700, Michael Barton wrote:

I haven't kept up with v.in.dxf since initially testing it and cheering its
incorporation into GRASS 6. But I'll be needing it soon and some of my
colleagues are using it quite a bit.

Is there a way to maintain a dxf entity attribute as a cat/attribute for
areas? The object it to avoid going through the complication of converting
lines to boundaries, adding centroids, adding cats, and linking cats with
attributes.

I'll add the ENTITY column some time later.

Huidae Cho

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

From: Huidae Cho <grass4u@gmail.com>
Date: Tue, 6 Jun 2006 10:16:03 -0500
To: Hamish <hamish_nospam@yahoo.com>
Cc: grass5 <grass-dev@grass.itc.it>
Subject: [GRASS-dev] Re: v.in.dxf: support for 3DFACE?

Hamish,

On Wed, Jun 07, 2006 at 02:23:22AM +1200, Hamish wrote:

Hi,

all excited to try out v.in.dxf :slight_smile: but 3DFACE isn't implemented yet :frowning:

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. :slight_smile:

http://www.autodesk.com/techpubs/autocad/acad2000/dxf/3dface_dxf_06.htm

FreeGIS.org
HE
AD&content-type=text/vnd.viewcvs-markup

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

Thank you.
Huidae Cho