Skip to content

feat: add loopstructural-visualisation as packages/loopstructural_visualisation workspace package - #301

Open
lachlangrose wants to merge 2 commits into
split/01-intrusions-fixfrom
split/02-visualisation-package
Open

feat: add loopstructural-visualisation as packages/loopstructural_visualisation workspace package#301
lachlangrose wants to merge 2 commits into
split/01-intrusions-fixfrom
split/02-visualisation-package

Conversation

@lachlangrose

Copy link
Copy Markdown
Member

Split out of #298 / #299. PR 2 of 9 in the stack — depends on #300.

Adds the loopstructural_visualisation package (2D/3D viewers, trame UI) as a new self-contained workspace member under packages/loopstructural_visualisation. No wiring into the root workspace config yet — that's PR 4 (#303 stack, once opened).

Base is #300 only because of stack ordering; this package's content doesn't depend on the intrusions fix.

…ualisation 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)
@lachlangrose
lachlangrose force-pushed the split/02-visualisation-package branch from 0db8c7d to ad714cd Compare August 14, 2026 11:14
…uv.sources

packages/* workspace glob makes any package dir under packages/ a uv
workspace member automatically, but uv separately requires each member
to have a tool.uv.sources entry declaring it as workspace = true.
Missing entries broke uv sync/build for every package in this repo
with: "loopstructuralvisualisation is included as a workspace member,
but is missing an entry in tool.uv.sources". LoopStructural is needed
too since loopstructuralvisualisation depends on LoopStructural>=1.6.17
and should resolve that against the local workspace root, not PyPI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant