Open jnbrunet opened 2 years ago
This PR will allow one to do something like
import SofaCaribou class MyFF (SofaCaribou.SofaCaribou.HyperelasticForcefield_Hexahedron): def addForce(self, mp, f, x, v): print(x) SofaCaribou.SofaCaribou.HyperelasticForcefield_Hexahedron.addForce(self, mp, f, x, v) def createScene(root): # (...) root.addObject(MyFF(printLog=True))
This PR will allow one to do something like