Files
OneCAD/crates/ui-egui/tests/scenarios/s14_appearance_export.json
T
froglemonade2 0872eb959a Save as mesh: one dialog for STL and 3MF, with Send to slicer (#1272)
One docked Save as mesh dialog replaces Export STL / 3MF / 3MF with face tags, with an optional Send to slicer that lists the slicers installed on this machine. Engine: file.save_mesh and file.slicers; the Convert Mesh dialog goes (mesh.convert and the MeshConvert feature stay, so existing designs open). Strings in all catalogs; screenshots in the PR. Checked on main + this branch: cargo check --workspace, the engine slicer/mesh/file tests, the UI catalog and menu tests and scenario s14 (the one local colour-token failure is epaint's TexturesDelta panic, which main shows on this machine too).
2026-10-15 03:51:28 -04:00

129 lines
1.2 KiB
JSON

[
{
"start": "sketch.create"
},
{
"click": {
"plane": "XY"
}
},
{
"start": "sketch.rectangle.two_point"
},
{
"click": {
"sketch": [
0,
0
]
}
},
{
"click": {
"sketch": [
30,
20
]
}
},
{
"key": "Escape"
},
{
"start": "sketch.finish"
},
{
"call": "ui.view",
"params": {
"view": "iso"
}
},
{
"start": "solid.extrude"
},
{
"text": "10"
},
{
"key": "Enter"
},
{
"click": {
"world": [
15,
10,
10
]
}
},
{
"key": "A"
},
{
"expect": {
"dialog": "Appearance"
}
},
{
"shot": "s14_appearance"
},
{
"widget": "OK"
},
{
"expect": {
"dialog": null,
"errors": 0
}
},
{
"click": [
127,
16
]
},
{
"widget": "Export STEP\u2026"
},
{
"expect": {
"file": "Untitled.step",
"file_contains": {
"file": "Untitled.step",
"text": "COLOUR_RGB('',0.7686"
}
}
},
{
"click": [
127,
16
]
},
{
"widget": "Save as mesh\u2026"
},
{
"expect": {
"dialog": "SaveMesh"
}
},
{
"click": {
"world": [
15,
10,
10
]
}
},
{
"widget": "Save"
},
{
"expect": {
"file": "Body1.stl"
}
}
]