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

0026606: Test cases for BRepProj_Projection

Test cases provided
This commit is contained in:
ski 2015-09-11 12:21:46 +03:00 committed by bugmaster
parent bc54ec0408
commit 66a9b817db
79 changed files with 302 additions and 0 deletions

3
tests/prj/base/A1 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_001_extract_2015-01-C301_001_offset.brep] plate
restore [locate_data_file bug26606_001_extract_2015-01-C301_001_marker_2.brep] marker
set prlist [prj pr marker plate -0.246561 0.203723 -0.947473]

3
tests/prj/base/A2 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_001_extract_2015-01-C301_005_offset.brep] plate
restore [locate_data_file bug26606_001_extract_2015-01-C301_005_marker_2.brep] marker
set prlist [prj pr marker plate -0.178316 0.589319 -0.787976]

3
tests/prj/base/A3 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_001_extract_2015-01-C301_006_offset.brep] plate
restore [locate_data_file bug26606_001_extract_2015-01-C301_006_marker_1.brep] marker
set prlist [prj pr marker plate -0.107679 0.953533 -0.281391]

4
tests/prj/base/A4 Normal file
View File

@ -0,0 +1,4 @@
restore [locate_data_file bug26606_001_extract_2015-01-C301_011_offset.brep] plate
restore [locate_data_file bug26606_001_extract_2015-01-C301_011_marker_1.brep] marker
set prlist [prj pr marker plate -0.401274 -0.728397 -0.555352]
set relcoef 0.736

4
tests/prj/base/A5 Normal file
View File

@ -0,0 +1,4 @@
restore [locate_data_file bug26606_001_extract_2015-01-C301_011_offset.brep] plate
restore [locate_data_file bug26606_001_extract_2015-01-C301_011_marker_2.brep] marker
set prlist [prj pr marker plate -0.401274 -0.728397 -0.555352]
set relcoef 0.784

4
tests/prj/base/A6 Normal file
View File

@ -0,0 +1,4 @@
restore [locate_data_file bug26606_001_extract_2015-01-C301_013_offset.brep] plate
restore [locate_data_file bug26606_001_extract_2015-01-C301_013_marker_1.brep] marker
set prlist [prj pr marker plate -0.330282 -0.629261 -0.703522]
set relcoef 0.895

4
tests/prj/base/A7 Normal file
View File

@ -0,0 +1,4 @@
restore [locate_data_file bug26606_001_extract_2015-01-C301_013_offset.brep] plate
restore [locate_data_file bug26606_001_extract_2015-01-C301_013_marker_2.brep] marker
set prlist [prj pr marker plate -0.330282 -0.629261 -0.703522]
set relcoef 0.936

4
tests/prj/base/A8 Normal file
View File

@ -0,0 +1,4 @@
restore [locate_data_file bug26606_001_extract_2015-01-C301_014_offset.brep] plate
restore [locate_data_file bug26606_001_extract_2015-01-C301_014_marker_1.brep] marker
set prlist [prj pr marker plate -0.265000 0.628348 -0.731406]
set relcoef 0.965

3
tests/prj/base/A9 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_001_extract_2015-01-C301_016_offset.brep] plate
restore [locate_data_file bug26606_001_extract_2015-01-C301_016_marker_1.brep] marker
set prlist [prj pr marker plate 0.703411 0.435397 -0.561820]

3
tests/prj/base/B1 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_001_extract_2015-01-C301_016_offset.brep] plate
restore [locate_data_file bug26606_001_extract_2015-01-C301_016_marker_2.brep] marker
set prlist [prj pr marker plate 0.703411 0.435397 -0.561820]

3
tests/prj/base/B2 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_001_extract_2015-01-C301_017_offset.brep] plate
restore [locate_data_file bug26606_001_extract_2015-01-C301_017_marker_1.brep] marker
set prlist [prj pr marker plate 0.796957 0.157624 -0.583107]

3
tests/prj/base/B3 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_001_extract_2015-01-C301_019_offset.brep] plate
restore [locate_data_file bug26606_001_extract_2015-01-C301_019_marker_1.brep] marker
set prlist [prj pr marker plate -0.009799 -0.000656 -0.999952]

3
tests/prj/base/B4 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_001_extract_2015-01-C301_019_offset.brep] plate
restore [locate_data_file bug26606_001_extract_2015-01-C301_019_marker_2.brep] marker
set prlist [prj pr marker plate -0.009799 -0.000656 -0.999952]

