I made a common boolean operation between a cylinder and a block, a result is obtained as shown in the attached file. But there is an edge on the cylindrical surface which I want to remove it. Any suggestion will be precious for me to resolve this problem?
Here is my code which is using.
// first Shape = Cylinder
gp_Pnt middlePoint = gp_Pnt(1000, 0, 0);
gp_Dir direction = gp_Dir(0, 1, 0);
gp_Ax2 Ax2 = gp_Ax2(middlePoint, direction);
aCylinderShape = BRepPrimAPI_MakeCylinder(Ax2, 1000,2000);
// second Shape = Cone
middlePoint = gp_Pnt(0, 0, 0);
direction = gp_Dir(1, 0, 0);
Ax2 = gp_Ax2(middlePoint, direction);
//Shape2 = BRepPrimAPI_MakeCone(Ax2, 0.0635114, 0, 0.309304);
aBoxShape = BRepPrimAPI_MakeBox(2000,1000,2000);
TopoDS_Shape aFuseShape = BRepAlgoAPI_Common(aCylinderShape, aBoxShape);