Commit Graph

6996 Commits

Author SHA1 Message Date
Alexander Gryson
291bad6cba Metadata updates 2016-12-18 14:54:52 +01:00
Alexander Gryson
3842310b9c Further feedback on geometry changes 2016-12-18 14:54:52 +01:00
Alexander Gryson
5bf299aafb Add Metadata 2016-12-18 14:54:31 +01:00
Alexander Gryson
6b6a7ca2d2 Update icon geometry and colors (no conflict risk in this workbench) 2016-12-18 14:54:31 +01:00
Alexander Gryson
1ab2e64e73 update TechDraw icons 2016-12-18 14:53:53 +01:00
wmayer
76c529d47d fix CIDs 154889, 151939, 151763, 154892, 154891, 151802, 151936, 151803, 153359 2016-12-18 14:12:13 +01:00
wmayer
0ada809ec5 fix CIDs 151701, 151747 2016-12-18 13:46:26 +01:00
wmayer
df8f7cfb7e fix CIDs 154873, 154874, 153875, 153876, 154883, 154884, 154886 2016-12-18 13:27:34 +01:00
wmayer
c0ad78d21a fix CIDs 129192, 129078 2016-12-18 12:42:43 +01:00
wmayer
45697ae2c7 fix CID 129530 2016-12-18 12:33:43 +01:00
wmayer
bd71e62df6 fix CIDs 154877, 154878, 154879, 154880, 154881, 154882, 154885 2016-12-18 12:15:26 +01:00
wmayer
2d68ca2f6e fix CID 154893 2016-12-18 11:57:52 +01:00
wmayer
4f7752419c fix CID 154894 2016-12-18 11:37:39 +01:00
wmayer
a68c204bb0 fix CID 154895 2016-12-18 11:32:45 +01:00
wwmayer
8391af97f0 Merge pull request #383 from sliptonic/bug/drilling
PATH: fix for drilling border case
2016-12-18 09:59:36 +01:00
Abdullah Tahiri
9e528420f8 Sketcher: Enable Parabola creation in SketchObjectPy 2016-12-18 00:46:01 +01:00
Abdullah Tahiri
94f3f5879e Sketcher: Parabola SketchObject basic functionality
===================================================

Except Trimming & Expose Internal Geometry, that will be added separately.
2016-12-18 00:41:40 +01:00
Abdullah Tahiri
5f963c8d02 Sketcher: Parabola Solver Sketch Implementation
===============================================

