flash555588_ai-model-workbench/models/test.obj
flash555588 af7906b4b7 test: add STL/PLY/OBJ format verification to preview test suite
- Extend verify-preview.mjs with --model argument for custom model paths
- Add MIME types for STL/PLY/OBJ formats
- Update visual-preview-entry.ts to read model path from URL params
- Add test cases for STL, PLY, OBJ, and alternate GLB path
- Create simple test model files for each format
2026-05-21 23:31:56 +08:00

28 lines
454 B
Text

# Simple cube OBJ (no MTL dependency)
o cube
v 0.0 0.0 0.0
v 1.0 0.0 0.0
v 1.0 1.0 0.0
v 0.0 1.0 0.0
v 0.0 0.0 1.0
v 1.0 0.0 1.0
v 1.0 1.0 1.0
v 0.0 1.0 1.0
vn 0.0 0.0 -1.0
vn 0.0 0.0 1.0
vn 0.0 -1.0 0.0
vn 0.0 1.0 0.0
vn -1.0 0.0 0.0
vn 1.0 0.0 0.0
f 1//1 2//1 3//1
f 1//1 3//1 4//1
f 5//2 7//2 6//2
f 5//2 8//2 7//2
f 1//3 5//3 6//3
f 1//3 6//3 2//3
f 4//4 3//4 7//4
f 4//4 7//4 8//4
f 1//5 4//5 8//5
f 1//5 8//5 5//5
f 2//6 6//6 7//6
f 2//6 7//6 3//6