mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-08 10:03:51 +00:00
Closes the WOM <-> STL bridge for the fabrication ecosystem (Cura, PrusaSlicer, TinkerCAD, Meshmixer, SolidWorks, Fusion 360). Designers can now edit prints in any CAD/3D-print tool and bring them back to the engine: asset_extract # M2 -> WOM (open binary) --export-stl # WOM -> STL (universal fabrication format) ... edit in TinkerCAD / sculpt in Meshmixer ... --import-stl # STL -> WOM (back to engine format) --validate-wom # confirm consistency Parser handles ASCII STL only (binary STL is a follow-up): - 'solid <name>' header — preserves model name - 'facet normal nx ny nz' — sets the face normal for following verts - 'vertex x y z' — accumulates 3 per facet - 'endfacet' — emits the triangle with the face normal applied to all 3 verts (STL doesn't carry per-vertex normals, so the round trip is faceted-shading by design) - Dedupes on (pos, normal) so shared vertices on the same face merge (a 4-vert square base with 2 tris collapses to 4 verts), but verts shared across faces with different normals stay distinct (correct for faceted geometry) - Computes bounds from positions for renderer culling Round-trip cost: a 5-vert/6-tri pyramid round-trips to 16 verts/6 tris. The vertex inflation is structural (STL faceted-shading semantics) — geometry preservation is exact. Verified via WOM -> STL -> WOM -> --validate-wom (PASSED, bounds and tri count match exactly). |
||
|---|---|---|
| .. | ||
| asset_extract | ||
| auth_login_probe | ||
| auth_probe | ||
| blp_convert | ||
| dbc_to_csv | ||
| editor | ||
| asset_pipeline_gui.py | ||
| backup_assets.sh | ||
| diff_classic_turtle_opcodes.py | ||
| gen_opcode_registry.py | ||
| generate_ffx_sdk_vk_permutations.sh | ||
| m2_viewer.py | ||
| opcode_map_utils.py | ||
| validate_opcode_maps.py | ||