Exporter_DXF#
- class zeroheliumkit.src.importing.Exporter_DXF(name: str, zhk_layers: dict, layer_cfg: list)[source]#
Bases:
objectHelper class to export zhk dictionary with geometries into .dxf file.
- Parameters:
name (str) – The name of the DXF file.
zhk_layers (dict) – A dictionary containing the geometries for each layer.
dxf (ezdxf.DXFDocument) – The DXF document object.
layer_cfg (list) – A list containing the layer configuration.
Methods
Prepares the DXF file by creating a new DXF document and adding layers with polygons.
save()Saves the DXF file.
Attributes
namezhk_layersdxflayer_cfg