Hi,

I'm working on a curvature issue, and am having problems sending floats.
I think this might be an issue API wide, so perhaps its important.

.Bounds expects 4 Standard_Real's, neither of the two methods below  
work.
Any ideas how I can fix this?

Much appreciated,

-jelle

a,b,c,d = [.1]*4
occ.GeomLProp_SurfaceTool().Bounds(h_srf, 0., 0. ,0. ,0. )
occ.GeomLProp_SurfaceTool().Bounds(h_srf, a,b,c,d)


occ.GeomLProp_SurfaceTool().Bounds(h_srf, a,b,c,d)
Traceback (most recent call last):
   File "<console>", line 1, in ?
   File "C:\Python24\Lib\site-packages\OCC.py", line 192525, in Bounds
     return _OCC.GeomLProp_SurfaceTool_Bounds(*args)
TypeError: in method 'GeomLProp_SurfaceTool_Bounds', argument 3 of  
type 'Standard_Real &'


_______________________________________________
Minerva-pythonocc mailing list
Minerva-pythonocc@gna.org
https://mail.gna.org/listinfo/minerva-pythonocc

Reply via email to