Commit Graph

240 Commits

Author SHA1 Message Date
wmayer
22473ae4a8 fix creation of NaN that invalidates the view frustum 2017-05-12 08:05:12 +02:00
Abdullah Tahiri
d8d086b2f2 Sketcher: Visualization of horizontal alignment constraint 2017-05-01 23:35:13 +02:00
wmayer
77d6448da3 Revert "Sketcher: Constraint Node restructuring to enable independent hidding of driving/driven constraints"
This reverts commit aa9255509b9e89b10d8fe21d8d5daa2be7eb5bfb.
2017-05-01 16:17:20 +02:00
wmayer
2cb39de755 Revert "Sketcher: Edit Controls' checkboxes to independently hide/show driving/non-driving constraints"
This reverts commit cfd217071bbe83a44b3601b3df294924a9f3dc8d.
2017-05-01 16:16:49 +02:00
wmayer
57cfa6d836 Revert "Sketcher: hidding constraints - fix entry into empty sketch"
This reverts commit 38eef417110eed51073ad42a5ffa993cc90ab0ef.
2017-05-01 16:16:13 +02:00
Abdullah Tahiri
6595d5564f Sketcher: hidding constraints - fix entry into empty sketch 2017-04-30 10:06:15 +02:00
Abdullah Tahiri
a76286aa27 Sketcher: Edit Controls' checkboxes to independently hide/show driving/non-driving constraints 2017-04-30 10:06:15 +02:00
Abdullah Tahiri
c9fbe9cc6a Sketcher: Constraint Node restructuring to enable independent hidding of driving/driven constraints 2017-04-30 10:06:15 +02:00
Abdullah Tahiri
72a3ddb2b4 Sketcher: On reference constraint double click, change it to driving and enter edit mode 2017-04-22 18:16:27 +02:00
Peter Lama
fa4bebf2e0 Use OCCT Handle macro for Handle_ classes
This is the result of running OCCT's upgrade script provided
with OCCT 7.0. See
https://www.opencascade.com/content/freecad-occt710-and-windows-rtti-data-missing#comment-form
and
https://www.forum.freecadweb.org/viewtopic.php?f=4&t=21405&start=120#p169019
for why this is necessary for OCCT >= 7.1
2017-04-20 12:27:34 +02:00
Abdullah Tahiri
63f77dec59 Sketcher: Remove unused variable 2017-04-17 20:53:12 +02:00
Abdullah Tahiri
daa70d7ada Sketcher: Rendering order widget 2017-04-17 20:53:12 +02:00
wmayer
ca343c43ab fix scan coverity issues: unchecked dynamic_cast 2017-04-11 12:45:02 +02:00
Abdullah Tahiri
fd7ec2f42e BSpline: Comb representation factor with hystheresis to avoid continuous comb variations on geometrically independent geometry 2017-04-10 18:55:23 +02:00
Abdullah Tahiri
5e65fa4319 Sketcher: Only Reference constraints allowable on construction points like bspline knots 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
6a451abb8b Sketcher: Curvature comb general representation scale fix 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
e9c508f467 Sketcher: Bspline knot multiplicity geometry information layer 2017-04-08 12:58:06 +02:00
wwmayer
94b6efde50 Merge pull request #583 from triplus/Font-size
Configurable coordinate info font size in Sketcher
2017-03-03 22:25:56 +01:00
triplus
67303633bf Configurable coordinate info font size in Sketcher
Useful on HiDPI displays and occasionally requested feature on the forum.
2017-03-03 19:27:10 +01:00
Kunda
9410e751e9 source typo fixes pt4 (only on py3 merged code) 2017-03-02 13:47:21 +01:00
Abdullah Tahiri
38f95844d6 Sketcher: Fix zero curvature normal exception 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
58594866f7 Sketcher: Automatic calculation of divisions for comb 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
9a66d39a99 Sketcher: Bspline comb - change representation to be convex 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
02b0351e03 Sketcher: Settings - Allow to set the number of segments per geometry 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
860ed622eb Sketcher: Switch of comb geometry information 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
0f153b6ec7 Sketcher: Comb appropriate scaling for closed and periodic BSplines 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
00b21b644f Sketcher: BSpline curvature comb 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
fbe539479a Sketcher: Information Layer show/hide node support 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
b714d50017 Sketcher: Information layer scenography update on geometry change 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
bc95c69bce Sketcher: Geometry Information layer for BSplines 2017-02-21 13:24:10 +01:00
wmayer
d065c2fe5b fix whitespaces 2017-01-20 19:22:50 +01:00
abdullahtahiriyo
8d9af6f203 Merge branch 'master' into bspline_2017 2017-01-18 22:48:27 +01:00
Abdullah Tahiri
43e40f12df Sketcher: Enable relative movement of BSpline edge 2017-01-15 22:21:18 +01:00
Abdullah Tahiri
00173a0a35 Sketcher: BSpline box selection 2017-01-14 19:33:40 +01:00
wmayer
aeb24e2288 issue #0000466: Sketcher: allow moving the dimension datums in two directions 2017-01-09 13:17:27 +01:00
Abdullah Tahiri
6a1d30d350 Sketcher: ViewProvider BSpline Representation 2017-01-06 00:08:30 +01:00
wwmayer
52a65710f8 Merge pull request #401 from abdullahtahiriyo/parabola_2017
Parabola 2017
2016-12-28 13:48:13 +01:00
Abdullah Tahiri
e2bf5532d7 Sketcher: Equality symbol representation 2016-12-24 02:39:51 +01:00
Abdullah Tahiri
e171f037d1 Sketcher: Parabola box selection sign fix 2016-12-19 23:21:02 +01:00
Abdullah Tahiri
892451a959 Sketcher: ViewProvider Parabola Representation 2016-12-19 00:10:59 +01:00
wmayer
73cf6ea526 fix CID 129530 2016-12-18 12:33:43 +01:00
wmayer
90b9ba81cf fix CIDs 154877, 154878, 154879, 154880, 154881, 154882, 154885 2016-12-18 12:15:26 +01:00
wmayer
18d92b0dff fix encoding issue in constraint text 2016-12-02 17:04:57 +01:00
wmayer
3aedca451d port hyperbola branch to new tools classes 2016-11-27 22:43:58 +01:00
Abdullah Tahiri
cdbaa3a693 Hyperbola UI equality constraint representation fixed 2016-11-27 18:45:33 +01:00
Abdullah Tahiri
cb5981fceb 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
e928e418ec 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
2d8e70085e rename 2d tool classes to be consistent with 3d classes 2016-11-21 14:29:51 +01:00
wmayer
b1904dfd28 replace hard coded numbers with static constants 2016-10-23 13:44:26 +02:00
wmayer
c06b6f081f fix -Wextra in Sketcher 2016-09-22 18:34:35 +02:00