Main Sketch solver parabola addition and update, with exception of the rules of the parabola arc, that will be implemented with the solver constraints.
2016-12-18 00:03:57 +01:00
Abdullah Tahiri
579cbb280b Part: ArcOfParabola extension to set the symmetry axis 2016-12-18 00:03:53 +01:00
sliptonic
4262544bbf PATH: fix for drilling border case
If only single hole of a given size is found, it was ignored.
Doh!
2016-12-17 16:46:17 -06:00
Abdullah Tahiri
8c83f4142b Part: Parabola Extension to support getting occ focus 2016-12-17 22:50:46 +01:00
Abdullah Tahiri
e360dc15ef Sketcher: Freegcs Parabola geometry definition 2016-12-17 20:12:16 +01:00
Yorik van Havre
59987231ae Arch: Extended panel tools 2016-12-17 14:39:45 -02:00
Eivind Kvedalen
1ec381a07f Spreadsheet: Coverity issue 151662, 151655, 133440, 129433 are false positives, but code rewritten for readability. 2016-12-15 17:27:18 +01:00
Eivind Kvedalen
614a914926 Spreadsheet: Fixed dead code issue reported by Coverity (128977). 2016-12-15 17:27:18 +01:00
Eivind Kvedalen
25c56b7864 Spreadsheet: Fix for issue #2646: Spreadsheet-Sum-Function does not work with units
This fix also fixes the other aggregates.
2016-12-15 17:27:18 +01:00
Eivind Kvedalen
de27adbefa Spreadsheet: Fix for issue #2647, stddev does not work with arrays. 2016-12-15 17:27:18 +01:00
Eivind Kvedalen
eb32b3d831 Spreadsheet: Fixed for issue #2767: In some instances, needed parentheses are dropped from the expression. Fixed and updated unit tests. 2016-12-15 17:27:18 +01:00
wmayer
9a1fadd23e add unit test for group extension 2016-12-15 16:26:32 +01:00
Alexander Gryson
6d1eddc22f fix for font issue in draft_shapestring 2016-12-14 10:34:07 -02:00
Alexander Gryson
5cf78e86b4 clean up outline after 5558732 2016-12-14 10:34:07 -02:00
Alexander Gryson
6c4e4ebdfc fix svg display issue (rendering bug?) 2016-12-14 10:34:07 -02:00
Alex Gryson
6d1d170609 add metadata 2016-12-14 10:34:06 -02:00
Alex Gryson
81b36ea100 update permissions (644) 2016-12-14 10:34:06 -02:00
Alex Gryson
8eaba24b8b Update draft icons 2016-12-14 10:34:06 -02:00
wwmayer
e5c6bf5bbd Merge pull request #378 from wwmayer/qt5_port
Qt5 port
2016-12-14 09:37:35 +01:00
wmayer
deddc4b3e2 use Qt WebKit module 2016-12-13 19:48:22 +01:00
wwmayer
411e30bffd Merge pull request #376 from sliptonic/BugFixes
Bug fixes
2016-12-13 16:45:49 +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
433202a881 drop inheritance of PropertyItem from BaseClass 2016-12-13 14:53:43 +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
wwmayer
c678144272 Merge pull request #374 from mlampert/tracker-2770
Path: Assign Contour label on restore fixes 2770
2016-12-12 19:34:27 +01:00
wmayer
b2487828f0 Qt4/Qt5 neutral changes:
+ change inheritance of PropertyItem to not derive from BaseClass (and QObject) any more to fix crashes with Qt5
2016-12-12 17:01:26 +01:00
wmayer
8b51a04943 fix -Wunused-but-set-variable 2016-12-12 16:32:54 +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
d2cb4e4af9 Qt4/Qt5 neutral changes:
+ remove QCoreApplication::UnicodeUTF8/QApplication::UnicodeUTF8
+ remove QCoreApplication::CodecForTr/QApplication::CodecForTr
2016-12-12 14:52:09 +01:00
wmayer
57e7d3ad61 Qt4/Qt5 neutral changes:
+ remove class DownloadDialog
+ remove class HelpView
+ remove class DlgTipOfTheDay
2016-12-12 14:35:52 +01:00
wmayer
1cdee20953 Qt4/Qt5 neutral changes:
+ replace Q_WS_WIN with Q_OS_WIN
+ replace Q_WS_X11 with Q_OS_LINUX
+ replace Q_WS_MACX with Q_OS_MACX
+ set explicit cast to HWND
2016-12-12 14:09:21 +01:00
wmayer
546656867b fix FemMesh::copyMeshData 2016-12-12 12:43:05 +01:00
Markus Lampert
c7761d4a4f New version of gneric_post.py from chrisb. 2016-12-11 16:43:54 -08:00
Markus Lampert
8f0549e965 Switched to std::to_string, MSVC doesn't support snprintf. 2016-12-11 15:33:57 -08:00
Markus Lampert
d43a6e6cef Added missing include directive. 2016-12-11 15:33:57 -08:00
Markus Lampert
d32b92d00d Fixed contour naming;
only touch dependent TC objects if the tool number changed;
changed formatting of intermediate path representation to be valid g-code and not use exponents.
2016-12-11 15:33:56 -08:00
sliptonic
23a2ee6927 PATH: fix cmake resort 2016-12-11 14:11:47 -06:00
sliptonic
54242963df Merge branch 'feature/probemoves' into BugFixes 2016-12-11 12:49:42 -06:00
sliptonic
4d2b97b521 Revert "PATH: Prevent Job creation without Base object."
This reverts commit 4c66748ade.
2016-12-11 12:48:35 -06:00
sliptonic
fe291607a4 PATH: More reasonble defaults for new tools 2016-12-11 12:47:56 -06:00
sliptonic
68d3e18ab4 PATH: Drilling: allow selection of partial circular edges 2016-12-11 12:47:56 -06:00
sliptonic
4c66748ade PATH: Prevent Job creation without Base object.
PathMillFace won't add a base if it isn't known to the parent
2016-12-11 12:47:56 -06:00
sliptonic
bafbd27632 PATH: Default values for start/end depths improved 2016-12-11 12:47:56 -06:00
sliptonic
6a447d6d46 PATH: improved stepdown calculation and test 2016-12-11 12:47:56 -06:00
sliptonic
84b3617c97 PATH: Delete misplaced and unused files 2016-12-11 12:47:56 -06:00
sliptonic
7cd375073a PATH: Highlighting in Inspect 2016-12-11 12:43:10 -06:00
Stefan Tröger
9bb3193395 Draft: Fix clone of art object 2016-12-11 19:27:35 +01:00
Stefan Tröger
16787bf1a1 PartDesign: Adopt test to new primitive behavior 2016-12-11 19:27:35 +01:00
Stefan Tröger
cd1c753fa2 Extensions: Implement persistence 2016-12-11 19:27:35 +01:00
Yorik van Havre
207432c0bd Arch: Fixed placement of precest structures 2016-12-11 13:48:07 -02:00
Yorik van Havre
223dd70b99 Arch: Small fix in section plane's Drawing view object 2016-12-10 11:23:04 -02:00
wmayer
0ff231c0d4 temporarily disable failing unit test 2016-12-10 12:31:16 +01:00
wmayer
c770d747ff re-implement FemMesh::copyMeshData based on export&import of unv file 2016-12-09 21:08:44 +01:00
WandererFan
bb081266b7 Add Diameter Symbol preference for fonts without glyph 2016-12-08 14:51:10 -05:00
WandererFan
5b630c0e36 Fix error in Angle Dimension arc 2016-12-08 14:51:10 -05:00
WandererFan
867c6e1341 Remove old debug message 2016-12-08 14:51:10 -05:00
sliptonic
8df5eb8c78 PATH: Simple command to build a probe grid. 2016-12-08 10:26:58 -06:00
wmayer
14e3221374 PartGui: set export macro to fix linking errors in PartDesignGui 2016-12-08 10:33:47 +01:00
Stefan Tröger
6356636b04 PartDesign: Fix crash on datum abort 2016-12-08 08:17:31 +01:00
sliptonic
7d1a58e593 PATH: Add support to visualize probe moves
G38.2/3/4/5
2016-12-07 19:24:54 -06:00
Stefan Tröger
aeea77ab26 PartDesign: Reduce needed primitive task box space 2016-12-07 18:53:01 +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
bc133e4de2 PartDesign: Primitives are attachable directly
With the recently introduced AttachExtension the PartDesign primitives can be attachable by themself and don't need anymore the helping coordinate system datum. This simplyfies the code and the TreeView largely
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
Markus Lampert
26e1a24060 Fix for Path visualisatin of helixes. 2016-12-06 20:08:18 -02:00
Alex Gryson
fc4ed238b5 Use Boolean Diff instead of Mask 2016-12-06 19:52:04 +01:00
Alexander Gryson
5e0357b31e Use QToolButton for Draft Snap, not QPushButton 2016-12-05 23:42:33 -02:00
Alex Gryson
be96a53b95 Merge branch 'master' into start-icon 2016-12-05 17:08:53 +01:00
wwmayer
d26b0fa5d3 Merge pull request #365 from danielfalck/pppathfix
fix for not being able to use the post code icon
2016-12-05 09:20:54 +01:00
Dan Falck
2e44b6c41b fix for not being able to use the post code icon 2016-12-04 12:45:27 -08:00
wmayer
7a32aed27e run test for extensions in view provider only in Gui mode 2016-12-04 20:53:30 +01:00
Stefan Tröger
831c69e7eb Extensions: Fix ViewProvider extension test 2016-12-04 19:58:46 +01:00
Stefan Tröger
19e708879f Extensions: Fix ViewProvider python interface 2016-12-04 17:35:00 +01:00
wmayer
6cde253f67 fix warnings 2016-12-04 17:04:48 +01:00
Alexander Gryson
3815256be7 update start page mesh icon to match workbench icon 2016-12-04 16:27:37 +01:00
WandererFan
b845bc7e41 Fix DrawViewDetail behaviour near object edge 2016-12-04 15:27:26 +01:00
WandererFan
0ad0b58ab3 Use current font size preference for Label and Caption 2016-12-04 15:27:07 +01:00
WandererFan
065156eed5 Prevent crash when no document open 2016-12-04 15:26:54 +01:00
WandererFan
83ce64a1d3 Remove spurious messages 2016-12-04 15:26:43 +01:00
WandererFan
fa738e3dc0 Fix crash on deleting page 2016-12-04 15:26:31 +01:00
WandererFan
f036438e53 Consolidate Section logic in DrawViewSection 2016-12-04 15:26:16 +01:00
WandererFan
edab34c6ac Remove old decorative items from scene before redraw 2016-12-04 15:26:01 +01:00
WandererFan
429eb0f727 DPG improvements
eliminate orientation matrix
remove appl logic from dialog
add 3D/Front buttons
2016-12-04 15:25:47 +01:00
WandererFan
707681534a Improve ProjectionGroup dialog
Text to icons in dialog
Fix rotation directions
2016-12-04 15:25:32 +01:00
Alex Gryson
7c905e6afd Add metadata
Notes:
* Used earliest available commit as creator (only means I had available)
* License information could not be saved for an unknown reason, added
  this info to the Rights field
