Commit Graph

626 Commits

Author SHA1 Message Date
wmayer
20b801efc3 implement Hyperbola2d and ArcOfHyperbola2d 2016-11-25 17:50:52 +01:00
wmayer
5eb3e0386b implement Ellipse2d and ArcOfEllipse2d 2016-11-25 17:20:58 +01:00
wmayer
14228c5f2c implement ArcOfConic2d and ArcOfCircle2d 2016-11-25 10:07:55 +01:00
wmayer
dc23e23acd implement Circle2d 2016-11-24 23:45:05 +01:00
wmayer
1b406d3a97 implement Conic2d and Parabola2d 2016-11-24 21:16:32 +01:00
wmayer
70240b52f4 fix build failure on Linux 2016-11-23 19:27:41 +01:00
wmayer
6cbb86cf08 create gp_Trsf2d from gp_Trsf 2016-11-23 18:53:48 +01:00
wmayer
4be07a25e5 implement methods of Geometry2dPy 2016-11-23 15:05:55 +01:00
wmayer
6b5dd05d51 use cmake's OBJECTS library option 2016-11-23 15:04:58 +01:00
wmayer
04fd872531 fix build problems on Linux/OSX 2016-11-22 16:16:48 +01:00
wmayer
78a6da83b0 add Python wrappers for Geom2d classes 2016-11-22 14:09:19 +01:00
wmayer
cd761ab804 wrapper for Geom2d package 2016-11-21 18:17:10 +01:00
wmayer
7ff5e7e2d5 fixes #0002779: The message of the project build error 2016-11-19 13:32:07 +01:00
wmayer
7b05dddf40 support creating Face from support face or surface and outer wire 2016-11-18 15:25:15 +01:00
wmayer
64f954cbfd fix build failure for occ version < 7.0 2016-11-12 16:19:51 +01:00
wmayer
446e5e94cc methods to fix shape tolerances 2016-11-12 16:14:46 +01:00
wmayer
2845b437b5 methods to analyze shape tolerances 2016-11-12 15:31:35 +01:00
wmayer
2d20bdecdd use only Python API for FeaturePythonPyT 2016-11-10 13:37:30 +01:00
wmayer
06da15e643 + add convenience method recomputeFeature()
+ make method recompute() protected
2016-11-06 17:16:50 +01:00
wwmayer
782821d27d Merge pull request #328 from triplus/master
Part multiFuse enable SetRunParallel
2016-11-02 17:03:01 +01:00
triplus
f91da85fe9 Part generalFuse enable SetRunParallel
Test case:

http://forum.freecadweb.org/viewtopic.php?f=10&t=18179&p=143225#p143225
2016-11-02 15:52:42 +01:00
triplus
420ac818bb Part multiFuse enable SetRunParallel
Forum discussion:

http://forum.freecadweb.org/viewtopic.php?f=10&t=18179

Test case:

