For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

problem with intersection between two cylinders

Denis Teissandier's picture

We have problems with computation off common shape between two cylinders :

The algorithm used is : BRepAlgoAPI_Common(A, B)

The result is never find.

Sylvain Lecluze's picture

A good test : save your shape, use C++ function
> BRepTools::Write (shapeA,filea.rle)
> BRepTools::Write (shapeB,fileb.rle) restore shape A and B in Draw (TTopology.exe)
> restore filea.rle a
> restore fileb.rle b check your shape :
> checkshape a //and checkshape b test boolean operation
> fuse r a b or > common r a b

if the last command failed, good luck (it's possible your case is a bug)

Philippe Centa's picture

Hello Sylvain and Denis,

As far as I know what Denis does, he is working against a singular case. Denis can you tell us whether the 2 cylinders interfer through the closure of one of them ? If so turn it a little to avoid it.

Hope it helps.

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.