Hello Jee-Bee. Sorry for the late response.
Try the new version:
https://github.com/psicofil/Macros_FreeCAD
i had to change my bin gmsh location to gmsh_bin = "/Applications/Gmsh/Gmsh.app/Contents/MacOS" #"/usr/bin/gmsh"
You have to put the full command gmsh, in your case I think it would:
Code: Select all
gmsh_bin = "/Applications/Gmsh.app/Contents/MacOS/gmsh"
Any error or if it works please wrote in this post. I do not have a Mac to test the macro.
ulrich1a wrote: In order to get the macro working under Windows
I'm working for the macro to work in windows, the problem I have now is to import the resulting mesh because the
tempfile.tempdir command returns the address of the temporary file of the form
\temporalyFolder\ .... and when trying to open with
Fem.insert throws an error, but if I change
"\" with
"/" the mesh is imported without problem. Tomorrow I will try to solve that problem. The problem of space in the command think are already solved.
microelly2 wrote: add instead at the end of the file d.setWindowTitle(" GMSH mesh generator")
Already corrected it in the new version of the macro. Thanks.
Regards
Sorry for my bad English
Ing. Gomez Lucio
Scope Ingenieria (scopeingenieria.com)