> On 19 Jun 2018, at 11:47, Zenker, Dr. Matthias <[email protected]>
> wrote:
>
> Hi,
>
> I have a geometry built as .geo quite some time ago (with gmsh 2.x). Now I
> want to export it as .step for a colleague to view it in his CAD software.
> But gmsh complains “No OpenCASCADE model found” and refuses to write the step
> file. What can I do to fix that?
>
Gmsh never translates between CAD kernels: so if you build your model with the
built-in kernel, you won't be able to "export" it as as an OpenCASCADE model.
What you could do is to add "SetFactory("OpenCASCADE")" at the beginning of
your old script, and see if your geometry can get generated directly as an
OpenCASCADE model. (You might have to change a few things.) Then you could
export as .brep or .step.
> Thanks,
>
> Matthias
>
>
>
> Erbe Elektromedizin GmbH Firmensitz: 72072 Tuebingen Geschaeftsfuehrer:
> Christian O. Erbe, Reiner Thede Registergericht: Stuttgart HRB 380137
>
> _______________________________________________
> gmsh mailing list
> [email protected] <mailto:[email protected]>
> http://onelab.info/mailman/listinfo/gmsh
> <http://onelab.info/mailman/listinfo/gmsh>
—
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine
Free software: http://gmsh.info | http://getdp.info | http://onelab.info
_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh