geometry_gen¶
Classes for geometry generation.
Classes¶
|
Class to handle the generation of the geometry for a fabric. |
Module Contents¶
GeometryGenerator¶
- GeometryGenerator(fabric) :module:
Class to handle the generation of the geometry for a fabric.
- param fabric:
The fabric object passed from the CSV definition files
- type fabric:
Fabric
- ivar fabric:
The fabric object passed from the CSV definition files
- vartype fabric:
Fabric
- ivar fabricGeometry:
The generated geometry object
- vartype fabricGeometry:
FabricGeometry | None, optional
- generateGeometrypadding = 8 :module:
Start the geometry generation for the given fabric.
Creates a FabricGeometry object that contains the complete geometric layout of the fabric including all tiles, switch matrices, BELs, and interconnect wiring.
- param padding:
Padding used throughout the geometry, by default 8
- type padding:
int, optional
- saveToCSVfileName :module:
Save the generated geometry into a file specified by the given file name.
Exports the complete fabric geometry data to a CSV file that can be imported into FABulator for visualization and analysis.
- param fileName:
The name of the CSV file to create
- type fileName:
str