(When opening the file you get an error that the enumeration is invalid. This will be fixed with the PR below.)
But look at the Size, instead of M3.5 you get M1.2 and also the thread class is wrong. The reason is that in the routine
Hole::onChanged
we reset them:
Code: Select all
ThreadSize.setValue(0L);
ThreadClass.setValue(0L);
HoleCutType.setValue(0L);
I tried to fix this so that on opening the file Hole::onChanged is not executed because nothing is changed, only the feature properties must be read out. But I cannot figure out how to achieve this. Can anybody give me a pointer please?
------------
Besides this, the hole task dialog does not initialize by reading the hole properties but by executing Hole::onChanged as well. A dialog should display initially just the feature properties and not invoke automatically any change action. I corrected that in this PR: https://github.com/FreeCAD/FreeCAD/pull/3897