1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/modalg_6/bug27552_2
isn 07ef8bdfa2 0027552: Wire creation fails depending on the order of edges
1) BRepBuilderAPI_MakeWire::Add (const TopTools_ListOfShape &L) method have been completely rewritten. The order of edges is not significant now.
2) The geometric proximity of free vertices from already existing wire and from input list of edges are also have been taken into account. If such vertices are coincident with each other then they are fused into the one. The original wire remains untouched topologically (yet the tolerances and points can be modified).
3) UBTreeFiller is used to speed up the process of picking of coincident vertices.
4) BRepLib now contains the 'new' method - BoundingVertex(..). The implemenation of this method are taken from BOPTools_AlgoTools::MakeVertex(..).
5) The '-unsorted' argument have been added to 'wire' command.

Conflicts:
	src/QABugs/QABugs_20.cxx

Add missing include.

Eliminate warning.
2016-07-28 15:00:28 +03:00

44 lines
661 B
Plaintext

puts "=========="
puts "OCC27552"
puts "=========="
puts ""
#######################################
# Wire creation fails depending on the order of edges
#######################################
#4 vertices in row
point p1 0 0 0
point p2 5 0 0
point p4 10 0 0
point p3 12.5 0 0
point p5 20 0 0
vertex v1 p1
vertex v2 p2
vertex v3 p3
vertex v4 p4
vertex v5 p5
settolerance v1 3
settolerance v2 6
settolerance v3 3
settolerance v4 1
point d 0 10 0
vertex dv d
edge e1 v1 dv
edge e2 v2 dv
edge e3 v3 dv
edge e4 v4 dv
edge e5 dv v5
wire w2 -unsorted e1 e2 e3 e4 e5
checkshape w2
checknbshapes w2 -vertex 3 -edge 5
nexplode w2 v
checkmaxtol w2_2 -ref 9.875