Commit bde5053c authored by sumpfralle's avatar sumpfralle

fixed minor typos


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@918 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent cc9f9c08
...@@ -130,7 +130,7 @@ def get_default_model(): ...@@ -130,7 +130,7 @@ def get_default_model():
def load_model_file(filename, program_locations, unit=None): def load_model_file(filename, program_locations, unit=None):
filename = os.path.expanduser(filename) filename = os.path.expanduser(filename)
if not os.path.isfile(filename): if not os.path.isfile(filename):
log.warn("The input file ('%') was not found!" % filename) log.warn("The input file ('%s') was not found!" % filename)
return None return None
filetype, importer = pycam.Importers.detect_file_type(filename) filetype, importer = pycam.Importers.detect_file_type(filename)
model = importer(filename, program_locations=program_locations, unit=unit) model = importer(filename, program_locations=program_locations, unit=unit)
...@@ -271,7 +271,7 @@ def execute(parser, opts, args, pycam): ...@@ -271,7 +271,7 @@ def execute(parser, opts, args, pycam):
tps.set_process_settings(path_generator, postprocessor, tps.set_process_settings(path_generator, postprocessor,
opts.process_path_direction, opts.process_path_direction,
material_allowance=opts.process_material_allowance, material_allowance=opts.process_material_allowance,
overlap=opts.process_overlap_percent / 100.0, overlap_percent=opts.process_overlap_percent,
step_down=opts.process_step_down, step_down=opts.process_step_down,
engrave_offset=opts.process_engrave_offset, engrave_offset=opts.process_engrave_offset,
milling_style=opts.process_milling_style) milling_style=opts.process_milling_style)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment