extra vertices after BRepAlgoAPI_Fuse

Hi
I use BRepAlgoAPI_Fuse to subtract a torus by a block to result a half torus. Two extra vertices are crated on the half torus (torus.jpg).

Are there any ways I can avoid these two extra vertices?

Thanks in advance.

Sean

Attachments: 
seanliu's picture

Sorry but anyone knows about this?

Thanks.

Sean

Forum supervisor's picture

Dear sean,
It is feature of the current algorithm implementation.
You can refine result by yourself using ShapeBuild_ReShape and BRep_Builder.
Also if the problem is critical for you you may contact us via the Contact Form http://www.opencascade.org/about/contacts/.
We will try to find a solution/workaround acceptable for you.
Regards

Ugo Capeto's picture

i am seeing the exact same thing and that's a bit of a problem when you expect a certain type of topology and you get spurious artefacts.

Why on Earth is one extra point being created on 1 of the edges?

Are you saying one has to combine the 2 edges into a new one, rebuild the connected faces, and then rebuild the solid?

Is this handled in Salomé somewhere?

Ugo Capeto's picture

Does this happen only for edges where the curve is a circle? or is it unpredictable?

Forum supervisor's picture

Dear Ugo,
It is happen for periodical section curves like circles, ellipses...
It is feature of low level intersection algorithm.
Regards