[GRASS-user] 3D TIN?

Dear GRASS users,

I have a question about exporting TINs to dxf. I have successfully managed to perform the export and opened the TIN files created with v.delaunay in CAD. Problem is, the z value of the TIN points is 0 and my TIN is flat (not what I wanted to achieve). Am I doing something wrong or is this what should happen? Is there a command that would allow the export of 3D TINs? Is this an export problem only or is the command v.delaunay not producing a 3D file?

Hope my problem is clearly stated. Any suggestions on how to create and export a 3D TIN for further editing in software external to GRASS is welcome!

Yours

stefania merlo

University of Cambridge
UK

S. Merlo wrote:

Dear GRASS users,

I have a question about exporting TINs to dxf. I have successfully
managed to perform the export and opened the TIN files created with
v.delaunay in CAD. Problem is, the z value of the TIN points is 0
and my TIN is flat (not what I wanted to achieve). Am I doing
something wrong or is this what should happen? Is there a command
that would allow the export of 3D TINs? Is this an export problem
only or is the command v.delaunay not producing a 3D file?

v.info your_vector will tell if the vector is 3D or not. If it is, it
might be (not sure) that v.out.dxf flattens it at export.

If your CAD program can read shapefiles, export with v.out.ogr which
should preserve the third dimension.

Or, if you can import a txt list of 3D points into your CAD to build
the TIN from them, consider extracting your triangle nodes with
v.to.points -n as 3D points and export them with v.out.ascii
format=point into a text file.

Maciek

Stefania Merlo wrote:

Dear GRASS users,

I have a question about exporting TINs to dxf. I have successfully managed
to perform the export and opened the TIN files created with v.delaunay in
CAD. Problem is, the z value of the TIN points is 0 and my TIN is flat
(not
what I wanted to achieve). Am I doing something wrong or is this what
should happen? Is there a command that would allow the export of 3D TINs?
Is this an export problem only or is the command v.delaunay not producing
a
3D file?

Hope my problem is clearly stated. Any suggestions on how to create and
export a 3D TIN for further editing in software external to GRASS is
welcome!

Yours

stefania merlo

University of Cambridge
UK

Hi Stefania,

I checked v.out.dxf and found that no 3DFACE support is there. This needs
to be added; I think it would be the inverse of
vector/v.in.dxf/add_3dface.c

Markus
--
View this message in context: http://www.nabble.com/3D-TIN--tf4040787.html#a11480693
Sent from the Grass - Users mailing list archive at Nabble.com.

Thank you Markus for the clarification.

Is there anybody out there that could assist the support for 3D face? I cannot program...

stefania

--On 07 July 2007 10:57 -0700 Markus Neteler <neteler@itc.it> wrote:

Stefania Merlo wrote:

Dear GRASS users,

I have a question about exporting TINs to dxf. I have successfully
managed to perform the export and opened the TIN files created with
v.delaunay in CAD. Problem is, the z value of the TIN points is 0 and
my TIN is flat (not
what I wanted to achieve). Am I doing something wrong or is this what
should happen? Is there a command that would allow the export of 3D
TINs? Is this an export problem only or is the command v.delaunay not
producing a
3D file?

Hope my problem is clearly stated. Any suggestions on how to create and
export a 3D TIN for further editing in software external to GRASS is
welcome!

Yours

stefania merlo

University of Cambridge
UK

Hi Stefania,

I checked v.out.dxf and found that no 3DFACE support is there. This needs
to be added; I think it would be the inverse of
vector/v.in.dxf/add_3dface.c

Markus
--
View this message in context:
http://www.nabble.com/3D-TIN--tf4040787.html#a11480693 Sent from the
Grass - Users mailing list archive at Nabble.com.

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

Stefania,
do you really need to work with dxf files? Are you using AutoCAD or
other CAD software? AutoCAD MAP can import shapefiles.
if you really need dxf, you can try to export as shapefile and then convert it.
there are some converters around, like:

http://www.globalmapper.com/
http://www.guthcad.com/arcv2cad.htm
http://www.mass.gov/mgis/dxf.htm

these are Windows programs, though.

good luck

Carlos

On 7/8/07, sm399@cam.ac.uk <sm399@cam.ac.uk> wrote:

Thank you Markus for the clarification.

Is there anybody out there that could assist the support for 3D face? I
cannot program...

stefania

--On 07 July 2007 10:57 -0700 Markus Neteler <neteler@itc.it> wrote:

