otko/tests/unit
Repository files (latest commit first)
Filename Latest commit message Latest commit date
smillmorel 56f1f6c08b feat: route both canvas backends through RenderStyle
Colours that were hard-coded in the renderers now come from the shared
style: nodes, supports, nodal/element loads, section extrusions (+
opacity) and label font size. The PyVista frame LUT becomes a four-slot
palette [beam, truss, link, selected] with the cell scalar carrying the
family slot, so VTK matches the Plotly backend's per-family colouring
that landed earlier. Adds style helpers shared by both backends
(element_family_index, family_palette) and an immutable with_updates().

The style also gains the editable field table (STYLE_FIELDS) the Plot
Properties dialog is built from.
2026-09-16 19:31:30 -04:00
..
catalog feat: initial otko import 2026-09-08 02:12:15 -04:00
core style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
__init__.py feat: initial otko import 2026-09-08 02:12:15 -04:00
test_architecture.py feat: live canvas backend switching (Options → Canvas Backend) 2026-09-16 18:43:59 -04:00
test_ci_config.py test: meta gates for architecture, CI, docs and packaging 2026-09-16 12:03:07 -04:00
test_combinations.py feat: load combinations 2026-09-16 12:03:07 -04:00
test_diagram_renderer.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_docs.py test: meta gates for architecture, CI, docs and packaging 2026-09-16 12:03:07 -04:00
test_elements.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_formatting.py feat: shared unit-aware formatting helpers 2026-09-16 12:03:07 -04:00
test_grid_system.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_materials.py chore: adopt remaining local development state 2026-09-16 12:03:22 -04:00
test_meta_gates.py test: meta gates for architecture, CI, docs and packaging 2026-09-16 12:03:07 -04:00
test_node.py chore: adopt remaining local development state 2026-09-16 12:03:22 -04:00
test_packaging.py test: meta gates for architecture, CI, docs and packaging 2026-09-16 12:03:07 -04:00
test_pattern_factors.py feat: initial otko import 2026-09-08 02:12:15 -04:00
test_phase8a.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_phase8b.py chore: adopt remaining local development state 2026-09-16 12:03:22 -04:00
test_phase8c.py chore: adopt remaining local development state 2026-09-16 12:03:22 -04:00
test_phase9.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_plotly_trace_builder.py feat: opstool-derived element palette and single-trace frame colours 2026-09-16 19:15:55 -04:00
test_project.py chore: adopt remaining local development state 2026-09-16 12:03:22 -04:00
test_render_style.py feat: route both canvas backends through RenderStyle 2026-09-16 19:31:30 -04:00
test_renderer.py feat: route both canvas backends through RenderStyle 2026-09-16 19:31:30 -04:00
test_section_shape.py feat: initial otko import 2026-09-08 02:12:15 -04:00
test_smoke.py feat: initial otko import 2026-09-08 02:12:15 -04:00
test_unit_labels.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_zerolength_section.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00