controltheorylib.mech_vis.fixed_world
- fixed_world = <function fixed_world>[source]
Generates a fixed-world shape as a Manim VGroup between two points with diagonal support lines.
- Parameters:
start (np.ndarray) – The start point of the fixed-world line.
end (np.ndarray) – The end point of the fixed-world line.
spacing (float | None, optional) – Distance between the diagonal support lines. If None, it is automatically calculated.
mirror (bool, optional) – Whether to mirror the diagonal lines across the main line.
diag_line_length (float, optional) – Length of the diagonal hatch lines.
line_or (str, optional) – Direction of diagonal lines: “right” (default) or “left”.
color (Color) – Color of the main and diagonal lines.
**kwargs (Any) – Additional keyword arguments passed to Manim’s Line constructor (e.g., stroke_width, opacity).
- Returns:
A Manim VGroup containing the ceiling line and the diagonal support lines.
- Return type:
VGroup