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

43 lines
665 B
Plaintext

puts "========"
puts "OCC26798"
puts "========"
puts ""
#######################################################################
# Boolean operations: keep desired cells and boundaries in the result
#######################################################################
smallview
circle c1 0 10 0 15
circle c2 20 10 0 15
circle c3 10 0 0 15
mkedge e1 c1
mkedge e2 c2
mkedge e3 c3
wire w1 e1
wire w2 e2
wire w3 e3
mkplane f1 w1
mkplane f2 w2
mkplane f3 w3
donly f1 f2 f3
fit
bclearobjects
bcleartools
baddobjects f1 f2
baddtools f3
bfillds
bcbuild r
bcremoveall
bcadd result f1 1 f3 1 -m 1
donly result
fit
checkprops result -s 298.878
set only_screen_axo 1