Search found 252 matches

Go to advanced search

by joha2
Fri Feb 07, 2020 7:12 am
Forum: FEM
Topic: FEM mesh: Create mesh groups in Python (exposing C++ functions to Python)
Replies: 40
Views: 2898

Re: FEM mesh: Create mesh groups in Python (exposing C++ functions to Python)

AFAIK, neither FreeCAD nor SMESH supports the binary msh format ATM. This would needed to be implemented first. Yeah, I had this impression, too. Another question is, whether a binary format is soooooo useful. Since you cannot read it easily. Also, the API of the other software has to be stabilized...
by joha2
Thu Feb 06, 2020 7:33 am
Forum: FEM
Topic: FEM mesh: Create mesh groups in Python (exposing C++ functions to Python)
Replies: 40
Views: 2898

Re: FEM mesh: Create mesh groups in Python (exposing C++ functions to Python)

sorry for the misunderstanding, I do not mean your code, but overall data passing in femmesh utility functions written in python. if all meshing nodeset can be done in Cpp, it will be great. However, I fully agree with you, it is not current fem module dev priority. python is fine Hey Qxia, No prob...
by joha2
Wed Jan 29, 2020 6:51 am
Forum: FEM
Topic: FEM mesh: Create mesh groups in Python (exposing C++ functions to Python)
Replies: 40
Views: 2898

Re: FEM mesh: Create mesh groups in Python (exposing C++ functions to Python)

As you have now experienced in femsh wrapping, I wonder if all C++ coordinates, nodes list are passed to python by copying, via py::set, If true, it may means it is not efficient to deal with large mesh. Hey Qxia, Could you please identity the parts of the code which are not sufficiently fast for l...
by joha2
Mon Jan 27, 2020 6:53 pm
Forum: FEM
Topic: FEM: mesh: interested in STL volume mesh?
Replies: 1
Views: 77

FEM: mesh: interested in STL volume mesh?

Dear FEM people, Is there any interest in meshing an STL mesh by gmsh within the FEM workbench? I already wrote a macro for that would provide this code. But I don't know whether this is appropriate for the FEM workbench and where to implement the actual command (perhaps within the mesh command grou...
by joha2
Mon Jan 27, 2020 6:49 pm
Forum: FEM
Topic: FEM mesh: Create mesh groups in Python (exposing C++ functions to Python)
Replies: 40
Views: 2898

Re: FEM mesh: Create mesh groups in Python (exposing C++ functions to Python)

bernd wrote:
Mon Jan 27, 2020 3:28 pm
For reference see this post of Werner which I fully agree with https://forum.freecadweb.org/viewtopic. ... 21#p361297
@bernd thanks for merging and thanks for the hint!
by joha2
Sun Jan 26, 2020 10:28 pm
Forum: FEM
Topic: FEM mesh: Create mesh groups in Python (exposing C++ functions to Python)
Replies: 40
Views: 2898

Re: FEM mesh: Create mesh groups in Python (exposing C++ functions to Python)

xml writing is broken, but it is easy to fix, here is the fix. You can send in a tiny bugfix PR, it should be accepted by maintainer into master, without Bernd (seems we are all work intermittently on FC) 's comment :lol: You can refer to this thread, as we have discussed it. Console.Message() -> C...
by joha2
Sun Jan 26, 2020 9:48 pm
Forum: FEM
Topic: FEM mesh: Create mesh groups in Python (exposing C++ functions to Python)
Replies: 40
Views: 2898

Re: FEM mesh: Create mesh groups in Python (exposing C++ functions to Python)

Thanks for the file. I will submit a fix, soon. Fortunately, XDMF still works. Is the XDMF format in its current form still compatible with fenics? I ask this, since I wrote the export function between fenics 2016 and 2017, and I know there was a large API change in fenics. Further I am not interest...
by joha2
Sun Jan 26, 2020 8:41 pm
Forum: FEM
Topic: FEM mesh: Create mesh groups in Python (exposing C++ functions to Python)
Replies: 40
Views: 2898

Re: FEM mesh: Create mesh groups in Python (exposing C++ functions to Python)

Great Job, Joha2! It is highly desirable to have group support for FemMesh in FreeCAD. Hey qingfen.xia, Nice to hear from you! I think that too, therefore I started this code proposal. It should really first be a proposal: if there is anything to be done before it gets usable I would be happy to im...
by joha2
Mon Jan 13, 2020 8:57 pm
Forum: FEM
Topic: FEM mesh: Create mesh groups in Python (exposing C++ functions to Python)
Replies: 40
Views: 2898

Re: FEM mesh: Create mesh groups in Python (exposing C++ functions to Python)

damn still not had the time to have a look ... Bug fixing and family at christmas has taken time ... But it is not far from top of TODO list ... cheers bernd First of all, bernd, I wish you a happy new year and hope you're doing well :-) About the mesh group implementation: Take your time. The last...
by joha2
Fri Dec 06, 2019 7:22 am
Forum: FEM
Topic: FEM mesh: Create mesh groups in Python (exposing C++ functions to Python)
Replies: 40
Views: 2898

Re: FEM mesh: Create mesh groups in Python (exposing C++ functions to Python)

sorry for not answering to this topic for so long. I am just overwhelmed with other stuff ... work, family, etc I would like to finish https://forum.freecadweb.org/viewtopic.php?f=17&t=41117 and afterwards I will have a look. cheers bernd Hey bernd, Sorry, no pressure intended. I was not sure wheth...

Go to advanced search