mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
0030927: Modeling Algorithms - UnifySameDom looses the Closed flag for wires
Add setting the Closed flag for a new wire
This commit is contained in:
parent
990d032c90
commit
a22151d83c
@ -2567,6 +2567,7 @@ void ShapeUpgrade_UnifySameDomain::IntUnifyFaces(const TopoDS_Shape& theInpShape
|
|||||||
RemoveEdgeFromMap(CurEdge, VEmap);
|
RemoveEdgeFromMap(CurEdge, VEmap);
|
||||||
}
|
}
|
||||||
} //for (;;)
|
} //for (;;)
|
||||||
|
aNewWire.Closed(Standard_True);
|
||||||
UsedEdges.Add(StartEdge);
|
UsedEdges.Add(StartEdge);
|
||||||
|
|
||||||
//Remove used edges from sequence
|
//Remove used edges from sequence
|
||||||
|
15
tests/bugs/modalg_7/bug30927
Normal file
15
tests/bugs/modalg_7/bug30927
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
puts "============================================================================"
|
||||||
|
puts "0030927: Modeling Algorithms - UnifySameDom looses the Closed flag for wires"
|
||||||
|
puts "============================================================================"
|
||||||
|
puts ""
|
||||||
|
|
||||||
|
box b1 10 10 10
|
||||||
|
box b2 5 0 -5 10 10 20
|
||||||
|
bfuse s b1 b2
|
||||||
|
unifysamedom result s
|
||||||
|
|
||||||
|
foreach w [explode result w] {
|
||||||
|
if {![regexp "Closed" [whatis $w]]} {
|
||||||
|
puts "Error: Wire $w is not closed"
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user