3
tests/prj/base/B5 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_001_extract_2015-01-C301_020_offset.brep] plate
restore [locate_data_file bug26606_001_extract_2015-01-C301_020_marker_2.brep] marker
set prlist [prj pr marker plate 0.000000 0.000000 -1.000000]

3
tests/prj/base/B6 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_001_extract_2015-01-C301_021_offset.brep] plate
restore [locate_data_file bug26606_001_extract_2015-01-C301_021_marker_1.brep] marker
set prlist [prj pr marker plate -0.009794 -0.000625 -0.999952]

3
tests/prj/base/B7 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_001_extract_2015-01-C301_021_offset.brep] plate
restore [locate_data_file bug26606_001_extract_2015-01-C301_021_marker_2.brep] marker
set prlist [prj pr marker plate -0.009794 -0.000625 -0.999952]

3
tests/prj/base/B8 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_001_extract_2015-01-C301_027_offset.brep] plate
restore [locate_data_file bug26606_001_extract_2015-01-C301_027_marker_1.brep] marker
set prlist [prj pr marker plate -0.059178 0.632152 -0.772581]

3
tests/prj/base/B9 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_001_extract_2015-01-C301_027_offset.brep] plate
restore [locate_data_file bug26606_001_extract_2015-01-C301_027_marker_2.brep] marker
set prlist [prj pr marker plate -0.059178 0.632152 -0.772581]

4
tests/prj/base/C1 Normal file
View File

@ -0,0 +1,4 @@
restore [locate_data_file bug26606_001_extract_2015-01-C301_029_offset.brep] plate
restore [locate_data_file bug26606_001_extract_2015-01-C301_029_marker_1.brep] marker
set prlist [prj pr marker plate -0.000015 0.707616 -0.706598]
set relcoef 0.973

3
tests/prj/base/C2 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_002_extract_C301-full_009_offset.brep] plate
restore [locate_data_file bug26606_002_extract_C301-full_009_marker_2.brep] marker
set prlist [prj pr marker plate 0.704230 0.435290 -0.560877]

3
tests/prj/base/C3 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_002_extract_C301-full_012_offset.brep] plate
restore [locate_data_file bug26606_002_extract_C301-full_012_marker_1.brep] marker
set prlist [prj pr marker plate -0.009781 -0.000615 -0.999952]

3
tests/prj/base/C4 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_002_extract_C301-full_012_offset.brep] plate
restore [locate_data_file bug26606_002_extract_C301-full_012_marker_2.brep] marker
set prlist [prj pr marker plate -0.009781 -0.000615 -0.999952]

6
tests/prj/base/C5 Normal file
View File

@ -0,0 +1,6 @@
puts "TODO OCC26677 All:An exception was caught"
puts "TODO OCC26677 All:\\*\\* Exception \\*\\*"
puts "TODO OCC26677 All:TEST INCOMPLETE"
restore [locate_data_file bug26606_002_extract_C301-full_014_offset.brep] plate
restore [locate_data_file bug26606_002_extract_C301-full_014_marker_1.brep] marker
set prlist [prj pr marker plate 0.008936 -0.001151 0.999959]

3
tests/prj/base/C6 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_002_extract_C301-full_014_offset.brep] plate
restore [locate_data_file bug26606_002_extract_C301-full_014_marker_2.brep] marker
set prlist [prj pr marker plate 0.008936 -0.001151 0.999959]

4
tests/prj/base/C7 Normal file
View File

@ -0,0 +1,4 @@
restore [locate_data_file bug26606_003_extract_2015-01-6629_02_offset.brep] plate
restore [locate_data_file bug26606_003_extract_2015-01-6629_02_marker_1.brep] marker
set prlist [prj pr marker plate -0.259368 -0.884426 0.387967]
set relcoef 0.969

3
tests/prj/base/C8 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_003_extract_2015-01-6629_02_offset.brep] plate
restore [locate_data_file bug26606_003_extract_2015-01-6629_02_marker_2.brep] marker
set prlist [prj pr marker plate -0.259368 -0.884426 0.387967]

4
tests/prj/base/C9 Normal file
View File

