Source code for jitx.paper

"""
Paper size definitions
======================

This module provides standard paper size enumerations for the schematic.
"""

from enum import Enum


[docs] class Paper(Enum): """Standard paper sizes for schematic pages. Add a field of this type to a :py:class:`~jitx.design.Design` to specify the paper size for generated schematics. If not specified, ANSI A is used by default. >>> class MyDesign(Design): ... paper = Paper.ANSI_B """ ISO_A0 = "ISO_A0" ISO_A1 = "ISO_A1" ISO_A2 = "ISO_A2" ISO_A3 = "ISO_A3" ISO_A4 = "ISO_A4" ISO_A5 = "ISO_A5" ANSI_A = "ANSI_A" ANSI_B = "ANSI_B" ANSI_C = "ANSI_C" ANSI_D = "ANSI_D" ANSI_E = "ANSI_E"