Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics

spherical shape

spherical shape
hero 2013/02/04 22:22
Hay there ...

Can anybody provide me a code to create sphere from center point coordinates (X,Y,Z) and its Radius ???? kindly along with required Header file plz ????

Thanx in Advance

jelle 2013/02/04 22:47
Sure, send me your homework too ;)
You're looking for the BRepPrimAPI_MakeSphere class:

ipdb> BRepPrimAPI_MakeSphere(gp_Pnt(), 1).Shape()
<OCC.TopoDS.TopoDS_Shape; proxy of <Swig Object of type 'TopoDS_Shape *' at 0x11ee99d50> >

hero 2013/02/05 17:24
Dear Jelle

I could not understand your post ........
and do you need my homework ????

Latest news
  • Open CASCADE CAD Assistant for iOS platform is available!
  • Open CASCADE Technology 6.9.0 is available for download!
  • JT Assistant for Android

  • © OPEN CASCADE 2000 - 2015  |  Search  |  Contacts   |  Site map