@ -0,0 +1,4 @@
restore [locate_data_file bug26606_003_extract_2015-01-6629_03_offset.brep] plate
restore [locate_data_file bug26606_003_extract_2015-01-6629_03_marker_1.brep] marker
set prlist [prj pr marker plate 0.000005 -0.707114 0.707099]
set relcoef 0.945

4
tests/prj/base/D1 Normal file
View File

@ -0,0 +1,4 @@
restore [locate_data_file bug26606_003_extract_2015-01-6629_05_offset.brep] plate
restore [locate_data_file bug26606_003_extract_2015-01-6629_05_marker_1.brep] marker
set prlist [prj pr marker plate -0.271727 -0.960750 -0.055897]
set relcoef 0.98

3
tests/prj/base/D2 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_003_extract_2015-01-6629_05_offset.brep] plate
restore [locate_data_file bug26606_003_extract_2015-01-6629_05_marker_2.brep] marker
set prlist [prj pr marker plate -0.271727 -0.960750 -0.055897]

3
tests/prj/base/D3 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0001_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0001_marker_1.brep] marker
set prlist [prj pr marker plate 0.085224 -0.394400 0.914978]

3
tests/prj/base/D4 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0001_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0001_marker_2.brep] marker
set prlist [prj pr marker plate 0.085224 -0.394400 0.914978]

3
tests/prj/base/D5 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0002_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0002_marker_1.brep] marker
set prlist [prj pr marker plate 0.154156 -0.422601 0.893109]

3
tests/prj/base/D6 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0033_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0033_marker_1.brep] marker
set prlist [prj pr marker plate 0.000000 -1.000000 0.000000]

3
tests/prj/base/D7 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0035_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0035_marker_2.brep] marker
set prlist [prj pr marker plate -0.003163 -0.999841 0.017544]

4
tests/prj/base/D8 Normal file
View File

@ -0,0 +1,4 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0043_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0043_marker_1.brep] marker
set prlist [prj pr marker plate 0.000490 -0.715789 0.698317]
set relcoef 0.962

6
tests/prj/base/D9 Normal file
View File

@ -0,0 +1,6 @@
puts "TODO OCC26677 All:An exception was caught"
puts "TODO OCC26677 All:\\*\\* Exception \\*\\*"
puts "TODO OCC26677 All:TEST INCOMPLETE"
restore [locate_data_file bug26606_004_extract_2015-01-C37_0043_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0043_marker_2.brep] marker
set prlist [prj pr marker plate 0.000490 -0.715789 0.698317]

4
tests/prj/base/E1 Normal file
View File

@ -0,0 +1,4 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0050_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0050_marker_1.brep] marker
set prlist [prj pr marker plate 0.000000 -0.707116 0.707097]
set relcoef 0.962

6
tests/prj/base/E2 Normal file
View File

@ -0,0 +1,6 @@
puts "TODO OCC26677 All:An exception was caught"
puts "TODO OCC26677 All:\\*\\* Exception \\*\\*"
puts "TODO OCC26677 All:TEST INCOMPLETE"
restore [locate_data_file bug26606_004_extract_2015-01-C37_0077_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0077_marker_2.brep] marker
set prlist [prj pr marker plate 0.000043 -0.707120 0.707094]

4
tests/prj/base/E3 Normal file
View File

@ -0,0 +1,4 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0078_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0078_marker_1.brep] marker
set prlist [prj pr marker plate -0.006700 -0.730860 0.682494]
set relcoef 0.961

3
tests/prj/base/E4 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0078_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0078_marker_2.brep] marker
set prlist [prj pr marker plate -0.006700 -0.730860 0.682494]

4
tests/prj/base/E5 Normal file
View File

@ -0,0 +1,4 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0079_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0079_marker_1.brep] marker
set prlist [prj pr marker plate -0.023342 -0.790131 0.612493]
set relcoef 0.965

3
tests/prj/base/E6 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0079_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0079_marker_2.brep] marker
set prlist [prj pr marker plate -0.023342 -0.790131 0.612493]

6
tests/prj/base/E7 Normal file
View File

@ -0,0 +1,6 @@
puts "TODO OCC26677 All:An exception was caught"
puts "TODO OCC26677 All:\\*\\* Exception \\*\\*"
puts "TODO OCC26677 All:TEST INCOMPLETE"
restore [locate_data_file bug26606_004_extract_2015-01-C37_0084_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0084_marker_2.brep] marker
set prlist [prj pr marker plate -0.048021 -0.305504 0.950979]

