Hello, I think i have an understanding issue here, but when i try to fuse to two edges together like this, the result still has two edges.
Do i use the fuse algorithm in a wrong way, or do i have to do something else?
pt1 = OCC.gp.gp_Pnt(0,0,0)
pt2 = OCC.gp.gp_Pnt(3,0,0)
pt3 = OCC.gp.gp_Pnt(1,0,0)
pt4 = OCC.gp.gp_Pnt(5,0,0)
edge1 = OCC.BRepBuilderAPI.BRepBuilderAPI_MakeEdge(pt1,pt2).Edge()
edge2 = OCC.BRepBuilderAPI.BRepBuilderAPI_MakeEdge(pt3,pt4).Edge()
fuse = OCC.BRepAlgoAPI.BRepAlgoAPI_Fuse(edge1, edge2).Shape()
edges = 
exp = OCC.TopExp.TopExp_Explorer(fuse, OCC.TopAbs.TopAbs_EDGE)
edge = OCC.TopoDS.topods.Edge(exp.Current())
results in two edges, I need one.
unif = OCC.ShapeUpgrade.ShapeUpgrade_UnifySameDomain(fuse)
even results in three edges :)
Any help is appreciated!