fibomat.layout.layoutbase module#
Provide the LayoutBase class.
- class fibomat.layout.layoutbase.LayoutBase(description: str | None = None)[source]#
Bases:
Generic[ElementT,VectorT,BBoxT],ABCABC for all layout related classes.
It can be used to arrange
fibomat.site.Site,fibomat.pattern.Patternandfibomat.shapes.Shape.The saved are accessed via the
LayoutBase.layout_elements()method which returns a generator containing all included elements.What kind of elements and how these are set must be specified in child classes.