There is error to apply Force at node.
Code: Select all
model.add_cbar(9, 1, (5, 4), x=[0.0, 0.0, 1.0], g0=None)
13:24:42
13:24:42 [('node load on shape: BooleanFragments:Vertex5', {5: 1.0})]
13:24:42 Exception in thread Thread-31:
13:24:42 Traceback (most recent call last):
13:24:42 File "C:\FreeCAD_0.20.25541_Win-LPv12.5.4_vc17.x-x86-64\bin\lib\threading.py", line 932, in _bootstrap_inner
13:24:42 self.run()
13:24:42 File "C:\FreeCAD_0.20.25541_Win-LPv12.5.4_vc17.x-x86-64\bin\lib\threading.py", line 870, in run
13:24:42 self._target(*self._args, **self._kwargs)
13:24:42 File "C:\FreeCAD_0.20.25541_Win-LPv12.5.4_vc17.x-x86-64\Mod\Fem\femsolver\task.py", line 118, in protector
13:24:42 self.run()
13:24:42 File "C:\FreeCAD_0.20.25541_Win-LPv12.5.4_vc17.x-x86-64\Mod\Fem\femsolver\mystran\tasks.py", line 94, in run
13:24:42 path = w.write_solver_input()
13:24:42 File "C:\FreeCAD_0.20.25541_Win-LPv12.5.4_vc17.x-x86-64\Mod\Fem\femsolver\mystran\writer.py", line 110, in write_solver_input
13:24:42 model = add_con_force.add_con_force(pynasf, model, self)
13:24:42 File "C:\FreeCAD_0.20.25541_Win-LPv12.5.4_vc17.x-x86-64\Mod\Fem\femsolver\mystran\add_con_force.py", line 75, in add_con_force
13:24:42 exec(pynas_code)
13:24:42 File "<string>", line 4, in <module>
13:24:42 AttributeError: 'NoneType' object has no attribute 'add_force'
John