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:
ConfigBaseComponent display and behaviour configuration.
Attributes
The stroke width to use for arrows in voltage marks and similar.
The length of voltage arrow tips.
The standard height to use for box-esque bipoles, such as resistors and fuses.
The standard width to use for box-esque bipoles, such as resistors and fuses.
The stroke width to use for the component symbols.
The length from the centre of the current arrow triangle from its centre to one of its vertices.
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.
The default font size to use for marks (e.g. labels and annotations).
The width of monopole source/ground symbols.
The radius of wire nodes.
The gap between plates of plated components (i.e. capacitors and cells).
The height of plates of plated components (i.e. capacitors and cells).
The standard height to use for bipoles with square bounding boxes, such as voltage sources and sensors.
The length of the terminal of a component.
The length of arrow tips in arrows signifying variability in a component.
The angle a voltage arrow will sweep with no other reference provided.
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.