3
tests/prj/base/E8 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0118_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0118_marker_2.brep] marker
set prlist [prj pr marker plate 0.000000 -0.000000 1.000000]

3
tests/prj/base/E9 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0119_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0119_marker_2.brep] marker
set prlist [prj pr marker plate 0.000000 0.000000 1.000000]

3
tests/prj/base/F1 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0120_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0120_marker_2.brep] marker
set prlist [prj pr marker plate 0.000000 -0.000000 1.000000]

3
tests/prj/base/F2 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0123_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0123_marker_2.brep] marker
set prlist [prj pr marker plate -0.000001 -0.000001 1.000000]

3
tests/prj/base/F3 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0130_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0130_marker_2.brep] marker
set prlist [prj pr marker plate 0.000000 -0.000000 1.000000]

3
tests/prj/base/F4 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0131_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0131_marker_2.brep] marker
set prlist [prj pr marker plate -0.031512 -0.030889 0.999026]

3
tests/prj/base/F5 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0133_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0133_marker_2.brep] marker
set prlist [prj pr marker plate -0.086061 -0.117541 0.989332]

3
tests/prj/base/F6 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0135_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0135_marker_1.brep] marker
set prlist [prj pr marker plate -0.029500 -0.093159 0.995214]

3
tests/prj/base/F7 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0144_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0144_marker_2.brep] marker
set prlist [prj pr marker plate 0.031391 -0.981427 0.189253]

4
tests/prj/base/F8 Normal file
View File

@ -0,0 +1,4 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0150_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0150_marker_1.brep] marker
set prlist [prj pr marker plate 0.102543 -0.878117 0.467328]
set relcoef 0.99

3
tests/prj/base/F9 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0150_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0150_marker_2.brep] marker
set prlist [prj pr marker plate 0.102543 -0.878117 0.467328]

3
tests/prj/base/G1 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0152_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0152_marker_2.brep] marker
set prlist [prj pr marker plate 0.167560 -0.474273 0.864285]

3
tests/prj/base/G2 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0153_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0153_marker_2.brep] marker
set prlist [prj pr marker plate 0.162077 -0.407700 0.898616]

4
tests/prj/base/G3 Normal file
View File

@ -0,0 +1,4 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0156_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0156_marker_1.brep] marker
set prlist [prj pr marker plate 0.097119 -0.533741 0.840053]
set relcoef 0.98

4
tests/prj/base/G4 Normal file
View File

@ -0,0 +1,4 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0156_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0156_marker_2.brep] marker
set prlist [prj pr marker plate 0.097119 -0.533741 0.840053]
set relcoef 0.99

4
tests/prj/base/G5 Normal file
View File

@ -0,0 +1,4 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0168_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0168_marker_1.brep] marker
set prlist [prj pr marker plate 0.042024 -0.737363 0.674188]
set relcoef 0.97

3
tests/prj/base/G6 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0168_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0168_marker_2.brep] marker
set prlist [prj pr marker plate 0.042024 -0.737363 0.674188]

3
tests/prj/base/G7 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0185_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0185_marker_2.brep] marker
set prlist [prj pr marker plate 0.085826 -0.309349 0.947067]

3
tests/prj/base/G8 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0188_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0188_marker_2.brep] marker
set prlist [prj pr marker plate 0.099501 -0.343705 0.933792]

3
tests/prj/base/G9 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0190_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0190_marker_2.brep] marker
set prlist [prj pr marker plate -0.106515 0.799039 -0.591770]

3
tests/prj/base/H1 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0195_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0195_marker_2.brep] marker
set prlist [prj pr marker plate 0.236104 -0.396437 0.887182]

3
tests/prj/base/H2 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0234_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0234_marker_2.brep] marker
set prlist [prj pr marker plate 0.233605 -0.288214 0.928634]

3
tests/prj/base/H3 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_004_extract_2015-01-C37_0236_offset.brep] plate
restore [locate_data_file bug26606_004_extract_2015-01-C37_0236_marker_1.brep] marker
set prlist [prj pr marker plate 0.495553 -0.711318 0.498452]

6
tests/prj/base/H4 Normal file
View File

