Skip to content

Commit ad714cd

Browse files
authored
feat: add loopstructural-visualisation as packages/loopstructural_visualisation workspace package
Ports the loopstructural-visualisation repo in as a uv-workspace member, following the src-layout pattern proven by packages/loop_common and packages/loop_interpolation in Stage 2. Import name stays loopstructuralvisualisation; only the on-disk container path changes. - Routed the one print() call in __init__.py's trame-ui import guard through LoopStructural.utils.getLogger, consistent with the rest of the ecosystem's logging conventions. - Left LoopStructural.datatypes imports in _3d_viewer.py as-is rather than swapping to LoopStructural.geometry: that module only exists in this repo's unreleased dev tree, not in any published LoopStructural release, and the package's declared floor is LoopStructural>=1.6.17. (cherry picked from commit 07f0868)
1 parent eeb2124 commit ad714cd

14 files changed

Lines changed: 1672 additions & 0 deletions

File tree

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
# Changelog
2+
3+
## [0.1.17](https://github.com/Loop3D/loopstructural-visualisation/compare/v0.1.16...v0.1.17) (2025-08-14)
4+
5+
6+
### Bug Fixes
7+
8+
* linting ([87257f4](https://github.com/Loop3D/loopstructural-visualisation/commit/87257f43b8915061c7f8e3334ded449feaad35d4))
9+
* update for new stratigraphic colum in LoopStructural ([56def61](https://github.com/Loop3D/loopstructural-visualisation/commit/56def61d639492d5d60ccc9bfb74c54e9bafadd6))
10+
11+
## [0.1.16](https://github.com/Loop3D/loopstructural-visualisation/compare/v0.1.15...v0.1.16) (2025-05-27)
12+
13+
14+
### Bug Fixes
15+
16+
* Change scalar_bar arg to show_scalar_bar ([949b3eb](https://github.com/Loop3D/loopstructural-visualisation/commit/949b3eb23c3bf38b67a9cf1f9a332aa3defdac7b))
17+
18+
## [0.1.15](https://github.com/Loop3D/loopstructural-visualisation/compare/v0.1.14...v0.1.15) (2025-04-17)
19+
20+
21+
### Bug Fixes
22+
23+
* release 0.1.15 ([2e4f5c9](https://github.com/Loop3D/loopstructural-visualisation/commit/2e4f5c9628177916b7174dd48e8a321534a116b1))
24+
25+
## [0.1.14](https://github.com/Loop3D/loopstructural-visualisation/compare/v0.1.13...v0.1.14) (2025-02-20)
26+
27+
28+
### Bug Fixes
29+
30+
* scaling of vector fields is now consistent for different scale models. ([49450bb](https://github.com/Loop3D/loopstructural-visualisation/commit/49450bb0514e58f3da5ee3af98bd307a3fc8c4d8))
31+
32+
## [0.1.13](https://github.com/Loop3D/loopstructural-visualisation/compare/v0.1.12...v0.1.13) (2025-01-15)
33+
34+
35+
### Bug Fixes
36+
37+
* Stratigraphic column visualiser display in correct order ([7dcd5b8](https://github.com/Loop3D/loopstructural-visualisation/commit/7dcd5b8c06b637d33ac2e7c5e02bb52a1991cfdd))
38+
* Stratigraphic column visualiser display in correct order ([7dcd5b8](https://github.com/Loop3D/loopstructural-visualisation/commit/7dcd5b8c06b637d33ac2e7c5e02bb52a1991cfdd))
39+
40+
## [0.1.12](https://github.com/Loop3D/loopstructural-visualisation/compare/v0.1.11...v0.1.12) (2024-12-18)
41+
42+
43+
### Bug Fixes
44+
45+
* add import check so trame is not required ([d6aa391](https://github.com/Loop3D/loopstructural-visualisation/commit/d6aa391257604026261c45d22e6cc64792fc669c))
46+
47+
## [0.1.11](https://github.com/Loop3D/loopstructural-visualisation/compare/v0.1.10...v0.1.11) (2024-12-18)
48+
49+
50+
### Bug Fixes
51+
52+
* adding disk option to fault visualisation ([1fd1a9d](https://github.com/Loop3D/loopstructural-visualisation/commit/1fd1a9d3843e1266f4af03d6572558fa65f53527))
53+
* require ls >1.6.4 and add fault ellipsoid ([e71b0ab](https://github.com/Loop3D/loopstructural-visualisation/commit/e71b0abd1b4e242582214c57d485cf2939b90899))
54+
* update bug with trame folder ([edd3188](https://github.com/Loop3D/loopstructural-visualisation/commit/edd318850fc7e97ef4c5e37d43511f9476046324))
55+
56+
## [0.1.10](https://github.com/Loop3D/loopstructural-visualisation/compare/v0.1.9...v0.1.10) (2024-10-23)
57+
58+
59+
### Bug Fixes
60+
61+
* catch case where name is passed but is None ([52ebf0f](https://github.com/Loop3D/loopstructural-visualisation/commit/52ebf0f0fe6ff253e782f8bc2832717df573e0fe))
62+
63+
## [0.1.9](https://github.com/Loop3D/loopstructural-visualisation/compare/v0.1.8...v0.1.9) (2024-10-23)
64+
65+
66+
### Bug Fixes
67+
68+
* add subdir to package ([2663673](https://github.com/Loop3D/loopstructural-visualisation/commit/2663673e8bb55d28b754ab9eeb9d6ed277b2e2d8))
69+
* ignore subplots and fix invalid actor names ([0d0bc20](https://github.com/Loop3D/loopstructural-visualisation/commit/0d0bc2064b85bb83fa2c3a830d48598f9ab12ef1))
70+
* random colour was calling invalid rng function ([0182b46](https://github.com/Loop3D/loopstructural-visualisation/commit/0182b46a956a31b533934bc857d64eb5a1dc946c))
71+
* return cmap not array of colours ([6d0a408](https://github.com/Loop3D/loopstructural-visualisation/commit/6d0a408a8486c05c0f39ab5411f46253c3d92694))
72+
73+
## [0.1.8](https://github.com/Loop3D/loopstructural-visualisation/compare/v0.1.7...v0.1.8) (2024-10-22)
74+
75+
76+
### Bug Fixes
77+
78+
* avoiding cycle ([30c8142](https://github.com/Loop3D/loopstructural-visualisation/commit/30c8142d36629db9675bf93900d5ac8477745e19))
79+
80+
## [0.1.7](https://github.com/Loop3D/loopstructural-visualisation/compare/v0.1.6...v0.1.7) (2024-08-06)
81+
82+
83+
### Bug Fixes
84+
85+
* adding v ([696f407](https://github.com/Loop3D/loopstructural-visualisation/commit/696f407447d140e1e9e6b70150537fd013edf4e3))
86+
* removing print ([95b007d](https://github.com/Loop3D/loopstructural-visualisation/commit/95b007d5d1eda8bbbd3fb9df4c0171e8128dd3ec))
87+
* restrict to LS>=1.6.0 and adding conda build ([fcc9ca3](https://github.com/Loop3D/loopstructural-visualisation/commit/fcc9ca3cd458195e157a0bbefc1f5b985e300b84))
88+
89+
## [0.1.6](https://github.com/Loop3D/loopstructural-visualisation/compare/v0.1.5...v0.1.6) (2024-06-06)
90+
91+
92+
### Bug Fixes
93+
94+
* update for ls scalar field changes ([553cd89](https://github.com/Loop3D/loopstructural-visualisation/commit/553cd89f978f2a025ae446cc3e4a6f40cb24e167))
95+
96+
## [0.1.5](https://github.com/Loop3D/loopstructural-visualisation/compare/v0.1.4...v0.1.5) (2024-06-04)
97+
98+
99+
### Bug Fixes
100+
101+
* addin old loopstructural plots ([e716096](https://github.com/Loop3D/loopstructural-visualisation/commit/e7160967272fabb172c43a5c7a476540bdbd2715))
102+
103+
## [0.1.4](https://github.com/Loop3D/loopstructural-visualisation/compare/v0.1.3...v0.1.4) (2024-06-04)
104+
105+
106+
### Bug Fixes
107+
108+
* adding ls logger ([0914d43](https://github.com/Loop3D/loopstructural-visualisation/commit/0914d439ef1606dfb57a3f1e283b991a5149d9f8))
109+
* adding random colour generator and rbga to hex ([ccc3994](https://github.com/Loop3D/loopstructural-visualisation/commit/ccc3994f44d34d069dcb958b4f45e6a50a652cce))
110+
* adding threshold to block model ([8c3c0c6](https://github.com/Loop3D/loopstructural-visualisation/commit/8c3c0c62ab1a6565892098cf9fc591e4a817f408))
111+
* updating to .vtk as a method ([b5ab78c](https://github.com/Loop3D/loopstructural-visualisation/commit/b5ab78c2503a59578133ad75bd329a87c10846f8))
112+
113+
## [0.1.3](https://github.com/Loop3D/loopstructural-visualisation/compare/v0.1.2...v0.1.3) (2024-05-31)
114+
115+
116+
### Bug Fixes
117+
118+
* add wrapper to use pyvista plane slicer ([7bbce47](https://github.com/Loop3D/loopstructural-visualisation/commit/7bbce472083308e76828beaa867170ba6ebdafb9))
119+
* make sure pyvista has from_regular_faces ([6a1d402](https://github.com/Loop3D/loopstructural-visualisation/commit/6a1d402f3637d986b7e56e316f030e0ff3629e1f))
120+
* rename scale bar to scalar_bar ([7025441](https://github.com/Loop3D/loopstructural-visualisation/commit/7025441c74ed6518debe63fa279924d3873183bf))
121+
122+
## [0.1.2](https://github.com/Loop3D/loopstructural-visualisation/compare/v0.1.1...v0.1.2) (2024-05-28)
123+
124+
125+
### Bug Fixes
126+
127+
* update pypi to remove username and pw ([c8d1b43](https://github.com/Loop3D/loopstructural-visualisation/commit/c8d1b430443a2c454b5aeeff3f2099f8d5a3a978))
128+
129+
## [0.1.1](https://github.com/Loop3D/loopstructural-visualisation/compare/v0.1.0...v0.1.1) (2024-05-28)
130+
131+
132+
### Bug Fixes
133+
134+
* trigger release ([fc6a70f](https://github.com/Loop3D/loopstructural-visualisation/commit/fc6a70fc18ecd43fedd7a3f3d8d717ae790800e7))
135+
136+
## 0.1.0 (2024-05-28)
137+
138+
139+
### Bug Fixes
140+
141+
* adding _2d_viewer file ([099c43c](https://github.com/Loop3D/loopstructural-visualisation/commit/099c43c693fb7f5e3c3f1cee587e80c12694411b))
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 Loop3D
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# loopstructural-visualisation
2+
3+
A LoopStructural interface for pyvista's Plotter class.
4+
5+
6+
To install `pip install loopstructuralvisualisation` or for a jupyter notebook environment (including the pyvista[jupyuter] dependencies) `pip install loopstructuralvisualisation[jupyter]`
7+
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
[build-system]
2+
requires = ["setuptools"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "loopstructuralvisualisation"
7+
description = "3D geological modelling visualisation for LoopStructural"
8+
dynamic = ["version"]
9+
requires-python = ">=3.9"
10+
authors = [{ name = "Lachlan Grose", email = "lachlan.grose@monash.edu" }]
11+
readme = "README.md"
12+
license = { text = "MIT" }
13+
keywords = [
14+
"earth sciences",
15+
"geology",
16+
"3-D modelling",
17+
"structural geology",
18+
"uncertainty",
19+
]
20+
classifiers = [
21+
"Development Status :: 5 - Production/Stable",
22+
"Intended Audience :: Science/Research",
23+
"Topic :: Scientific/Engineering :: Information Analysis",
24+
"License :: OSI Approved :: MIT License",
25+
"Operating System :: Microsoft :: Windows",
26+
"Operating System :: POSIX",
27+
"Operating System :: MacOS",
28+
"Programming Language :: Python :: 3.9",
29+
"Programming Language :: Python :: 3.10",
30+
"Programming Language :: Python :: 3.11",
31+
"Programming Language :: Python :: 3.12",
32+
]
33+
dependencies = ["numpy>=1.18", "pyvista>=0.42", "LoopStructural>=1.6.17"]
34+
35+
[project.optional-dependencies]
36+
jupyter = ["pyvista[jupyter]"]
37+
all = ["pyvista[all]"]
38+
tests = ["pytest"]
39+
40+
[project.urls]
41+
Documentation = "https://Loop3d.org/LoopStructural/"
42+
"Bug Tracker" = "https://github.com/loop3d/loopstructural-visualisation/issues"
43+
"Source Code" = "https://github.com/loop3d/loopstructural-visualisation"
44+
45+
[tool.setuptools.dynamic]
46+
version = { attr = "loopstructuralvisualisation.version.__version__" }
47+
48+
[tool.setuptools.packages.find]
49+
where = ["src"]
50+
include = ["loopstructuralvisualisation", "loopstructuralvisualisation.*"]

0 commit comments

Comments
 (0)