You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: evaluate stratigraphic units at arbitrary points for topography draping
Add sample_dem_grid, evaluate_stratigraphy_on_points and
get_stratigraphic_column_colours, giving callers what they need to
drape a DEM-derived surface with the stratigraphic column's colours:
a DEM-sampled XY grid, per-point unit ids from evaluate_model, and a
colour list ordered to match those ids.
evaluate_model relies on each unit's min()/max() scalar-field range,
which only gets computed by update_unit_values() -- a side effect of
the interactive add_unit path. A column set as a whole (e.g. restored
from a saved project, via add_element) never got that, so every unit
fell back to range (0, inf) and evaluate_model couldn't distinguish
any unit in a group from any other. Call update_unit_values()
whenever set_stratigraphic_column/update_stratigraphic_column attach
a column to the model, regardless of how it was built.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
0 commit comments