fix: Add edges to wire builder individually
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
@@ -106,7 +106,9 @@ void SketchFeature::buildShape()
|
||||
|
||||
if (!lineEdges.isEmpty()) {
|
||||
BRepBuilderAPI_MakeWire wireBuilder;
|
||||
wireBuilder.Add(lineEdges);
|
||||
for (const auto& edge : lineEdges) {
|
||||
wireBuilder.Add(edge);
|
||||
}
|
||||
if (wireBuilder.IsDone()) {
|
||||
TopoDS_Shape wiresShape = wireBuilder.Shape();
|
||||
TopExp_Explorer explorer(wiresShape, TopAbs_WIRE);
|
||||
|
||||
Reference in New Issue
Block a user