Abdullah Tahiri
7b086ba8b2
Sketcher: jumping while dragging - force recalculate initial solution
...
=====================================================================
fixes #1734
Upon dragging, the initial solution is first calculated and them DogLeg is left with the work of solving for a solution next to the initial solution.
When the change is too big and the gradients are no longer accurate to continue dragging, the dragging flips and jumps.
The solution offered here is, not to update always the solution, as this also creates artifacts, but update it if the dragging goes beyond 20 times the initial dragging distance.
https://forum.freecadweb.org/viewtopic.php?f=3&t=7589#p203580
https://forum.freecadweb.org/viewtopic.php?f=3&t=7589#p203712
2017-12-12 22:20:27 +01:00
Abdullah Tahiri
c49981c41b
Sketcher: Do not show support when entering sketch edit mode if it is a datum plane
...
=====================================================================================
https://forum.freecadweb.org/viewtopic.php?f=10&t=25700
2017-12-07 11:39:35 +01:00
Abdullah Tahiri
ea8652f54e
Sketcher: Fixing Polyline Arc Endpoint autoconstraints
...
======================================================
fixes #3091
Autoconstraints did not check whether the arc was CW or CCW, as such the autoconstraint on the second position was sometimes assigned to the start point.
2017-12-07 11:31:35 +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
f0a4d6a524
Sketcher: Fix Polygon disappearing on creation with autoconstraints on
...
======================================================================
Fixes #3154
About the fix:
- If a non-zero vector is passed to seekAutoConstraint, it will suggest a vertical/horizontal constraint, which does not
make sense in the construction method.
- Passing a zero vector enables to treat it like a point, so for example point on object will be suggested, but not vertical/horizontal constraints.
2017-12-07 10:59:49 +01:00
Abdullah Tahiri
0f021940b9
Sketcher: BSpline, prevent 0 mm Radius for poles on creation
...
============================================================
https://forum.freecadweb.org/viewtopic.php?f=10&t=25701
2017-12-07 10:52:28 +01:00
Unknown
198ba0a123
SVG cleanup: remove all redundant <dc:title> content
...
Removed duplicate mentions of `[agryson] Alexander Gryson`
2017-12-02 14:02:14 +01:00
wmayer
9612c31572
fixes #0003176 : Sketcher: always over-constrained when referencing external B-Spline
2017-12-02 13:02:42 +01:00
wmayer
337657e85d
when painting items make sure that constraint id is in range
2017-12-02 10:11:45 +01:00
Eivind Kvedalen
71f9f4824f
Sketcher: Fixed regression in fix for issue #3245 .
2017-11-28 19:14:57 +01:00
wmayer
1a6e5db7f6
move encodeAttribute from Property to Persitence to avoid code duplication
2017-11-26 18:38:45 +01:00
wmayer
794a39684a
fix crashes when using sketch tools
2017-11-23 13:22:37 +01:00
wmayer
952a4a781f
fixes #0002290 : Point-on-object constraint icon not selectable
2017-11-20 14:06:12 +01:00
wmayer
f1f2a90190
fix coverity issues
2017-11-18 18:07:00 +01:00
Jeff
7f633cfbb2
Added color prefs to sketcher create commands
...
Create geometry commands in sketcher now have configurable crosshair color and editCurve color.
2017-11-18 15:30:41 +01:00
luzpaz
cc87c20afe
Make uniform the use of B-spline visible to users
...
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=8&t=25411
This commit does not include fixes to source comments unless they were 'doxygenated'.
No .xml files were altered either.
2017-11-17 19:30:37 -05:00
Eivind Kvedalen
5b22a8a133
Sketcher: Fix for issue #3245 , including regression test.
2017-11-16 21:44:23 +01:00
luzpaz
35ec477426
More typos, grammar fixes, uniformity
2017-11-15 10:46:43 -05:00
wmayer
d591ec7b07
fix German translation
2017-11-12 16:37:06 +01:00
wmayer
5af7cca43d
fix German translation
2017-11-12 00:54:51 +01:00
wmayer
d9cc4a621b
fix German translation
2017-11-11 22:47:12 +01:00
DeepSOIC
356e2810a4
Sketcher: fix false detection of doubleclick
...
Double-click detector code was comparing double-click threshold (value =
5) with distance between clicked objects in model space (i.e.
double-click distance threshold was equal to 5 mm in model space
regardless of zoom). The fix changes the comparison to pixels on screen
instead.
This fixes the inability to select sketch entities in quick succession,
when the sketch is small (i.e. less than 40 mm or so).
2017-11-10 18:12:48 +03:00
Abdullah Tahiri
1ec828936c
Sketcher: Delete all geometry menu command (in sketcher tools)
2017-11-06 14:18:12 +01:00
Abdullah Tahiri
6210b602de
Sketcher: Python command to delete all internal geometry and constraints of an sketch
2017-11-06 14:18:12 +01:00
Abdullah Tahiri
bfa6de056e
Sketcher: Restore inter-body expression engine links in Carbon Copy
2017-11-02 19:52:26 +01:00
wmayer
bc3c9b0c5d
override onExtendedDocumentRestored in AttachExtension
2017-10-25 22:52:39 +02:00
Yorik van Havre
05a5e9965e
Updated translations from crowdin
2017-10-23 18:32:02 -02:00
wmayer
1ed21e0c05
fixes #0002434 : merge sketches produces sketch on XY plane when original sketches were on XZ
2017-10-18 21:17:15 +02:00
wmayer
8318cf54cb
issue #0002613 : Create symmetric geometry with conic
2017-10-16 15:56:32 +02:00
wmayer
314ad0ad6a
issue #0002613 : Create symmetric geometry with conic
2017-10-16 15:49:05 +02:00
wmayer
8b2156471f
issue #0002613 : Create symmetric geometry with conic
2017-10-16 15:31:04 +02:00
wmayer
96d01c9200
fix several kind of warnings:
...
+ fix -Wparentheses/-Wlogical-op-parentheses
+ fix -Wunused-variable
+ disable -Wundefined-var-template due to many false-positives (clang)
+ fix -Winconsistent-missing-override
+ fix -Wmaybe-uninitialized
2017-10-15 19:12:07 +02:00
Unknown
31a32b9931
Doxygen Typos
...
+ doxy whitespace formatting
+ added more misc. typos
+ grammar fixes
[skip ci]
2017-10-15 16:27:42 +02:00
wmayer
9adddc08ac
remove possibility of directly cross-referencing other body, use shape binder instead!
2017-10-13 17:28:21 +02:00
Unknown
fa4a6b43ee
Capitalize beginning of tooltips + Typos
...
Capitalized all remaining uncapitalized tooltips.
+ Fixed typo in instantiate() function. Shouldn't have any repercussions on the code, AFAICT.
+ other typos
2017-10-13 00:26:53 +02:00
wmayer
47fe76fe1d
whitespace improvements + some optimizations
2017-10-12 11:22:10 +02:00
wmayer
84eedf2448
don't select circle/ellipse center if not inside selection box
2017-10-12 11:07:27 +02:00
SparkyCola
b5062920dd
changed touch-selection so that it doesn't select the center- and end-
...
points of an object when they're not boxed
2017-10-12 10:42:04 +02:00
SparkyCola
47aec30a51
fixed touch-selection of circle and ellipse centerpoints not working
2017-10-12 10:41:05 +02:00
SparkyCola
695ded7d90
fixed selection of centerpoints when only selecting them resulted in not
...
selecting anything at all (in Sketcher touch-selection)
2017-10-12 10:36:13 +02:00
SparkyCola
6145699d54
resolves #3204
2017-10-12 10:35:52 +02:00
SparkyCola
267438d6a4
implemented simple selection of b-spline in touch mode, so far it allows
...
only to select the whole spline if one of the points is selected, a
better implementation requires much more sophisticated algorithms
2017-10-12 10:35:52 +02:00
SparkyCola
75b466dae5
implemented touch mode for arc of parabola with precision inaccuracity
2017-10-12 10:35:52 +02:00
SparkyCola
77b5b282b5
implemented touch mode for arc of hyperbola
2017-10-12 10:35:52 +02:00
SparkyCola
c3c50c3e92
implemented arc of ellipses touch mode (precision issue as well)
2017-10-12 10:35:52 +02:00
SparkyCola
899f3e26ea
Implemented arc of circle in touch mode, same issue with precision as in
...
circle and ellipse
2017-10-12 10:35:52 +02:00
Mattis
295b4ab0f9
fixed issue related to polylines in touchmode, also implemented ellipse
...
touchmode (same issue as circle touching for now)
2017-10-12 10:35:52 +02:00
Mattis
f674cf5544
touch mode for circle implemented, does work for 90% of the cases, not
...
yet with relatively big circles and a narrow selectionbox.
2017-10-12 10:35:52 +02:00
Mattis
776cfe62ed
added selection of end-points to line touch-select
2017-10-12 10:35:52 +02:00
SparkyCola
826551b740
Added touchMode-detection and partially implemented touchMode for line-
...
detection (only works when one end-point is selected, yet).
The touchMode refers to a rectangular selection where objects are
selected even if only a part of them is int the box. It's used when the
selection box is drawn from right to left.
2017-10-12 10:35:52 +02:00