Fem constraint contact
Moderator: bernd
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
Re: Fem constraint contact
Yes Bernd you are right, thanks for your inputs
Re: Fem constraint contact
two questions resist:
- Where do we put the tool?
-- IMHO, best would be FEM --> Model --> Mechanical Constraints --> "Give your baby a cool name"
- Where do we put the Python code for the tool?
-- ATM I do not know any better than https://github.com/FreeCAD/FreeCAD/blob ... emutils.py
- Where do we put the tool?
-- IMHO, best would be FEM --> Model --> Mechanical Constraints --> "Give your baby a cool name"
- Where do we put the Python code for the tool?
-- ATM I do not know any better than https://github.com/FreeCAD/FreeCAD/blob ... emutils.py
Re: Fem constraint contact
The first version of auto contact seems to be working
I placed it under utilities Branch
https://github.com/makkemal/FreeCAD/tree/auto_contact
Two test files Testing and comments would be great.
I have one question how do I get the UI to auto open when the object is added ?
Thanks
Michael
I placed it under utilities Branch
https://github.com/makkemal/FreeCAD/tree/auto_contact
Two test files Testing and comments would be great.
I have one question how do I get the UI to auto open when the object is added ?
Thanks
Michael
Re: Fem constraint contact
here, https://github.com/makkemal/FreeCAD/blo ... ds.py#L122 you could set the object in edit mode like this https://github.com/makkemal/FreeCAD/blo ... ds.py#L591 but make sure in the viewprovider the task panel is opened at set edit
hope that helps bernd
I will give it a try ...
hope that helps bernd
I will give it a try ...
Re: Fem constraint contact
Thanks Bernd that worked
Re: Fem constraint contact
have anybody done some testing ?
https://github.com/makkemal/FreeCAD/tree/auto_contact
I have made some small updates.
https://github.com/makkemal/FreeCAD/tree/auto_contact
I have made some small updates.
-
- Veteran
- Posts: 3154
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: Fem constraint contact
No testing, sorry Sir.makkemal wrote: ↑Sat Dec 01, 2018 3:39 pm have anybody done some testing ?
https://github.com/makkemal/FreeCAD/tree/auto_contact
I have made some small updates.
gear.PNG
What must I do for a test? Copy your github-projekt into FC?
I have no python skills. What must I do to get your files running (please dont break my system... ):
Your mechanical model is used here:
https://www.youtube.com/watch?v=otwKXSUZXJc
Re: Fem constraint contact
I have testes this functionality extensively and think it is fine for inclusion.
it is just automation of existing contact constraint.
@thschrader I compile under Ubuntu thus sorry for not providing a binary
Regards
Michael
it is just automation of existing contact constraint.
@thschrader I compile under Ubuntu thus sorry for not providing a binary
Regards
Michael
Re: Fem constraint contact
Do you use any special cmake switches? I can't compile it (fedora linux)
Edit: Can you post your system info?
Edit2: Please ignore, I can't even build the master branch
Re: Fem constraint contact
rebased your branch on up to date master. To have this done a bit easier I squashed your commits michael. See https://github.com/berndhahnebach/FreeC ... utocontact