Commit Graph

23 Commits

Author SHA1 Message Date
Stefan Tröger
4e63e11df6 Make stereo modes work again
Be aware that stereo rendering based on SoRenderManager does not allow background colors as the opengl buffers are cleared before rendering. As FreeCAD draws the background before the standart coin rendering the background gets erased again.
2014-09-29 10:11:28 +02:00
Stefan Tröger
cf167ec60a add View3DInventorViewer python interface
As quarter is not wrapped by SWIG we need to expose our own python interface class.
This is a start with the most important functions to access the render and event
manager. Furthermore all extra functions available next to the swig wrapper functions
are exposed. Everything else can be added when needed.
2014-09-23 10:11:12 +02:00
Stefan Tröger
72cab0c002 Adaption of FreeCAD to QuarterWidget
-removes all soqtviewer references
-create a quarter adaptor class which implements missing functionality
-adopts freecad code to make use of SoRenderManager and changed View3DInventorViewer  interface
2014-09-23 10:11:11 +02:00
wmayer
25d0242f97 + fixes #0001497: Implement getCameraOrientation similarly to getViewDirection 2014-04-02 11:40:36 +02:00
wmayer
63f930cb53 + Added coin add/remove DraggerCallback python functions (guilhemdesq) 2014-02-25 17:43:48 +01:00
wmayer
4fb000f0c8 + expose zoomIn/zoomOut to Python 2014-02-09 15:28:43 +01:00
wmayer
f5a4c28f3d + Expose method getPointOnScreen() to Python 2013-11-20 19:08:09 +01:00
jriegel
1ce212160b move AxisCross code to the Viewer and make a Python binding 2013-07-09 23:28:21 +02:00
wmayer
f05be462bc Reduce redundant code in View3DInventorViewer class 2013-06-20 16:57:10 +02:00
wmayer
c6b02da648 Use framebuffer object as fallback for off-screen rendering 2013-06-19 17:42:28 +02:00
wmayer
0ebffa930a Do not pass 0 to PyObject_IsTrue 2012-12-30 23:16:56 +01:00
wmayer
1b345c193e Use PyObject_IsTrue to check argument 2012-12-29 15:59:54 +01:00
wmayer
a085eede68 Add optional argument moveToCenter (by default false) to avoid to move camera when using standard views 2012-07-09 13:40:13 +02:00
wmayer
bea2c3b7a7 Add optional argument moveToCenter (by default false) to avoid to move camera when using standard views 2012-07-09 13:38:21 +02:00
jriegel
2ecbd6b851 update idf import and small fixes
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5432 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-02-05 16:32:29 +00:00
Yorik van Havre
54fa2f64ca added RFE526 - 90 degrees view rotation commands
+ added viewRotateLeft() and viewRotateRight() py methods to View3D
+ added ViewRotateLeft and ViewRotateRight FreeCAD commands
+ added them in View->Standard Views and Context->Standard Views menus
2012-01-13 13:33:35 -02:00
wmayer
133c519ea3 0000539: Write message if off-screen rendering failed
+ use removeSplitter() in shape builder

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5308 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-15 17:12:45 +00:00
wmayer
e95de7090d + add method to get SoDetail from element name
+ fix broken selection mechanism

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5260 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-10 21:11:20 +00:00
wmayer
818c38a851 + fix isometric view
+ fix bug in PropertyFileIncluded with empty string
+ fix little German translation issue

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5204 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-02 10:48:19 +00:00
wmayer
7ed47bfe91 0000499: Crash during close of tab with mouse event attached
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5198 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-28 15:05:39 +00:00
wmayer
48e231fe01 + axonometric view
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5194 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-27 16:54:35 +00:00
wmayer
a53559fe62 + implement command to view sketch perpendicular to sketch plane
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5046 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-21 11:24:55 +00:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00