How to make union with two curves


I want to build a curve beyond two curves. I tried to do it with a boolean operation, but
unfortunately, I think we can do it only with shapes. I would to know if a function exist, because I have to buil a ruled surface with two curves. But one of these two curves is made with two curves (B-spline, circle...etc...)

Thanks for your help

Francois Lauzon's picture

Hi Florian,
if you have TopoDS_Edge object, you could use BRepAdaptor_CompCurve and then use Approx_Curve3d, you could also use GeomConvert_CompCurveToBSplineCurve if you have Geom_Curve.

Good Luck,