Commit Graph

135 Commits

Author SHA1 Message Date
wmayer
b217fe2287 set continuous constraint mode consistently to true by default 2017-02-24 16:30:13 +01:00
wmayer
a90014c646 add missing word, fix layout 2017-02-24 16:24:24 +01:00
AjinkyaDahale
fc08fa1c09 Sketcher: costraint creation mode uses toolbar icons 2017-02-24 15:20:26 +01:00
AjinkyaDahale
6be9a9bc53 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
e757c57a30 Sketcher: External edges in constraint modes (Symmetry) 2017-02-24 15:20:26 +01:00
AjinkyaDahale
31456a7e30 Sketcher: External edges in constraint modes (Angle) 2017-02-24 15:20:26 +01:00
AjinkyaDahale
167b28d200 Sketcher: External edges in constraint modes (Equal) 2017-02-24 15:20:26 +01:00
AjinkyaDahale
ff74ba32a8 Sketcher: External edges in constraint modes (radius) 2017-02-24 15:20:26 +01:00
AjinkyaDahale
2ffd94df5f Sketcher: External edges in constraint modes (tangent) 2017-02-24 15:20:26 +01:00
AjinkyaDahale
daf5a1fdbf Sketcher: External edges in constraint modes (perpendicular) 2017-02-24 15:20:26 +01:00
AjinkyaDahale
29761fc90d Sketcher: External edges in constraint modes (parallel) 2017-02-24 15:20:26 +01:00
AjinkyaDahale
89664982fb Sketcher: External edges in constraint modes (DistanceX/Y) 2017-02-24 15:20:26 +01:00
AjinkyaDahale
c6fd807bd4 Sketcher: External edges in constraint modes (point on object) 2017-02-24 15:20:26 +01:00
AjinkyaDahale
ab4a222dc6 Sketcher: External edges in constraint modes (distance) 2017-02-24 15:20:26 +01:00
AjinkyaDahale
39725ff777 [Sketcher] Moved angle to constraint creation mode
plus some cosmetic changes
2017-02-24 15:20:26 +01:00
Abdullah Tahiri
9e6beb1a01 Sketcher: Information layer scenography update on geometry change 2017-02-21 13:24:10 +01:00
AjinkyaDahale
cc46acf10e [Sketcher] Moved radius to constraint mode framework 2017-02-10 17:32:18 +01:00
AjinkyaDahale
3d9b46d9f3 [Sketcher] corrected artifact introduced by faulty conflict resolution 2017-02-10 17:32:18 +01:00
AjinkyaDahale
3cf00a1314 [Sketcher] Moved distance to constraint mode 2017-02-10 17:32:18 +01:00
AjinkyaDahale
47624cf3e1 Moved vertical and horizontal distance to constraint creation mode 2017-02-10 17:32:18 +01:00
AjinkyaDahale
5ff6895080 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
45cb028f34 Moved equal to general constrain creation mode framework 2017-02-10 17:32:18 +01:00
AjinkyaDahale
adc13eda06 Move tangent to general constraint mode framework 2017-02-10 17:32:18 +01:00
AjinkyaDahale
df658ae889 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
17a3d1e81f fix warnings: -Wmaybe-uninitialized 2017-02-04 15:16:47 +01:00
wmayer
33e0bc3a46 fix various warnings 2017-02-02 20:42:56 +01:00
AjinkyaDahale
e8c822c93e Changes based on wwmayer's comments 2017-01-31 17:07:45 +01:00
AjinkyaDahale
fb2cd4d7b3 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
5e997fed02 Brought back select then constraint for all constraint tools yet converted 2017-01-31 17:07:45 +01:00
AjinkyaDahale
a881d30a70 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
9ec7bd4650 Sketcher: Fixing Green selection on new style constraints 2017-01-31 17:07:45 +01:00
AjinkyaDahale
a39d2545a6 Moved point on object to general constraint mode framework 2017-01-31 17:07:45 +01:00
AjinkyaDahale
643e61ccf6 Moved parallel to general constraint mode framework 2017-01-31 17:07:45 +01:00
AjinkyaDahale
180772b7ee Moved coincident and vertical to general constraint mode framework 2017-01-31 17:07:45 +01:00
AjinkyaDahale
dad03ca347 Moved CmdSketcherConstrainLock to general constraint mode framework 2017-01-31 17:07:45 +01:00
AjinkyaDahale
4ad41e1ad1 Generalize DrawSketchHandlerGenConstraint::releaseButton
The select-then-constrain method has been temporarily sacrificed
2017-01-31 17:07:45 +01:00
AjinkyaDahale
99f93f357b CmdSketcherConstraint::applyConstraint() is now used in DrawSketchHandlerGenConstraint 2017-01-31 17:07:45 +01:00
AjinkyaDahale
61324d8887 Initial commit with DrawSketchHandlerGenConstraint
Plus made CmdSketcherConstrainHorizontal subclass of
CmdSketcherConstraint, and made it use DrawSketchHandlerGenConstraint.
2017-01-31 17:07:45 +01:00
AjinkyaDahale
583bb48ad4 Replace All SelectionFilterGates in Constraint Modes by GenericConstraintSelection 2017-01-31 17:07:45 +01:00
AjinkyaDahale
b2c5e84e5d Addition to CmdSketcherConstraint and GenericConstraintSelection
Also making CmdSketcherConstrainLock a subclass of CmdSketcherConstraint
2017-01-31 17:07:45 +01:00
AjinkyaDahale
93cb552d2f Coincident constraint mode works on root (origin) too 2017-01-31 17:07:45 +01:00
AjinkyaDahale
3f02c72f85 Skeleton of general CmdSketcherConstraint Class 2017-01-31 17:07:45 +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
2e789dc523 Sketcher: BSpline SnellsLaw - unsupported 2017-01-15 22:34:14 +01:00
Abdullah Tahiri
f935f33345 Sketcher: BSpline point-on-object - unsupported 2017-01-15 22:29:21 +01:00
AjinkyaDahale
a588349173 Horizontal and Vertical Constraint creation modes 2017-01-15 17:00:45 +01:00
Abdullah Tahiri
6b5622a661 Sketcher: BSpline - Equality not supported user indication 2017-01-15 01:40:04 +01:00
Abdullah Tahiri
2eec558ce7 Sketcher: BSpline - UI Perpendicularity 2017-01-15 01:27:46 +01:00
Abdullah Tahiri
340d33f3a5 Sketcher: BSpline - Informing the user of non-supported tangencies 2017-01-15 00:57:05 +01:00