Commit Graph

996 Commits

Author SHA1 Message Date
wmayer
3114df352d in forward declaration replace class keyword when struct is expected
comment out unused parameters
2016-12-29 17:52:39 +01:00
Yorik van Havre
39491713f2 BOPTools: Fix to work without the GUI 2016-12-28 17:00:59 -02:00
wmayer
cbf717f317 fix whitespaces 2016-12-28 14:22:42 +01:00
wmayer
7496eeef18 move methods setXAxisDir/getXAxisDir to base class 2016-12-28 14:22:12 +01:00
wwmayer
309d46137e Merge pull request #401 from abdullahtahiriyo/parabola_2017
Parabola 2017
2016-12-28 13:48:13 +01:00
wmayer
f065f8eb53 if UnicodeUTF8 is not defined use a fallback implementation of translate() 2016-12-27 20:12:39 +01:00
Yorik van Havre
86b3463ee1 updated ts files 2016-12-26 12:36:24 -02:00
Abdullah Tahiri
f9eec60b1c Sketcher: Parabola fix loading from file 2016-12-24 22:15:41 +01:00
Abdullah Tahiri
82259f31da Part::Geometry: ArcOfParabola CCW emulation support/fix
=========================================================

Correction of the emulation so that arcs of parabola are always CCW.
2016-12-24 16:11:15 +01:00
Bernd Hahnebach
7c8b9a4b2c Part: boolean splitt tools, remove trailing whitspaces 2016-12-21 11:27:42 -02:00
Bernd Hahnebach
6378ad3aa7 Part: boolean splitt tools, add type property to the objects 2016-12-21 11:27:42 -02:00
wmayer
7e82bd1d7d fix drag and drop of boolean operations 2016-12-21 11:39:26 +01:00
Abdullah Tahiri
0ef1ce9261 Part: Parabola Python Creation from Focus, Center and Normal Vector 2016-12-19 17:35:39 +01:00
wmayer
a68c204bb0 fix CID 154895 2016-12-18 11:32:45 +01:00
Abdullah Tahiri
579cbb280b Part: ArcOfParabola extension to set the symmetry axis 2016-12-18 00:03:53 +01:00
Abdullah Tahiri
8c83f4142b Part: Parabola Extension to support getting occ focus 2016-12-17 22:50:46 +01:00
wmayer
5e375a6238 Add switch to select between Qt4 and Qt5 2016-12-13 15:53:13 +01:00
wmayer
166fc624eb remove superfluous Qt includes 2016-12-13 15:40:49 +01:00
wmayer
0afd327f2a remove superfluous Qt includes 2016-12-13 14:33:16 +01:00
wmayer
57e71e5d55 port C++ code to Qt5 2016-12-13 14:22:59 +01:00
wmayer
07943d2a9a Qt4/Qt5 neutral changes:
+ move meta types to own header to avoid double declaration
2016-12-12 15:22:34 +01:00
wmayer
14e3221374 PartGui: set export macro to fix linking errors in PartDesignGui 2016-12-08 10:33:47 +01:00
Stefan Tröger
c4fe5707cb Extension: remove unneeded debug messages 2016-12-07 06:41:40 +01:00
Stefan Tröger
214722b435 PartDesign: prevent double deletion of TempVis 2016-12-07 06:41:40 +01:00
Stefan Tröger
b758df7193 Port attachment UI to Part for general use
Furthermore change PartDesign primitives to use the new task dialog
2016-12-07 06:41:40 +01:00
Stefan Tröger
d0d4d6bc07 Port Attacher codde to the extension framework
AttachableObjects are desired in multiple occasions, and the current AttachableObject is not flexible enough to handle all cases. Hence the code is portet to an extension, which gives the needed flexibility.
2016-12-07 06:41:40 +01:00
Stefan Tröger
cc6bc1b8d9 Extensions: Add changed property handling 2016-12-07 06:37:27 +01:00
wmayer
6cde253f67 fix warnings 2016-12-04 17:04:48 +01:00
wmayer
932eab40fc add class GeomArcOfConic to reduce code duplication 2016-12-04 14:20:56 +01:00
wmayer
adf3cc0f95 add class GeomConic to reduce code duplication 2016-12-04 11:36:50 +01:00
wmayer
04668901ea code optimization 2016-12-03 22:27:07 +01:00
wmayer
428f099aaf implement BSplineCurve2d 2016-12-03 22:17:04 +01:00
wmayer
3941fc4cea implement BezierCurve2d 2016-12-03 18:23:55 +01:00
wmayer
fa585583d8 set type names of geom classes 2016-12-03 13:26:12 +01:00
wmayer
89a896b52e fix bug in Curve class 2016-12-03 11:04:24 +01:00
wmayer
6de10d4fab implement Curve2d 2016-12-03 11:01:44 +01:00
wmayer
846f062c12 in old mode Edge.Curve returns a line segment instead of an infinite line 2016-12-02 12:51:00 +01:00
wwmayer
01fd5ce6f3 Merge pull request #357 from mlampert/PathGeom
Path: Path->Wire transformation and other goemetry helpers.
2016-12-01 12:48:03 +01:00
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
Markus Lampert
fcc187880e Enhance makeHelix to also support helixes that spiral downwards. 2016-11-28 15:10:25 -08: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