1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-07 18:30:55 +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

26 lines
403 B
Plaintext

#jap60271
puts "JAP60271"
puts "Can not create a CompSolid using exploded faces of 2 solids in contact."
puts ""
box b1 10 10 10
box b2 5 5 5
ttranslate b2 2 2 10
explode b1 F
explode b2 F
bcut res b1_6 b2_6
explode res F
sewing se b1_1 b1_2 b1_3 b1_4 b1_5 b2_6 res_1
explode se Sh
shape Solid1 So
add se_1 Solid1
shape result CS
add b2 result
add Solid1 result
checkprops result -s 750