0023748: Bad monitoring of intermediate results in offset commands
[occt.git] / tests / bugs / modalg_2 / bug21754
CommitLineData
809eca9d 1puts "================"
2puts "OCC21754"
3puts "================"
4puts ""
5#################################################################
6# Section of face by plane yields empty result
7#################################################################
8
9set BugNumber OCC21754
10
11# load shape and make face with natural bounds, to excluse possibility of
12# lame excuse saying that it contains small edges
13restore [locate_data_file OCC21754-bug_bsection_empty.brep] a
14mksurface s a
15mkface f s
16
17# create plane at Z=-0.410 (the bug is reproduced for Z in range [-0.405;-0.420])
18plane pl 0 0 -0.410 0 0 1
19mkface p pl 0 10 -5 5
20
4e57c75e 21bsection result f p -na
809eca9d 22
23set nb_v_good 2
24set nb_e_good 1
25set nb_w_good 0
26set nb_f_good 0
27set nb_sh_good 0
28set nb_sol_good 0
29set nb_compsol_good 0
30set nb_compound_good 1
31set nb_shape_good 4
32
33set length 0.592137
34
35set 2dviewer 0
36