sec_interp.exporters.dxf_exporter module

DXF exporter for vector data.

class sec_interp.exporters.dxf_exporter.DXFExporter(settings: dict[str, Any])

Bases: BaseExporter

Exporter for DXF format.

export(output_path: Path, features_data: list[dict[str, Any]], layer_name: str | None = None) bool

Export features to DXF.

Parameters:
  • output_path – Output file path.

  • features_data – List of dicts with ‘geometry’ and ‘attributes’ keys.

  • layer_name – Optional conceptual layer name.

Returns:

True if export successful, False otherwise.

get_supported_extensions() list[str]

Get supported vector format extensions.