0028802: The tolerance reached by approximator is used in creation of an edge, it...
[occt.git] / tests / bugs / modalg_6 / bug28009_1
CommitLineData
c9c7286e 1puts "================"
2puts "OCC28009"
3puts "================"
4puts ""
5#######################################################################
6# [Regression vs OCCT7.0.0] Cut produces not valid shape
7#######################################################################
8
9restore [locate_data_file bug28009_shape.brep] a
10
11explode a
12bcut result a_1 a_2
13
14# Check result validity.
15checkshape result
16
17# Check number of topological entities in the result.
18checknbshapes result -solid 1 -shell 1 -face 12 -wire 12 -edge 28 -vertex 17
19
20# Check result area.
21checkprops result -s 4347.99
22
23smallview
24don result
25fit
26
27checkview -screenshot -2d -path ${imagedir}/${test_image}.png