Commit Graph

12385 Commits

Author SHA1 Message Date
SparkyCola
aaae347dd8 resolves #3204 2017-10-12 10:35:52 +02:00
SparkyCola
0a0a9698db 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
893c8e84c6 implemented touch mode for arc of parabola with precision inaccuracity 2017-10-12 10:35:52 +02:00
SparkyCola
646604740c implemented touch mode for arc of hyperbola 2017-10-12 10:35:52 +02:00
SparkyCola
bd2fd1a5f5 implemented arc of ellipses touch mode (precision issue as well) 2017-10-12 10:35:52 +02:00
SparkyCola
1639f37887 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
2f18e25278 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
2ec06ca548 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
c9c5ca3010 added selection of end-points to line touch-select 2017-10-12 10:35:52 +02:00
SparkyCola
2781585a66 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
41a4d71aae Only check for loop detection if PathWorkbench is active. 2017-10-12 10:17:33 +02:00
wmayer
fb7f1b73a8 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
494a9a3f3b Draft: tooltip grammar fix 2017-10-11 23:08:33 +02:00
wmayer
76eba3a579 for FEM constraints allow global links 2017-10-11 18:48:13 +02:00
Unknown
60c01ad2ce 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
070f1ebd01 in mult-common feature check if input shapes are valid 2017-10-11 13:51:38 +02:00
wmayer
5f86bfcd65 in mult-fusion feature check if input shapes are valid 2017-10-11 13:45:38 +02:00
wmayer
92ec59df06 fix possible dangling pointers in function to create dependency graph 2017-10-11 13:24:32 +02:00
wmayer
3b479e00c2 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
ed7630503c 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
4a75af7e33 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
5632f17d81 Fixed expression retrieval if no expression is set. 2017-10-10 13:06:35 +02:00
Markus Lampert
95817be2ec PathGeom isHorizontal/isVertical rely on bound box for unknown shapes. 2017-10-10 12:55:59 +02:00
wmayer
04ac31cba0 make _getOutListRecursive much more efficient by avoiding to process objects multiple times 2017-10-10 00:51:25 +02:00
Unknown
ad457ba96b Misc. Typos 2017-10-09 19:59:33 +02:00
Zheng, Lei
ba125d42f1 Path.Area: add greedy sort mode 2017-10-09 19:57:08 +02:00
wmayer
4d9416f1cf fixes #0002959: GUI tests aren't run when tests are started via command line 2017-10-09 19:17:31 +02:00
Itai Nahshon
8d839b81ad 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
d2f50247ff 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
c75b3b911d Fixed refactoring errors. 2017-10-08 10:57:08 -07:00
Markus Lampert
d75a864920 Ensure loop detection logic ignores tree selections. 2017-10-08 10:49:52 -07:00
Przemo Firszt
c39a1941e9 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
b52eeff727 Renamed stock from-base selection to clarify construction. 2017-10-08 12:24:31 -03:00
Markus Lampert
374aa03277 Take model's placement into account when calculating the placement for stock. 2017-10-08 12:24:31 -03:00
Markus Lampert
f1a0725087 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
3afbbfa3da 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
2b19e69b2e Added explicit support for BSPlineCurve to isHorizontal/isVertical. 2017-10-08 12:23:11 -03:00
wmayer
88962a8c45 update expressions when relabelling a document object 2017-10-08 01:45:39 +02:00
wmayer
e3d8daac4c handle expression exception in property item, do not pass through event loop 2017-10-07 21:52:48 +02:00
wmayer
5373f7e2f4 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
187c398cd4 support of sub-properties when binding QuantitySpinBox via Python 2017-10-07 19:01:33 +02:00
Markus Lampert
b76f9d5423 Disabled debug printing. 2017-10-07 15:52:31 +02:00
Markus Lampert
b28e48c10b Added read-only 'expression' property to QunatitySpinBox and renamed 'boundTo' to 'binding'. 2017-10-07 15:52:31 +02:00
Markus Lampert
7a352fea52 Added boundTo as a property to QuantitySpinBox to enable binding from Python. 2017-10-07 15:52:31 +02:00
Unknown
50f30eb02a FEM: typo fixes
+ some whitespace formatting
2017-10-07 11:51:00 +02:00
Bernd Hahnebach
16a0d911af FEM: objects fem module, comment typo 2017-10-07 11:51:00 +02:00
Bernd Hahnebach
03d3d8ffe4 FEM: command modules, get rid of duplicate selection code 2017-10-07 11:51:00 +02:00
Bernd Hahnebach
b729f18084 FEM: nonlinear material command, only allow to add nonlinear material to solid material 2017-10-07 11:51:00 +02:00
Bernd Hahnebach
53505122ed FEM: analysis command, remove automatic mesh moving, it should work for all FEM objects or for no FEM object 2017-10-07 11:51:00 +02:00
Bernd Hahnebach
a800bcc906 FEM: icons, sort them in qrc file 2017-10-07 11:51:00 +02:00