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

Search the Forums
See All Topics
Open CASCADEShowroomGet it!Developer CornerSupport and ProductsAbout us
Technical overview
Areas of use
Shape factory
Shape gallery
What's new
System requirements
Download Center
Public license
Getting started
Open Source community
Training and e-learning
A-la Carte Support
Value-added software
Complementary Components
Customer Corner
Company Profile
Marketing Materials
Contact Us
Home / Developer Corner / Forums / Usage issues / spherical shape

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 Technology 6.7.1 is available for download!
  • Open CASCADE Technology 6.7.0 is available for download!
  • Open CASCADE Technology 6.6.0 is available for download!

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