I have to bring this topic up again:
https://forum.freecadweb.org/viewtopic.php?t=25636
Right now a clone is immediately placed into a new body. This seems to be necessary. FreeCAD wants to migrate the design if the clone is taken out of the body. The position can either be changed by moving the body or by moving the clone.
The position properties of the clone disappear after save/load. Only position properties of clones outside of a body are restored.
I like the possibility to use two reference frames and the change would be very small:
Code: Select all
void FeatureBase::onDocumentRestored()
{
// if the base is not part of a body then show its placement property again
auto body = getFeatureBody();
if (!body)
Placement.setStatus(App::Property::Hidden, false);
}
Code: Select all
void FeatureBase::onDocumentRestored()
{
Placement.setStatus(App::Property::Hidden, false);
}
Cheers,
Torsten