Files
OneCAD/crates/ui-egui/tests/scenarios/navigation_cube_y_up.json
T
Karl Von Richter 7b34d57b25 feat(ui): offer a cube navigator alongside signed axes (#664)
Adds a View navigator preference (Navigation page) with an optional cube navigator alongside the signed axes, which stay the default (#165).
2026-10-13 09:28:52 -04:00

55 lines
810 B
JSON

[
{"call":"ui.prefs","params":{"navigator_style":"cube"}},
{
"note": "Cube face names follow the up-axis frame; with Y up, Top looks from +Y and Front from +Z."
},
{
"call": "ui.prefs",
"params": {
"up_axis": "y"
}
},
{
"call": "ui.view",
"params": {
"view": "home"
}
},
{
"click": {
"handle": "navigation_cube:top"
}
},
{
"expect": {
"camera": {
"yaw_deg": 0,
"pitch_deg": 90,
"back": [
0,
1,
0
]
}
}
},
{
"click": {
"handle": "navigation_cube:control:down"
}
},
{
"expect": {
"camera": {
"yaw_deg": 0,
"pitch_deg": 0,
"back": [
0,
0,
1
]
}
}
}
]