- fixed some possible issues due of changes in version 2.0 of Shapely

- removed the import * statement from most of the app
This commit is contained in:
Marius Stanciu
2023-03-06 16:40:49 +02:00
parent 33de5314b1
commit 3b3c87e953
230 changed files with 1253 additions and 15935 deletions

View File

@@ -10,17 +10,22 @@
# File modified by: Marius Stanciu #
# ##########################################################
from io import StringIO
from datetime import datetime
from PyQt6 import QtCore, QtWidgets
from appEditors.AppTextEditor import AppTextEditor
from appObjects.AppObjectTemplate import *
from appObjects.AppObjectTemplate import FlatCAMObj, ObjectDeleted
from appGUI.GUIElements import FCFileSaveDialog, FCCheckBox
from appGUI.ObjectUI import CNCObjectUI
from camlib import CNCjob
import os
import sys
import math
import re
from io import StringIO
from datetime import datetime as dt
from copy import deepcopy
import gettext
import appTranslation as fcTranslate
@@ -855,7 +860,7 @@ class CNCJobObject(FlatCAMObj, CNCjob):
"""
self.app.log.debug("FlatCAMCNCJob.gcode_header()")
time_str = "{:%A, %d %B %Y at %H:%M}".format(datetime.now())
time_str = "{:%A, %d %B %Y at %H:%M}".format(dt.now())
marlin = False
hpgl = False
probe_pp = False