otko/tests/unit
Repository files (latest commit first)
Filename Latest commit message Latest commit date
smillmorel 5f977e9df0 feat: opstool-style scene recipe for the Plotly canvas
Frames the view deterministically: Scene now carries padded per-axis bounds
(opstool's pad_ratio 0.15, with unit slack on degenerate axes) plus
axis_overrides() pinning range + autorange=False, so the model is never
flush against the viewport edge. Adds entity hover templates (Node #n /
Element #n with an empty extra tag), and an optional axis outline (grid +
ticks) - off by default so the SAP2000-like clean viewport is unchanged;
the coloured X/Y/Z axis lines always stay as the orientation cue.

The outline is exposed as a bool in the Plot Properties table, so the
table-driven dialog now builds a checkbox for kind=bool.
2026-09-16 20:05:26 -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-style scene recipe for the Plotly canvas 2026-09-16 20:05:26 -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