0025987: Integration part of modified unstable test cases
[occt.git] / tests / bugs / mesh / bug25142
CommitLineData
50b830a0 1puts "============"
2puts "CR25142"
3puts "============"
4puts ""
5###################################################################################
6# Visualization breaks triangulation on shared solids in composite solid model
7###################################################################################
8
9# make two adjacent boxes share their common face
10box b1 20 10 10
11box b2 10 10 10
12
13bclear
14baddobjects b1 b2
15bfillds
16bbuild r
17explode r
18
19nbshapes r
20
21# do all possible checks of validity
22tolerance r
23checkshape r
24bopargcheck r #F
25bopargcheck r_1 r_2 -F #F
26
27# mesh one-by-one
28incmesh r_1 0.1
29tricheck r_1
30
31# note it will be Ok if we use the same deflection here, and bad otherwise...
32incmesh r_2 0.1
33tricheck r_2
34
35# now check again mesh on r_1
36tricheck r_1
37
38# now vdisplay solids separately causing their automatic re-mesh
39tclean r
40vinit View1
41vsetdispmode 1
42vdisplay r_1
43vdisplay r_2
44tricheck r_1
45
46vfit
47set only_screen 1