http://forum.freecadweb.org/viewtopic.php?f=10&t=18179#p142663
2016-11-02 14:44:58 +01:00
wmayer
85020ab780 + remove GeomHermiteCurve class and add its methods to GeomBSplineCurve 2016-10-29 15:08:17 +02:00
wmayer
a9ade2be5b expose methods to Python to get normal, curvature and center of curvature for curve 2016-10-28 21:19:27 +02:00
wmayer
1fd3da29c8 add missing header 2016-10-26 11:23:02 +02:00
wmayer
13b7a32596 add support of Hermite curves 2016-10-26 10:28:23 +02:00
wmayer
b44408a2a4 implement method to get GeomSurface from Geom_Surface 2016-10-17 22:39:17 +02:00
wmayer
03d6c2ebf8 extend API of several surface types 2016-10-17 21:59:20 +02:00
wmayer
52d6b1810a simplify generic version of uIso/vIso 2016-10-17 19:04:52 +02:00
wmayer
b0767a1328 fix resource leaks 2016-10-17 16:35:16 +02:00
wmayer
0500bdc16c fix build failure with older occ version 2016-10-17 16:15:53 +02:00
wmayer
56721e6a37 implement generic uIso/vIso methods in GeometrySurfacePy 2016-10-17 16:10:33 +02:00
tomate44
11b1e502bb add uIso and vIso methods to SurfaceOfExtrusion 2016-10-17 10:43:56 +02:00
wmayer
169dc381db issue #0002723: Vertex ordering of Face 2016-10-09 23:33:23 +02:00
wmayer
677ec6cd30 fix coverity issues 2016-10-08 17:43:30 +02:00
wmayer
11a4c26dae + fix -Wunused-parameter 2016-10-08 15:13:56 +02:00
wmayer
f1127dd2f4 Fix issues:
+ improve formatting
+ remove superfluous semicolons
+ comment unused parameters
+ rename Initialisation to Initialization
+ rename Deinitialisation to Finalization
+ remove spaces
2016-10-08 12:48:34 +02:00
Stefan Tröger
28c21914d0 Extensions: Handle static/dynamic cast
After the change of the virtual inheritance position in the inheritance chain some
formally added dynamic_cast's can be reverted to the old behaviour
2016-10-08 12:48:34 +02:00
Stefan Tröger
3e1ba47d61 Extensions: Handle new dynamic_cast's 2016-10-08 12:48:34 +02:00
Stefan Tröger
6fa964c53f Extensions: Introduce classes and port App groups 2016-10-08 12:48:34 +02:00
DeepSOIC
aae97dedd9 Part: Py API: fix memory leak in Part.Vertex.Point
fix #2728
2016-10-07 15:02:14 -03:00
DeepSOIC
2045cb9b4a Part: Extrude, Revolve: fix #2720 - relax action of Solid=true
When facemakers were introduced, Solid property of Revolve and Extrude
was made strict: it calls facemaker if Solid==true, and facemaker would
fail if shape being extruded/revolved is a face.

This is fixed by testing there are no faces in source shape prior to
calling facemaker.
2016-10-04 21:51:58 +03:00
DeepSOIC
115c7e4f88 Part: FaceMaker: check if instance is actually created.
Part::FaceMaker::ConstructFromType() could return null pointer if
abstract class type is supplied.

Here, it is fixed by checking for null pointer in facemaker itself,
rather than in every place  ConstructFromType is being used.
2016-10-04 10:03:19 +02:00
wmayer
da406cddb8 handle possible crashes with FaceMaker and fix a few coding flaws 2016-10-02 14:47:59 +02:00
DeepSOIC
2d8f76eff9 Part: Py API: deprecate Part.Face.makeOffset 2016-10-01 23:13:44 +03:00
DeepSOIC
08307aa2e5 Part: Offset2D: rewrite to use FaceMaker
new features supported:
* fill offset in collective mode when result wires are closed
* offsetting faces in collective mode

Remaining TODOs:
- collective offset of open wires in "skin" mode
2016-10-01 23:13:44 +03:00
DeepSOIC
585fc856bc Part: Py API: add methods to use FaceMakers
* new Part.Shape.Face() constructor footprints with facemaker class
supplied as string mane of C++ class.
* add Part.makeFace method that uses facemaker.
2016-10-01 23:13:44 +03:00
DeepSOIC
6043a2bdd3 Part: TopoShape: deprecate solid flag for revolve method 2016-10-01 23:13:44 +03:00
DeepSOIC
d06c7df069 Part: Revolve: port to use FaceMaker
For old documents, default to old behavior. For new objects, default to
use FaceMakerBullseye
2016-10-01 23:13:44 +03:00
DeepSOIC
8671edf76c Part: Extrude: port to use FaceMaker
For old documents, default to old behavior. For new objects, default to
use FaceMakerBullseye
2016-10-01 23:13:44 +03:00