FEM and BESO

About the development of the FEM module/workbench.

Moderator: bernd

anno15
Posts: 75
Joined: Thu Feb 28, 2019 8:26 pm

FEM and BESO

Post by anno15 »

Hello,

is it with FreeCAD 20.1 already possible to calculate BESO with FEM workbench out of the box? Otherwise a implementation of this macro would be a nice feature.

https://github.com/calculix/beso

Youtube video: https://youtu.be/VQINrNWdOHo
Last edited by anno15 on Tue Nov 22, 2022 1:14 pm, edited 1 time in total.
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: FEM and BESO

Post by bernd »

moved to FEM
User avatar
NewJoker
Veteran
Posts: 3077
Joined: Sun Oct 11, 2020 7:49 pm

Re: FEM and BESO

Post by NewJoker »

BESO still has a form of a macro. @fandaL is the dev and thus may tell you more about this.
fandaL
Posts: 440
Joined: Thu Jul 24, 2014 8:29 am

Re: FEM and BESO

Post by fandaL »

I had a plan to redo the macro long time ago. Implementation directly to the FEM wb would be another step, ideally using fcFEM. Anyway, thank you for the interest.
rrestep
Posts: 9
Joined: Sat Apr 18, 2020 5:53 pm

Re: FEM and BESO

Post by rrestep »

I love the idea of the generative design and I'm trying it on a part made in FreeCAD. I have followed the video and when I run the macro, I get the error ModuleNotFoundError: No module named 'beso_lib'. Any ideas on this error. Thanks for any help.
fandaL
Posts: 440
Joined: Thu Jul 24, 2014 8:29 am

Re: FEM and BESO

Post by fandaL »

Check if you unpacked all files to the FreeCAD macro directory:
beso_conf.py, beso_fc_gui.py, beso_filters.py, beso_lib.py, beso_main.py, beso_plots.py, beso_separate.py
rrestep
Posts: 9
Joined: Sat Apr 18, 2020 5:53 pm

Re: FEM and BESO

Post by rrestep »

Yes here is a screen shot of my folder. I'm using Windows 11 with FreeCAD 0.20.1
Attachments
Screenshot 2022-12-12 092458.png
Screenshot 2022-12-12 092458.png (37.5 KiB) Viewed 2469 times
fandaL
Posts: 440
Joined: Thu Jul 24, 2014 8:29 am

Re: FEM and BESO

Post by fandaL »

Can you provide full error message when running beso_fc_gui?
What happens if you just open FreeCAD and type
import beso_lib
to the python console? Does the error appear?
For me it works well on windows if I change FreeCAD macro directory, place there some python file and use import. Using spaces or other special characters in the path might cause troubles.
rrestep
Posts: 9
Joined: Sat Apr 18, 2020 5:53 pm

Re: FEM and BESO

Post by rrestep »

Sorry fandL, I haven't had a chance to try what you suggested. Maybe this evening when I get home from work.
rrestep
Posts: 9
Joined: Sat Apr 18, 2020 5:53 pm

Re: FEM and BESO

Post by rrestep »

Hi fandL, it did not work trying to import beso_lib in the python console but I decided to try in on Version 19 of Freecad and it worked fine. I'm just wondering if it is an add-on that I downloaded in version 20 that isn't in version 19 that could be the problem. Have you heard of anything like this before?

Thanks and best regards,
Post Reply