Merge pull request #9264 from luzpaz/trailing-whitespace-9

Fix trailing whitespace
This commit is contained in:
sliptonic
2023-04-14 10:45:49 -05:00
committed by GitHub
3 changed files with 8 additions and 8 deletions

View File

@@ -130,14 +130,14 @@ class TaskPanelOpPage(PathCircularHoleBaseGui.TaskPanelOpPage):
self.updateQuantitySpinBoxes()
if not hasattr(obj,"KeepToolDown"):
obj.addProperty("App::PropertyBool", "KeepToolDown", "Drill",
obj.addProperty("App::PropertyBool", "KeepToolDown", "Drill",
QtCore.QT_TRANSLATE_NOOP("App::Property", "Apply G99 retraction: only retract to RetractHeight between holes in this operation"))
if obj.KeepToolDown:
self.form.KeepToolDownEnabled.setCheckState(QtCore.Qt.Checked)
else:
self.form.KeepToolDownEnabled.setCheckState(QtCore.Qt.Unchecked)
if obj.DwellEnabled:
self.form.dwellEnabled.setCheckState(QtCore.Qt.Checked)
else:
@@ -173,7 +173,7 @@ class TaskPanelOpPage(PathCircularHoleBaseGui.TaskPanelOpPage):
signals.append(self.form.coolantController.currentIndexChanged)
signals.append(self.form.ExtraOffset.currentIndexChanged)
signals.append(self.form.KeepToolDownEnabled.stateChanged)
return signals
def updateData(self, obj, prop):

View File

@@ -602,7 +602,7 @@ def drill_translate(outstring, cmd, params):
global UNITS
global UNIT_FORMAT
global UNIT_SPEED_FORMAT
strFormat = "." + str(PRECISION) + "f"
strG0_Initial_Z=("G0 Z" + format(float(CURRENT_Z.getValueAs(UNIT_FORMAT)), strFormat) + "\n")
@@ -728,10 +728,10 @@ def drill_translate(outstring, cmd, params):
+ format(float(drill_Z.getValueAs(UNIT_FORMAT)), strFormat)
+ strF_Feedrate
)
if DRILL_RETRACT_MODE == "G98" :
if DRILL_RETRACT_MODE == "G98" :
trBuff += (linenumber() + strG0_Initial_Z)
else:
else:
trBuff += (linenumber() + strG0_RETRACT_Z)
break

View File

@@ -44,7 +44,7 @@ CClassFactory::~CClassFactory()
STDMETHODIMP CClassFactory::QueryInterface(REFIID riid,
void** ppvObject)
{
static const QITAB qit[] =
static const QITAB qit[] =
{
QITABENT(CClassFactory, IClassFactory),
{0},