diff --git a/CHANGELOG.md b/CHANGELOG.md index 65bb627..178fc61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## [0.1.11](https://github.com/Loop3D/loopstructural-visualisation/compare/v0.1.10...v0.1.11) (2024-12-18) + + +### Bug Fixes + +* adding disk option to fault visualisation ([1fd1a9d](https://github.com/Loop3D/loopstructural-visualisation/commit/1fd1a9d3843e1266f4af03d6572558fa65f53527)) +* require ls >1.6.4 and add fault ellipsoid ([e71b0ab](https://github.com/Loop3D/loopstructural-visualisation/commit/e71b0abd1b4e242582214c57d485cf2939b90899)) +* update bug with trame folder ([edd3188](https://github.com/Loop3D/loopstructural-visualisation/commit/edd318850fc7e97ef4c5e37d43511f9476046324)) + ## [0.1.10](https://github.com/Loop3D/loopstructural-visualisation/compare/v0.1.9...v0.1.10) (2024-10-23) diff --git a/loopstructuralvisualisation/_3d_viewer.py b/loopstructuralvisualisation/_3d_viewer.py index 43c8423..8544cf6 100644 --- a/loopstructuralvisualisation/_3d_viewer.py +++ b/loopstructuralvisualisation/_3d_viewer.py @@ -556,7 +556,7 @@ def plot_data( geom = pv.Disc() geom = geom.rotate_y(90) else: - raise ValueError(f"Unknown glyph type {geom}") + raise ValueError(f"Unknown glyph type {geom}") actors.append( self.add_mesh( d.vtk(geom=geom, scale=scale), name=name, **pyvista_kwargs @@ -645,14 +645,14 @@ def plot_fault( else: volume_name = f'{fault.name}_volume_{name}' volume = fault.displacementfeature.scalar_field() - volume =volume.vtk().threshold(0.0) + volume = volume.vtk().threshold(0.0) if geom == "arrow": geom = pv.Arrow() elif geom == "disc": geom = pv.Disc() - geom = geom.rotate_y(90) + geom = geom.rotate_y(90) else: - raise ValueError(f"Unknown glyph type {geom}") + raise ValueError(f"Unknown glyph type {geom}") actors.append(self.add_mesh(volume, name=volume_name, **pyvista_kwargs)) if len(actors) == 0: logger.warning(f"Nothing added to plot for {fault.name}") diff --git a/loopstructuralvisualisation/version.py b/loopstructuralvisualisation/version.py index 569b121..0c5c300 100644 --- a/loopstructuralvisualisation/version.py +++ b/loopstructuralvisualisation/version.py @@ -1 +1 @@ -__version__ = "0.1.10" +__version__ = "0.1.11"