material editor
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: material editor
Here we gone use this input fields for for editing material parameter with units in FEM https://github.com/FreeCAD/FreeCAD/blob ... aterial.py
Re: material editor
Yes, with a ui file: "Mod/Fem/Resources/ui/Material.ui"bernd wrote: ↑Sat Jun 02, 2018 11:46 am Here we gone use this input fields for for editing material parameter with units in FEM https://github.com/FreeCAD/FreeCAD/blob ... aterial.py
I suppose that if the module is named UiLoader, effectively it must exist a ui file.
Later, on _ViewProviderFemMaterial.py, you use units parser operations. I know to do it, but the result is not so elegant due to a minor issue
This is done without ui file
Re: material editor
the ui loader serves mainly to load ui files, but it also has this other precious use to get a PySide version of the InputField.
Re: material editor
Would you exaplain this a bit? Inside the material editor is the IFC type? This makes no sense at all IMHO?
Re: material editor
I have some comments.
I see in the material editor that Poisson ratio is a FEM property but i would say it is an mechanical property since it is the ratio between the ΔLength /ΔWidth. see also: https://en.wikipedia.org/wiki/Poisson's_ratio
another point is that when selecting a material card from FC it updates. but when selecting a custom material card don't update...
I see in the material editor that Poisson ratio is a FEM property but i would say it is an mechanical property since it is the ratio between the ΔLength /ΔWidth. see also: https://en.wikipedia.org/wiki/Poisson's_ratio
another point is that when selecting a material card from FC it updates. but when selecting a custom material card don't update...
Re: material editor
have a bit of patience with the poisons ratio ... I have this in mind ...
Re: material editor
I do didn't know you/ somebody read it
Re: material editor
git commit c3e64d28Jee-Bee wrote: ↑Wed Jun 06, 2018 11:40 am I have some comments.
I see in the material editor that Poisson ratio is a FEM property but i would say it is an mechanical property since it is the ratio between the ΔLength /ΔWidth. see also: https://en.wikipedia.org/wiki/Poisson's_ratio
another point is that when selecting a material card from FC it updates. but when selecting a custom material card don't update...