[GRASSLIST:8933] Re:

Hamish hamish_nospam at yahoo.com
Tue Nov 8 07:36:08 EST 2005


> > > I tryed change existing symbol (diamound) before compilation .
> > > When copmpilation finised symbol succesfull changed only in 2D in
> > > NVIZ symbol diamound doesn't changed.
> > > How I can cerating new symbol but editing in NVIZ???????(now is
> > > X,diamound and sphere)
> >
> > That is unreleated to the vector point symbols. You'd have to look
> > in the nviz code. see visualization/nviz/src/map_obj.c in the source
> > code. (cube, trees, etc in there already??)
> > also visualization/nviz/scripts/panel_site.tcl
> >
> > You don't need to recompile to edit the symbols by the way. Just
> > edit/add to $GISBASE/etc/symbols. But keep a backup in case of
> > reinstall.
..
> I try your solution I modified panlel_site.tcl
> 
> radiobutton $tmp.siteshape.x -relief flat -text "use X" -value x \
> -anchor nw -variable Nv_(siteshape) -command change_marker
> radiobutton $tmp.siteshape.sphere -relief flat -text "use sphere" \
> -value sphere -anchor nw -variable Nv_(siteshape) \
> -command change_marker
> radiobutton $tmp.siteshape.diamond -relief flat -text "use diamond" \
> -value diamond -anchor nw -variable Nv_(siteshape) \
> -command change_marker
> radiobutton $tmp.siteshape.box -relief flat -text "use box" \
>  -value box -anchor nw -variable Nv_(siteshape) \
>  -command change_marker
>  radiobutton $tmp.siteshape.cube -relief flat -text "use cube" \
>  -value cube -anchor nw -variable Nv_(siteshape) \
>  -command change_marker
> 
> pack $tmp.siteshape.x $tmp.siteshape.sphere $tmp.siteshape.diamond
> $tmp.siteshape.box
> $tmp.siteshape.cube \
> 
> Its all? Because nothing displayed when I click on cube ,box. Other
> symbols is correct.
> 
> What is the wrong??

I don't know- it was just a guess. I don't know if it is simple or 
hard to fix, maybe someone else more familiar with the NVIZ code can
comment.



Hamish




More information about the grass-user mailing list