Commit Graph

11083 Commits

Author SHA1 Message Date
Zheng, Lei
dbbc32d3af Console: fix getLogLevel 2017-05-13 17:46:38 +02:00
Zheng, Lei
a6abf0b25a Console: added tag based log support 2017-05-13 17:46:38 +02:00
wmayer
2fa2370ef1 remove const from exception handler to fix build failure 2017-05-13 17:33:13 +02:00
wmayer
4971818321 fix -Woverloaded-virtual 2017-05-13 16:46:49 +02:00
wmayer
ff82e88413 remove commented code 2017-05-13 16:09:30 +02:00
wmayer
017752b9d8 improve whitespaces and reduce code duplication 2017-05-13 16:00:32 +02:00
wmayer
33bed8d412 remove export macro from template class to fix linker errors on Windows 2017-05-13 15:48:17 +02:00
Abdullah Tahiri
a7bc962ce5 Renaming getPyDict to getPyObject for consistency with BaseClass 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
b410f8857c Enable exceptions to save/restore information in a python dictionary and enable throwing exception from dictionary information 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
9c698f1710 Exception Factory pre-compiled header 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
80c91a5de7 SketchObject:ModifyBSplineKnotMultiplicity re
written to use THROW macro and CADKernelError exception
2017-05-13 15:27:57 +02:00
Abdullah Tahiri
db8511883c Enable PyException to reconstruct the original exception 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
9a5f782399 pytools fix 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
d28424933a Extend PyTools to export exception dictionary if present 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
fbca57bd36 Use PyErr_setObject with a PyDict to set Base::Exception information to BaseFreeCADError Python exception 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
ea725a8b7a Register exception producers in Application 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
fe0c4987b6 Exception Factory and producers 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
57698ef73c Provide default constructors for all exception types 2017-05-13 15:27:57 +02:00
Abdullah Tahiri
d7fafbf5a6 Exception: Extension to access debug information and change of line to int type 2017-05-13 15:27:57 +02:00
Zheng, Lei
39025e4316 Path.Area: fix projection code for OCE 2017-05-13 14:36:42 +02:00
Zheng, Lei
d4c0813e31 Path.Area: fix work plane direction 2017-05-13 14:36:42 +02:00
Zheng, Lei
a0e280e961 Path.Area: outline now supports solid and non-planar faces 2017-05-13 14:36:42 +02:00
Zheng, Lei
dd36a9fc45 Path.Area: force CW orientation on pocket mode offset 2017-05-13 14:36:42 +02:00
Zheng, Lei
997200d3b4 Path.Area: add parameter 'Outline' to remove inner holes 2017-05-13 14:36:42 +02:00
Zheng, Lei
9120d6db77 Path.Area: fix path orientation setting 2017-05-13 14:36:42 +02:00
Zheng, Lei
2d23673dd5 Path.Area: rename Clearance parameter to ResumeHeight 2017-05-13 14:36:42 +02:00
Zheng, Lei
a1e8bb13eb Path.Area: fixed zigzag pocket mode 2017-05-13 14:36:42 +02:00
wmayer
e97d9c3721 add keyword support to MakePipeShell.add, support overloaded method 2017-05-13 14:12:37 +02:00
wmayer
9b28b563ce exception handling in BRepOffsetAPI_MakePipeShellPy 2017-05-13 13:28:31 +02:00
Jeff Terrace
36c60d3f8d Use xrange instead of range when exporting to collada.
This avoids creating a giant temporary list for large meshes.
2017-05-12 09:28:54 -07:00
Bruce B. Lacey
42d6b1b1c9 Specify Eigen3 include path on macOS
* Orocos KDL depends upon Eigen 3.2, an older version than
    the Homebrew default, requiring that the EIGEN3_INCLUDE_DIR
    be specified to cmake providing the Eigen3 include path
2017-05-11 23:06:05 -07:00
wmayer
a8bd3e95e5 fix creation of NaN that invalidates the view frustum 2017-05-12 08:05:12 +02:00
wmayer
32176dba86 fix possible freeze when creating sketch grid 2017-05-11 23:34:01 +02:00
Keith Sloan
1e04f7da75 Fix for linear_extrude request of null object i.e. null text 2017-05-11 20:21:54 +02:00
Keith Sloan
513efcba0e Fix for linearextrude with twist 2017-05-11 20:17:26 +02:00
Richard Crozier
56e023a37a AppPartPy.cpp: improved docstrings for Part.makeLine and Part.makePolygon 2017-05-11 20:01:37 +02:00
looooo
b07075db76 py3: AddonManager: use urllib.request insted of urllib2
issue 0000995
2017-05-11 19:50:43 +02:00
wmayer
b77d8cac4f minor fixes for pr749 2017-05-11 19:47:54 +02:00
looooo
ca3e58e2f3 py3: App: files D-Z ported to python3
issue 0000995
diff to py3-branch will remain in the following files in src/App:
- ExtensionContainer.cpp
- FeaturePythonPyImp.h +.inl
most likely these files depend on Tools and Base
2017-05-11 19:19:17 +02:00
wmayer
f9bfd77555 add method to get ancestors of a sub-shape 2017-05-11 11:20:21 +02:00
Pekka Roivainen
2b42295391 Path: PathDrilling updates
-Log Level to INFO
-PEP8 formatting
-move sort_jobs to PathUtils
2017-05-10 22:57:14 +02:00
Pekka Roivainen
e0ed65eeb1 Some input field validating 2017-05-10 22:57:14 +02:00
Pekka Roivainen
69bbd95ef2 Change a button text to a more sensible one 2017-05-10 22:57:14 +02:00
Pekka Roivainen
3e7cab0297 Polishing PathDrilling 2017-05-10 22:57:14 +02:00
Pekka Roivainen
5150ea3a3e Added support for Arch Panels. Added possibility to add custom features to drill 2017-05-10 22:57:14 +02:00
Pekka Roivainen
b4ae9b69b2 Drilling refactoring and cleanup 2017-05-10 22:57:14 +02:00
Pekka Roivainen
0b8b5768cb enable removing of drilled features in BaseList. Activate Find All button 2017-05-10 22:57:14 +02:00
wmayer
51d7949409 add optional parameter to TopoShape.check() to run bop check 2017-05-10 22:40:12 +02:00
Yorik van Havre
0d033757ae py3: App: files A-C ported to python3 2017-05-10 20:49:10 +02:00
WandererFan
36960df73e Fix #2971 segfault on hide() current page from Python 2017-05-10 17:43:48 +02:00