Commit Graph

9286 Commits

Author SHA1 Message Date
Abdullah Tahiri
9d65cc5672 Sketcher: Copy/Clone and Array support for Arcs of Parabola and Hyperbola 2016-12-26 23:23:34 +01:00
Abdullah Tahiri
ebfbe29d2f Sketcher: Restore internal geometry tool refactoring and extended support
=========================================================================

- Long felt need of refactoring the code so as not to repeat code already existing in SketchObject.
- Refactored code supports preexisting Ellipse and Arc of Ellipse and adds support for Arcs of Hyperbola and Parabola.
2016-12-26 22:54:47 +01:00
Abdullah Tahiri
1a535e5f4e Sketcher: Arc Of Parabola - Delete unused internal geometry on deletion 2016-12-26 22:06:40 +01:00
Abdullah Tahiri
ecc8ba57ac Sketcher: Arc Of Hyperbola - Delete unused internal geometry on deletion 2016-12-26 19:42:57 +01:00
Abdullah Tahiri
359d9dbc1d Sketcher: fix compilation warnings 2016-12-26 19:19:10 +01:00
Abdullah Tahiri
f9eec60b1c Sketcher: Parabola fix loading from file 2016-12-24 22:15:41 +01:00
Abdullah Tahiri
00210c684a Sketcher: Parabola fix y axis in parabola rules constraint 2016-12-24 19:23:53 +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
Abdullah Tahiri
9e7d86f1b8 Sketcher: Parabola perpendicularity constraint 2016-12-24 15:24:36 +01:00
Abdullah Tahiri
d8b38032cf Sketcher: Parabola tangency support
===================================

Support for tangency with any preexisting supported geometry using angle via point.
2016-12-24 15:02:52 +01:00
Abdullah Tahiri
01ba29ed33 Sketcher: Parabola Element Widget support 2016-12-24 04:08:53 +01:00
Abdullah Tahiri
452394a154 Sketcher: Parabola icons
========================

Slightly modified icons based on Jim's original proposal:

http://forum.freecadweb.org/viewtopic.php?f=10&t=8038&hilit=hyperbola#p66129

N.B. Yes Jim, it took me slightly two years to use your 2014 icons...beter late than sorry :)
2016-12-24 04:08:42 +01:00
Abdullah Tahiri
b6919f8627 Sketcher: Parabola creation method autoconstraints 2016-12-24 03:10:44 +01:00
Abdullah Tahiri
f03a8adb73 Sketcher: Equality symbol representation 2016-12-24 02:39:51 +01:00
Abdullah Tahiri
5c9cc6221b Sketcher: Parabola solver equality constraint 2016-12-24 02:39:02 +01:00
Abdullah Tahiri
0d93c45d70 Sketcher: Point on Object solver constraint 2016-12-24 01:14:15 +01:00
Abdullah Tahiri
5f36072434 Sketcher: Parabola Skech geometry update fix 2016-12-22 16:10:53 +01:00
Abdullah Tahiri
9858368b65 Sketcher: Parabola Expose Internal Geometry
==========================================

Also automatically on creation
2016-12-22 16:10:52 +01:00
Abdullah Tahiri
3e76189f19 Sketcher: Focus solver internal geometry 2016-12-22 16:10:52 +01:00
Abdullah Tahiri
61fe4bcaee Sketcher: Parabola Arc rules solver constraint 2016-12-22 16:10:33 +01:00
Abdullah Tahiri
b2bca80796 Sketcher: Parabola box selection sign fix 2016-12-19 23:21:02 +01:00
Abdullah Tahiri
6f6cc6d961 Sketcher: Parabola Creation Command
===================================

With exception of exposure of internal geometry.
2016-12-19 22:58:20 +01:00
Abdullah Tahiri
0ef1ce9261 Part: Parabola Python Creation from Focus, Center and Normal Vector 2016-12-19 17:35:39 +01:00
Abdullah Tahiri
d42033191d Sketcher: ViewProvider Parabola Representation 2016-12-19 00:10:59 +01:00
Abdullah Tahiri
d600bfa83b Sketcher: Validation of Parabola 2016-12-18 19:29:38 +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
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
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
a3af2902ef Spreadsheet: Save numbers with one more digit. 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
wwmayer
089bb79674 Merge pull request #380 from eivindkv/DepGraphFix_20161213
Document: Added label to duplicate edges in dependency graph output.
2016-12-15 17:24:15 +01:00
wmayer
9a1fadd23e add unit test for group extension 2016-12-15 16:26:32 +01:00
blobfish
8ccbff951b Gui: DAGView: adding check for App::DocumentObject 2016-12-15 13:50:03 +01:00
wmayer
92db556a3e do not use Qt4 macros for Qt5 version of fc_wrap_cpp 2016-12-15 13:33:33 +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
b885c30021 Merge pull request #379 from f3nix/deprecated_auto_ptr
Do not use std::auto_ptr which has been deprecated as of C++11.
2016-12-14 09:38:51 +01:00
wwmayer
e5c6bf5bbd Merge pull request #378 from wwmayer/qt5_port
Qt5 port
2016-12-14 09:37:35 +01:00
Mateusz Skowroński
51b6fc3d8b Do not use std::auto_ptr which has been deprecated as of C++11. Use std::unique_ptr instead. 2016-12-13 19:56:57 +01:00