Commit Graph

45 Commits

Author SHA1 Message Date
wmayer
211383819b support of unicode strings in saveImage function 2016-11-05 18:04:22 +01:00
wmayer
6880024693 expose boxZoom to Python 2016-09-23 10:28:11 +02:00
wmayer
2af6bb6e49 replace deprecated auto_ptr with unique_ptr 2016-09-22 13:01:20 +02:00
Stefan Tröger
547b1e0191 improve active object handling 2016-04-12 18:12:03 +02:00
jriegel
d7c932d714 Changing active object handling in PartDesign 2016-04-12 18:12:03 +02:00
jriegel
6ee85f65f5 some fixes in Active object handling on Viewer 2016-04-12 18:12:03 +02:00
jriegel
8cd51ade8b Active object manager for the Viewer 2016-04-12 18:12:03 +02:00
jriegel
d9b6c03304 Finally fixing the highlight code 2016-04-12 18:11:44 +02:00
wmayer
6488c2c43e + when using QGLFramebufferObject check if a GL context is active 2016-03-14 10:35:13 +01:00
Mateusz Skowroński
05f95c0506 Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
9fbe818ad0 + remove method View3DInventor::dumpSelection 2015-08-26 18:58:59 +02:00
wmayer
d3c32fdb8e + restore old axonometric behaviour 2015-08-26 13:44:01 +02:00
wmayer
12652cf370 + change axonometric view 2015-07-25 17:51:18 +02:00
wmayer
319ea4fbcc + fix typo in 'axonometric' 2015-07-25 16:54:18 +02:00
wmayer
cab441cf2a + remove references to SoFCSelection where not needed 2015-05-20 19:24:12 +02:00
wmayer
7c83638b40 + for VRML and OpenInventor export only selection, fix whitespaces 2015-05-17 13:53:22 +02:00
wmayer
f8062bf464 + check if directory exists when trying to save image 2015-03-22 12:12:42 +01:00
Sebastian Hoogen
d2bb75566e add encoding parameter to .as_std_string()
to handle PyUnicode Objects. Usually ASCII for object names and Utf-8
for file names and console output.
issue #995
2015-02-08 15:37:00 +01:00
wmayer
405616db52 + when creating picture check whether pbuffer is supported 2014-12-09 14:18:44 +01:00
wmayer
ce8b810ae0 + support anti-aliasing in offscreen renderer 2014-11-10 14:10:38 +01:00
wmayer
f6f6c5c73b + fix transparency problem, support antialiasing, background color issue 2014-11-08 23:06:53 +01:00
wmayer
303f00a06d + support of arbitrary background colors in snapshot function 2014-11-08 18:23:41 +01:00
Stefan Tröger
6fd459feee 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
6b629aed56 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
512a2b94d2 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
6112c1917b + fixes #0001497: Implement getCameraOrientation similarly to getViewDirection 2014-04-02 11:40:36 +02:00
wmayer
bb976efd79 + Added coin add/remove DraggerCallback python functions (guilhemdesq) 2014-02-25 17:43:48 +01:00
wmayer
9ee73174f4 + expose zoomIn/zoomOut to Python 2014-02-09 15:28:43 +01:00
wmayer
961a3a9e04 + Expose method getPointOnScreen() to Python 2013-11-20 19:08:09 +01:00
jriegel
746cfd62d0 move AxisCross code to the Viewer and make a Python binding 2013-07-09 23:28:21 +02:00
wmayer
8f98348253 Reduce redundant code in View3DInventorViewer class 2013-06-20 16:57:10 +02:00
wmayer
561c117f2d Use framebuffer object as fallback for off-screen rendering 2013-06-19 17:42:28 +02:00
wmayer
8189b9a869 Do not pass 0 to PyObject_IsTrue 2012-12-30 23:16:56 +01:00
wmayer
1cdcbfa77a Use PyObject_IsTrue to check argument 2012-12-29 15:59:54 +01:00
wmayer
eecc8e67d9 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
572008b297 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
5e49fa742e 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
e0abd24281 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