1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00

# Modified scripts

This commit is contained in:
gka 2018-02-05 17:05:45 +03:00
parent 8f87d4a954
commit 80f77ed256
2 changed files with 12 additions and 18 deletions

View File

@ -1,19 +1,19 @@
puts "=============="
puts " splitshape "
puts " case1 "
puts " splitshape_1 "
puts " "
puts "=============="
puts ""
#puts " OCC26354 "
#puts " 0029473 "
###################################################
# Operation "splitshape" in the Test Harness give invalid result on the attached case.
###################################################
restore [locate_data_file bug29473_SplitShape.brep] a
restore [locate_data_file bug29473_SplitEdges.brep] b
restore [locate_data_file bug29473_Split.brep] a
explode a
explode b
wire w1 b_1 b_2 b_3
wire w2 b_4 b_5
splitshape r1 a a_1 w1 a_2 w2 a_3 b_6 a_4 b_7 @ a_5 b_8
explode a_1
explode a_2
wire w1 a_2_1 a_2_2 a_2_3
wire w2 a_2_4 a_2_5
explode a_1_5 e
splitshape r1 a_1 a_1_1 w1 a_1_3 w2 a_1_4 a_2_6 a_1_5 a_2_7 @ a_1_5_4 a_2_8
explode r1 f
copy r_1 result
copy r1_1 result

View File

@ -1,15 +1,9 @@
# Main script in this test grid; does all the job.
# Individual test scripts are used only to specify data file and reference
# test data (expected values of test execution).
# The procedure is:
# - load specified data files
# - check validity of result shape, vizualize building compartments,
# test script to check validity of shape
########################################################################
checkshape result
maxtolerance result
checknbshapes $result -face $ref_nbf
smallview
display result