Enforced a limit to line_width [0.02,2] mm

This commit is contained in:
Salvador E. Tropea 2020-07-01 11:21:25 -03:00
parent 3a1d5d0652
commit 3685e3cb8b
4 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ class Gerber(AnyLayer):
self.use_aux_axis_as_origin = False
""" use the auxiliar axis as origin for coordinates """
self.line_width = 0.1
""" line_width for objects without width [mm] """
""" [0.02,2] line_width for objects without width [mm] """
self.subtract_mask_from_silk = False
""" substract the solder mask from the silk screen """
self.use_protel_extensions = False

View File

@ -17,7 +17,7 @@ class PDF(AnyLayer, DrillMarks):
# Options
with document:
self.line_width = 0.1
""" for objects without width [mm] """
""" [0.02,2] for objects without width [mm] """
self.mirror_plot = False
""" plot mirrored """
self.negative_plot = False

View File

@ -16,7 +16,7 @@ class PS(AnyLayer, DrillMarks):
# Options
with document:
self.line_width = 0.15
""" for objects without width [mm] """
""" [0.02,2] for objects without width [mm] """
self.mirror_plot = False
""" plot mirrored """
self.negative_plot = False

View File

@ -17,7 +17,7 @@ class SVG(AnyLayer, DrillMarks):
# Options
with document:
self.line_width = 0.25
""" for objects without width [mm] """
""" [0.02,2] for objects without width [mm] """
self.mirror_plot = False
""" plot mirrored """
self.negative_plot = False