mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +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
27 lines
483 B
Plaintext
27 lines
483 B
Plaintext
puts "========="
|
|
puts "OCC22027"
|
|
puts "========="
|
|
puts ""
|
|
###########################################################
|
|
# Bop command between two faces raises exception
|
|
###########################################################
|
|
|
|
circle c 0 0 0 25
|
|
ellipse e 0 0 0 25 10
|
|
mkedge c c
|
|
mkedge e e
|
|
wire w1 c
|
|
wire w2 e
|
|
mkplane f1 w1
|
|
mkplane f2 w2
|
|
bop f1 f2
|
|
bopcut result
|
|
|
|
checkprops result -s 1178.1
|
|
checkshape result
|
|
checknbshapes result -vertex 2 -edge 4 -wire 2 -face 2
|
|
|
|
set 2dviewer 0
|
|
|
|
|