- fixed some errors
This commit is contained in:
@@ -1572,14 +1572,14 @@ class FCDrillArray(FCShapeTool):
|
|||||||
|
|
||||||
for item in range(self.drill_array_size):
|
for item in range(self.drill_array_size):
|
||||||
if self.drill_axis == 'X':
|
if self.drill_axis == 'X':
|
||||||
geo = self.util_shape(((data[0] + (self.drill_pitch * item)), data[1]))
|
geo = self.util_shape(((dx + (self.drill_pitch * item)), dy))
|
||||||
if self.drill_axis == 'Y':
|
if self.drill_axis == 'Y':
|
||||||
geo = self.util_shape((data[0], (data[1] + (self.drill_pitch * item))))
|
geo = self.util_shape((dx, (dy + (self.drill_pitch * item))))
|
||||||
if self.drill_axis == 'A':
|
if self.drill_axis == 'A':
|
||||||
x_adj = self.drill_pitch * math.cos(math.radians(self.drill_linear_angle))
|
x_adj = self.drill_pitch * math.cos(math.radians(self.drill_linear_angle))
|
||||||
y_adj = self.drill_pitch * math.sin(math.radians(self.drill_linear_angle))
|
y_adj = self.drill_pitch * math.sin(math.radians(self.drill_linear_angle))
|
||||||
geo = self.util_shape(
|
geo = self.util_shape(
|
||||||
((data[0] + (x_adj * item)), (data[1] + (y_adj * item)))
|
((dx + (x_adj * item)), (dy + (y_adj * item)))
|
||||||
)
|
)
|
||||||
|
|
||||||
if static is None or static is False:
|
if static is None or static is False:
|
||||||
|
|||||||
@@ -1697,7 +1697,8 @@ class FlatCAMExcellon(FlatCAMObj, Excellon):
|
|||||||
job_obj.z_move = float(self.options["travelz"])
|
job_obj.z_move = float(self.options["travelz"])
|
||||||
job_obj.feedrate = float(self.options["feedrate"])
|
job_obj.feedrate = float(self.options["feedrate"])
|
||||||
job_obj.feedrate_rapid = float(self.options["feedrate_rapid"])
|
job_obj.feedrate_rapid = float(self.options["feedrate_rapid"])
|
||||||
job_obj.spindlespeed = float(self.options["spindlespeed"])
|
|
||||||
|
job_obj.spindlespeed = float(self.options["spindlespeed"]) if self.options["spindlespeed"] else None
|
||||||
job_obj.dwell = self.options["dwell"]
|
job_obj.dwell = self.options["dwell"]
|
||||||
job_obj.dwelltime = float(self.options["dwelltime"])
|
job_obj.dwelltime = float(self.options["dwelltime"])
|
||||||
job_obj.pp_excellon_name = pp_excellon_name
|
job_obj.pp_excellon_name = pp_excellon_name
|
||||||
@@ -4307,8 +4308,8 @@ class FlatCAMCNCjob(FlatCAMObj, CNCjob):
|
|||||||
_filter_ = "G-Code Files (*.nc);;G-Code Files (*.txt);;G-Code Files (*.tap);;G-Code Files (*.cnc);;" \
|
_filter_ = "G-Code Files (*.nc);;G-Code Files (*.txt);;G-Code Files (*.tap);;G-Code Files (*.cnc);;" \
|
||||||
"G-Code Files (*.g-code);;All Files (*.*)"
|
"G-Code Files (*.g-code);;All Files (*.*)"
|
||||||
|
|
||||||
dir_file_to_save = self.app.get_last_save_folder() + '/' + str(name)
|
|
||||||
try:
|
try:
|
||||||
|
dir_file_to_save = self.app.get_last_save_folder() + '/' + str(name)
|
||||||
filename, _ = QtWidgets.QFileDialog.getSaveFileName(
|
filename, _ = QtWidgets.QFileDialog.getSaveFileName(
|
||||||
caption="Export Machine Code ...",
|
caption="Export Machine Code ...",
|
||||||
directory=dir_file_to_save,
|
directory=dir_file_to_save,
|
||||||
|
|||||||
@@ -9,6 +9,10 @@ CAD program, and create G-Code for Isolation routing.
|
|||||||
|
|
||||||
=================================================
|
=================================================
|
||||||
|
|
||||||
|
9.02.2019
|
||||||
|
|
||||||
|
-
|
||||||
|
|
||||||
8.02.2019
|
8.02.2019
|
||||||
|
|
||||||
- when shortcut keys 1, 2, 3 (tab selection) are activated, if the splitter left side (the notebook) is hidden it will be mae visible
|
- when shortcut keys 1, 2, 3 (tab selection) are activated, if the splitter left side (the notebook) is hidden it will be mae visible
|
||||||
|
|||||||
Reference in New Issue
Block a user