I get a wire ,and I want to trim the wire and get the segment of the wire between u1 and u2.
is there a way convert wire to curve or Directly split the wire into two segments?
Thanks in advance!
It has the method Edge() that returns the edge with parameter that is needed to be split for the given U parameter. So, you can explore the wire in the order of its edges and construct the new wire within the given range.
Fri, 08/11/2023 - 14:09
Look at the class BRepAdaptor_CompCurve.
Mon, 08/14/2023 - 10:08
Thank you for your reply.
i know BRepAdaptor_CompCurve ::Trim(),but the result is not that i want,i want to get the TopoDS_Shape
Tue, 08/15/2023 - 00:11
It has the method Edge() that returns the edge with parameter that is needed to be split for the given U parameter. So, you can explore the wire in the order of its edges and construct the new wire within the given range.