Commit Graph

1239 Commits

Author SHA1 Message Date
wmayer
f5a8ffb92e check for valid vertexes when measuring angles between two edges 2017-05-29 20:49:35 +02:00
wmayer
abc5c2ab07 handle OCC exception when accessing point of a vertex 2017-05-29 20:36:06 +02:00
wmayer
2a6a58e587 properly raise exception in TopoShapePy::check 2017-05-29 16:52:44 +02:00
Yorik van Havre
2a2ab3c4ef Updated translations 2017-05-25 10:04:05 -03:00
looooo
ef22d5202d py3: define xrange for python3
this is done in files where the xrange is used.
replace this with range once python2 is not supported anymore.
issue 0000995
2017-05-18 15:56:09 +02:00
wmayer
4d7554197e fix crash when Part model changes with VBO activated 2017-05-16 19:30:13 +02:00
wmayer
e02db451dd fix crash when Part model changes with VBO activated 2017-05-16 06:03:22 +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
wmayer
32176dba86 fix possible freeze when creating sketch grid 2017-05-11 23:34:01 +02:00
Richard Crozier
56e023a37a AppPartPy.cpp: improved docstrings for Part.makeLine and Part.makePolygon 2017-05-11 20:01:37 +02:00
wmayer
f9bfd77555 add method to get ancestors of a sub-shape 2017-05-11 11:20:21 +02:00
wmayer
51d7949409 add optional parameter to TopoShape.check() to run bop check 2017-05-10 22:40:12 +02:00
wmayer
03bf3ac606 Expose method to Python to get property name of main geometry
fix inheritance of MeshFeaturePy
fix inheritance of PartFeaturePy
remove useless test() method
implement getPyObject in GeoFeature in case a sub-class doesn't implement it
2017-05-10 10:36:22 +02:00
wmayer
18f723cb03 use specialized Python exception classes 2017-04-28 19:33:51 +02:00
Abdullah Tahiri
0a32b91b6b Convert OCC exceptions into Base::Runtime exceptions for App:DocumentObject handling 2017-04-28 15:46:49 +02:00
Abdullah Tahiri
e3b47cac97 Correct copy-paste typos in exception throwing 2017-04-28 15:46:30 +02:00
Abdullah Tahiri
9cfca05c90 Change all exceptions thrown within AttachExtension::positionBySupport from Base::Exception to a meaningful derivative 2017-04-28 15:46:13 +02:00
Abdullah Tahiri
c3eb3e7fc7 Part Design: Allow attachment error messages and error setting propagation 2017-04-28 15:45:54 +02:00
wmayer
9aac25b763 fixes #0003000: View property Angular Deflection can freeze FC 2017-04-27 19:20:22 +02:00
wmayer
35544db84a fix vertex highlighting 2017-04-24 17:19:21 +02:00
wmayer
7e977a8ecc rename material binding class member for faces to make clear its purpose 2017-04-24 14:53:05 +02:00
wmayer
6a4171c243 implement highlighting of surface in filling task panel 2017-04-24 14:43:30 +02:00
Peter Lama
a75a98ef27 Use OCCT Handle macro for Handle_ classes
This is the result of running OCCT's upgrade script provided
with OCCT 7.0. See
https://www.opencascade.com/content/freecad-occt710-and-windows-rtti-data-missing#comment-form
and
https://www.forum.freecadweb.org/viewtopic.php?f=4&t=21405&start=120#p169019
for why this is necessary for OCCT >= 7.1
2017-04-20 12:27:34 +02:00
asiersarasua
ea3d86b735 Fix typos 2017-04-20 09:49:19 +02:00
wmayer
b2c2e3ffda fix material binding of indexed lineset when highlighting an edge 2017-04-17 19:02:11 +02:00
wmayer
ce36b29cb7 fix scan coverity issues 2017-04-11 15:06:37 +02:00
wmayer
004324bbc5 fix scan coverity issues: uncaught exception 2017-04-11 14:03:08 +02:00
Abdullah Tahiri
f6126ba9c0 Part: hiding tag handling functions as protected until a need for them is clear 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
7e37d469da Part: Modify python copy to use c++ copy() instead of clone() 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
c3c670e162 Part: Geometry refactoring copy/clone 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
7685823ecd Part: Geometry assignTag function 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
9382de15a9 Part: Geometry creation of copy method to distinguish from clone 2017-04-10 08:57:25 +02:00
Ian Rees
9ac1994a8f Improve Python docstrings in Part and MeshPart 2017-04-09 12:00:24 +12:00
wmayer
ce68a5b9dd expose Geometry::getTag to Python 2017-04-08 16:56:59 +02:00
wmayer
497728a6d2 add method to create new tag id 2017-04-08 13:31:28 +02:00
wmayer
16e09ea01c fix warning of unused variable 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
99d64ff33f Part: Geometry - implement missing setHandle functions and refactoring 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
9580440d31 Part: Add unique identifier to Geometry 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
f6dc312681 Part: Fixing signed vs unsigned warning 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
d825c4cb61 Part: BSplineCurve Python creation change for greater flexibility 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
e34788b6fc Part: GeomBSpline enable direct construction from parameters 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
ca48841b8c Part: GeomBSplineCurve extension to get, increase or reduce multiplicity 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
ea99ba5897 Part: Geometry - Ensure that no point is set as construction by mistake/user mistake 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
409cbb7199 Part: Geometry add support for getting the number of knots in a B-Spline 2017-04-08 12:58:06 +02:00
wmayer
d7d7aa238f add methods firstVertex and lastVertex to TopoEdge 2017-04-04 10:05:46 +02:00
Kunda
784edd3f82 Typo fixes for doxygen and source comments
issue #0002914
2017-03-31 11:25:57 -03:00
tomate44
3b6020cda8 add doc and a couple of new methods to MakePipeShell 2017-03-29 19:47:52 +02:00
wmayer
7e9da5e957 fix possible crash in view provider of boolean algorithm features 2017-03-27 22:43:13 +02:00
wmayer
b0cd0a5163 Qt5OpenGL: release context when finished 2017-03-21 20:37:03 +01:00