how do i convert the output of BRepOffsetAPI_ThruSections (a TopoDS_Shape) into Handle(Geom_Curve)?
i tried using
loftedSurface = BRep_Tool::Surface(TopoDS::Face(loftedShape));
(where loftedSurface is Handle(Geom_Curve) and loftedShape is the Shape generated from the sections).
but apparently this shape cannot be converted into a face... (and BRep_Tool::Surface only takes a face)