[GiDlist] Hotkey to rotation and zoom

Moderator: GiD Team

Post Reply
Jonas Forssell

[GiDlist] Hotkey to rotation and zoom

Post by Jonas Forssell »

Hello, Many pre/postprocessors and CAD programs have a hotkey (usually CTRL) which together with the mouse allows rotation and zooming at any time during the creation process. In GID it seems I need to select the trackball every time I'd like to do this which in my mind makes it a bit more cumbersome. Is there any alternative way available in GID, similar to the hotkey? Thanks/Jonas Forssell, Gothenburg, Sweden
Gå före i kön och få din sajt värderad på nolltid med Yahoo! Express
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030413/b39e531b/attachment.htm
Miguel A. de Riera Pasenau

[GiDlist] Hotkey to rotation and zoom

Post by Miguel A. de Riera Pasenau »

Hi,

there are some already defined bindings up line 571 in tclfile-opengl file
in the 'scripts' directory, which uses the second and third button of
the mouse to do a dynamic zoom and pan, respectively.
They can be activated by uncommenting the following variable
set GidPriv(havecontextualbutton) 1
in line 27 fo ConfigureProgram.tcl, in the scripts directory.
You can define your own bindings too, in the same tclfile-opengl file.


miguel

Jonas Forssell wrote:

Hello,

Many pre/postprocessors and CAD programs have a hotkey (usually CTRL) which together with the mouse allows rotation and zooming at
any time during the creation process.

In GID it seems I need to select the trackball every time I'd like to do this which in my mind makes it a bit more cumbersome.

Is there any alternative way available in GID, similar to the hotkey?

Thanks
/Jonas Forssell, Gothenburg, Sweden

Gå före i kön och få din sajt värderad på nolltid med Yahoo! Express

--
--------------------------------------------------------------------------------
Miguel A. de Riera Pasenau miguel at cimne.upc.es http://gid.cimne.upc.es
Enrique Escolano

[GiDlist] Hotkey to rotation and zoom

Post by Enrique Escolano »

You can create a "macro" (utilities-graphical-Macros...) to a fast access with a key to this functions:

for example, set this shorcuts:
"F3" to a macro named "pan" with this macro code: dynamicpan
"F4" to a macro named "zoom" with this macro code: zoom dynamic
"F5" to a macro name "rotate" with the code: rotate trackball



Regards
Enrique Escolano
----- Original Message -----
From: Jonas Forssell
To: gidlist at gatxan.cimne.upc.es
Sent: Sunday, April 13, 2003 2:03 PM
Subject: [GiDlist] Hotkey to rotation and zoom


Hello,

Many pre/postprocessors and CAD programs have a hotkey (usually CTRL) which together with the mouse allows rotation and zooming at any time during the creation process.

In GID it seems I need to select the trackball every time I'd like to do this which in my mind makes it a bit more cumbersome.

Is there any alternative way available in GID, similar to the hotkey?

Thanks
/Jonas Forssell, Gothenburg, Sweden
Gå före i kön och få din sajt värderad på nolltid med Yahoo! Express

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030414/21fdcca3/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/bmp
Size: 216462 bytes
Desc: not available
Url : http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030414/21fdcca3/attachment.bin
Ramon Ribó

[GiDlist] Hotkey to rotation and zoom

Post by Ramon Ribó »

Hello,

The recommended solution, as Enrique pointed out, is to use macros.
However
it is possible to modify line 29 in file:

GiD installation/scripts/ConfigureProgram.tcl

from:

-------------------------------------
#set GidPriv(ChangeButtonMeaning) 1
-------------------------------------------------

into

--------------------------------------------------
set GidPriv(ChangeButtonMeaning) 1
---------------------------------------------------

It permmits to achieve interesting effects with the mouse central and
right buttons.

Regards,

--
Compass Ing. y Sistemas Dr. Ramon Ribo
http://www.compassis.com http://www.compassis.com/
ramsan at compassis.com
c/ Manuel Girona, 61 bajos tel. +34 93 204 10 82
08034 Barcelona, Spain fax. +34 93 204 19 09

-----Mensaje original-----
De: gidlist-admin at gatxan.cimne.upc.es
[mailto:gidlist-admin at gatxan.cimne.upc.es] En nombre de Jonas Forssell
Enviado el: domingo, 13 de abril de 2003 14:03
Para: gidlist at gatxan.cimne.upc.es
Asunto: [GiDlist] Hotkey to rotation and zoom


Hello,

Many pre/postprocessors and CAD programs have a hotkey (usually CTRL)
which together with the mouse allows rotation and zooming at any time
during the creation process.

In GID it seems I need to select the trackball every time I'd like to do
this which in my mind makes it a bit more cumbersome.

Is there any alternative way available in GID, similar to the hotkey?

Thanks
/Jonas Forssell, Gothenburg, Sweden

Gå före i kön och få din sajt värderad på nolltid med Yahoo!
http://se.docs.yahoo.com/info/express/help/index.html Express

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030414/5321e6b7/attachment.htm
Jonas Forssell

[GiDlist] Hotkey to rotation and zoom

Post by Jonas Forssell »

Ramon_Ribó ramsan at compassis.com wrote: Hello, The recommended solution, as Enrique pointed out, is to use macros. Howeverit is possible to modify line 29 in file: GiD installation/scripts/ConfigureProgram.tcl from: ------------------------------------- #set GidPriv(ChangeButtonMeaning) 1------------------------------------------------- into --------------------------------------------------set GidPriv(ChangeButtonMeaning) 1--------------------------------------------------- It permmits to achieve interesting effects with the mouse central and right buttons. Regards,
--
Compass Ing. y Sistemas Dr. Ramon Ribo
http://www.compassis.com ramsan at compassis.com
c/ Manuel Girona, 61 bajos tel. +34 93 204 10 82
08034 Barcelona, Spain fax. +34 93 204 19 09
-----Mensaje original-----
De: gidlist-admin at gatxan.cimne.upc.es [mailto:gidlist-admin at gatxan.cimne.upc.es] En nombre de Jonas Forssell
Enviado el: domingo, 13 de abril de 2003 14:03
Para: gidlist at gatxan.cimne.upc.es
Asunto: [GiDlist] Hotkey to rotation and zoom

Hello, Many pre/postprocessors and CAD programs have a hotkey (usually CTRL) which together with the mouse allows rotation and zooming at any time during the creation process. In GID it seems I need to select the trackball every time I'd like to do this which in my mind makes it a bit more cumbersome. Is there any alternative way available in GID, similar to the hotkey? Thanks/Jonas Forssell, Gothenburg, Sweden
Gå före i kön och få din sajt värderad på nolltid med Yahoo! Express



Thank you for all the good replies.

Several things to try out here. Once again thanks!

/Jonas

Gå före i kön och få din sajt värderad på nolltid med Yahoo! Express
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030414/ac455456/attachment.htm
Post Reply