Skip to content

Exporter

subsurfaceio.cross_section.render.exporter

Top-level DXF export entry point.

Functions:

Name Description
export_cross_section_dxf

Write section to a CAD-native DXF file at path.

export_cross_section_dxf

export_cross_section_dxf(
    section: CrossSection,
    site: SiteInvestigation,
    path: str | Path,
) -> None

Write section to a CAD-native DXF file at path.

One DXF unit equals one meter. Layers are prefixed with XS-.

Parameters:

Name Type Description Default
section CrossSection

Cross-section definition bound to site.

required
site SiteInvestigation

Site investigation that owns the station tests.

required
path str | Path

Output DXF path.

required