Commit Graph

984 Commits

Author SHA1 Message Date
wmayer
9c720dde7b use cmake's OBJECTS library option 2016-11-23 15:04:58 +01:00
wmayer
03ab1a4a4d fix build problems on Linux/OSX 2016-11-22 16:16:48 +01:00
wmayer
9bdad96a69 add Python wrappers for Geom2d classes 2016-11-22 14:09:19 +01:00
wmayer
689d2e42a9 wrapper for Geom2d package 2016-11-21 18:17:10 +01:00
wmayer
e54e9515fc rename 2d tool classes to be consistent with 3d classes 2016-11-21 14:29:51 +01:00
wmayer
463106cb59 fix coverity issues 2016-11-20 17:11:32 +01:00
wmayer
a4d33ec8ab fixes #0002779: The message of the project build error 2016-11-19 13:32:07 +01:00
wmayer
c99943f822 support creating Face from support face or surface and outer wire 2016-11-18 15:25:15 +01:00
Yorik van Havre
af97583026 Doc: Fixes in doxygen docs for Draft,Arch, FEM 2016-11-17 17:04:09 -02:00
wmayer
8724eaed36 use indexed map to avoid iterating a face twice in case of a compsolid 2016-11-17 15:40:22 +01:00
wmayer
1dffd81295 fix build failure for occ version < 7.0 2016-11-12 16:19:51 +01:00
wmayer
a557836597 methods to fix shape tolerances 2016-11-12 16:14:46 +01:00
wmayer
ad49a96b14 methods to analyze shape tolerances 2016-11-12 15:31:35 +01:00
wmayer
53815e7aed use only Python API for FeaturePythonPyT 2016-11-10 13:37:30 +01:00
wmayer
3b961bcb5f + add convenience method recomputeFeature()
+ make method recompute() protected
2016-11-06 17:16:50 +01:00
wwmayer
1ad6d8004e Merge pull request #328 from triplus/master
Part multiFuse enable SetRunParallel
2016-11-02 17:03:01 +01:00
triplus
3d26fec75a 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
e892d09f2e 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
9ff8260608 + remove GeomHermiteCurve class and add its methods to GeomBSplineCurve 2016-10-29 15:08:17 +02:00
wmayer
9cbcb36280 expose methods to Python to get normal, curvature and center of curvature for curve 2016-10-28 21:19:27 +02:00
wmayer
52980057bf add missing header 2016-10-26 11:23:02 +02:00
wmayer
18a5ff83b1 add support of Hermite curves 2016-10-26 10:28:23 +02:00
wmayer
d259aa0784 issue #0002744: FR: check box to export STEP w/without pcurves 2016-10-22 19:44:11 +02:00
wmayer
fbaf3a1bbc implement method to get GeomSurface from Geom_Surface 2016-10-17 22:39:17 +02:00
wmayer
2502526e4e extend API of several surface types 2016-10-17 21:59:20 +02:00
wmayer
7baeb6e51a simplify generic version of uIso/vIso 2016-10-17 19:04:52 +02:00
wmayer
12c3fde399 fix resource leaks 2016-10-17 16:35:16 +02:00
wmayer
1dbdfc276a fix build failure with older occ version 2016-10-17 16:15:53 +02:00
wmayer
5365678f72 implement generic uIso/vIso methods in GeometrySurfacePy 2016-10-17 16:10:33 +02:00
tomate44
d6f2446e57 add uIso and vIso methods to SurfaceOfExtrusion 2016-10-17 10:43:56 +02:00
wmayer
58359dd0ba issue #0002723: Vertex ordering of Face 2016-10-09 23:33:23 +02:00
wmayer
68ea7fdac5 fix coverity issues 2016-10-08 17:43:30 +02:00
wmayer
09028b0a7f + fix -Wunused-parameter 2016-10-08 15:13:56 +02:00
wmayer
9ac1810ea3 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
15b14783d1 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
258be36aad Extensions: Handle new dynamic_cast's 2016-10-08 12:48:34 +02:00
Stefan Tröger
c5a2419e14 Extensions: Introduce classes and port App groups 2016-10-08 12:48:34 +02:00
DeepSOIC
5936a2db82 Part: Py API: fix memory leak in Part.Vertex.Point
fix #2728
2016-10-07 15:02:14 -03:00
DeepSOIC
d21f339a0f 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
7b70711fb3 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
c833136cde handle possible crashes with FaceMaker and fix a few coding flaws 2016-10-02 14:47:59 +02:00
DeepSOIC
316210fe0f PartGui: Attachment: object unpickable and transparent 2016-10-02 12:33:36 +02:00
DeepSOIC
c72a61641c Part: Py API: deprecate Part.Face.makeOffset 2016-10-01 23:13:44 +03:00
DeepSOIC
c7f975279c 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
1757f70cdf 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
da52d8ea70 Part: TopoShape: deprecate solid flag for revolve method 2016-10-01 23:13:44 +03:00
DeepSOIC
199d3edf13 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
399cb4bda3 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
DeepSOIC
86ada8e8ae PartGui: Face: support not only sketches 2016-10-01 23:13:44 +03:00
DeepSOIC
e898789cba Part: Face: use facemakers
For old documents, default to FaceMakerCheese. For newly created
objects, use FaceMakerBullseye
2016-10-01 23:13:44 +03:00