upxo.meshing.gbconformant.d3v2p0.quality_view module

Interactive tetrahedral quality-range selection with a linked histogram.

upxo.meshing.gbconformant.d3v2p0.quality_view.quality_histogram_view(grid, surface=None, *, grain_id=None, initial_range=(0.0, 0.05), bins=80, cmap='viridis', color_limits=(0.0, 1.0), selected_opacity=1.0, show_edges=True, show_context=True, context_opacity=0.08, log_counts=True, target=0.05, show_lines=False, line_color='red', line_width=3.0, show_points=False, point_color='black', point_size=10.0, window_size=(1600, 750), show=True)[source]

Select whole tetrahedra by inclusive minSICN range; does not modify grid.

Sliders update on release. Histogram bins/colour limits stay fixed. The returned state contains original grid cell IDs for the current selection.