gemgis.postprocessing.create_plane_from_interface_and_orientation_dfs#

gemgis.postprocessing.create_plane_from_interface_and_orientation_dfs(df_interface: pandas.core.frame.DataFrame, df_orientations: pandas.core.frame.DataFrame, i_size: Union[int, float] = 1000, j_size: Union[int, float] = 1000) pyvista.core.pointset.PolyData#

Create PyVista plane from GemPy interface and orientations DataFrames.

Parameters
  • df_interface (pd.DataFrame) – GemPy Pandas DataFrame containing the interface point for the plane creation.

  • df_orientations (pd.DataFrame) – GemPy Pandas Dataframe containing the orientations for the plane creation.

  • i_size (Union[int, float]) – Size of the plane in the i direction.

  • j_size (Union[int, float]) – Size of the plane in the j direction.

Returns

  • plane (pv.core.pointset.PolyData) – Plane for clipping the fault.

  • azimuth (Union[int, float]) – Azimuth of the fault.

New in version 1.1.

See also

clip_fault_of_gempy_model

Clip fault of a GemPy model.

translate_clipping_plane

Translate clipping plane.

Example