Boolean and makebottle tutorial

In the makebottle tutorial, if I change the codes of making a TopoDS_Compound with the bottle body and threading to a BRepAlgoAPI_Fuse, it does not work.

It seems that both the body and the threading are solids. Has anyone made it work? How can I make it work?

Thanks,

Li Cai

Li Cai's picture

What I am really looking for is a way to tweak the codes to make boolean work when it fails. Does anyone have any experience with it? For example, How to tweak the tolerance to work-around failures.