mesh region

About the development of the FEM module/workbench.

Moderator: bernd

User avatar
bernd
Posts: 8046
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: mesh region

Postby bernd » Fri Jul 05, 2019 4:17 pm

works great here ...

Screenshot_20190705_181657.png
Screenshot_20190705_181657.png (141.43 KiB) Viewed 135 times
ElMastro
Posts: 39
Joined: Mon May 27, 2019 9:52 am

Re: mesh region

Postby ElMastro » Tue Jul 09, 2019 4:24 pm

Sorry for the late answer, I couldn't reach the laptop for days;
For what concerns

Code: Select all

mesh = App.ActiveDocument.FEMMeshGmsh.FemMesh
it runs without errors. When I run the restant part of the code I obtain the same screen as you
Screen.png
Screen.png (131.24 KiB) Viewed 113 times
But the output is

Code: Select all

... 'FEMMeshGroup'
  File "<input>", line 5
    'FEMMeshGroup'
                 ^
SyntaxError: invalid syntax
ElMastro
Posts: 39
Joined: Mon May 27, 2019 9:52 am

Re: mesh region

Postby ElMastro » Fri Aug 02, 2019 2:25 pm

I'm sorry to keep whining,
but I thought, could it be that freeCAD builds the mesh region but doesn't write it down to the file it exports?