>
> Stefania Merlo wrote:
>>
>> Dear GRASS users,
>>
>> I have a question about exporting TINs to dxf. I have successfully
>> managed to perform the export and opened the TIN files created with
>> v.delaunay in CAD. Problem is, the z value of the TIN points is 0 and
>> my TIN is flat (not
>> what I wanted to achieve). Am I doing something wrong or is this what
>> should happen? Is there a command that would allow the export of 3D
>> TINs? Is this an export problem only or is the command v.delaunay not
>> producing a
>> 3D file?
>>
>> Hope my problem is clearly stated. Any suggestions on how to create and
>> export a 3D TIN for further editing in software external to GRASS is
>> welcome!
>>
>> Yours
>>
>> stefania merlo
>>
>> University of Cambridge
>> UK
>>
>
> Hi Stefania,
>
> I checked v.out.dxf and found that no 3DFACE support is there. This needs
> to be added; I think it would be the inverse of
> vector/v.in.dxf/add_3dface.c
>
> Markus
> --
> View this message in context:
> http://www.nabble.com/3D-TIN--tf4040787.html#a11480693 Sent from the
> Grass - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> grassuser mailing list
> grassuser@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grassuser

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

--
+-----------------------------------------------------------+
              Carlos Henrique Grohmann - Guano
  Visiting Researcher at Kingston University London - UK
  Geologist M.Sc - Doctorate Student at IGc-USP - Brazil
Linux User #89721 - carlos dot grohmann at gmail dot com
+-----------------------------------------------------------+
_________________
"Good morning, doctors. I have taken the liberty of removing Windows
95 from my hard drive."
--The winning entry in a "What were HAL's first words" contest judged
by 2001: A SPACE ODYSSEY creator Arthur C. Clarke

Dear Carlos and all,

I tried the export via shapefile too, as I do actually have Autocad Map. The problem remains the same. For some reason (or actually, probably the same reason highlighted my Markus in previous correspondance) the v.out even in this case does not transfer 3D info.

I really need to work in 3D to edit these TINS and create a 3D geometry to then import in GRASS and Paraview. Can anybody assist? I am basically trying to create 3D irregular volumes from points to represent archaeological features.

Yours,
stefania

--On 08 July 2007 11:28 +0100 "Carlos \"Guâno\" Grohmann" <carlos.grohmann@gmail.com> wrote:

Stefania,
do you really need to work with dxf files? Are you using AutoCAD or
other CAD software? AutoCAD MAP can import shapefiles.
if you really need dxf, you can try to export as shapefile and then
convert it.
there are some converters around, like:

http://www.globalmapper.com/
http://www.guthcad.com/arcv2cad.htm
http://www.mass.gov/mgis/dxf.htm

these are Windows programs, though.

good luck

Carlos

On 7/8/07, sm399@cam.ac.uk <sm399@cam.ac.uk> wrote:

Thank you Markus for the clarification.

Is there anybody out there that could assist the support for 3D face? I
cannot program...

stefania

--On 07 July 2007 10:57 -0700 Markus Neteler <neteler@itc.it> wrote:

>
> Stefania Merlo wrote:
>>
>> Dear GRASS users,
>>
>> I have a question about exporting TINs to dxf. I have successfully
>> managed to perform the export and opened the TIN files created with
>> v.delaunay in CAD. Problem is, the z value of the TIN points is 0 and
>> my TIN is flat (not
>> what I wanted to achieve). Am I doing something wrong or is this what
>> should happen? Is there a command that would allow the export of 3D
>> TINs? Is this an export problem only or is the command v.delaunay not
>> producing a
>> 3D file?
>>
>> Hope my problem is clearly stated. Any suggestions on how to create
>> and export a 3D TIN for further editing in software external to GRASS
>> is welcome!
>>
>> Yours
>>
>> stefania merlo
>>
>> University of Cambridge
>> UK
>>
>
> Hi Stefania,
>
> I checked v.out.dxf and found that no 3DFACE support is there. This
> needs to be added; I think it would be the inverse of
> vector/v.in.dxf/add_3dface.c
>
> Markus
> --
> View this message in context:
> http://www.nabble.com/3D-TIN--tf4040787.html#a11480693 Sent from the
> Grass - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> grassuser mailing list
> grassuser@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grassuser

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

--
+-----------------------------------------------------------+
              Carlos Henrique Grohmann - Guano
  Visiting Researcher at Kingston University London - UK
  Geologist M.Sc - Doctorate Student at IGc-USP - Brazil
Linux User #89721 - carlos dot grohmann at gmail dot com
+-----------------------------------------------------------+
_________________
"Good morning, doctors. I have taken the liberty of removing Windows
95 from my hard drive."
--The winning entry in a "What were HAL's first words" contest judged
by 2001: A SPACE ODYSSEY creator Arthur C. Clarke

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

