Fixed missing documentation for `route_mode_for_oval_holes` option

Closes #123
This commit is contained in:
Diego Capusotto 2021-12-17 08:57:45 -03:00
parent ea6a7c7ecb
commit 267cc38453
4 changed files with 4 additions and 1 deletions

View File

@ -993,7 +993,7 @@ Next time you need this list just use an alias, like this:
- `filename`: [string=''] Name of the drill report. Not generated unless a name is specified.
(%i='drill_report' %x='txt').
- `right_digits`: [number=0] number of digits for mantissa part of coordinates (0 is auto).
- `route_mode_for_oval_holes`: Undocumented.
- `route_mode_for_oval_holes`: [boolean=true] Use route command for oval holes (G00), otherwise use G85.
- `use_aux_axis_as_origin`: [boolean=false] Use the auxiliary axis as origin for coordinates.
- `zeros_format`: [string='DECIMAL_FORMAT'] [DECIMAL_FORMAT,SUPPRESS_LEADING,SUPPRESS_TRAILING,KEEP_ZEROS] How to handle the zeros.
- `output_id`: [string=''] Text to use for the %I expansion content. To differentiate variations of this output.

View File

@ -394,6 +394,7 @@ outputs:
filename: ''
# [number=0] number of digits for mantissa part of coordinates (0 is auto)
right_digits: 0
# [boolean=true] Use route command for oval holes (G00), otherwise use G85
route_mode_for_oval_holes: true
# [boolean=false] Use the auxiliary axis as origin for coordinates
use_aux_axis_as_origin: false

View File

@ -477,6 +477,7 @@ def print_output_options(name, cl, indent):
entry = ' - `{}`: '
if help is None:
help = 'Undocumented'
logger.error('Undocumented option: `{}`'.format(k))
lines = help.split('\n')
preface = ind_str+entry.format(k)
clines = len(lines)

View File

@ -32,6 +32,7 @@ class ExcellonOptions(AnyDrill):
self.right_digits = 0
""" number of digits for mantissa part of coordinates (0 is auto) """
self.route_mode_for_oval_holes = True
""" Use route command for oval holes (G00), otherwise use G85 """
self._ext = 'drl'
def _configure_writer(self, board, offset):