FEM and BESO
Moderator: bernd
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
FEM and BESO
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
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.
Re: FEM and BESO
moved to FEM
Re: FEM and BESO
BESO still has a form of a macro. @fandaL is the dev and thus may tell you more about this.
Re: FEM and BESO
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.
Re: FEM and BESO
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.
Re: FEM and BESO
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
beso_conf.py, beso_fc_gui.py, beso_filters.py, beso_lib.py, beso_main.py, beso_plots.py, beso_separate.py
Re: FEM and BESO
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 (37.5 KiB) Viewed 2469 times
Re: FEM and BESO
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.
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.
Re: FEM and BESO
Sorry fandL, I haven't had a chance to try what you suggested. Maybe this evening when I get home from work.
Re: FEM and BESO
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,
Thanks and best regards,