ground module#
Ground symbol for JITX Standard Library
This module defines the Ground symbol, often used as a net symbol, and associated construction functions.
- class GroundConfig(label_config=None, line_width=0.15, porch_width=1.0, spacing=0.4, max_len=2.0, min_len=0.4, line_count=3)[source]#
Bases:
LabelConfigurableConfiguration for ground symbols
Defines the geometric and visual parameters for ground symbols.
- Parameters:
- line_width: float = 0.15#
Width of the ground symbol lines
- porch_width: float = 1.0#
Distance from pin to first horizontal line
- spacing: float = 0.4#
Vertical spacing between horizontal lines
- max_len: float = 2.0#
Length of the longest line in the ground symbol
- min_len: float = 0.4#
Length of the shortest line in the ground symbol
- line_count: int = 3#
Number of lines in the ground symbol
- class GroundSymbol(config=None, **kwargs)[source]#
Bases:
LabelledSymbolGround symbol with graphics and pin.
Creates a typical power ground net symbol consisting of horizontal lines of evenly decreasing length, evenly spaced in the -Y dimension.
- Parameters:
config (GroundConfig | None)
- vertical_line: Shape[Polyline]#
- horizontal_lines: tuple[Shape[Polyline], ...]#
- gnd: Pin#
- config: GroundConfig#
- property line_width: float#
See
line_width.
- property porch_width: float#
See
porch_width.
- property line_count: int#
See
line_count.
- property label_config: LabelConfigurable#
Configuration object that provides label configuration