Notifications
Clear all

Fast, robust visual diff for 3d files  

  RSS
Bruce Lucas
(@bruce-lucas)
Member
Fast, robust visual diff for 3d files

While generating 3d models for printing, I sometimes need to compare two files to see what’s changed. I couldn’t find a satisfactory tool for doing this, so I made one. Maybe other 3d printers will find it useful.

Download at: https://github.com/bdlucas1/diff3d

Here's an example. Most of the lens clamp is unchanged and is displayed in gray, while the differing parts are displayed in red for one file and green for the other file: in the red file the diameter is smaller, while in the green file the base is longer, and the threaded hole has moved.

Posted : 13/12/2024 4:16 pm
Bruce Lucas
(@bruce-lucas)
Member
Topic starter answered:
RE: Fast, robust visual diff for 3d files

I've released a new version, 0.2.0. You can use pip install --upgrade diff3d to upgrade it.

This new version introduces an alignment feature, enabled using the --align flag, that attempts to align major features that the two meshes have in common, thus displaying a minimal set of diffs.

It also fixes a problem with a missing dll that you might have encountered in Windows.

Tested installation instructions for Windows, MacOS, and Linux are included at https://github.com/bdlucas1/diff3d , in case you've had any trouble installing it.

Posted : 20/12/2024 6:32 pm
Myf liked
Bruce Lucas
(@bruce-lucas)
Member
Topic starter answered:
RE: Fast, robust visual diff for 3d files

I've released a new version, 0.3.0. You can use pip install --upgrade diff3d to upgrade it.

This new version introduces a color animation feature: press the "a" key to briefly flash the colored areas, making them easier to spot.

See   https://github.com/bdlucas1/diff3d for full details.

Posted : 23/12/2024 1:15 pm
ssmith liked
JanLM
(@janlm)
Active Member
RE: Fast, robust visual diff for 3d files

Bruce, thank you for taking the time to develop and share your program with us.

Jan

Posted : 24/12/2024 2:00 pm
Share: