Commit Graph

239 Commits

Author SHA1 Message Date
Abdullah Tahiri
7bee2c5412 Sketcher: Visualization of horizontal alignment constraint 2017-05-01 23:35:13 +02:00
wmayer
d679bba659 Revert "Sketcher: Constraint Node restructuring to enable independent hidding of driving/driven constraints"
This reverts commit 5b2e2b3d2f.
2017-05-01 16:17:20 +02:00
wmayer
7628f2bbb6 Revert "Sketcher: Edit Controls' checkboxes to independently hide/show driving/non-driving constraints"
This reverts commit 03a9d58db6.
2017-05-01 16:16:49 +02:00
wmayer
d25d7a2be2 Revert "Sketcher: hidding constraints - fix entry into empty sketch"
This reverts commit e94a86dd70.
2017-05-01 16:16:13 +02:00
Abdullah Tahiri
e94a86dd70 Sketcher: hidding constraints - fix entry into empty sketch 2017-04-30 10:06:15 +02:00
Abdullah Tahiri
03a9d58db6 Sketcher: Edit Controls' checkboxes to independently hide/show driving/non-driving constraints 2017-04-30 10:06:15 +02:00
Abdullah Tahiri
5b2e2b3d2f Sketcher: Constraint Node restructuring to enable independent hidding of driving/driven constraints 2017-04-30 10:06:15 +02:00
Abdullah Tahiri
c57e594ad7 Sketcher: On reference constraint double click, change it to driving and enter edit mode 2017-04-22 18:16:27 +02:00
Peter Lama
a75a98ef27 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
ad112ca8ab Sketcher: Remove unused variable 2017-04-17 20:53:12 +02:00
Abdullah Tahiri
937c6179e2 Sketcher: Rendering order widget 2017-04-17 20:53:12 +02:00
wmayer
292fdebe49 fix scan coverity issues: unchecked dynamic_cast 2017-04-11 12:45:02 +02:00
Abdullah Tahiri
3b50a786f3 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
418beea589 Sketcher: Only Reference constraints allowable on construction points like bspline knots 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
56ab9d8cb9 Sketcher: Curvature comb general representation scale fix 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
9ecb24c94b Sketcher: Bspline knot multiplicity geometry information layer 2017-04-08 12:58:06 +02:00
wwmayer
09510f0014 Merge pull request #583 from triplus/Font-size
Configurable coordinate info font size in Sketcher
2017-03-03 22:25:56 +01:00
triplus
288239c443 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
99c99006b8 source typo fixes pt4 (only on py3 merged code) 2017-03-02 13:47:21 +01:00
Abdullah Tahiri
4fe4792f4d Sketcher: Fix zero curvature normal exception 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
90bec55660 Sketcher: Automatic calculation of divisions for comb 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
fcc08656d3 Sketcher: Bspline comb - change representation to be convex 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
d92b3fcc07 Sketcher: Settings - Allow to set the number of segments per geometry 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
99dee8ab36 Sketcher: Switch of comb geometry information 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
e3487368d7 Sketcher: Comb appropriate scaling for closed and periodic BSplines 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
feb29bd630 Sketcher: BSpline curvature comb 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
2a4f24695a Sketcher: Information Layer show/hide node support 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
9e6beb1a01 Sketcher: Information layer scenography update on geometry change 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
4cffdfe183 Sketcher: Geometry Information layer for BSplines 2017-02-21 13:24:10 +01:00
wmayer
0955ccf594 fix whitespaces 2017-01-20 19:22:50 +01:00
abdullahtahiriyo
3f0c9d7bc3 Merge branch 'master' into bspline_2017 2017-01-18 22:48:27 +01:00
Abdullah Tahiri
c1decd3bb4 Sketcher: Enable relative movement of BSpline edge 2017-01-15 22:21:18 +01:00
Abdullah Tahiri
9bf1e8f4f4 Sketcher: BSpline box selection 2017-01-14 19:33:40 +01:00
wmayer
0e65256f3f issue #0000466: Sketcher: allow moving the dimension datums in two directions 2017-01-09 13:17:27 +01:00
Abdullah Tahiri
cb687b8e74 Sketcher: ViewProvider BSpline Representation 2017-01-06 00:08:30 +01:00
wwmayer
309d46137e Merge pull request #401 from abdullahtahiriyo/parabola_2017
Parabola 2017
2016-12-28 13:48:13 +01:00
Abdullah Tahiri
f03a8adb73 Sketcher: Equality symbol representation 2016-12-24 02:39:51 +01:00
Abdullah Tahiri
b2bca80796 Sketcher: Parabola box selection sign fix 2016-12-19 23:21:02 +01:00
Abdullah Tahiri
d42033191d Sketcher: ViewProvider Parabola Representation 2016-12-19 00:10:59 +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
2313b05db5 fix encoding issue in constraint text 2016-12-02 17:04:57 +01:00
wmayer
b503d55299 port hyperbola branch to new tools classes 2016-11-27 22:43:58 +01:00
Abdullah Tahiri
4f6374eef6 Hyperbola UI equality constraint representation fixed 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
e54e9515fc rename 2d tool classes to be consistent with 3d classes 2016-11-21 14:29:51 +01:00
wmayer
222e9b6b46 replace hard coded numbers with static constants 2016-10-23 13:44:26 +02:00
wmayer
15d7ae5e2c fix -Wextra in Sketcher 2016-09-22 18:34:35 +02:00
wmayer
f44df3cdf0 do not use doCommand without using format string, add overloaded method of runCommand 2016-09-15 18:53:37 +02:00