1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-09 18:50:54 +03:00
occt/tests/bugs/modalg_1/bug13211_3
ski 58cf74e0c0 0025945: Make stable checking of shape global properties in tests
- Added function checkprops, set default tolerance parameter to 1.0e-4
- Using "area" instead of "square".
- Options "-equal\notequal" isn't used together with "-s" in blend and offset test cases.
- Correct regressions/differences/improvements and CPU problem (set props tolerance to 0.1)
- Corrected test cases to use checkprops proc.
- Correct image difference
- Updated TODOs in test cases.
- Updated test cases to get correct images of result shape
2015-12-10 16:56:03 +03:00

36 lines
975 B
Plaintext
Executable File

puts "============"
puts "OCC13211"
puts "============"
puts ""
#######################################################################
# Wrong treatment of conical faces in BOP algorithm
#######################################################################
vertex v1 136.06, 187.51, 0.0
vertex v2 136.06, 143.01, 0.0
edge e1 v1 v2
vertex v3 136.06, 143.01, 0.0
vertex v4 128.08, 143.01, 0.0
edge e2 v3 v4
vertex v5 128.08, 143.01, 0.0
vertex v6 127.88, 164.75, 0.0
edge e3 v5 v6
vertex v7 127.88, 164.75, 0.0
vertex v8 116.11, 176.00, 0.0
edge e4 v7 v8
vertex v9 116.11, 176.00, 0.0
vertex v10 136.06, 187.51, 0.0
edge e5 v9 v10
wire twire e1 e2 e3 e4 e5
mkplane tface twire
revol r1 tface 153.08, 143.01 0.0 1 0 0 360 1
revol r2 tface 136.06, 68.01, 0.0 0 1 0 360 1
bop r1 r2
bopcommon result
checkprops result -s 2990.42
checkshape result
checknbshapes result -vertex 13 -edge 23 -wire 10 -face 10 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 59
set 2dviewer 0