geometor.render.sequencer
- class geometor.render.sequencer.Sequencer(plot_name: str | None = None, margin=0.1, FIG_W=16, FIG_H=9)[source]
Bases:
Plotter
The Sequencer class encapsulates the setup and generation of geometric plots. It receives a geometric model and provides functionalities to sequence and render the plot.
- parameters:
plot_name
str
the name of the plot
- attributes:
plot_name (str, optional): An optional name for the plot. margin (float, optional): An optional parameter to control the margins of the plot. fig (Figure): Matplotlib figure object. ax (Axes): Matplotlib axes object for the main plot. ax_label (Axes): Matplotlib axes object for the label.
- plot_sequence(model: Model, extensions=['svg', 'png'])
Plots the sequence of all types of elements in layers for the given model.
- step_sequence(model: Model)
allow interactive stepping through the model