nirinium / stldiff

Simple .stl diff tool with 3D viewer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stldiff

A simple STL diffing tool created by Scott Lawson.

Try out a live demo here. The app may take up to 30 seconds to wake up if it hasn't been run in a while (Heroku free tier deployment).

The demo app shows the diffing output on an example STL. It isn't currently possible to upload custom files. More time would be needed for this feature.

Development

This is a web app created using the Python Flask microframework.

The app is just under 150 lines of code in total. Writing the app took around four hours start to finish.

  • Python: 42 lines of code
  • HTML: 44 lines of code
  • JavaScript: 61 lines of code

The interactive 3D model viewer was built using three.js.

STL diffing functionality is provided by csgtool. This tool makes it easy to perform constructive solid geometry operations on STL files.

A great deal of valuable advice was found in this GitHub post about 3D file diffs.

About

Simple .stl diff tool with 3D viewer


Languages

Language:JavaScript 42.0%Language:HTML 33.8%Language:Python 24.2%