@ -0,0 +1,6 @@
puts "TODO OCC26677 All:An exception was caught"
puts "TODO OCC26677 All:\\*\\* Exception \\*\\*"
puts "TODO OCC26677 All:TEST INCOMPLETE"
restore [locate_data_file bug26606_005_extract_C37-full_0082_offset.brep] plate
restore [locate_data_file bug26606_005_extract_C37-full_0082_marker_2.brep] marker
set prlist [prj pr marker plate -0.008136 -0.148145 0.988932]

3
tests/prj/base/H5 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_007_extract_2015-01-7108_001_offset.brep] plate
restore [locate_data_file bug26606_007_extract_2015-01-7108_001_marker_2.brep] marker
set prlist [prj pr marker plate -0.273655 -0.811157 0.516852]

4
tests/prj/base/H6 Normal file
View File

@ -0,0 +1,4 @@
restore [locate_data_file bug26606_007_extract_2015-01-7108_002_offset.brep] plate
restore [locate_data_file bug26606_007_extract_2015-01-7108_002_marker_2.brep] marker
set prlist [prj pr marker plate -0.337291 -0.921052 0.194673]
set relcoef 0.99

3
tests/prj/base/H7 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_007_extract_2015-01-7108_005_offset.brep] plate
restore [locate_data_file bug26606_007_extract_2015-01-7108_005_marker_2.brep] marker
set prlist [prj pr marker plate -0.246790 -0.850455 0.464565]

3
tests/prj/base/H8 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_007_extract_2015-01-7108_006_offset.brep] plate
restore [locate_data_file bug26606_007_extract_2015-01-7108_006_marker_2.brep] marker
set prlist [prj pr marker plate -0.262642 -0.955653 0.133216]

3
tests/prj/base/H9 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_007_extract_2015-01-7108_009_offset.brep] plate
restore [locate_data_file bug26606_007_extract_2015-01-7108_009_marker_1.brep] marker
set prlist [prj pr marker plate -0.286863 -0.846720 0.448079]

3
tests/prj/base/I1 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_007_extract_2015-01-7108_009_offset.brep] plate
restore [locate_data_file bug26606_007_extract_2015-01-7108_009_marker_2.brep] marker
set prlist [prj pr marker plate -0.286863 -0.846720 0.448079]

3
tests/prj/base/I2 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_007_extract_2015-01-7108_010_offset.brep] plate
restore [locate_data_file bug26606_007_extract_2015-01-7108_010_marker_1.brep] marker
set prlist [prj pr marker plate -0.274540 -0.924457 0.264589]

3
tests/prj/base/I3 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_007_extract_2015-01-7108_001_offset.brep] plate
restore [locate_data_file bug26606_007_extract_2015-01-7108_019_marker_1.brep] marker
set prlist [prj pr marker plate -0.273655 -0.811157 0.516852]

3
tests/prj/base/I4 Normal file
View File

@ -0,0 +1,3 @@
restore [locate_data_file bug26606_009_extract_misc_09_holes_offset.brep] plate
restore [locate_data_file bug26606_009_extract_misc_09_holes_marker_2.brep] marker
set prlist [prj pr marker plate -0.259368 -0.884426 0.387967]

2
tests/prj/begin Normal file
View File

@ -0,0 +1,2 @@
pload MODELING VISUALIZATION XSDRAW
cpulimit 100

38
tests/prj/end Normal file
View File

@ -0,0 +1,38 @@
smallview
fit
xwd $imagedir/${test_image}.png
if {[llength $prlist] > 0} {
set marker_mass 0
if {[isdraw marker] == 1} {
regexp {Mass +: +([-0-9.+eE]+)} [lprops marker] full marker_mass
}
set proj_mass 0
foreach pr $prlist {
if {[isdraw $pr] == 1} {
checkshape $pr
regexp {Mass +: +([-0-9.+eE]+)} [lprops $pr] full tmp
set proj_mass [expr $proj_mass + $tmp]
}
}
if {$marker_mass != 0 && $proj_mass != 0} {
set rel [expr $proj_mass/$marker_mass]
puts [format {Length relation: %f} $rel]
if {[info exists relcoef] == 0} {
set relcoef 1
}
if {[expr abs($rel - $relcoef)] > 0.02} {
puts "Error: deviation of projection length from original is too high"
}
} else {
puts "Error: unable to calculate length"
}
} else {
puts "Error: no results produced"
}
puts ""
puts "TEST COMPLETED"
puts ""

1
tests/prj/grids.list Normal file
View File

@ -0,0 +1 @@
001 base