jianbaoxia
CAD master
Hi Bros, I'm JianBaoxia.
I try to connect some edges to become a closed wire today.
I use "ShapeAnalysis_WireOrder" to sort the edges, and some edges should be reversed.
The edges are "TopoDS_Edge", so I use the TopoDS_Edge.Reversed().
However, it seems something beyond my expection.
The Orientation of edge had reversed, but the firstVertex and lastVertex didn't change.
After I sort the edges and reverse the edges need to reverse, I use the "ShapeAnalysis_WireOrder" to test it again,
and it remind me the edges need to be reversed didn't be reversed. And I faild in build the TopoDS_Wire through "BRepBuilderAPI_MakeWire".
I'am confusing about this, hope for you suggesstions.
I try to connect some edges to become a closed wire today.
I use "ShapeAnalysis_WireOrder" to sort the edges, and some edges should be reversed.
The edges are "TopoDS_Edge", so I use the TopoDS_Edge.Reversed().
However, it seems something beyond my expection.
The Orientation of edge had reversed, but the firstVertex and lastVertex didn't change.
After I sort the edges and reverse the edges need to reverse, I use the "ShapeAnalysis_WireOrder" to test it again,
and it remind me the edges need to be reversed didn't be reversed. And I faild in build the TopoDS_Wire through "BRepBuilderAPI_MakeWire".
I'am confusing about this, hope for you suggesstions.
Last edited: