HarryvL wrote: ↑Thu Feb 07, 2019 10:00 am
Yes that would be an option. I never checked, but would presume that eigenvectors get normalised in Calculix before export. At least that’s how I used to program it. Either normalize on the maximum element or on length. Let’s assume it is on maximum element for a moment. In that case the maximum imported value would be 1, irrespective of length units used. So what is displayed (before user scaling) maybe tiny (if the user built the model in say thousands of millimeters) or huge (if he/she did it in fractions of a kilometer). I therefore think it would be smarter to pre-scale as (for example) scale=0.01*model_range/max_disp. Then what is shown before user intervention is independent of units used.
From my memory, so be careful: the displacement doesn't match anything in the real world. So the exact values from the frd file are not that important. Again, if I remember correctly it was scaled to show some displacement to the user and I didn't really care what's the scale because the displacement has no translation to the real world displacement. Unfortunately I can't find that information right now (I'll keep searching for it).
That comment:
Code: Select all
# Allow for max displacement to be 0.1% of the span
# FIXME - add to Preferences
was to remind me to allow user to define the displacement in Preferences, but it never happened..
I guess not scaling on import and adding scale to Preferences would be a perfect solution.
Edit: Found it! Take a look at this post:
https://forum.freecadweb.org/viewtopic. ... 189#p98162