conversion from BRepPrimAPI_MakeCylinder to TopoDS

HI, can you help me to solve this trouble ?

"conversion from BRepPrimAPI_MakeCylinder to TopoDS_Shape is ambiguous"

while

TopoDS_shape shape; shape = BRepPRimAPI_MakeBox(1,2,3);

it's ok

thanx ... alessio G

Haffray Arnaud's picture

Hello,

try : TopoDS_Shape MyShape = BRepPRimAPI_MakeBox(1,2,3).Shape(); It's duce of an alias problem with your compiler. Regards

arnaud

Haffray Arnaud's picture

This problem occur with : BRepPrimAPI_MakeCylinder and not with BRepPRimAPI_MakeBox

arnaud