Takes two paramaters, the original STL and the modified STL to create a patch using their differences
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ./create_stl_patch <originalFile> <updatedFile> | |
# remember to chmod +x | |
# Takes two paramaters, the original STL and the modified STL to create a patch using their differences | |
# diff -u <(xxd $1) <(xxd $2) > $1.patch | |
comm -13 <(xxd $1) <(xxd $2) > $1.patch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment