Closed jmickelin closed 1 year ago
The cause seems to be FreeCAD itself: https://github.com/FreeCAD/FreeCAD/pull/10769
Closing this as invalid.
(And FreeCAD uses Pickle if the save file specifies so? That's sketchy and incredibly dangerous :worried: )
Never mind. As mentioned in that PR, they used to use Pickle but the program now uses JSON regardless of what the save file says and just kept the method names unchanged. Quite literally so:
Py::Module pickle(PyImport_ImportModule("json"),true);
:stuck_out_tongue:
The
ExplodedAssembly
and the groups therein fail to load their data after an application restart.Investigating the
.FcStd
it turns out that it fails already when attempting to save. Each of the following properties get set to a valuebnVsbA==
, which isnull
in base64:InitialPlacements
Proxy
Proxy
dir_vectors
names
rot_centers
rot_vectors
This means all the data about the assembly is lost and neither retrievable from the project file or backup file(s), except for the trajectory lines. (To be clear, the rest of the objects in your model are not affected, though their placement might be wrong, since the
InitialPlacement
data is lost.)This makes this addon pretty much unusable currently, sadly.
Program versions:
FreeCAD 0.21.1 Python 3.11.5