2016-12-04 14:25:26 +01:00
Alex Gryson
75a52aab63 fix permissions 2016-12-04 14:25:12 +01:00
Alexander Gryson
54623931f8 finish aligning mesh bench icons to Tango 2016-12-04 14:24:59 +01:00
Alexander Gryson
345057e29c Update dimensions to 64*64 as per guidelines
This icon was incorrectly sized to 32*32 - depending on how the icons are exported this may have an impact on the UI
2016-12-04 14:24:40 +01:00
Alex Gryson
58ba907055 update mesh icons to Tango 2016-12-04 14:24:27 +01:00
Alex Gryson
95e9768bc8 Mesh workbench icons updated 2016-12-04 14:24:13 +01:00
Alex Gryson
5b37ef0f54 Align icons to Tango style 2016-12-04 14:23:57 +01:00
Alexander Gryson
f83fc072e6 icon updates (mesh) 2016-12-04 14:23:42 +01:00
Alexander Gryson
bb7310723e Update import/export to have more 'meshy' look 2016-12-04 14:23:30 +01:00
Alexander Gryson
3d934f5ee9 update mesh cut icon 2016-12-04 14:23:08 +01:00
Alexander Gryson
688d89d10b initial commit to test build 2016-12-04 14:22:49 +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
Yorik van Havre
d76df0ac94 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2016-12-03 13:01:07 -02:00
Yorik van Havre
365ebf9a81 Draft: Applied Werners patch 2016-12-03 13:00:56 -02:00
wwmayer
c70d6f84f5 Merge pull request #362 from mlampert/Line2LineSegment
Path: Fix Path creation for new Line/LineSegment semantics.
2016-12-03 15:55:06 +01:00
Yorik van Havre
8fc41bd9dd Arch: minor cosmetic changes in Draft & Arch preferences pages 2016-12-03 12:50:18 -02: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
Markus Lampert
9ef90366a5 Fixed Path creation with new Line/LineSegment semantics. 2016-12-03 02:00:11 -08:00
Markus Lampert
e597771c5f Fixed SoBrepEdgeSet error (thanks to wmayer). 2016-12-02 12:35:00 -08:00
wwmayer
9864684f1c Merge pull request #359 from mlampert/Line2LineSegment
Path: Changed Part.Line to Part.LineSegment
2016-12-02 17:51:37 +01:00
Sergo
261bc46738 fix #0002662 - crash when create ShapeBinder with origin selected 2016-12-02 17:21:32 +01:00
wmayer
2313b05db5 fix encoding issue in constraint text 2016-12-02 17:04:57 +01:00
Yorik van Havre
63aa773078 Draft: fixes related to LineSegment + more powerful draft2sketch conversion 2016-12-02 11:06:31 -02:00
Markus Lampert
0a1a0b8abc More Line to LineSegment conversions. 2016-12-02 04:42:22 -08:00
Markus Lampert
26263c4bd1 Changed Part.Line to Part.LineSegment 2016-12-02 04:24:52 -08:00
Yorik van Havre
810663025f Merge branch 'master' of github.com:FreeCAD/FreeCAD 2016-12-02 09:58:57 -02:00
Yorik van Havre
0d18531d73 Draft: fixed bug when loading VisGroup from existing doc 2016-12-02 09:58:40 -02: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
Yorik van Havre
fcd0465d8f Draft: Minor bugfixes in wire flattening code 2016-12-01 14:42:51 -02: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
Yorik van Havre
43aae3db37 Arch: fixed makePipe to return the pipe 2016-11-29 11:41:10 -02:00
Markus Lampert
ad3e3166f5 Some cleanup. 2016-11-29 01:31:12 -08:00
Markus Lampert
0807eaf597 Added wire(s)ForPath functions with test. 2016-11-28 15:52:17 -08:00
Markus Lampert
fbc75d9797 Split out PathGeom and created test cases for it. 2016-11-28 15:11:24 -08:00
Markus Lampert
fcc187880e Enhance makeHelix to also support helixes that spiral downwards. 2016-11-28 15:10:25 -08:00
Stefan Tröger
ddc9d9cf5d Extensions: "hasExtension" for python types -fix 0002785 2016-11-28 22:15:09 +01:00
Stefan Tröger
8bf5f03671 PartDesign: Fix crash on pattern abort 2016-11-28 22:13:41 +01:00
Stefan Tröger
bb1ac8bfc6 PartDesign: Fix origin selection for pattern 2016-11-28 22:13:41 +01:00
wwmayer
1f6ed81624 Merge pull request #353 from berndhahnebach/bhbdev058
FEM: GMSH tool
2016-11-28 18:04:20 +01:00
Bernd Hahnebach
9154825889 FEM: gmsh mesh tool, add different mesh element size for Shape elements 2016-11-28 01:18:08 +01:00
Bernd Hahnebach
ddef153ef1 FEM: gmsh mesh tool, fix endless loop in task panel 2016-11-28 01:17:58 +01:00
Bernd Hahnebach
cb14a50aec FEM: gmsh mesh tool, add some more properties to adjust gmsh mesh 2016-11-28 01:17:54 +01:00
Bernd Hahnebach
f9bc29fbc5 FEM: gmsh mesh tool, use gmsh names for properties 2016-11-28 01:17:50 +01:00
Bernd Hahnebach
299d3d1206 FEM: icons, rename some icons to better fit in FEM name scheme 2016-11-28 01:17:45 +01:00
Bernd Hahnebach
37db5ab428 FEM: solver Z88, fix in object attributes 2016-11-28 01:17:36 +01:00
wmayer
b503d55299 port hyperbola branch to new tools classes 2016-11-27 22:43:58 +01:00
Abdullah Tahiri
bc728c217b Sketcher: Fixing compilation warnings 2016-11-27 18:45:33 +01:00
Abdullah Tahiri
22457c41dd Sketcher: Hyperbola construction endpoints autoconstraints
==========================================================

