ComponentSymbolConfig

class manim_eng._config.config.ComponentSymbolConfig(bipole_height: float = 0.4, bipole_width: float = 1.0, square_bipole_side_length: float = 0.6000000000000001, component_stroke_width: float = 4, current_arrow_radius: float = np.float64(0.09237604307034014), terminal_length: float = 0.4, wire_stroke_width: float = 2.5, mark_font_size: float = 36.0, mark_cardinal_alignment_margin: float = 0.08726646259971647, arrow_stroke_width: float = 2.5, arrow_tip_length: float = 0.2, voltage_default_angle: float = 1.0471975511965976, node_radius: float = 0.06, variability_arrow_tip_length: float = 0.125, monopole_width: float = 0.5, plate_gap: float = 0.16666666666666666, plate_height: float = 0.8333333333333333)

Bases: ConfigBase

Component display and behaviour configuration.

Attributes

ComponentSymbolConfig.arrow_stroke_width

The stroke width to use for arrows in voltage marks and similar.

ComponentSymbolConfig.arrow_tip_length

The length of voltage arrow tips.

ComponentSymbolConfig.bipole_height

The standard height to use for box-esque bipoles, such as resistors and fuses.

ComponentSymbolConfig.bipole_width

The standard width to use for box-esque bipoles, such as resistors and fuses.

ComponentSymbolConfig.component_stroke_width

The stroke width to use for the component symbols.

ComponentSymbolConfig.current_arrow_radius

The length from the centre of the current arrow triangle from its centre to one of its vertices.

ComponentSymbolConfig.mark_cardinal_alignment_margin

The maximum angle a component can be from one of horizontal or vertical whilst still being considered horizontal or vertical for the purpose of mark alignment.

ComponentSymbolConfig.mark_font_size

The default font size to use for marks (e.g. labels and annotations).

ComponentSymbolConfig.monopole_width

The width of monopole source/ground symbols.

ComponentSymbolConfig.node_radius

The radius of wire nodes.

ComponentSymbolConfig.plate_gap

The gap between plates of plated components (i.e. capacitors and cells).

ComponentSymbolConfig.plate_height

The height of plates of plated components (i.e. capacitors and cells).

ComponentSymbolConfig.square_bipole_side_length

The standard height to use for bipoles with square bounding boxes, such as voltage sources and sensors.

ComponentSymbolConfig.terminal_length

The length of the terminal of a component.

ComponentSymbolConfig.variability_arrow_tip_length

The length of arrow tips in arrows signifying variability in a component.

ComponentSymbolConfig.voltage_default_angle

The angle a voltage arrow will sweep with no other reference provided.

ComponentSymbolConfig.wire_stroke_width

The stroke width to use for wires.

arrow_stroke_width: float = 2.5

The stroke width to use for arrows in voltage marks and similar.

arrow_tip_length: float = 0.2

The length of voltage arrow tips.

bipole_height: float = 0.4

The standard height to use for box-esque bipoles, such as resistors and fuses.

bipole_width: float = 1.0

The standard width to use for box-esque bipoles, such as resistors and fuses.

component_stroke_width: float = 4

The stroke width to use for the component symbols.

current_arrow_radius: float = np.float64(0.09237604307034014)

The length from the centre of the current arrow triangle from its centre to one of its vertices.

mark_cardinal_alignment_margin: float = 0.08726646259971647

The maximum angle a component can be from one of horizontal or vertical whilst still being considered horizontal or vertical for the purpose of mark alignment.

mark_font_size: float = 36.0

The default font size to use for marks (e.g. labels and annotations).

monopole_width: float = 0.5

The width of monopole source/ground symbols.

node_radius: float = 0.06

The radius of wire nodes.

plate_gap: float = 0.16666666666666666

The gap between plates of plated components (i.e. capacitors and cells).

plate_height: float = 0.8333333333333333

The height of plates of plated components (i.e. capacitors and cells).

square_bipole_side_length: float = 0.6000000000000001

The standard height to use for bipoles with square bounding boxes, such as voltage sources and sensors.

terminal_length: float = 0.4

The length of the terminal of a component.

variability_arrow_tip_length: float = 0.125

The length of arrow tips in arrows signifying variability in a component.

voltage_default_angle: float = 1.0471975511965976

The angle a voltage arrow will sweep with no other reference provided.

wire_stroke_width: float = 2.5

The stroke width to use for wires.