logoalt Hacker News

Meshdiff – visually compare two STL versions in the browser, client-side

66 pointsby projscopetoday at 11:34 AM8 commentsview on HN

Comments

embedding-shapetoday at 12:53 PM

This is pretty cool, and seems to be useful in order to compare various "3D model" generators that are around, would make the comparison a bit easier to make.

Given it runs client-side, could you potentially offer like a CLI as well, or something we could integrate with other things / CI? That'd be a really nifty way of generating these diffs for later inspection.

progbitstoday at 1:09 PM

Looks handy. Feature suggestion: locked views so all three viewports rotate together.

tomtom1337today at 12:14 PM

Wow! This looks really cool! Looking forward to playing more with this?

croemertoday at 1:06 PM

Should be "Show HN"

DaSHackatoday at 12:34 PM

Wow, just needed something like this literally yesterday, thanks OP.

ionwaketoday at 1:14 PM

cool thanks

projscopetoday at 11:34 AM

I built Meshdiff because clients keep sending me part_v3_FINAL.stl and I have no quick way to see what changed.

Drop two STL/3MF/OBJ files → voxel diff renders in your browser. Green = added material, red = removed. Adjustable tolerance (0.05–1mm). Volume delta metrics.

Privacy first: zero upload to any server. Everything runs client-side in a Web Worker.

Stack: React + TypeScript, React Three Fiber, custom voxel diff engine. No Manifold/CGAL — those assume clean CSG topology; real-world STLs are triangle soup.

If you work with 3D prints, try breaking it with your weirdest files. Real-world meshes are chaos and I need the stress test.

show 1 reply