otko/tests/gui
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
..
__init__.py feat: initial otko import 2026-09-08 02:12:15 -04:00
test_analysis_commands.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_analysis_runner.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_assign_load_pattern_name.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_assign_masses.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_assign_zls.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_canvas_backend_switch.py feat: live canvas backend switching (Options → Canvas Backend) 2026-09-16 18:43:59 -04:00
test_canvas_grid_snap.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_case_forms.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_commands.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_constraint_and_display_dialogs.py feat: initial otko import 2026-09-08 02:12:15 -04:00
test_convert_element_type.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_define_dialogs.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_draw_frame_tool.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_draw_node_tool.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_draw_truss_tool.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_grid_dialog.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_main_window.py feat(plotly): opstool-style contour, loads, supports, ghost and animation 2026-09-16 23:10:22 -04:00
test_material_dialog_concrete04.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_material_form_ranges.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_material_tester_dialog.py feat: initial otko import 2026-09-08 02:12:15 -04:00
test_path_ts_dialogs.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_pattern_load_audit.py feat: initial otko import 2026-09-08 02:12:15 -04:00
test_plot_properties.py feat: Options → Plot Properties dialog with live preview and persistence 2026-09-16 19:31:38 -04:00
test_plotly_gestures.py feat(plotly): opstool-style contour, loads, supports, ghost and animation 2026-09-16 23:10:22 -04:00
test_plotly_hover.py feat(plotly): opstool-style contour, loads, supports, ghost and animation 2026-09-16 23:10:22 -04:00
test_plotly_view_preservation.py feat(plotly): opstool-style contour, loads, supports, ghost and animation 2026-09-16 23:10:22 -04:00
test_property_commands.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_property_forms.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_pushover_curve_units.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_run_analysis.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_section_extrusion.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_section_forms.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_selection.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_transforms.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_tree_multi_select.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_undeformed_reference.py feat(plotly): opstool-style contour, loads, supports, ghost and animation 2026-09-16 23:10:22 -04:00
test_units_status_bar.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_update_element_fields.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00
test_viewport_axes.py feat: initial otko import 2026-09-08 02:12:15 -04:00
test_working_plane.py style: resolve the remaining ruff findings 2026-09-16 13:20:36 -04:00