mirror of
https://github.com/flash555588/ai-model-workbench.git
synced 2026-07-22 17:30:25 +00:00
- 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
28 lines
454 B
Text
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
|