bruceborrett/easy-enclosure

Saved File can't be opened

Closed this issue · 3 comments

Previous design that was saved can no longer be opened to make changes to. Attached file renamed from json to txt to allow uploading.
enclosure-2023109165011.txt

I had the same problem, and I think this is due to an update and how the json files are exported. Here's a current one that does import correctly (changed to .txt as well):
enclosure-v3.txt

Ok I have checked. The difference is that the entire mounting holes format of the JSON is now different to what it was before. I can now import the file after fixing the JSON format but it seems like the X and Y co-ordinates are now all wrong. So none of the holes or mounting points are located where they were before. It seems like the XY starting point has changed after the last update.

Yes unfortunately since this software is still in early stages, the settings json structure will probably still change quite often and it will be difficult to keep backwards compatibility with settings that were exported earlier.

Going forward I will try my best to minimise the impact of these changes and keep backwards compatibility where possible.