@@ -151,8 +151,11 @@ PyObject* GeometryPy::transform(PyObject *args)
|
||||
gp_Trsf trf;
|
||||
trf.SetValues(mat[0][0],mat[0][1],mat[0][2],mat[0][3],
|
||||
mat[1][0],mat[1][1],mat[1][2],mat[1][3],
|
||||
mat[2][0],mat[2][1],mat[2][2],mat[2][3],
|
||||
0.00001,0.00001);
|
||||
mat[2][0],mat[2][1],mat[2][2],mat[2][3]
|
||||
#if OCC_VERSION_HEX < 0x060800
|
||||
, 0.00001,0.00001
|
||||
#endif
|
||||
); //precision was removed in OCCT CR0025194
|
||||
getGeometryPtr()->handle()->Transform(trf);
|
||||
Py_Return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user