Inconsistence for FEM constraints

About the development of the FEM module/workbench.

Moderator: bernd

Post Reply
Jee-Bee
Veteran
Posts: 2566
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Inconsistence for FEM constraints

Post by Jee-Bee »

I saw there is some inconsistence with the FEM constraints.
I show in these figures.

The first is of the fixed constraint
Screen Shot 2017-01-21 at 08.22.17.png
Screen Shot 2017-01-21 at 08.22.17.png (25.51 KiB) Viewed 1245 times
the second is from the force constraint
Screen Shot 2017-01-21 at 08.21.53.png
Screen Shot 2017-01-21 at 08.21.53.png (33.61 KiB) Viewed 1245 times
the problem i have is that after making a constraint i can't delete it. i have to remove the force and make a new one. could in this case add a remove button or give this some difficulties?

I saw that the force constraint was the only one that doesn't have the remove button...
and FreeCAD version is:
OS: Mac OS X
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.9244 (Git)
Build type: Release
Branch: (detached from 6d1eddc)
Hash: 6d1eddc22f9f3176cea96b34d5002e84e29550d4
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 7.0.0

Don't know if this has changed in a newer version...
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Inconsistence for FEM constraints

Post by bernd »

Yes there are some different Task panels around. If you would like to remove a force from force constraint you should right click on the reference. In the case of you picture you should right click on "Box:Face6" and press delete. Does it work for you?
screen.jpg
screen.jpg (39.27 KiB) Viewed 1241 times
OS: Debian GNU/Linux 8.7 (jessie)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.9769 (Git)
Build type: Unknown
Branch: master
Hash: 72c7a8ab00e37ee2d5f58e1902229e860a059dcc
Python version: 2.7.9
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.0.0
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Inconsistence for FEM constraints

Post by bernd »

Jee-Bee wrote: Version: 0.17.9244 (Git)
BTW: your FreeCAD is quite outdated in the regard of FEM 0.17.9769 is up to date !
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Inconsistence for FEM constraints

Post by bernd »

bernd wrote:
Jee-Bee wrote: Version: 0.17.9244 (Git)
BTW: your FreeCAD is quite outdated in the regard of FEM 0.17.9769 is up to date !
Ohh no there have just been another 11 commits made in the regard of FEM ... 0.17.9783 is uptodate ...
Jee-Bee
Veteran
Posts: 2566
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: Inconsistence for FEM constraints

Post by Jee-Bee »

Yes it works even on the old version ;)
But it is more that this constraint is the only one that doesn't have an delete option.... just for consistence it looks more nice

Ps on my virtual machine i run 0.17.9748 so far more up to date :D
Jee-Bee
Veteran
Posts: 2566
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: Inconsistence for FEM constraints

Post by Jee-Bee »

small question
should it be possible for me as just above programming noob figure out change this behaviour?
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Inconsistence for FEM constraints

Post by bernd »

Jee-Bee wrote:small question
should it be possible for me as just above programming noob figure out change this behaviour?
It is done in C++ You would need to change the implementation of the constraint force task panel. https://github.com/FreeCAD/FreeCAD/blob ... tForce.cpp
Jee-Bee
Veteran
Posts: 2566
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: Inconsistence for FEM constraints

Post by Jee-Bee »

bernd wrote:It is done in C++ You would need to change the implementation of the constraint force task panel. https://github.com/FreeCAD/FreeCAD/blob ... tForce.cpp
I think that it means not just copy paste the remove/delete/... part from https://github.com/FreeCAD/FreeCAD/blob ... essure.cpp

maybe i give it a try, but that should take a while...
Post Reply