almost impossible to change material properties using task panel

A forum to discuss the implementation of a good Materials system in FreeCAD
User avatar
uwestoehr
Posts: 765
Joined: Sun Jan 27, 2019 3:21 am

almost impossible to change material properties using task panel

Postby uwestoehr » Wed Feb 06, 2019 12:04 am

Word size of FreeCAD: 64-bit, Version: 0.18.15780 (Git)
Build type: Release
Branch: master
Hash: f94e76c1116ec3b818961ff65131b3d86fa5b95e
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0

Using the option "use this task panel" it is very hard to change or enter values:

- add a material, then check the option "use this task panel"

For example in the density field you have "1250,00 kg/m^3". You want to change it to "1700,00 kg/m^3"

- therefore highlight in the field the numbers "25" and type in "70"

result: you get "170,00 kg/m^30" which is an illegal value.

Now assume you want to change the poisson ratio to "0,48"

- thus highlight the complete field for the poisson ratio and type in "0,48"

result: you get "0,000"

- now set the cursor in the poisson ratio field behind the comma and type in e.g. "48"

result: noting happens

The problem is that FC evaluates the input after every key press. This cannot work. It must allow the user to enter and edit numbers as he likes and first when the user clicked on the checkmark in the field its content is evaluated. if there is a mistake the field should be highlighted red.
User avatar
bernd
Posts: 8468
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: almost impossible to change material properties using task panel

Postby bernd » Fri Feb 08, 2019 10:33 am

Yeah as you have noticed already the whole FEM gui needs love.

The idea is to get totally rid of the FEM material eding task panel and do all edits with the material editor.
User avatar
uwestoehr
Posts: 765
Joined: Sun Jan 27, 2019 3:21 am

Re: almost impossible to change material properties using task panel

Postby uwestoehr » Fri Feb 08, 2019 11:17 pm

bernd wrote:
Fri Feb 08, 2019 10:33 am
The idea is to get totally rid of the FEM material eding task panel and do all edits with the material editor.
OK. I created now issue #3823 to document the issue and your proposed solution.
User avatar
bernd
Posts: 8468
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: almost impossible to change material properties using task panel

Postby bernd » Tue Feb 19, 2019 8:27 am

User avatar
uwestoehr
Posts: 765
Joined: Sun Jan 27, 2019 3:21 am

Re: almost impossible to change material properties using task panel

Postby uwestoehr » Wed Feb 20, 2019 1:59 am

bernd wrote:
Tue Feb 19, 2019 8:27 am
git commit a12f4f3
Many thanks, works fine now.
User avatar
bernd
Posts: 8468
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: almost impossible to change material properties using task panel

Postby bernd » Wed Feb 20, 2019 5:23 am

Werner has fixed this ...