Does the map you created with v.delaunay have 3D info? or is it a 2D
triangulation of your 3D points?

Carlos

On 7/9/07, sm399@cam.ac.uk <sm399@cam.ac.uk> wrote:

Dear Carlos and all,

I tried the export via shapefile too, as I do actually have Autocad Map.
The problem remains the same. For some reason (or actually, probably the
same reason highlighted my Markus in previous correspondance) the v.out
even in this case does not transfer 3D info.

I really need to work in 3D to edit these TINS and create a 3D geometry to
then import in GRASS and Paraview. Can anybody assist? I am basically
trying to create 3D irregular volumes from points to represent
archaeological features.

Yours,
stefania

--On 08 July 2007 11:28 +0100 "Carlos \"Guâno\" Grohmann"
<carlos.grohmann@gmail.com> wrote:

> Stefania,
> do you really need to work with dxf files? Are you using AutoCAD or
> other CAD software? AutoCAD MAP can import shapefiles.
> if you really need dxf, you can try to export as shapefile and then
> convert it.
> there are some converters around, like:
>
> http://www.globalmapper.com/
> http://www.guthcad.com/arcv2cad.htm
> http://www.mass.gov/mgis/dxf.htm
>
> these are Windows programs, though.
>
> good luck
>
> Carlos
>
> On 7/8/07, sm399@cam.ac.uk <sm399@cam.ac.uk> wrote:
>> Thank you Markus for the clarification.
>>
>> Is there anybody out there that could assist the support for 3D face? I
>> cannot program...
>>
>> stefania
>>
>> --On 07 July 2007 10:57 -0700 Markus Neteler <neteler@itc.it> wrote:
>>
>> >
>> > Stefania Merlo wrote:
>> >>
>> >> Dear GRASS users,
>> >>
>> >> I have a question about exporting TINs to dxf. I have successfully
>> >> managed to perform the export and opened the TIN files created with
>> >> v.delaunay in CAD. Problem is, the z value of the TIN points is 0 and
>> >> my TIN is flat (not
>> >> what I wanted to achieve). Am I doing something wrong or is this what
>> >> should happen? Is there a command that would allow the export of 3D
>> >> TINs? Is this an export problem only or is the command v.delaunay not
>> >> producing a
>> >> 3D file?
>> >>
>> >> Hope my problem is clearly stated. Any suggestions on how to create
>> >> and export a 3D TIN for further editing in software external to GRASS
>> >> is welcome!
>> >>
>> >> Yours
>> >>
>> >> stefania merlo
>> >>
>> >> University of Cambridge
>> >> UK
>> >>
>> >
>> > Hi Stefania,
>> >
>> > I checked v.out.dxf and found that no 3DFACE support is there. This
>> > needs to be added; I think it would be the inverse of
>> > vector/v.in.dxf/add_3dface.c
>> >
>> > Markus
>> > --
>> > View this message in context:
>> > http://www.nabble.com/3D-TIN--tf4040787.html#a11480693 Sent from the
>> > Grass - Users mailing list archive at Nabble.com.
>> >
>> > _______________________________________________
>> > grassuser mailing list
>> > grassuser@grass.itc.it
>> > http://grass.itc.it/mailman/listinfo/grassuser
>>
>> _______________________________________________
>> grassuser mailing list
>> grassuser@grass.itc.it
>> http://grass.itc.it/mailman/listinfo/grassuser
>>
>
> --
> +-----------------------------------------------------------+
> Carlos Henrique Grohmann - Guano
> Visiting Researcher at Kingston University London - UK
> Geologist M.Sc - Doctorate Student at IGc-USP - Brazil
> Linux User #89721 - carlos dot grohmann at gmail dot com
> +-----------------------------------------------------------+
> _________________
> "Good morning, doctors. I have taken the liberty of removing Windows
> 95 from my hard drive."
> --The winning entry in a "What were HAL's first words" contest judged
> by 2001: A SPACE ODYSSEY creator Arthur C. Clarke
>
> _______________________________________________
> grassuser mailing list
> grassuser@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grassuser

--
+-----------------------------------------------------------+
              Carlos Henrique Grohmann - Guano
  Visiting Researcher at Kingston University London - UK
  Geologist M.Sc - Doctorate Student at IGc-USP - Brazil
Linux User #89721 - carlos dot grohmann at gmail dot com
+-----------------------------------------------------------+
_________________
"Good morning, doctors. I have taken the liberty of removing Windows
95 from my hard drive."
--The winning entry in a "What were HAL's first words" contest judged
by 2001: A SPACE ODYSSEY creator Arthur C. Clarke