Commit Graph

12392 Commits

Author SHA1 Message Date
wmayer
e9bed58f4b make the fps counter more stable 2017-10-13 00:13:19 +02:00
wmayer
8e694c3820 add cmake option to use Qt or native file dialogs 2017-10-12 16:01:24 +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
Markus Lampert
1318b0b8ee Only check for loop detection if PathWorkbench is active. 2017-10-12 10:17:33 +02:00
wmayer
ee30dfe054 avoid raising an exception when getting subobjects of the selection and just filter out unsupported types 2017-10-12 10:15:28 +02:00
Unknown
8468a4cb35 Draft: tooltip grammar fix 2017-10-11 23:08:33 +02:00
wmayer
a57a45bf97 for FEM constraints allow global links 2017-10-11 18:48:13 +02:00
Unknown
1b46207bdb crowdin: capitalize modifier key for Draft preferences-draftsnap.ui
https://crowdin.com/translate/freecad/548/en-sk#2587401
2017-10-11 09:02:50 -04:00
wmayer
e219e5555a in mult-common feature check if input shapes are valid 2017-10-11 13:51:38 +02:00
wmayer
6586a41dd0 in mult-fusion feature check if input shapes are valid 2017-10-11 13:45:38 +02:00
wmayer
f4a25522a7 fix possible dangling pointers in function to create dependency graph 2017-10-11 13:24:32 +02:00
wmayer
0b7ce87340 allow to set console and unit test option without overriding each other
start unit tests in command line mode because the python pivy package is missing
2017-10-10 20:40:09 +02:00
Harald Geyer
f50a19df2f Fix rendering of Unit::ThermalConductivity
The old behaviour was:
>>> Quantity('0.9 W/m/K').UserString
u'0.00 W/mm/K'
>>> Quantity('1.1 W/m/K').UserString
u'1.10 W/m/K'
>>> Quantity('1100 W/m/K').UserString
u'1100.00 W/m/K'

The new behaviour is:
>>> Quantity('0.9 W/m/K').UserString
u'0.90 W/m/K'
>>> Quantity('1.1 W/m/K').UserString
u'1.10 W/m/K'
>>> Quantity('1100 W/m/K').UserString
u'1.10 W/mm/K'
2017-10-10 20:35:33 +02:00
Unknown
f3912f60b9 upstream orocos_kinematics_dynamics typos
These are downstream fixes that I submitted upstream . They were merged in 35aeab5f8e 
[skip ci]
2017-10-10 07:46:09 -04:00
Markus Lampert
2ddbc6e482 Fixed expression retrieval if no expression is set. 2017-10-10 13:06:35 +02:00
Markus Lampert
4497d21717 PathGeom isHorizontal/isVertical rely on bound box for unknown shapes. 2017-10-10 12:55:59 +02:00
wmayer
73d089ea9e make _getOutListRecursive much more efficient by avoiding to process objects multiple times 2017-10-10 00:51:25 +02:00
Unknown
8d9bd319bd Misc. Typos 2017-10-09 19:59:33 +02:00
Zheng, Lei
598fff8b40 Path.Area: add greedy sort mode 2017-10-09 19:57:08 +02:00
wmayer
ca9f583ff0 fixes #0002959: GUI tests aren't run when tests are started via command line 2017-10-09 19:17:31 +02:00
Itai Nahshon
4bc216371a Use unit conversion when changing feedrates in the tools table of the job edit panel.
if the user enters a valid velocity quantity it will be used,
Otherwize if the user enters a unitless value the default velocity unit will be used,
Otherwise error.
2017-10-09 02:47:55 +03:00
Itai Nahshon
e2e0735677 Some fixes related to milling heights and depths.
Fix for large "Step Down".
Correctly handling a part that was moved down the Z axis.
Handle "Finish Depth".
2017-10-08 22:52:10 +02:00
Markus Lampert
32ac63b4f7 Fixed refactoring errors. 2017-10-08 10:57:08 -07:00
Markus Lampert
72ff144848 Ensure loop detection logic ignores tree selections. 2017-10-08 10:49:52 -07:00
Przemo Firszt
7dc84d42ea Enable native file dialog by default on linux
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2017-10-08 19:17:04 +02:00
Markus Lampert
28ee13a7b9 Renamed stock from-base selection to clarify construction. 2017-10-08 12:24:31 -03:00
Markus Lampert
271425b593 Take model's placement into account when calculating the placement for stock. 2017-10-08 12:24:31 -03:00
Markus Lampert
50ef191206 Added comment to not remove findShape which doesn't look like it's used or belongs - still has to stay there. 2017-10-08 12:23:11 -03:00
Markus Lampert
c2f440af8c Dwngraded isHorizontal/isVertical error messages for unsuppported types to warnings and cache loop detection result to get a single message - rather than one per second. 2017-10-08 12:23:11 -03:00
Markus Lampert
329f013f01 Added explicit support for BSPlineCurve to isHorizontal/isVertical. 2017-10-08 12:23:11 -03:00
wmayer
3abfbb7fb2 update expressions when relabelling a document object 2017-10-08 01:45:39 +02:00
wmayer
1602c2a1ee handle expression exception in property item, do not pass through event loop 2017-10-07 21:52:48 +02:00
wmayer
440f2e8f56 when overriding an expression remove dependencies from old expression to avoid recompute failures due to invalid DAG 2017-10-07 20:39:16 +02:00
wmayer
8d0dc20c20 support of sub-properties when binding QuantitySpinBox via Python 2017-10-07 19:01:33 +02:00
Markus Lampert
cecc568390 Disabled debug printing. 2017-10-07 15:52:31 +02:00
Markus Lampert
02bd04592c Added read-only 'expression' property to QunatitySpinBox and renamed 'boundTo' to 'binding'. 2017-10-07 15:52:31 +02:00