Problems using internal names for drill maps in gerb_drill output.
Fixes #47
This commit is contained in:
parent
880c9c8260
commit
f6dac6ef13
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -23,4 +23,5 @@ outputs:
|
|||
dir: Drill
|
||||
options:
|
||||
use_aux_axis_as_origin: false
|
||||
map: 'pdf'
|
||||
|
||||
|
|
|
|||
|
|
@ -28,4 +28,7 @@ outputs:
|
|||
options:
|
||||
output: ''
|
||||
use_aux_axis_as_origin: false
|
||||
map:
|
||||
output: ''
|
||||
type: 'pdf'
|
||||
|
||||
|
|
|
|||
|
|
@ -27,4 +27,7 @@ outputs:
|
|||
options:
|
||||
output: ''
|
||||
use_aux_axis_as_origin: false
|
||||
map:
|
||||
output: ''
|
||||
type: 'pdf'
|
||||
|
||||
|
|
|
|||
|
|
@ -22,4 +22,5 @@ outputs:
|
|||
dir: Drill
|
||||
options:
|
||||
use_aux_axis_as_origin: false
|
||||
map: 'pdf'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue