sec_interp.exporters.drillhole_3d_exporter module

3D Drillhole Exporter.

This module provides exporters for 3D drillhole data (traces and intervals).

class sec_interp.exporters.drillhole_3d_exporter.DrillholeInterval3DExporter(settings: dict[str, Any])

Bases: BaseExporter

Exports 3D drillhole intervals to a Shapefile.

export(output_path: Any, data: dict[str, Any]) bool

Export 3D drillhole intervals to a Shapefile.

Parameters:
  • output_path – Path to the output Shapefile.

  • data – Dictionary containing ‘drillhole_data’ and ‘crs’. Can include ‘use_projected’ (bool).

Returns:

True if export successful, False otherwise.

Return type:

bool

get_supported_extensions() list[str]

Get supported extensions.

class sec_interp.exporters.drillhole_3d_exporter.DrillholeTrace3DExporter(settings: dict[str, Any])

Bases: BaseExporter

Exports 3D drillhole traces to a Shapefile.

export(output_path: Any, data: dict[str, Any]) bool

Export 3D drillhole traces to a Shapefile.

Parameters:
  • output_path – Path to the output Shapefile.

  • data – Dictionary containing ‘drillhole_data’ and ‘crs’. Can include ‘use_projected’ (bool).

Returns:

True if export successful, False otherwise.

Return type:

bool

get_supported_extensions() list[str]

Get supported extensions.