https://github.com/FreeCAD/FreeCAD/pull/2946qingfeng.xia wrote: ↑Sun Jan 26, 2020 9:38 pmxml 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 You can refer to this thread, as we have discussed it.
Console.Message() -> Console.PrintMessage(), I tested that worked, (writing out mesh). I am not sure, if we should use u"" for force unicode, may be not.
Thank you for this prompt effort, I am bit tangled with family responsibility. Maintainer has suggested remove u from the fix. For Qt label showing, it seems need u"" for py2 compat.joha2 wrote: ↑Sun Jan 26, 2020 9:48 pmThanks 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 interested to follow non-loggable/interrupted chats in their slack channel, I lost contact to the bleeding edge developments there. Did you follow the latest fenics development and still have contact there?
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!bernd wrote: ↑Mon Jan 27, 2020 3:28 pmFor reference see this post of Werner which I fully agree with https://forum.freecadweb.org/viewtopic. ... 21#p361297
Hey Qxia,qingfeng.xia wrote: ↑Wed Feb 05, 2020 12:27 pmsorry 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
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, I think binary files are more prone to fall into the version hell....