- fixed Measuring Tool - after doing a measurement the Notebook was switching to Project Tab without letting the user see the results

- more work on the translation engine; the app now restarts after a language is applied
- added protection against using Travel Z parameter with negative or zero value (in Geometry).
This commit is contained in:
Marius Stanciu
2019-03-08 01:32:18 +02:00
parent 934d971002
commit 574184f44c
38 changed files with 871 additions and 90 deletions

View File

@@ -22,9 +22,13 @@ from camlib import *
from VisPyVisuals import ShapeCollectionVisual
import itertools
import gettext
import FlatCAMTranslation as fcTranslate
fcTranslate.apply_language('FlatCAMObj')
# Interrupts plotting process if FlatCAMObj has been deleted
class ObjectDeleted(Exception):
# Interrupts plotting process if FlatCAMObj has been deleted
pass
@@ -37,6 +41,8 @@ class ValidationError(Exception):
########################################
## FlatCAMObj ##
########################################
class FlatCAMObj(QtCore.QObject):
"""
Base type of objects handled in FlatCAM. These become interactive