fibomat.raster_styles.two_d.linebyline module#
Provide LineByLine raster style.
- class fibomat.raster_styles.two_d.linebyline.LineByLine(line_pitch: Quantity, scan_sequence: ScanSequence, alpha: float, invert: bool, line_style: RasterStyle)[source]#
Bases:
RasterStyle- __init__(line_pitch: Quantity, scan_sequence: ScanSequence, alpha: float, invert: bool, line_style: RasterStyle)[source]#
- property dimension: int#
Returns the required dimensionality a shape must have to apply this raster style Returns:
- property line_pitch#
- property scan_sequence#
- property alpha#
- property invert#
- property line_style#
- rasterize(dim_shape: DimShape, mill: Mill, out_length_unit: Unit, out_time_unit: Unit) RasterizedPattern[source]#
Rasterize the given shape.
The number of repeats and dwell_time defined in the mill object must be applied! The points and dwell times in the returned RasterizedPoints object must be scaled according to out_length_unit and out_time_unit.
- Args:
dim_shape (DimObjLike[Shape, LengthUnit]): shpae with length unit to be rasterized. mill (Mill): mill out_length_unit (LengthUnit): length unit of returned RasterizedPoints out_time_unit (TimeUnit): time unit of returned RasterizedPoints
- Returns:
RasterizedPoints
- clone() RasterStyle#
Deep copy the raster style.
- Returns:
RasterStyle