gemgis.visualization.create_deviated_boreholes_3d#

gemgis.visualization.create_deviated_boreholes_3d(df_collar: pandas.core.frame.DataFrame, df_survey: pandas.core.frame.DataFrame, min_length: Union[float, int], radius: Union[float, int] = 10, collar_depth: str = 'Depth', survey_depth: str = 'Depth', index: str = 'Index', dip: str = 'dip', azimuth: str = 'azimuth') Tuple[List[pyvista.core.pointset.PolyData], pyvista.core.pointset.PolyData, List[pandas.core.frame.DataFrame]]#

Plotting boreholes in 3D

Parameters
  • df_collar (pd.DataFrame) – DataFrame containing the extracted borehole data

  • df_survey (pd.DataFrame) – DataFrame containing the extracted borehole survey data

  • min_length (Union[float, int]) – Value defining the minimum depth of boreholes to be plotted, e.g. min_length=1000

  • color_dict (dict) – Dict containing the surface colors of the model

  • radius (Union[float, int]) – Values of the radius of the boreholes plotted with PyVista, e.g. radius=100, default is 10

  • collar_depth (str) – Name of the column that contains the depth values, e.g. collar_depth='depth', default is 'Depth'

  • survey_depth (str) – Name of the column that contains the depth values, e.g. survey_depth='depth', default is 'Depth'

  • index (str) – Name of the column that contains the index values, e.g. index='index', default is 'index'

  • dip (str) – Name of the column that contains the dip values, e.g. dip='dip', default is 'dip'

  • azimuth (str) – Name of the column that contains the azimuth values, e.g. azimuth='azimuth' default is 'azimuth'

Returns

  • tubes (List[pv.core.pointset.PolyData]) – List of PyVista tubes

  • labels (pv.core.pointset.PolyData) – PyVista PolyData with Borehole Labels

  • df_groups (List[pd.DataFrame]) – List containing DataFrames

New in version 1.0.x.

Example