Fixed extra data about drill marks in gerber files.

We must use SetDrillMarksType(0) for gerbers.
This commit is contained in:
Salvador E. Tropea 2021-01-13 11:44:20 -03:00
parent ceb6bbe52a
commit bb4de91672
2 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
This status was moved to a separated column named `Status`.
You can join both columns if you want.
### Fixed
- Extra data about drill marks in gerber files.
## [0.9.0] - 2021-01-04
### Added

View File

@ -59,6 +59,7 @@ class GerberOptions(AnyLayerOptions):
po.SetUseGerberX2format(self.use_gerber_x2_attributes)
po.SetIncludeGerberNetlistInfo(self.use_gerber_net_attributes)
po.SetUseAuxOrigin(self.use_aux_axis_as_origin)
po.SetDrillMarksType(0)
if GS.kicad_version_n < KICAD_VERSION_5_99:
po.SetLineWidth(FromMM(self.line_width))
else: