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
32 lines
664 B
Plaintext
Executable File
32 lines
664 B
Plaintext
Executable File
puts "============"
|
|
puts "OCC2986"
|
|
puts "============"
|
|
puts ""
|
|
######################################################
|
|
# Cut&fuse oprs. for 2 toroidal faces, sharing the same domain give invalid result
|
|
######################################################
|
|
## (new topology)
|
|
## (bop)
|
|
## (bopcut)
|
|
## (bfuse)
|
|
######################################################
|
|
|
|
############# data #############
|
|
ptorus p1 10 4
|
|
explode p1 f
|
|
mksurface gs p1_1
|
|
trim trgs gs 1 2 1 2
|
|
mkface ff trgs
|
|
############# testing faces are: p1_1 ff #############
|
|
|
|
bop p1_1 ff
|
|
bopcut rcut1
|
|
checkshape rcut1
|
|
|
|
bfuse result rcut1 ff
|
|
|
|
checkprops result -s 1579.81
|
|
checkshape result
|
|
set 3dviewer 1
|
|
|