News for hackers. Stuff that matters.
Re:Code CAD – Use code to create CAD models by dotancohen on Tuesday October 19, 2021 @02:16AM (#28915332)
Can STEP files be parsed to order via e.g. (I know nothing about them) sorting some tree? Are there any e.g. hashes that change as content is modified?

In software we solved this with code style guides and later code formatting tools. I would be surprised if e.g. a Python script could not format the STEP files to a "canonical" representation before committing the file to version control.

Re:Code CAD – Use code to create CAD models by rjsw on Tuesday October 19, 2021 @08:27AM (#28917342)
I don't think there is an easy way to process a file to make it conform to a certain style, take a look at an example [1] if you want.

[1] https://files.pine64.org/doc/datasheet/pinephone/PinePhone%2...