Hi Vincent, Keyboard shortcuts are defined in the GUI backends (qtDisplay.py, wxDisplay.py etc), using the _SetupKeyMap method (see https://github.com/tpaviot/pythonocc/blob/master/src/addons/Display/qtDisplay.py#L115 ).
You can for instance create a class that inherits from the backend (for instance qtViewer3d) and overload the _SetupKeyMap method. For a scientific reference, (although it can't be considered as a scientific reference), you can use either : Paviot, T. and Feringa, J. (2011) pythonOCC, a 3D CAD/CAE/PLM development framework for the python programming language. http://www.pythonocc.org. or simply pythonOCC (2011) 3D CAD/CAE/PLM development framework for the python programming language. http://www.pythonocc.org. The first one would allow us to get cited, but the second is cool too ;) Regards, Thomas 2011/12/6 Vincent Acary <vincent.ac...@inria.fr> > Dear pythonocc users, > > Again a newbie question, sorry. > > Since I am not familiar with CAD system, it is quite difficult to guess > the list of keyboards shortcuts of pythonOCC trough a display ? I guesses > the following active keys > f 'fit' > w 'wired' > q ? > s ? > v 'visible' > b 'blanked' > Ctrl+MouseButton1 for zoom, > Ctrl+MouseButtonB2 for pan, etc) > > Where these shortcuts are defined ? in pythonOCC, in OCC, in the relation > with a backend ? > > How can I define new shortcuts ? > > Another question : how can i cite PythonOCC in a scientific paper ? > > Regards, > Vincent A. > > > -- > Vincent ACARY > Chargé de recherche > INRIA/ BIPOP > http://bipop.inrialpes.fr/people/acary > > > > > > > _______________________________________________ > Pythonocc-users mailing list > Pythonocc-users@gna.org > https://mail.gna.org/listinfo/pythonocc-users > >
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users