wmayer
e260f9dabd
improve whitespaces
2017-09-09 18:07:46 +02:00
Stefan Tröger
972b89d0a0
Make PartDesign::Boolean work with new Link structure
...
This is the first feature that used GeoFeatureGroupExtension and required links to the groups inside as well as to things on the same level. Hence a few modifications to link scopes have been nesseccary.
2017-09-09 16:55:55 +02:00
wmayer
03b63d3a40
make ruled surface working when both curves references the same part and a placement is set
2017-09-09 15:59:38 +02:00
wmayer
af82cacf8c
extend ruled surface feature to combine edge with wire as input shapes
2017-09-09 14:20:07 +02:00
wmayer
c9957b8a98
Port to occ7.2:
...
+ use default constructor of BRepOffsetAPI_MakeOffsetShape since overloaded versions are deprecated
+ use default constructor of BRepOffsetAPI_MakeThickSolid since overloaded versions are deprecated
+ fix small bug in MeshVertex
2017-09-02 12:04:07 +02:00
wmayer
fd5e7768dd
Port to occ7.2:
...
+ replace use of StlMesh classes as they have been removed
2017-09-02 00:26:04 +02:00
wmayer
949c86d364
Port to occ7.2:
...
+ Standard_Failure::Caught() is now marked as deprecated and should be replaced with standard C++ exception handling
2017-09-01 16:27:46 +02:00
wmayer
5a0b0944c0
Port to occ7.2:
...
+ replace Quantity_Parameter with Standard_Real is it's marked deprecated
+ include NCollection_Vector as it's needed by STEPCAFControl_Writer
+ remove GC_MakeConicalSurface used for cone and distance as this was never implemented in any earlier occ version and has been removed now
2017-09-01 12:01:50 +02:00
wmayer
7aec98ffb6
add methods to get normal and curvature information from surfaces
2017-08-14 12:24:42 +02:00
wmayer
c22320abe1
fix possible segfault in modelRefine
2017-07-27 15:13:49 +02:00
wmayer
7cc9876dfb
fix possible segfault in modelRefine
2017-07-27 15:08:14 +02:00
wmayer
df9c81252f
fix build failure
2017-07-27 11:06:06 +02:00
wmayer
99e3f95fff
+ add method trim() to Part.Curve
2017-07-26 22:59:39 +02:00
wmayer
6df816170a
fix makeGeometryCurvePy to return a LinePy for lines instead of a GeometryCurvePy
2017-07-26 10:08:01 +02:00
Eivind Kvedalen
55e0e6c00d
Part::Mirroring: This fixes issue #2671 by changing the type of Base and Normal to PropertyPosition and PropertyDirection. These two classes handles units better.
2017-07-23 22:14:05 +02:00
Eivind Kvedalen
054a3da107
Part::Thickness: This fixes issue #2876 by changing property type for value to include a unit.
2017-07-23 22:14:05 +02:00
wmayer
79e87e22c1
add missing header file
2017-07-23 20:57:32 +02:00
wmayer
488c1a1fdf
handle exception thrown by BRepBuilderAPI_RefineModel
2017-07-23 15:46:57 +02:00
wmayer
fb841d64c8
handle OCC exception in Feature::getPySubObjects and convert to Python exception
2017-07-15 17:16:44 +02:00
Randy
2cc09f9493
Improve Part.Shape.project documentation
...
This clarifies that Part.Shape.project expects a list of shapes as an argument, not a single shape. See this forum thread that highlights the confusion: https://forum.freecadweb.org/viewtopic.php?f=22&t=23287
2017-07-07 13:25:48 -03:00
tomate44
cbfc6ae742
Part GeomBezierCurve implement Save() and Restore()
2017-06-26 22:08:38 +02:00
WandererFan
674aabe80d
fix #3094 ShapeString tracking
2017-06-24 21:12:54 -04:00
wmayer
41051e9dd8
implement object serialization for BSplineCurve class
2017-06-22 22:42:01 +02:00
wmayer
f6a086dde0
add comment to source code
2017-06-18 16:23:29 +02:00
Kurt Kremitzki
90f0e5ceb8
Remove redundant matrix scale factor multiplication
2017-06-16 00:15:22 +02:00
Abdullah Tahiri
ff188383a1
Fix transformation support, so that support is updated with any previous transformation executed
2017-06-16 00:15:22 +02:00
Abdullah Tahiri
9e215721b0
Reverting to checkIntersection via boolean operation
...
The extrema algorithm fails on touching (the manyfold detection fails to return a face, but several vertex, although a face is clearly touching and if bypassed the boolean succeeds), see
https://www.freecadweb.org/tracker/view.php?id=3065
This commit enables the older boolean based intersection check.
2017-06-16 00:15:22 +02:00
wmayer
eb64ecc06f
improve exception message if proximity function fails
2017-06-15 14:28:10 +02:00
wmayer
8ce343291b
py3: fox compiler warnings
...
issue 0000995
2017-06-04 00:17:57 +02:00
wmayer
88bd341ad2
fixes #0002926 : Trying to access Part.Shape.children() before doc.recompute() crashes the whole program
2017-06-03 13:46:05 +02:00
crobarcro
4a08048901
TopoShapeEdgePy.xml: improved docstrings
...
Corrected docstrings for *At methods (valueAt, tangentAt etc.) to explain parameter position meaning
Improved docstrings for FirstParameter, LastParameter, Length and getParameterByLength
2017-05-30 18:09:33 +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
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
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
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
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