self weight

About the development of the FEM module/workbench.

Moderator: bernd

User avatar
PrzemoF
Veteran
Posts: 3520
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: self weight

Post by PrzemoF »

Looks like the pull request is being built: https://travis-ci.org/FreeCAD/FreeCAD/builds/146352689

Also shows up in github (checks section): https://github.com/FreeCAD/FreeCAD/pull/225
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: self weight

Post by bernd »

User avatar
PrzemoF
Veteran
Posts: 3520
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: self weight

Post by PrzemoF »

travis failed, but my local build is OK
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: self weight

Post by bernd »

Tech Draw fails ... ?!

Might be because of this commit https://github.com/berndhahnebach/FreeC ... eb04c6a48a ?!?

On my local machine it builts like a sharm too.
User avatar
PrzemoF
Veteran
Posts: 3520
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: self weight

Post by PrzemoF »

Could be that one. I saw an error related to VTK in the build log.
ickby
Veteran
Posts: 3116
Joined: Wed Oct 05, 2011 7:36 am

Re: self weight

Post by ickby »

Bernhard, I think your commit is problematic because VTK is required not only for postprocessing (what the BUILD_FEM_VTK check is for) but also for the SMESH. This is the reason we moved the VTK file include out of the check in the first place. So if someone don't want to build the postprocessing he can't build FEM at all anymore after your change as SMESH won't compile and link correctly.
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: self weight

Post by bernd »

ickby wrote:Bernhard, I think your commit is problematic because VTK is required not only for postprocessing (what the BUILD_FEM_VTK check is for) but also for the SMESH. This is the reason we moved the VTK file include out of the check in the first place. So if someone don't want to build the postprocessing he can't build FEM at all anymore after your change as SMESH won't compile and link correctly.
I removed the commit. https://github.com/FreeCAD/FreeCAD/pull/225 Travis runs smooth now !
fandaL
Posts: 440
Joined: Thu Jul 24, 2014 8:29 am

Re: self weight

Post by fandaL »

I have filled wiki page https://www.freecadweb.org/wiki/Fem_Con ... SelfWeight
so if someone has any sugestions, he :-D can edit it or make a note here.

After you create ConstraintSelfWeight object you can modify direction of gravity. For the first view on property toolbar I was not sure if X Y Z means whole acceleration or only direction. Is it possible to make it clear by e.g. changing title in the property toolbar from "Gravity" to "Gravity direction" or something like that?
renatorivo
Veteran
Posts: 2611
Joined: Tue Feb 21, 2012 8:07 pm
Location: Torino - Italy

Re: self weight

Post by renatorivo »

fandaL wrote:I have filled wiki page https://www.freecadweb.org/wiki/Fem_Con ... SelfWeight
so if someone has any sugestions, he :-D can edit it or make a note here.
Thank you.
Edited https://www.freecadweb.org/wiki/FEM_Con ... SelfWeight.
See https://forum.freecadweb.org/viewtopic.php?f=21&t=19107

Renato
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: self weight

Post by bernd »

added scripting and made it a bit more solver depended ... FEM_ConstraintSelfWeight

@renato:
I may totally destroyed the translation tags :oops:
Post Reply