- small changes to allow making the x86 installer that is made from a Python 3.5 run FlatCAM beta
- fixed multiple parameter 'outname' in the Tcl commands OpenGerber and OpenGcode - added more examples in the scripts Examples: isolate and cutout examples - updated the Italian translation - updated the translation files
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
# #####################################################################################
|
||||
# DESCRIPTION:
|
||||
# Will open a Gerber (and Excellon) file in FlatCAM
|
||||
# #####################################################################################
|
||||
|
||||
puts "**************** RUNNING an EXAMPLE SCRIPT = Open a file *******************"
|
||||
|
||||
# ----------- START: This is needed only for the examples ----------------
|
||||
# first set the default location where to search for the files to be open and store it to the ROOT_FOLDER variable
|
||||
set ROOT_FOLDER [get_sys root_folder_path]
|
||||
@@ -9,11 +16,11 @@ set PATH ${ROOT_FOLDER}/assets/examples/files
|
||||
# set the working path to the path that holds the files we are going to work with
|
||||
set_path $PATH
|
||||
|
||||
# load the GERBER file
|
||||
open_gerber test.gbr
|
||||
# load the GERBER file and rename it to a known name so we can use it further
|
||||
open_gerber test.gbr -outname gerber_obj
|
||||
|
||||
# load the Excellon ifle
|
||||
open_excellon test.txt
|
||||
# load the Excellon file and rename it to a known name so we can use it further
|
||||
open_excellon test.txt -outname excellon_obj
|
||||
|
||||
# plot them all so we can see them on canvas
|
||||
plot_all
|
||||
Reference in New Issue
Block a user