0027719: HLRBrep_Algo incorrect output
[occt.git] / tests / bugs / modalg_6 / bug24097
CommitLineData
64652908 1puts "##################################################"
2puts "0024097: BRepAlgoAPI_Section returns wrong result"
3puts "##################################################"
4
5# load and check faces
6restore [locate_data_file bug24097_face1.brep] a
7tolerance a
8checkshape a
9
10restore [locate_data_file bug24097_face2.brep] b
11tolerance b
12checkshape b
13
14# build section
15bsection result a b
16
17# result should be single open edge with length 0.125
18checknbshapes result -vertex 2 -edge 1
19checkmaxtol result -ref 0.0001
58cf74e0 20checkprops result -l 0.125
64652908 21
22# make snapshot
23vinit Driver1/Viewer1/View1
24vclear
25eval vdisplay result [explode result v]
26vfit
27vdisplay a b
28vdump $imagedir/${test_image}.png