News for hackers. Stuff that matters.
Re:Versioning FreeCAD Files with Git by khimaros on Tuesday June 18, 2024 @08:06PM (#40723376)
yes, i built this to solve that problem: https://github.com/khimaros/freecad-build
Re:Versioning FreeCAD Files with Git by ecjhdnc2025 on Wednesday June 19, 2024 @09:49PM (#40734122)
This is very interesting work; I need to dig in on it. Thank you!
Re:Versioning FreeCAD Files with Git by westurner on Saturday June 22, 2024 @10:17AM (#40759311)
Which visual differences are occluded depending on the design and CAD software parameters?

If [FreeCAD] files are text-diffable, is there a way to topologically sort (with secondary insertion order) before git committing with e.g. precommit?

python has a sort_keys parameter for serialization, in order to alphabetically sort sibling nodes in nested datastructures; which makes it easier to diff json documents that have different key orderings but otherwise equal content.