Export stl file for Calculix

About the development of the FEM module/workbench.

Moderator: bernd

Post Reply
Torpedo
Posts: 2
Joined: Tue Feb 28, 2017 10:01 am

Export stl file for Calculix

Post by Torpedo »

Hi,
I would like to export a solid in stl format, from FreeCad, and open it in Calculix.

I followed this tutorial (both methods):
https://www.freecadweb.org/wiki/Export_to_STL_or_OBJ
hence, got my file solid.stl, I tryed to open it in Calculix with the command:

Code: Select all

cgx -stl /home/torpedo/Scrivania/solid.stl
but got the error:

Code: Select all

on a Linux machine, nodename torpedo-IMEDIA-X1013C, release 4.4.0-59-generic, version #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017, machine x86_64 
parameters:3 arguments:2
GL_MAX_EVAL_ORDER:30
 Try to read stl file

 file:/home/torpedo/Scrivania/solid.stl opened
 reading stl format


FATAL ERROR: no proper file-format found.
My FreeCad version is: 0.16.6707
Any idea?

Thanks
ulrich1a
Veteran
Posts: 1957
Joined: Sun Jul 07, 2013 12:08 pm

Re: Export stl file for Calculix

Post by ulrich1a »

Torpedo wrote:Any idea?
FreeCAD exports a binary stl whereas Calculix cgx expects an ascii stl.
You need another software, which can translate from one format to the other.

But FreeCAD has the FEM-Workbench. There you can directly create a mesh of tetrahedrons from your part and create an calculix input file for analysis.

Ulrich
Torpedo
Posts: 2
Joined: Tue Feb 28, 2017 10:01 am

Re: Export stl file for Calculix

Post by Torpedo »

Now the problem is clear!
Post Reply