marker module#
- class Pad1MarkerMixin(*args, **kwargs)[source]#
Bases:
ApplyToMixin,SilkscreenSoldermaskClearanceMixin,LineWidthMixin,LandpatternProviderPad 1 Marker Mixin
- pad_1_marker(shape)[source]#
Add a pad 1 marker to the landpattern. The shape will be placed in a coordinate system relative to the outside edge of the first pad, with the positive y-axis pointing away from the pad. Thus the shape should not extend to negative y values.
- Return type:
- Parameters:
shape (Shape | MarkerGenerator | Callable[[], MarkerGenerator])
- pad_1_marker_direction(direction=None, margin=None)[source]#
Set the side of the pad 1 marker. If not set, the marker will be placed on the side of the first pad that appears to be facing away from the package.
- Parameters:
direction (
MarkerDirection|None) – the direction to place the markermargin (
float|None) – the margin between the marker and the pad
- Return type:
- class Pad1Marker(*args, **kwargs)[source]#
Bases:
Pad1MarkerMixin,LandpatternGeneratorConvenience base class to create a pad 1 circle marker by default.
- class CircleMarker[source]#
Bases:
MarkerGenerator