- added the posibility to create an object without plotting it. Also if
the project is created with plot=False then it will not be checked in
Project tab
- improved the panelize command by toggling OFF the plot for the
temporary objects. There is no need to plot the temporary objects, only
the panel is of interest
- add a few aliases for the Panelize command ('pan' and 'panel')
This commit is contained in:
@@ -13,7 +13,7 @@ class TclCommandPanelize(TclCommand.TclCommand):
|
||||
"""
|
||||
|
||||
# List of all command aliases, to be able use old names for backward compatibility (add_poly, add_polygon)
|
||||
aliases = ['panelize']
|
||||
aliases = ['panelize', 'pan', 'panel']
|
||||
|
||||
# Dictionary of types from Tcl command, needs to be ordered
|
||||
arg_names = collections.OrderedDict([
|
||||
@@ -130,10 +130,9 @@ class TclCommandPanelize(TclCommand.TclCommand):
|
||||
for col in range(args['columns']):
|
||||
local_outname = outname + ".tmp." + str(col) + "." + str(row)
|
||||
if isinstance(obj, FlatCAMExcellon):
|
||||
self.app.new_object("excellon", local_outname, initialize_local_excellon)
|
||||
self.app.new_object("excellon", local_outname, initialize_local_excellon, plot=False)
|
||||
else:
|
||||
self.app.new_object("geometry", local_outname, initialize_local)
|
||||
|
||||
self.app.new_object("geometry", local_outname, initialize_local, plot=False)
|
||||
currentx += lenghtx
|
||||
currenty += lenghty
|
||||
|
||||
|
||||
Reference in New Issue
Block a user