Skip to content

Feat/block model visualisation - #124

Merged
lachlangrose merged 4 commits into
mainfrom
feat/block-model-visualisation
Sep 30, 2026
Merged

lachlangrose merged 4 commits into
mainfrom
feat/block-model-visualisation

Conversation

@lachlangrose

Copy link
Copy Markdown
Member

No description provided.

Add a Block Model button to the visualisation panel. It fills the model
bounding box with blocks, evaluates the stratigraphy at each block centre
on a background thread, and colours the blocks by the stratigraphic column.
The number of blocks along each axis is set in a dialog and defaults to
the model resolution.
Model changes no longer rebuild the viewer objects automatically. The
objects built from the model are marked out of date (grey italic in the
object list), and a new button builds them again from the current model
on a background thread. Each object keeps its name, visibility and viewer
settings. Cross sections, block models and topography are also updated.

Also keep the source information when the properties panel adds an object
again, and save opacity changes.
Add a Filter (Threshold) section to the object properties panel. For the
unit ids of a block model, cross section or coloured topography, it shows
a check box for each unit (with its name and colour); other arrays use a
value range, with an option to invert it. The full mesh stays stored, so
the filter can be changed or cleared, and it stays when the object is
updated from the model.

The objects coloured by stratigraphy now store the unit names and colours,
and the viewer gets replace_mesh_object to add an object again with the
same settings.
@lachlangrose
lachlangrose merged commit 37fe3cc into main Sep 30, 2026
4 checks passed
@lachlangrose
lachlangrose deleted the feat/block-model-visualisation branch September 30, 2026 03:51
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