Search found 7511 matches

Go to advanced search

by bernd
Thu May 23, 2019 10:24 am
Forum: FEM
Topic: CalculiX results 'frd' to Paraview 'vtk' converter
Replies: 28
Views: 7966

Re: CalculiX results 'frd' to Paraview 'vtk' converter

Oooh, wow! I will follow this thread.... a python based ccx2vtk converter is really awesome! ... start FreeCAD, run this code ... :mrgreen: open vtk in paraview ... import Fem from feminout.importCcxFrdResults import importFrd doc = App.newDocument() importFrd(FreeCAD.ConfigGet("AppHomePath") + 'Mo...
by bernd
Thu May 23, 2019 6:25 am
Forum: Developers corner
Topic: FEM: importFenicsMesh.py: Guarding the GUI code
Replies: 1
Views: 61

Re: FEM: importFenicsMesh.py: Guarding the GUI code

https://github.com/FreeCAD/FreeCAD/blob/master/src/Mod/Fem/feminout/importFenicsMesh.py ATM it is https://github.com/FreeCAD/FreeCAD/blob/73c1a9c9a75f1703d79d41d8670f5e073c72c7b5/src/Mod/Fem/feminout/importFenicsMesh.py IMHO it should be possible to assign the values from python too (some parameter ...
by bernd
Wed May 22, 2019 11:30 am
Forum: Developers corner
Topic: FEM unit test failure in Cmd mode
Replies: 17
Views: 285

Re: FEM unit test failure in Cmd mode

this works ... import unittest unittest.TextTestRunner().run(unittest.TestLoader().loadTestsFromName("femtest.testcmdproblem.TestCmdProblem.test_face_subclass2")) >>> >>> >>> import unittest unittest.TextTestRunner().run(unittest.TestLoader().loadTestsFromName("femtest.testcmdproblem.TestCmdProblem....
by bernd
Wed May 22, 2019 11:28 am
Forum: Developers corner
Topic: FEM unit test failure in Cmd mode
Replies: 17
Views: 285

Re: FEM unit test failure in Cmd mode

https://github.com/berndhahnebach/FreeC ... femunitcmd

ok with a recompute I am another step further, but I tested the recompute before ... it works in even more use cases, but I am still able to break it somehow. I will post later on.
by bernd
Wed May 22, 2019 9:08 am
Forum: Developers corner
Topic: FEM unit test failure in Cmd mode
Replies: 17
Views: 285

Re: FEM unit test failure in Cmd mode

the command to add a box box = self.active_doc.addObject("Part::Box","Box") seams to return a PythonFeature with a NullShape inside the unit test method in CMD (only inside unit test in FreeCADCmd !) ... whereas the Part.makeBox() returns a solid box shape see branch https://github.com/berndhahnebac...
by bernd
Wed May 22, 2019 4:48 am
Forum: Developers corner
Topic: FEM unit test failure in Cmd mode
Replies: 17
Views: 285

Re: FEM unit test failure in Cmd mode

next found:

- start FreeCADCmd
- run the unit test --> failure
- copy the code --> it runs
- run the unit test --> it runs
- run the unit test --> it runs
- close FreeCADCmd, restart
- run the unit test --> failure
- copy the code --> it runs
- run the unit test --> it runs
- and so on
by bernd
Wed May 22, 2019 4:41 am
Forum: Developers corner
Topic: FEM unit test failure in Cmd mode
Replies: 17
Views: 285

Re: FEM unit test failure in Cmd mode

BTW: I must admit it is quite easy to add a new unit test module to FreeCAD FEM :D
by bernd
Wed May 22, 2019 4:36 am
Forum: Developers corner
Topic: FEM unit test failure in Cmd mode
Replies: 17
Views: 285

Re: FEM unit test failure in Cmd mode

same build but copy the code --> on error output: >>> >>> >>> # code to copy active_doc=App.newDocument() box = active_doc.addObject("Part::Box", "Box") fixed_constraint = active_doc.addObject("Fem::ConstraintFixed", "FemConstraintFixed") fixed_constraint.References = [(box, "Face1")] active_doc.rec...
by bernd
Wed May 22, 2019 4:32 am
Forum: Developers corner
Topic: FEM unit test failure in Cmd mode
Replies: 17
Views: 285

Re: FEM unit test failure in Cmd mode

I collected all informations in last commit on branch https://github.com/berndhahnebach/FreeCAD_bhb/commits/femunitcmd (ATM: https://github.com/berndhahnebach/FreeCAD_bhb/commit/344110e) code to run on my computer in FreeCADCmd: import unittest unittest.TextTestRunner().run(unittest.TestLoader().loa...
by bernd
Wed May 22, 2019 3:56 am
Forum: Tutorials and videos
Topic: Joko Engineeringhelp videos
Replies: 1
Views: 141

Joko Engineeringhelp videos

Joko Engineeringhelp ... these guys have some cool FreeCAD videos on you tube ... https://www.youtube.com/results?search_ ... lp+FreecAD I wonder if they are on the forum around?

There is one for FEM too https://youtu.be/dhrynRdBOIg

Go to advanced search