[GRASS5] 3D boundaries in GRASS 5.7

Hallo,

I'm trying to import some ascii file, which contains 2 squares. The squares
are looking like this:

    (the numbers are x,y,z coordinates)
    
  133 +-----+ 233
      | |
      | |
  122 +-----+ 222
      | |
      | |
  111 +-----+ 211

  sideways:
  
             /
            /

This is no problem, but when I try to get the upper square to vertical
position, so:

  123 +-----+ 223
      | |
      | |
  122 +-----+ 222
      | |
      | |
  111 +-----+ 211

  sideways:

        |
        /

and enven when I try to get to be inclined to the other site:

  113 +-----+ 213
      | |
      | |
  122 +-----+ 222
      | |
      | |
  111 +-----+ 211

  sideways:

        \
        /

v.in.ascii does not import them correctly (Number of incorrect boundaries : 7)

This problem is _only_ by boundaries, lines are working without problem.

I'm sending the ascii file, ready to be imported via v.in.ascii. Just set your
region to n=10 e=10 s=-10 w=-10

Is there some way, how to create vertical boundaries or boundaries, which are
"one under the other"?

Thanks

Jáchym
--
Jachym Cepicky
e-mail: jachym.cepicky@centrum.cz
URL: http://les-ejk.cz

(attachments)

square (312 Bytes)

This reguires 3D topology which is not supported. You can
import it as 'faces' ('F', closed polygons), but only few modules
supports faces. The faces are currently useful
only for visualisation in NVIZ.

Radim

On Sunday 24 October 2004 14:56, Jachym Cepicky wrote:

Hallo,

I'm trying to import some ascii file, which contains 2 squares. The squares
are looking like this:

    (the numbers are x,y,z coordinates)

  133 +-----+ 233

  122 +-----+ 222

  111 +-----+ 211

  sideways:

             /
            /

This is no problem, but when I try to get the upper square to vertical
position, so:

  123 +-----+ 223

  122 +-----+ 222

  111 +-----+ 211

  sideways:

        /

and enven when I try to get to be inclined to the other site:

  113 +-----+ 213

  122 +-----+ 222

  111 +-----+ 211

  sideways:

        \
        /

v.in.ascii does not import them correctly (Number of incorrect boundaries
: 7)

This problem is _only_ by boundaries, lines are working without problem.

I'm sending the ascii file, ready to be imported via v.in.ascii. Just set
your region to n=10 e=10 s=-10 w=-10

Is there some way, how to create vertical boundaries or boundaries, which
are "one under the other"?

Thanks

Jáchym

Thank You,
I realy need this only for NVIZ.
However

do I understand it right, that 2 faces can not have common boundary?

    Something like

    +----+----+
    | F1 | F2 |
    | | |
    +----+----+

By me, it works only, when every face has it's own boundary

    +----++----+
    | F1 || F2 |
    | || |
    +----++----+

Jáchym

On Mon, Oct 25, 2004 at 07:54:58AM +0200, Radim Blazek wrote:

This reguires 3D topology which is not supported. You can
import it as 'faces' ('F', closed polygons), but only few modules
supports faces. The faces are currently useful
only for visualisation in NVIZ.

Radim

On Sunday 24 October 2004 14:56, Jachym Cepicky wrote:
> Hallo,
>
> I'm trying to import some ascii file, which contains 2 squares. The squares
> are looking like this:
>
> (the numbers are x,y,z coordinates)
>
> 133 +-----+ 233
>
>
> 122 +-----+ 222
>
>
> 111 +-----+ 211
>
> sideways:
>
> /
> /
>
> This is no problem, but when I try to get the upper square to vertical
> position, so:
>
> 123 +-----+ 223
>
>
> 122 +-----+ 222
>
>
> 111 +-----+ 211
>
> sideways:
>
>
> /
>
> and enven when I try to get to be inclined to the other site:
>
> 113 +-----+ 213
>
>
> 122 +-----+ 222
>
>
> 111 +-----+ 211
>
> sideways:
>
> \
> /
>
> v.in.ascii does not import them correctly (Number of incorrect boundaries
> : 7)
>
> This problem is _only_ by boundaries, lines are working without problem.
>
> I'm sending the ascii file, ready to be imported via v.in.ascii. Just set
> your region to n=10 e=10 s=-10 w=-10
>
> Is there some way, how to create vertical boundaries or boundaries, which
> are "one under the other"?
>
> Thanks
>
> Jáchym

--
Jachym Cepicky
e-mail: jachym.cepicky@centrum.cz
URL: http://les-ejk.cz

Yes, faces are closed polygons, boundary is not shared.

Radim

On Monday 25 October 2004 08:33, Jachym Cepicky wrote:

Thank You,
I realy need this only for NVIZ.
However

do I understand it right, that 2 faces can not have common boundary?

    Something like

    +----+----+

    | F1 | F2 |

    +----+----+

By me, it works only, when every face has it's own boundary

    +----++----+

    | F1 || F2 |

    +----++----+

Jáchym

On Mon, Oct 25, 2004 at 07:54:58AM +0200, Radim Blazek wrote:
> This reguires 3D topology which is not supported. You can
> import it as 'faces' ('F', closed polygons), but only few modules
> supports faces. The faces are currently useful
> only for visualisation in NVIZ.
>
> Radim
>
> On Sunday 24 October 2004 14:56, Jachym Cepicky wrote:
> > Hallo,
> >
> > I'm trying to import some ascii file, which contains 2 squares. The
> > squares are looking like this:
> >
> > (the numbers are x,y,z coordinates)
> >
> > 133 +-----+ 233
> >
> >
> > 122 +-----+ 222
> >
> >
> > 111 +-----+ 211
> >
> > sideways:
> >
> > /
> > /
> >
> > This is no problem, but when I try to get the upper square to vertical
> > position, so:
> >
> > 123 +-----+ 223
> >
> >
> > 122 +-----+ 222
> >
> >
> > 111 +-----+ 211
> >
> > sideways:
> >
> >
> > /
> >
> > and enven when I try to get to be inclined to the other site:
> >
> > 113 +-----+ 213
> >
> >
> > 122 +-----+ 222
> >
> >
> > 111 +-----+ 211
> >
> > sideways:
> >
> > \
> > /
> >
> > v.in.ascii does not import them correctly (Number of incorrect
> > boundaries
> >
> > : 7)
> >
> > This problem is _only_ by boundaries, lines are working without
> > problem.
> >
> > I'm sending the ascii file, ready to be imported via v.in.ascii. Just
> > set your region to n=10 e=10 s=-10 w=-10
> >
> > Is there some way, how to create vertical boundaries or boundaries,
> > which are "one under the other"?
> >
> > Thanks
> >
> > Jáchym