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
DeepSOIC
12d33e841f
Part: register facemaker classes into typesystem
2016-10-01 23:13:44 +03:00
DeepSOIC
02286a21d1
Part: implement facemakers: FaceMakerCheese, FaceMakerBullseye
...
FaceMakerCheese: based on code extracted from Part FeatureExtrude,
exactly the same as facemaking code in PartDesign.
FaceMakerBullseye: new facemaker, that supports nesting like hole inside
a face inside a hole of another face...
2016-10-01 23:13:44 +03:00
DeepSOIC
b6db15a5d3
Part: Introduce FaceMaker class
...
A general class to implement smart making faces from wires (e.g. making
a face from sketch prior to extruding)
2016-10-01 23:13:44 +03:00
wmayer
801ac34258
fix -Wdeprecated in Part & FreeCADGui
2016-09-22 15:32:49 +02:00
wmayer
f944ab3846
replace deprecated auto_ptr with unique_ptr
2016-09-22 13:01:20 +02:00
wmayer
1ce73dda96
fix -Wextra in Part
2016-09-22 11:49:28 +02:00
DeepSOIC
47c745f228
Part: Offset2D: fix save-load instability
...
Fixes #2699
It was found out that when direction of normal found by FindPlane
depends on if we are using result of offset directly, or after copying.
The fix (workaround) is to copy offset result inside offset routine, so
that no unstable behavior makes its way to the user.
2016-09-18 18:45:04 +03:00
wmayer
afa37847b5
remove Application::runPythonCode
2016-09-15 23:14:31 +02:00
wmayer
f44df3cdf0
do not use doCommand without using format string, add overloaded method of runCommand
2016-09-15 18:53:37 +02:00
wmayer
53ca0eb6a3
support offset curve in edge.Curve for occ 7.0
2016-09-15 10:36:44 +02:00
wmayer
9370378ec7
allow to pass parameter range when creating a line from a line
2016-09-09 13:02:15 +02:00
wwmayer
04aa24ec00
Merge pull request #271 from DeepSOIC/UIFixes
...
PartGui: fixes to Revolve and Extrude tasks
2016-09-02 17:30:32 +02:00
DeepSOIC
4e252175ee
PartGui: Fixes and updates for Offset2D to task dialog
...
+ add expression support for offset value
2016-09-02 16:26:02 +02:00
DeepSOIC
c5f642e44a
PartGui: add 2D Offset feature creation command
...
(made offset toolbar button into a dropdown button)
Icon for 2D offset was copied from Draft workbench.
2016-09-02 16:26:02 +02:00
DeepSOIC
e3ca28baa8
Part: add Offset2D feature
...
derived from Part::Offset, to re-use task dialog easily
2016-09-02 16:26:02 +02:00