I can't build - have an issue with shiboken2 library.
I think the error is easy to fix by renaming method "calculate_principal_stress" to "calculate_principal_stress_reinforced" everywhere (3 locations) in resulttools.py. That or change the test to call calculate_principal_stress instead. Not elegant, but it should work. See attached:
Sorry, I can't do any better at the moment. I did not know today was the deadline for FC20 release ... pure coincidence.
Principal Stress Plots
Moderator: bernd
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
Re: [fixed] Principal Stress Plots
Perhaps better to roll back to earlier commit and leave this fix for the next version.
I can't run all the tests required.
I can't run all the tests required.
Re: [fixed] Principal Stress Plots
I had to revert the second PR. Only the removal of the 3 stresses are now in.
The release was made. so everything further in the next release cycle.
Please then just make PRs by yourself. This way the CI will run the tests for us that such trouble won't happen again.
thanks and regards
Uwe
The release was made. so everything further in the next release cycle.
Please then just make PRs by yourself. This way the CI will run the tests for us that such trouble won't happen again.
thanks and regards
Uwe
Re: [fixed] Principal Stress Plots
Great, thanks Uwe.
Re: Principal Stress Plots
I had to revert your removal of the principal stresses because they caused a regression:
- for "normal" mechanical analyses one needs these 3 principal stresses.
It was my mistake to merge this, because when you look at the links in the comments above the definition of the stresses:
git commit 3af54a7dda
you see that we need to distinguish here:
- if reinforced material -> we get PS1Vector etc. but also the principal stress scalars
- otherwise only the scalars
So maybe just a renaming should fix your issue. Here is a PR that does this:
https://github.com/FreeCAD/FreeCAD/pull/7246
Please give it a try and report back.