Commit Graph

957 Commits

Author SHA1 Message Date
wmayer
c6529d21fe implement Line class 2016-12-01 00:04:13 +01:00
wmayer
1855c80f36 replace Part.Line with Part.LineSegment 2016-11-30 21:25:18 +01:00
wmayer
e96370f820 add class LineSegment 2016-11-30 16:26:21 +01:00
Abdullah Tahiri
96d664dd88 Part::Geometry: ArcOfHyperbola CCW emulation support/fix
===================================================

Correction of the emulation so that arcs of hyperbola are always CCW. This fixes mismatching of end points and edge in Sketcher.
2016-11-27 18:45:33 +01:00
DeepSOIC
9b71ebf48b Sketcher: Hyperbola: fix - remove periodicity correction
Not needed, since hyperbola is not periodic, unlike circle and ellipse
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
27a76afa94 In Part:Geometry:
- Fixing Hyperbola classes to get CCW emulation (like Ellipse classes).

In Sketcher:
- The Sketcher representation deals with the right branch of the Hyperbola only.
- Solver model is: Center, Focus1 (focus of the right branch), minor radius (b).
- HyperbolicArcRangeToEndPoints code is the one of Ellipse <= Awaiting DeepSOIC help ;)
- ConstraintPointOnHyperbola solver constraint is now implemented and should be working.
- No InternalAligment constraints implemented yet.
2016-11-27 18:45:33 +01:00
wmayer
fde9bded28 fix bottleneck in creation of sketcher grid 2016-11-27 14:36:08 +01:00
wmayer
4130f845e2 port TopoShape::exportStep to occ7.1 2016-11-27 11:01:15 +01:00
wmayer
d3e0f03650 add method to extract pcurve from an edge 2016-11-26 19:28:06 +01:00
wmayer
1348fe6bc1 implement Line2d 2016-11-26 15:30:00 +01:00
wmayer
3105c4b1da fix -Wunused-parameter 2016-11-26 14:11:30 +01:00
wmayer
cb1b906bd4 implement Line2dSegment, fix doc strings 2016-11-26 14:08:14 +01:00
wmayer
de8bfaafc3 implement OffsetCurve2d 2016-11-25 23:45:14 +01:00
wmayer
c817c3334e implement ArcOfParabola2d 2016-11-25 18:11:37 +01:00
wmayer
ffa942486a implement Hyperbola2d and ArcOfHyperbola2d 2016-11-25 17:50:52 +01:00
wmayer
3067bd6a85 implement Ellipse2d and ArcOfEllipse2d 2016-11-25 17:20:58 +01:00
wmayer
3374737c5a implement ArcOfConic2d and ArcOfCircle2d 2016-11-25 10:07:55 +01:00
wmayer
a0fc75d619 implement Circle2d 2016-11-24 23:45:05 +01:00
wmayer
94248e8da1 implement Conic2d and Parabola2d 2016-11-24 21:16:32 +01:00
Yorik van Havre
21dcfd442c Doc: Further fixes to doxygen docs 2016-11-24 17:59:21 -02:00
wmayer
cdf45248dc fix build failure on Linux 2016-11-23 19:27:41 +01:00
wmayer
97346672ea create gp_Trsf2d from gp_Trsf 2016-11-23 18:53:48 +01:00
wmayer
8bd22e4d99 implement methods of Geometry2dPy 2016-11-23 15:05:55 +01:00
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