1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
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

40 lines
567 B
Plaintext
Executable File

puts "============"
puts "CR23431"
puts "============"
puts ""
###################################################################################
# BOP Cut produces invalid shape
###################################################################################
plane pl1
mkface face_1 pl1 -100 100 -100 100
circle c1 0 0 0 20
circle c2 0 0 0 30
mkedge e1 c1
wire w1 e1
mkface d1 pl1 w1
mkedge e2 c2
wire w2 e2
mkface d2 pl1 w2
bop d2 d1
bopcut D_coupe_1
bop D_coupe_1 d1
bopfuse Union_1
bop face_1 Union_1
bopcut result
checkprops result -s 37172.6