0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0
[occt.git] / tests / bugs / modalg_7 / bug29544_2
CommitLineData
06084bb8 1puts "========"
2puts "OCC29544"
3puts "========"
4puts ""
5#################################################
6# Regression vs 7.2.0: ShapeUpgrade_UnifySameDomain fails to merge linear edges
7#################################################
8
9# create edge
10line l 0 0 0 1 0 0
11mkedge e l 0 10
12
13# split edge by the vertex
14vertex v 5 2.e-7 0
15bclearobjects
16bcleartools
17baddobjects e
18baddtools v
19bfillds
20bsplit sp
21
22# unify the splits of the edge
23unifysamedom result sp
24
25checkshape result
26checkprops result -l 10
27checknbshapes result -vertex 2 -edge 1