Support for coincident autoconstraint for endpoints
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
a879296ca7 Sketcher: Minor fix - hyperbolic arc icon reference 2016-11-27 18:45:33 +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
Abdullah Tahiri
8bba2427c3 Sketcher: Hyperbola added supported type
========================================

Allows to restore a saved hyperbola in a sketch.
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
1c77657354 Sketch: Hyperbola tangency to line
==================================

As a way to lock a line to hyperbola tangency to a branch has not been identified, this tangency is implemented
by adding a point at the tangency point in order to avoid the jumping.
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
73930c4294 Sketcher: Hyperbola perpendicularity constraint
=================================================

Line perpendicular to hyperbola using via point constraint.
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
50ab33aeb4 Sketcher: Hyperbola Tangency to Curves
======================================

Implementation of the Tangency via point for all curves to Hyperbola (no line to Hyperbola yet).
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
14a2437b72 Sketcher: Hyperbola element widget support
==========================================

Support added to the Element widgets for hyperbola
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
26bef1d2c8 Sketcher Hyperbola Icons
========================

Slightly modified icons based on Jim's original proposal (with the center instead of the focus point):

http://forum.freecadweb.org/viewtopic.php?f=10&t=8038&hilit=hyperbola#p66129
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
cdb14deb99 Sketcher Hyperbola: Creation method autoconstraints
Correction of center and curve on major axis position.

