Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scottlawsonbc/stldiff
Simple .stl diff tool with 3D viewer
https://github.com/scottlawsonbc/stldiff
Last synced: about 2 months ago
JSON representation
Simple .stl diff tool with 3D viewer
- Host: GitHub
- URL: https://github.com/scottlawsonbc/stldiff
- Owner: scottlawsonbc
- Created: 2019-12-07T07:03:50.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T20:15:57.000Z (almost 2 years ago)
- Last Synced: 2023-08-02T05:10:57.877Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 30.6 MB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# stldiff
A simple STL diffing tool created by Scott Lawson.
Try out a [live demo here](https://stldiff.herokuapp.com/). 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](https://en.wikipedia.org/wiki/Flask_(web_framework)).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 codeThe interactive 3D model viewer was built using [three.js](https://threejs.org/).
STL diffing functionality is provided by [csgtool](https://github.com/sshirokov/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](https://github.blog/2013-09-17-3d-file-diffs/).