Shape construction on basis of other shape

The task is to create cylinder on cone surface. Is there some tool for this in OCC? Or I have to calculate location and rotation axis for cylinder myself?

Bearloga's picture

How to understand "to create cylinder on cone surface"? Give more details of your needs.

Artem Chernetzov's picture

I think other example will be better to understand my qiestion:
I have some shape (for example box), rotated in space. Is there any way to add cylinder shape to this box (cylinder axis must be normal to box surface), without calculating cylinder axis myself? I search for some occ class, that handles shapes orientation and location, relative to other shapes...

Sharjith Naramparambath's picture

Hi,
It seems you want to create feature like boss on the base topology. For this see the mfc examples of creating features where prisms, depressions, revolutions, pipes etc are shown.
Hope this helps!

Regards
N. Sharjith