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