wandererfan wrote: ↑Fri Dec 09, 2022 10:34 pm
user1234 wrote: ↑Fri Dec 09, 2022 5:49 pm
Confirmed, works now with one grain of salt. When clicking OK before confirming the angle with the green hook, the angle flips randomly to 0° or 90°.
I can't duplicate the random behaviour. Might be something to do with the SectionNormal and XDirection combination you are using? If you post the file, I will check.
I notice that only when on +045°, -045°, +315° and -315°. Maybe there are more, but i tested not all +-360° or its unlimited fractions.
Here the files.
wandererfan wrote: ↑Fri Dec 09, 2022 10:34 pm
If you don't confirm the angle, then the direction is not updated and the original setting is used. Maybe OK could perform a hidden press of the "hook" button, but I don't like trying to outsmart the user.
Generally i second that, that automatic is crap, but i do not think that in this case that is any kind of. Since:
- If a user had edited the field, so it was intended and should be considered.
- Pretty every task, PartDesign, TechDraw or whatever, works this way, also there are nor confirmation needed.
- Besides that, that the view of the section is rotated, but not the section itself (which make little sense to be).
Also in the testbox, no calculation can be done (example: 45° + 90°). It should be a field like every else, that allowing calculating and expression like everywhere. I also do not think that button is necessary. But that is nitpicking.
Tested with the updated branch:
Code: Select all
OS: Debian GNU/Linux 11 (bullseye) (X-Cinnamon/lightdm-xsession)
Word size of FreeCAD: 64-bit
Version: 0.21.0.31254 (Git)
Build type: Release
Branch: fixSlowCS
Hash: c5e3c549f2654ee2b542b2f490263edfcdca6687
Python 3.9.2, Qt 5.15.2, Coin 4.0.0, Vtk 9.0.1, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods:
* QuickMeasure 2022.10.28
last commit: c5e3c54 (yes, you can see it in the hash, but it is easier to see)
Greetings
user1234