Abdullah Tahiri
73d817281a
Sketcher: UI Block constraint creation sanity checks
...
====================================================
Avoid creation of constraints if they would lead to undesirable conflicting situations.
2018-01-22 22:52:56 +01:00
Abdullah Tahiri
74043d5063
Sketcher: Block constraint - Prevent from adding constraint if the solver has redundant/conflicting constraints
2018-01-22 22:52:56 +01:00
Abdullah Tahiri
08d23cf951
Sketcher: Blocked Constraint toolbar commands
2018-01-22 22:52:56 +01:00
luzpaz
4eb5a431fa
Sketcher: comment typos
2017-12-25 10:59:48 +01:00
Abdullah Tahiri
5e6e289d69
Sketcher: Fixes no horizontal/vertical on edge if previous horizontal/vert aligment on vertex
...
=============================================================================================
fixes #3257
2017-12-07 11:11:40 +01:00
Abdullah Tahiri
58210251ca
Refactoring solve+recompute and reinstating initial solve+recompute behaviour
2017-08-19 17:14:27 +02:00
wmayer
5661d91371
fixes #0002710 : Freecad doesn't show sketch elements added when overconstrained
...
issue #0002836 : Crash in sketcher
2017-08-19 17:14:27 +02:00
luzpaz
bcda03b1da
Sketcher: typo fix
2017-07-24 18:21:17 -03:00
Abdullah Tahiri
af831520a3
Sketcher: Vertical alignment constraint command
2017-05-01 22:39:37 +02:00
Abdullah Tahiri
0848603051
Sketcher: Horizontal alignment constraint command
2017-05-01 22:39:08 +02:00
Abdullah Tahiri
a9322ee73f
Sketcher: Lock constraint bug fix
2017-04-22 18:16:27 +02:00
Abdullah Tahiri
eeeff1e1d2
Sketcher: Lock constraint relative mode and group locking
2017-04-22 18:16:27 +02:00
wmayer
8195b10fc6
consistently use term 'B-spline' in the sketcher GUI
2017-04-12 09:37:58 +02:00
wmayer
ba9ffed16b
fix scan coverity issues
2017-04-11 15:06:37 +02:00
Abdullah Tahiri
03d242e202
Sketcher: New function to reuse of python exception message text in the UI
2017-04-10 08:57:25 +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
6f46ce747b
Sketcher: Enable reuse of constraint helper functions in other toolbars
...
=======================================================================
bool checkBothExternal(int GeoId1, int GeoId2);
void getIdsFromName(const std::string &name, const Sketcher::SketchObject* Obj, int &GeoId, Sketcher::PointPos &PosId);
bool inline isVertex(int GeoId, Sketcher::PointPos PosId);
bool inline isEdge(int GeoId, Sketcher::PointPos PosId);
bool isSimpleVertex(const Sketcher::SketchObject* Obj, int GeoId, Sketcher::PointPos PosId);
bool IsPointAlreadyOnCurve(int GeoIdCurve, int GeoIdPoint, Sketcher::PointPos PosIdPoint, Sketcher::SketchObject* Obj);
2017-04-08 12:58:06 +02:00
wmayer
74f7d9fd65
set continuous constraint mode consistently to true by default
2017-02-24 16:30:13 +01:00
wmayer
d6b8609c63
add missing word, fix layout
2017-02-24 16:24:24 +01:00
AjinkyaDahale
f5fc2b2bce
Sketcher: costraint creation mode uses toolbar icons
2017-02-24 15:20:26 +01:00
AjinkyaDahale
286e71074a
Sketcher: Added option to turn constraint creation modes on/off
...
Can be found below geometry creation "continous mode" option
2017-02-24 15:20:26 +01:00
AjinkyaDahale
10d9a6ec05
Sketcher: External edges in constraint modes (Symmetry)
2017-02-24 15:20:26 +01:00
AjinkyaDahale
0d96f0ca97
Sketcher: External edges in constraint modes (Angle)
2017-02-24 15:20:26 +01:00
AjinkyaDahale
9feaf8340f
Sketcher: External edges in constraint modes (Equal)
2017-02-24 15:20:26 +01:00
AjinkyaDahale
f94ed49150
Sketcher: External edges in constraint modes (radius)
2017-02-24 15:20:26 +01:00
AjinkyaDahale
ca00469460
Sketcher: External edges in constraint modes (tangent)
2017-02-24 15:20:26 +01:00
AjinkyaDahale
f9857f0427
Sketcher: External edges in constraint modes (perpendicular)
2017-02-24 15:20:26 +01:00
AjinkyaDahale
4dfde986cf
Sketcher: External edges in constraint modes (parallel)
2017-02-24 15:20:26 +01:00
AjinkyaDahale
e8c4c4d6fc
Sketcher: External edges in constraint modes (DistanceX/Y)
2017-02-24 15:20:26 +01:00
AjinkyaDahale
350094a000
Sketcher: External edges in constraint modes (point on object)
2017-02-24 15:20:26 +01:00
AjinkyaDahale
e580727c1f
Sketcher: External edges in constraint modes (distance)
2017-02-24 15:20:26 +01:00
AjinkyaDahale
f1dd824e78
[Sketcher] Moved angle to constraint creation mode
...
plus some cosmetic changes
2017-02-24 15:20:26 +01:00
Abdullah Tahiri
b714d50017
Sketcher: Information layer scenography update on geometry change
2017-02-21 13:24:10 +01:00
AjinkyaDahale
21535ec532
[Sketcher] Moved radius to constraint mode framework
2017-02-10 17:32:18 +01:00
AjinkyaDahale
49225c063f
[Sketcher] corrected artifact introduced by faulty conflict resolution
2017-02-10 17:32:18 +01:00
AjinkyaDahale
5bb2a74701
[Sketcher] Moved distance to constraint mode
2017-02-10 17:32:18 +01:00
AjinkyaDahale
3b0936bc03
Moved vertical and horizontal distance to constraint creation mode
2017-02-10 17:32:18 +01:00
AjinkyaDahale
62c9dc0f10
Moved symmetric to general constrain creation mode framework
...
That makes all of the non-dimensioned constraints
2017-02-10 17:32:18 +01:00
AjinkyaDahale
aca3164ef6
Moved equal to general constrain creation mode framework
2017-02-10 17:32:18 +01:00
AjinkyaDahale
2c4ccfbc61
Move tangent to general constraint mode framework
2017-02-10 17:32:18 +01:00
AjinkyaDahale
689e6bf367
Replace some of the allowedSelSequences with more general form
...
Greatly shortens the number of sequenses needed if you replace SelVertex
and SelRoot with SelVertexOrRoot and similar for the edges/axes.
For e.g. implemented sequences for perpendicular dropped from the older
25 to now 6.
2017-02-10 17:32:18 +01:00
wmayer
81726f7db9
fix warnings: -Wmaybe-uninitialized
2017-02-04 15:16:47 +01:00
wmayer
a7539e2c97
fix various warnings
2017-02-02 20:42:56 +01:00
AjinkyaDahale
c00a627397
Changes based on wwmayer's comments
2017-01-31 17:07:45 +01:00
AjinkyaDahale
8a911f3ef3
Moved Perpendicular to constraint mode framework
...
A couple of combinations, endpoint-endpoint and endpoint-curve, do not
work, and the latter probably should not work ever since endpoint-curve-
curve exists.
2017-01-31 17:07:45 +01:00
AjinkyaDahale
ccfc4d943a
Brought back select then constraint for all constraint tools yet converted
2017-01-31 17:07:45 +01:00
AjinkyaDahale
00ca4d3a36
Miscellaneous changes to constraint creation modes
...
Parallel constraints can also be made by select-then-constraint way.
Preliminary preparations for perpendicular constraint making mode.
Selection actually works when for constraints involving multiple
elements few of them are selected (thanks abdullah).
etc.
2017-01-31 17:07:45 +01:00
Abdullah Tahiri
16c87a5e11
Sketcher: Fixing Green selection on new style constraints
2017-01-31 17:07:45 +01:00
AjinkyaDahale
994b8a7fd3
Moved point on object to general constraint mode framework
2017-01-31 17:07:45 +01:00
AjinkyaDahale
63323ec85a
Moved parallel to general constraint mode framework
2017-01-31 17:07:45 +01:00