pivy
pivy copied to clipboard
SoVMRLTransform.setMatrix doesn't accept a parameter
I'm having an issue while trying to use the method setMatrix of the class SoVMRLTransform. It doesn't require any parameter:
n = pivy.coin.SoVRMLTransform()
help(n.setMatrix)
Help on method setMatrix in module pivy.coin:
setMatrix() -> 'void' method of pivy.coin.SoVRMLTransform instance
setMatrix(SoVRMLTransform self)
If I try the same with the class SoTransform I get:
n = pivy.coin.SoTransform()
help(n.setMatrix)
Help on method setMatrix in module pivy.coin:
setMatrix(mat: 'SbMatrix') -> 'void' method of pivy.coin.SoTransform instance
setMatrix(SoTransform self, SbMatrix mat)
This method requires a SbMatrix parameter. I'm using pivy 0.6.6 in FreeCAD 0.20 on Windows 10.
I think it's a pivy issue because the setMatrix method in coin requires a parameter:
void setMatrix(const SbMatrix & matrix);