- in Geometry Editor for the Path tool fixed an issue with path projection when changing the grid size while the Path tool is active
This commit is contained in:
@@ -11,6 +11,7 @@ CHANGELOG for FlatCAM Evo beta
|
|||||||
|
|
||||||
- in Geometry Editor added a new feature. While drawing a 'Path' now the user can project a direction by moving the mouse cursor in a certain direction and after that by typing a number or an arithmetic simple expression, a line segment will be drawn in that direction with the specified length from the last point
|
- in Geometry Editor added a new feature. While drawing a 'Path' now the user can project a direction by moving the mouse cursor in a certain direction and after that by typing a number or an arithmetic simple expression, a line segment will be drawn in that direction with the specified length from the last point
|
||||||
- in Geometry Editor for the Path tool but only when using the 3D engine graphic mode, the mouse cursor is followed by position data
|
- in Geometry Editor for the Path tool but only when using the 3D engine graphic mode, the mouse cursor is followed by position data
|
||||||
|
- in Geometry Editor for the Path tool fixed an issue with path projection when changing the grid size while the Path tool is active
|
||||||
|
|
||||||
13.04.2022
|
13.04.2022
|
||||||
|
|
||||||
|
|||||||
@@ -1048,9 +1048,14 @@ class FCPath(FCPolygon):
|
|||||||
QtCore.Qt.Key.Key_7, QtCore.Qt.Key.Key_8, QtCore.Qt.Key.Key_9, QtCore.Qt.Key.Key_Minus,
|
QtCore.Qt.Key.Key_7, QtCore.Qt.Key.Key_8, QtCore.Qt.Key.Key_9, QtCore.Qt.Key.Key_Minus,
|
||||||
QtCore.Qt.Key.Key_Plus, QtCore.Qt.Key.Key_Comma, QtCore.Qt.Key.Key_Period,
|
QtCore.Qt.Key.Key_Plus, QtCore.Qt.Key.Key_Comma, QtCore.Qt.Key.Key_Period,
|
||||||
QtCore.Qt.Key.Key_Slash, QtCore.Qt.Key.Key_Asterisk]:
|
QtCore.Qt.Key.Key_Slash, QtCore.Qt.Key.Key_Asterisk]:
|
||||||
self.interpolate_length += str(key.name)
|
try:
|
||||||
|
# VisPy keys
|
||||||
|
self.interpolate_length += str(key.name)
|
||||||
|
except AttributeError:
|
||||||
|
# Qt keys
|
||||||
|
self.interpolate_length += chr(key)
|
||||||
|
|
||||||
if key == 'Enter' or key == QtCore.Qt.Key.Key_Return:
|
if key == 'Enter' or key == QtCore.Qt.Key.Key_Return or key == QtCore.Qt.Key.Key_Enter:
|
||||||
if self.interpolate_length != '':
|
if self.interpolate_length != '':
|
||||||
target_length = self.interpolate_length.replace(',', '.')
|
target_length = self.interpolate_length.replace(',', '.')
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user