mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-08 18:40:55 +03:00
- 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
43 lines
659 B
Plaintext
43 lines
659 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 f2 0 f3 1
|
|
|
|
donly result
|
|
fit
|
|
|
|
checkprops result -s 407.98
|
|
|
|
set only_screen_axo 1
|