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
Abdullah Tahiri
e53dc90c9a
Sketcher: BSpline simplified endpoint tangency/perpendicularity solver implementation
...
=====================================================================================
Support for tangency/perpendicularity using angle via point for BSpline with appropriate
endpoint multiplicity so that the endpoints goes thru the first and last poles (control points).
Warning: Not applicable to periodic BSplines.
Warning: Not applicable to any non-periodic BSpline with inappropriate endpoint conditions.
2017-01-15 00:42:25 +01:00
wmayer
186b9e2edf
make code a bit more readable
2017-01-09 10:07:59 +01:00
wmayer
81e9228cf0
issue #0000753 : angle constraint auto places the constraints visuals including its value in the wrong place
2017-01-08 16:47:06 +01:00
wmayer
4efd3e894a
fix -Wunused-parameter
2017-01-04 18:20:43 +01:00
AjinkyaDahale
8e1f5364af
Coincident constraint making mode added
...
One small problem remains that the origin is not selectable as one point
in coincident constraint making mode.
2017-01-04 12:58:11 +01:00
AjinkyaDahale
75ad582913
Lock doesn't complain "no selection"
2017-01-04 12:58:11 +01:00
AjinkyaDahale
670e59eae7
Lock constraint in always available when sketch is open
...
Earlier it was available only when a selection is made
2017-01-04 12:58:11 +01:00
AjinkyaDahale
1230f493d5
Lock constraint can be applied with better selection
...
Can't yet start without selection: the button on toolbar is not active
without a selection yet
2017-01-04 12:58:11 +01:00
AjinkyaDahale
ecd1f465b0
Added DrawSketchHandlerLock
2017-01-04 12:58:11 +01:00
wmayer
cbf717f317
fix whitespaces
2016-12-28 14:22:42 +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
1c77657354
Sketch: Hyperbola tangency to line
...
==================================
As a way to lock a line to hyperbola tangency to a branch has not been identified, this tangency is implemented
by adding a point at the tangency point in order to avoid the jumping.
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
73930c4294
Sketcher: Hyperbola perpendicularity constraint
...
=================================================
Line perpendicular to hyperbola using via point constraint.
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
50ab33aeb4
Sketcher: Hyperbola Tangency to Curves
...
======================================
Implementation of the Tangency via point for all curves to Hyperbola (no line to Hyperbola yet).
2016-11-27 18:45:33 +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
d39bd4906b
fix Coverity issues
2016-08-20 19:45:36 +02:00