If I re-run my original file (posted earlier) and try to export the Result as VTK then FC crashes. No different from trying to create a VTK Pipeline
This indeed doesn't crash, but the results are wrong:bernd wrote: ↑Sun Mar 25, 2018 8:37 pmwould you guys do my a favor an try this ...
- load file https://forum.freecadweb.org/download/file.php?id=55290
- recalculate the analysis
- save the file
- close the file
- reopen the file
- create a vtk pipeline from the result object
- it works at least it does for me
Code: Select all
import Fem path = '/home/hugo/Desktop/' nodes = Fem.FemMesh() nodes.addNode( 0, 0, 0, 1) nodes.addNode( 6, 12, 0, 3) nodes.write(path + 'nodes.vtk')
It somehow seams to crash here: https://github.com/FreeCAD/FreeCAD/blob ... s.cpp#L453 If all other following code in exportVTKMesh() is commented ( this one: https://github.com/FreeCAD/FreeCAD/blob ... #L455-L461 ) FreeCAD still crashes ...