PaperConfig
- class PaperConfig(name, y_axis_up, origin_location, paper_size=None, paper_orientation=None, x_range=None, y_range=None, origin_location_reference='topleft', info='', rotate_180=False, set_ps=None, final_pu_params=None, aka_names=<factory>)
Data class containing configuration for a give plotter type/paper size combinations.
Methods
- rtype
Attributes
if not None, these params are added to the final PU command
information printed to the user when paper is used
reference for
origin_location
orientation of the plotter coordinate system on paper
X/Y axis convention of the plotter
if True, the geometries are rotated by 180 degrees on the page
if not None, call PS with corresponding value
admissible range of X coordinates
admissible range of Y coordinates
name of the paper format
if True, the Y axis point upwards instead of downwards
location on paper of the (0, 0) plotter unit coordinates
alternative paper names (will be found by
paper_config()
Methods
- classmethod PaperConfig.from_config(data)
- Return type
Attributes
- PaperConfig.final_pu_params: Optional[str] = None
if not None, these params are added to the final PU command
- PaperConfig.paper_orientation: Optional[str] = None
orientation of the plotter coordinate system on paper
- PaperConfig.rotate_180: bool = False
if True, the geometries are rotated by 180 degrees on the page