Allow strings in globals.copper_thickness

This commit is contained in:
Salvador E. Tropea 2022-02-21 09:38:11 -03:00
parent d9d80e5710
commit 17911fe136
2 changed files with 2 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class Globals(FiltersOptions):
self.copper_finish = None
""" {pcb_finish} """
self.copper_thickness = 35
""" Copper thickness in micrometers (1 Oz is 35 micrometers).
""" [number|string] Copper thickness in micrometers (1 Oz is 35 micrometers).
KiCad 6: you should set this in the Board Setup -> Physical Stackup """
self.impedance_controlled = False
""" The PCB needs specific dielectric characteristics.

View File

@ -6,6 +6,7 @@ global:
solder_mask_color_top: blue
solder_mask_color_bottom: red
pcb_finish: ENIG
copper_thickness: "35"
outputs:
- name: 'report_full'