fix: Add edges to wire builder individually

Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
2026-02-17 17:56:15 -07:00
parent 95b4db5191
commit d5d430e80d

View File

@@ -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);