Skip to content

SR_open

pygerber.nodes.aperture.SR_open module contains definition of SRopen class.

SRopen

Bases: Node

Represents SR Gerber extended command.

x_repeats property

x_repeats: int

Get number of repeats in X axis.

y_repeats property

y_repeats: int

Get number of repeats in Y axis.

x_delta property

x_delta: float

Get number of X repeats.

y_delta property

y_delta: float

Get number of Y repeats.

visit

visit(visitor: AstVisitor) -> SRopen

Handle visitor call.

get_visitor_callback_function

get_visitor_callback_function(
    visitor: AstVisitor,
) -> Callable[[Self], SRopen]

Get callback function for the node.