- TORPEDO: an all-purpose switched-mode power supplyPosted 1 week ago
- The SEPIC switching convertersPosted 2 weeks ago
- Discover and Design innovative applications in Wireless Power with UsPosted 3 weeks ago
- Octopus, a “tentacular” shield for Arduino and FishinoPosted 4 weeks ago
- Keychainino: a programmable, playful Key RingPosted 1 month ago
- Let’s Build an open source Quadcopter – Part2Posted 1 month ago
- Let’s Build an open source Quadcopter – Part1Posted 2 months ago
- An open source 3D Scanner made with Raspberry PiPosted 2 months ago
- Open Wheels 2: an all-in-one board to control any of your robotic ProjectsPosted 2 months ago
- GuppY: Fishino becomes NanoPosted 2 months ago
After the 3D File Viewer, GitHub introduces 3D File Diffs
Amazing news: Github is digging more and more into 3D designs:
Back in April, we introduced the 3D file viewer. Today we’re improving this by displaying diffs of STL files on GitHub.
There are two modes to figure out what you’re looking at. By default, we select “Highlight”, a mode that highlights the removed parts in red and the added parts in green, leaving what is unchanged as a wireframe.
Also available is the revision slider, which lets you transition between the current version of the file, and the previous one with a small slider at the top of the viewer.
How does this work? We take both versions of the model, and using binary space partitioning, we compute the added, removed, and unchanged parts. This is done using csgtool, a C library paired with a Ruby gem via FFI. These pieces are cached and displayed by the 3D viewer we already have, though we color them differently and play with their transparency to help illustrate the changes. If you have any further questions, check out the help article.
We see this as a step for making it easier for you to use GitHub for your open source hardware needs.