0030396: Infinite recursion during ShapeFix after BRepAlgoAPI_Cut
[occt.git] / tests / bugs / modalg_7 / bug23927
CommitLineData
c2e47bdd 1puts "========"
2puts "OCC23927"
3puts "========"
4puts ""
5######################################################################
6# BRepProj_Projection produces Edge with one Vertex outside from curve
7######################################################################
8
9restore [locate_data_file bug23927_line.brep] line
10restore [locate_data_file bug23927_surf.brep] surf
11
12breducetolerance surf
13
14prj p line surf 0.57735025882720947 -0.57735025882720947 0.57735025882720947
15
16explode p_1 V
17
18smallview
19fit
20checkview -screenshot -2d -path ${imagedir}/${test_image}.png
21
22explode line V
23
24set tol_abs 0.001
25set tol_rel 0
26
03cca6f7 27distmini d p_1_1 line_2
c2e47bdd 28checkreal "Projection, p1" [dval d_val] 0 $tol_abs $tol_rel
29
03cca6f7 30distmini d p_1_2 line_1
c2e47bdd 31checkreal "Projection, p2" [dval d_val] 0 $tol_abs $tol_rel