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