mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
Splitting of subgroups bugs/modalg and bugs/moddata to optimise time of testing Correction of end file in group v3d Small correction of test case
43 lines
950 B
Plaintext
Executable File
43 lines
950 B
Plaintext
Executable File
puts "============"
|
|
puts "OCC2785"
|
|
puts "============"
|
|
puts ""
|
|
######################################################
|
|
# Cut and fuse operations for two faces that share same domain give invalid result
|
|
######################################################
|
|
# Cut and fuse operations for two faces that share same domain gives invalid
|
|
# result, if one face has a hole and other face touches a boundary of this hole.
|
|
######################################################
|
|
## (new topology)
|
|
## (bcut)
|
|
## (bop)
|
|
## (boptuc)
|
|
## (bfuse)
|
|
######################################################
|
|
|
|
############# data #############
|
|
pcylinder c1 2 10
|
|
pcylinder c2 2 2
|
|
explode c1 f
|
|
explode c2 f
|
|
mksurface gs c2_1
|
|
trim trgs gs 1 2 2 4
|
|
mkface ff trgs
|
|
trim trgs gs 0 1 2 4
|
|
mkface ff2 trgs
|
|
|
|
bcut rcut1 c1_1 ff
|
|
checkshape rcut1
|
|
|
|
bop ff2 rcut1
|
|
boptuc rcut2
|
|
checkshape rcut2
|
|
|
|
bfuse fuse1 rcut2 ff2
|
|
checkshape fuse1
|
|
|
|
bfuse result fuse1 ff
|
|
|
|
set square 125.664
|
|
set 3dviewer 1
|