Still to fix the endpoints (determination of CCW or CW drawn curve)
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
3a33fc292e Sketcher hyperbola creation fix
removing line to origin during creation
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
96ae5272db Sketcher Hyperbola: Creation Method improvements
- Avoid unnecessary recomputes
- Create as construction
- Continuous mode creation
2016-11-27 18:45:33 +01:00
DeepSOIC
95043e58ea Sketcher: Hyperbola: fix minor diameter ends swapping
Quick and dirty, but seems to work.
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
4e2d672e13 fix partials 2016-11-27 18:45:33 +01:00
Abdullah Tahiri
6c612b270a fix in minor axis Expose Internal Geometry for hyperbola 2016-11-27 18:45:33 +01:00
Abdullah Tahiri
b6c1e15493 Hyperbola InternalAlignment
Focus is working.
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
fb12cb83fc Solver InternalAlignment: Change to diameters instead of radii to be able to draw asymptotes
GCS and Sketch.cpp support
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
4fce95a7da Hyperbola: InternalAlignment solver constraints 2016-11-27 18:45:33 +01:00
DeepSOIC
df820bef59 Sketcher: solver: transplant all arc kinds to use CurveValue constraint
arc and arc of ellipse
2016-11-27 18:45:33 +01:00
DeepSOIC
2d0ad5ac11 Sketcher: solver: implement Value for all other curves
for line, circle, and ellipse.
Compiles, but untested.
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
DeepSOIC
180e01bcfc Sketcher: Hyperbola: fix major radius formula 2016-11-27 18:45:33 +01:00
DeepSOIC
6fce841404 Sketcher: Hyperbola: fix crash when drawing a new one 2016-11-27 18:45:33 +01:00
DeepSOIC
c1da7d6125 Sketcher: solver: Value constraint
(morphed from hyperbola arc range constraint)
(compiles, but untested)
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
3c6ac70577 Conflict resolution 2016-11-27 18:45:33 +01:00
Abdullah Tahiri
4f6374eef6 Hyperbola UI equality constraint representation fixed 2016-11-27 18:45:33 +01:00
Abdullah Tahiri
5556228d07 Hyperbola solver equality constraint
The Ellipse radii solver constraint was reused generalised to MajorAxisConic class.

UI representation of the Equality sign not yet handled (appears on the origin).
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
8de37eb193 Hyperbola: Support for moving the center of the hyperbola 2016-11-27 18:45:33 +01:00
Abdullah Tahiri
0cf0f5cc6e Hyperbola PointOnObject UI Constraint
You can add a point to be on the hyperbola and it will lock to it.

The endpoints of the hyperbola go crazy because of the

HyperbolicArcRangeToEndPoints code that is the one of Ellipse <= Awaiting DeepSOIC help ;)
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
Abdullah Tahiri
590e3fbec6 Sketcher: New Feature: Hyperbola/ArcOfHyperbola
===============================================

- ArcOfHyperbola creation method
- Solver representation (undefined moving)
- SketchObjectPyImp (here we still miss the Part->Partdesign conversion)
- Sketch validation for hyperbola
- Hyperbola creation method: shows the "proof of concept", but it is very buggy!!

Notes:
- Missing icons, probably missing geo normal curve implementation - rebasing -
- Fixes to adapt Hyperbola to Derivector implementation and make it compile
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
wwmayer
9bc714fd50 Merge pull request #350 from berndhahnebach/bhbdev057
New tool to onvert surface of FEMMeshes to a Mesh
2016-11-26 15:48:52 +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