fibomat.layout.layoutbase module¶
Provide the LayoutBase class.
- class fibomat.layout.layoutbase.LayoutBase(description: Optional[str] = None)[source]¶
Bases:
Generic[fibomat.layout.layoutbase.ElementT,fibomat.layout.layoutbase.VectorT,fibomat.layout.layoutbase.BBoxT],abc.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.