Problems using internal names for drill maps in gerb_drill output.

Fixes #47
This commit is contained in:
Salvador E. Tropea 2021-02-06 12:55:02 -03:00
parent 880c9c8260
commit f6dac6ef13
6 changed files with 12 additions and 4 deletions

View File

@ -38,6 +38,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Extra data about drill marks in gerber files.
- Problems using internal names for drill maps in gerb_drill output (#47).
## [0.9.0] - 2021-01-04

View File

@ -111,10 +111,9 @@ class AnyDrill(BaseOptions):
for d in files:
kicad_id = '-'+d if d else d
kibot_id = self.solve_id(d)
if self._ext == 'drl':
k_file = self.expand_filename(output_dir, '%f'+kicad_id+'.%x', '', self._ext)
else: # gbr
k_file = self.expand_filename(output_dir, '%f'+kicad_id+'-drl.%x', '', self._ext)
if self._ext == 'gbr':
kicad_id += '-drl'
k_file = self.expand_filename(output_dir, '%f'+kicad_id+'.%x', '', self._ext)
file = ''
if self.output:
file = self.expand_filename(output_dir, self.output, kibot_id, self._ext)

View File

@ -23,4 +23,5 @@ outputs:
dir: Drill
options:
use_aux_axis_as_origin: false
map: 'pdf'

View File

@ -28,4 +28,7 @@ outputs:
options:
output: ''
use_aux_axis_as_origin: false
map:
output: ''
type: 'pdf'

View File

@ -27,4 +27,7 @@ outputs:
options:
output: ''
use_aux_axis_as_origin: false
map:
output: ''
type: 'pdf'

View File

@ -22,4 +22,5 @@ outputs:
dir: Drill
options:
use_aux_axis_as_origin: false
map: 'pdf'