Add HPGL and PDF to config

This commit is contained in:
John Beard 2018-06-02 17:05:28 +01:00
parent 57c320984a
commit ac2ceedae2
2 changed files with 58 additions and 2 deletions

View File

@ -134,7 +134,7 @@ outputs:
tent_vias: true
check_zone_fills: true
# PS options
# SVG options
line_width: 0.25
drill_marks: full
mirror_plot: true
@ -143,4 +143,57 @@ outputs:
- layer: F.Cu
suffix: F_Cu
- layer: F.Fab
suffix: F_Fab
suffix: F_Fab
- name: HPGL
comment: "HPGL files"
type: hpgl
dir: gerberdir
options:
exclude_edge_layer: false
exclude_pads_from_silkscreen: false
use_aux_axis_as_origin: false
plot_sheet_reference: false
plot_footprint_refs: true
plot_footprint_values: true
force_plot_invisible_refs_vals: false
tent_vias: true
check_zone_fills: true
# HPGL options
drill_marks: full
mirror_plot: true
sketch_plot: true
scaling: 0 # auto
pen_width: 0.5
layers:
- layer: F.Cu
suffix: F_Cu
- layer: B.SilkS
suffix: B_Silks
- name: PDF
comment: "PDF files"
type: pdf
dir: gerberdir
options:
exclude_edge_layer: false
exclude_pads_from_silkscreen: false
use_aux_axis_as_origin: false
plot_sheet_reference: false
plot_footprint_refs: true
plot_footprint_values: true
force_plot_invisible_refs_vals: false
tent_vias: true
check_zone_fills: true
# PDF options
drill_marks: small
mirror_plot: false
negative_plot: false
line_width: 0.01
layers:
- layer: F.Cu
suffix: F_Cu
- layer: B.SilkS
suffix: B_Silks

View File

@ -230,6 +230,9 @@ class HpglOptions(LayerOptions):
super(HpglOptions, self).__init__()
self._supports_sketch_mode = True
self._supports_mirror = True
self._supports_scaling = True
self._supports_drill_marks = True
self._pen_width = None