otko/tests/unit
Repository files (latest commit first)
Filename Latest commit message Latest commit date
smillmorel d3878f23b3 feat(plotly): opstool-style contour, loads, supports, ghost and animation
Bring the Plotly canvas in line with opstool's visualisation recipes.

Camera / interaction:
- frame the camera in plotly's normalized scene units, using the model
  bounds (grid excluded); a data-unit eye rendered the model as a speck
- use turntable dragmode so Z stays up and the horizon stays level
- align mouse bindings with the PyVista/VTK backend and document them in
  Help → Mouse Controls

Visualisation:
- colour deformed / modal shapes by response with a shared colourbar
- scale load arrows by |F|, tint per load pattern, hover the magnitude,
  and fix cones rendering as oversized fins (sizemode scaled, not absolute)
- draw DOF-accurate support glyphs (ported from opstool; see NOTICE)
- add an undeformed-reference overlay on both canvas backends
- play mode shapes with plotly frame animation in-page

Tests: builder unit tests plus GUI regression tests for gestures, the
deformed push, the undeformed reference and animation payloads.
2026-09-16 23:10:22 -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(plotly): opstool-style contour, loads, supports, ghost and animation 2026-09-16 23:10:22 -04:00
test_project.py chore: adopt remaining local development state 2026-09-16 12:03:22 -04:00
test_render_style.py feat: opstool-style scene recipe for the Plotly canvas 2026-09-16 20:05:26 -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