Skip to content

Instantly share code, notes, and snippets.

@datapaganism
Last active August 15, 2022 14:21
Embed
What would you like to do?
Takes two paramaters, the original STL and the modified STL to create a patch using their differences
# ./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