Ground

class manim_eng.components.monopoles.Ground(**kwargs: Any)

Bases: Monopole

Circuit symbol for a ground connection.

Attributes

Ground.animate

Used to animate the application of any method of self.

Ground.animation_overrides

Ground.color

Ground.depth

The depth of the mobject.

Ground.fill_color

If there are multiple colors (for gradient) this returns the first one

Ground.height

The height of the mobject.

Ground.n_points_per_curve

Ground.sheen_factor

Ground.stroke_color

Ground.terminal

Get the terminal of the component.

Ground.terminals

The list of terminals of the component.

Ground.width

The width of the mobject.

_construct() None

Construct the shape of the component.

Code to build the component’s symbol goes in here and not in __init__() (contrary to Manim’s standard). This is because the base Component class has to perform initialisation both before (to set up the groups etc.) and after (to set the anchor positions for annotations) the component’s shape setup.