]> OCCT Git - occt-copy.git/commitdiff
0026706: Create commands for testing procedure CR26706
authorski <ski@opencascade.com>
Tue, 29 Sep 2015 11:44:12 +0000 (14:44 +0300)
committerski <ski@opencascade.com>
Tue, 29 Sep 2015 11:44:12 +0000 (14:44 +0300)
Procedures checkxstat, checkstatshape, checkshapeff, checkdoc were created.
Procedures checkmaxtol, checknbshapes were updated.

Test group de was refactored.

TODO statements in test cases were updated.
Test cases were updated to use new (refactored) options of check commands.

1858 files changed:
dox/dev_guides/tests/tests.md
src/DrawResources/CheckCommands.tcl
tests/bugs/iges/bug306
tests/bugs/modalg_1/buc60523
tests/bugs/modalg_1/buc60905
tests/bugs/modalg_2/bug22500
tests/bugs/modalg_2/bug22717
tests/bugs/modalg_2/bug22765
tests/bugs/modalg_2/bug22770_1
tests/bugs/modalg_2/bug22770_10
tests/bugs/modalg_2/bug22770_11
tests/bugs/modalg_2/bug22770_12
tests/bugs/modalg_2/bug22770_13
tests/bugs/modalg_2/bug22770_14
tests/bugs/modalg_2/bug22770_15
tests/bugs/modalg_2/bug22770_16
tests/bugs/modalg_2/bug22770_17
tests/bugs/modalg_2/bug22770_18
tests/bugs/modalg_2/bug22770_19
tests/bugs/modalg_2/bug22770_2
tests/bugs/modalg_2/bug22770_20
tests/bugs/modalg_2/bug22770_21
tests/bugs/modalg_2/bug22770_22
tests/bugs/modalg_2/bug22770_23
tests/bugs/modalg_2/bug22770_24
tests/bugs/modalg_2/bug22770_25
tests/bugs/modalg_2/bug22770_26
tests/bugs/modalg_2/bug22770_27
tests/bugs/modalg_2/bug22770_28
tests/bugs/modalg_2/bug22770_29
tests/bugs/modalg_2/bug22770_3
tests/bugs/modalg_2/bug22770_30
tests/bugs/modalg_2/bug22770_4
tests/bugs/modalg_2/bug22770_5
tests/bugs/modalg_2/bug22770_6
tests/bugs/modalg_2/bug22770_7
tests/bugs/modalg_2/bug22770_8
tests/bugs/modalg_2/bug22770_9
tests/bugs/modalg_2/bug22804
tests/bugs/modalg_2/bug22881
tests/bugs/modalg_2/bug322
tests/bugs/modalg_2/bug5805_1
tests/bugs/modalg_2/bug5805_2
tests/bugs/modalg_2/bug5805_3
tests/bugs/modalg_2/bug5805_4
tests/bugs/modalg_2/bug5805_5
tests/bugs/modalg_3/bug5805_6
tests/bugs/modalg_4/bug5806
tests/bugs/modalg_4/bug714
tests/bugs/modalg_5/bug22747
tests/bugs/modalg_5/bug23375_1
tests/bugs/modalg_5/bug23845
tests/bugs/modalg_5/bug24036
tests/bugs/modalg_5/bug24174_1
tests/bugs/modalg_5/bug24174_2
tests/bugs/modalg_5/bug24390_1
tests/bugs/modalg_5/bug24390_2
tests/bugs/modalg_5/bug24817
tests/bugs/modalg_5/bug25175
tests/bugs/modalg_6/bug24097
tests/bugs/moddata_1/bug135
tests/bugs/moddata_1/bug20904_1
tests/bugs/moddata_1/bug20904_2
tests/bugs/moddata_1/bug20904_3
tests/bugs/moddata_2/bug326
tests/bugs/moddata_2/bug343
tests/bugs/moddata_2/bug36
tests/bugs/moddata_2/bug42
tests/bugs/moddata_3/buc60898
tests/bugs/moddata_3/bug24065
tests/bugs/xde/bug184
tests/bugs/xde/bug547_2
tests/bugs/xde/bug6491
tests/bugs/xde/bug6675
tests/bugs/xde/bug859
tests/de/end
tests/de/iges_1/A1
tests/de/iges_1/A2
tests/de/iges_1/A3
tests/de/iges_1/A4
tests/de/iges_1/A5
tests/de/iges_1/A6
tests/de/iges_1/A7
tests/de/iges_1/A8
tests/de/iges_1/A9
tests/de/iges_1/B1
tests/de/iges_1/B2
tests/de/iges_1/B3
tests/de/iges_1/B4
tests/de/iges_1/B5
tests/de/iges_1/B6
tests/de/iges_1/B7
tests/de/iges_1/B8
tests/de/iges_1/B9
tests/de/iges_1/C1
tests/de/iges_1/C2
tests/de/iges_1/C3
tests/de/iges_1/C4
tests/de/iges_1/C5
tests/de/iges_1/C6
tests/de/iges_1/C7
tests/de/iges_1/C8
tests/de/iges_1/C9
tests/de/iges_1/D1
tests/de/iges_1/D2
tests/de/iges_1/D3
tests/de/iges_1/D4
tests/de/iges_1/D5
tests/de/iges_1/D6
tests/de/iges_1/D7
tests/de/iges_1/D8
tests/de/iges_1/D9
tests/de/iges_1/E1
tests/de/iges_1/E2
tests/de/iges_1/E3
tests/de/iges_1/E4
tests/de/iges_1/E5
tests/de/iges_1/E6
tests/de/iges_1/E7
tests/de/iges_1/E8
tests/de/iges_1/E9
tests/de/iges_1/F1
tests/de/iges_1/F2
tests/de/iges_1/F3
tests/de/iges_1/F4
tests/de/iges_1/F5
tests/de/iges_1/F6
tests/de/iges_1/F7
tests/de/iges_1/F8
tests/de/iges_1/F9
tests/de/iges_1/G1
tests/de/iges_1/G2
tests/de/iges_1/G3
tests/de/iges_1/G4
tests/de/iges_1/G5
tests/de/iges_1/G6
tests/de/iges_1/G7
tests/de/iges_1/G8
tests/de/iges_1/G9
tests/de/iges_1/H1
tests/de/iges_1/H2
tests/de/iges_1/H3
tests/de/iges_1/H4
tests/de/iges_1/H5
tests/de/iges_1/H6
tests/de/iges_1/H7
tests/de/iges_1/H8
tests/de/iges_1/H9
tests/de/iges_1/I1
tests/de/iges_1/I2
tests/de/iges_1/I3
tests/de/iges_1/I4
tests/de/iges_1/I5
tests/de/iges_1/I6
tests/de/iges_1/I7
tests/de/iges_1/I8
tests/de/iges_1/I9
tests/de/iges_1/J1
tests/de/iges_1/J2
tests/de/iges_1/J3
tests/de/iges_1/J4
tests/de/iges_1/J5
tests/de/iges_1/J6
tests/de/iges_1/J7
tests/de/iges_1/J8
tests/de/iges_1/J9
tests/de/iges_1/K1
tests/de/iges_1/K2
tests/de/iges_1/K3
tests/de/iges_1/K4
tests/de/iges_1/K5
tests/de/iges_1/K6
tests/de/iges_1/K7
tests/de/iges_1/K8
tests/de/iges_1/K9
tests/de/iges_1/L1
tests/de/iges_1/L2
tests/de/iges_1/L3
tests/de/iges_1/L4
tests/de/iges_1/L5
tests/de/iges_1/L6
tests/de/iges_1/L7
tests/de/iges_1/L8
tests/de/iges_1/L9
tests/de/iges_1/M1
tests/de/iges_1/M2
tests/de/iges_1/M3
tests/de/iges_1/M4
tests/de/iges_1/M5
tests/de/iges_1/M6
tests/de/iges_1/M7
tests/de/iges_1/M8
tests/de/iges_1/M9
tests/de/iges_1/N1
tests/de/iges_1/N2
tests/de/iges_1/N3
tests/de/iges_1/N4
tests/de/iges_1/N5
tests/de/iges_1/N6
tests/de/iges_1/N7
tests/de/iges_1/N8
tests/de/iges_1/N9
tests/de/iges_1/O1
tests/de/iges_1/O2
tests/de/iges_1/O3
tests/de/iges_1/O4
tests/de/iges_1/O5
tests/de/iges_1/O6
tests/de/iges_1/O7
tests/de/iges_1/O8
tests/de/iges_1/O9
tests/de/iges_1/P1
tests/de/iges_1/P2
tests/de/iges_1/P3
tests/de/iges_1/P4
tests/de/iges_1/P5
tests/de/iges_1/P6
tests/de/iges_1/P7
tests/de/iges_1/P8
tests/de/iges_1/P9
tests/de/iges_1/Q1
tests/de/iges_1/Q2
tests/de/iges_1/Q3
tests/de/iges_1/Q4
tests/de/iges_1/Q5
tests/de/iges_1/Q6
tests/de/iges_1/Q7
tests/de/iges_1/Q8
tests/de/iges_1/Q9
tests/de/iges_1/R1
tests/de/iges_1/R2
tests/de/iges_1/R3
tests/de/iges_1/R4
tests/de/iges_1/R5
tests/de/iges_1/R6
tests/de/iges_1/R7
tests/de/iges_1/R8
tests/de/iges_2/A1
tests/de/iges_2/A2
tests/de/iges_2/A3
tests/de/iges_2/A4
tests/de/iges_2/A5
tests/de/iges_2/A6
tests/de/iges_2/A7
tests/de/iges_2/A8
tests/de/iges_2/A9
tests/de/iges_2/B1
tests/de/iges_2/B2
tests/de/iges_2/B3
tests/de/iges_2/B4
tests/de/iges_2/B5
tests/de/iges_2/B6
tests/de/iges_2/B7
tests/de/iges_2/B8
tests/de/iges_2/B9
tests/de/iges_2/C1
tests/de/iges_2/C2
tests/de/iges_2/C3
tests/de/iges_2/C4
tests/de/iges_2/C5
tests/de/iges_2/C6
tests/de/iges_2/C7
tests/de/iges_2/C8
tests/de/iges_2/C9
tests/de/iges_2/D1
tests/de/iges_2/D2
tests/de/iges_2/D3
tests/de/iges_2/D4
tests/de/iges_2/D5
tests/de/iges_2/D6
tests/de/iges_2/D7
tests/de/iges_2/D8
tests/de/iges_2/D9
tests/de/iges_2/E1
tests/de/iges_2/E2
tests/de/iges_2/E3
tests/de/iges_2/E4
tests/de/iges_2/E5
tests/de/iges_2/E6
tests/de/iges_2/E7
tests/de/iges_2/E8
tests/de/iges_2/E9
tests/de/iges_2/F1
tests/de/iges_2/F2
tests/de/iges_2/F3
tests/de/iges_2/F4
tests/de/iges_2/F5
tests/de/iges_2/F6
tests/de/iges_2/F7
tests/de/iges_2/F8
tests/de/iges_2/F9
tests/de/iges_2/G1
tests/de/iges_2/G2
tests/de/iges_2/G3
tests/de/iges_2/G4
tests/de/iges_2/G5
tests/de/iges_2/G6
tests/de/iges_2/G7
tests/de/iges_2/G8
tests/de/iges_2/G9
tests/de/iges_2/H1
tests/de/iges_2/H2
tests/de/iges_2/H3
tests/de/iges_2/H4
tests/de/iges_2/H5
tests/de/iges_2/H6
tests/de/iges_2/H7
tests/de/iges_2/H8
tests/de/iges_2/H9
tests/de/iges_2/I1
tests/de/iges_2/I2
tests/de/iges_2/I3
tests/de/iges_2/I4
tests/de/iges_2/I5
tests/de/iges_2/I6
tests/de/iges_2/I7
tests/de/iges_2/I8
tests/de/iges_2/I9
tests/de/iges_2/J1
tests/de/iges_3/A1
tests/de/iges_3/A2
tests/de/iges_3/A3
tests/de/iges_3/A4
tests/de/iges_3/A5
tests/de/iges_3/A6
tests/de/iges_3/A7
tests/de/iges_3/A8
tests/de/iges_3/A9
tests/de/iges_3/B1
tests/de/iges_3/B2
tests/de/step_1/A1
tests/de/step_1/A2
tests/de/step_1/A3
tests/de/step_1/A4
tests/de/step_1/A5
tests/de/step_1/A6
tests/de/step_1/A7
tests/de/step_1/A8
tests/de/step_1/A9
tests/de/step_1/B1
tests/de/step_1/B2
tests/de/step_1/B3
tests/de/step_1/B4
tests/de/step_1/B5
tests/de/step_1/B6
tests/de/step_1/B7
tests/de/step_1/B8
tests/de/step_1/B9
tests/de/step_1/C1
tests/de/step_1/C2
tests/de/step_1/C3
tests/de/step_1/C4
tests/de/step_1/C5
tests/de/step_1/C6
tests/de/step_1/C7
tests/de/step_1/C8
tests/de/step_1/C9
tests/de/step_1/D1
tests/de/step_1/D2
tests/de/step_1/D3
tests/de/step_1/D4
tests/de/step_1/D5
tests/de/step_1/D6
tests/de/step_1/D7
tests/de/step_1/D8
tests/de/step_1/D9
tests/de/step_1/E1
tests/de/step_1/E2
tests/de/step_1/E3
tests/de/step_1/E4
tests/de/step_1/E5
tests/de/step_1/E6
tests/de/step_1/E7
tests/de/step_1/E8
tests/de/step_1/E9
tests/de/step_1/F1
tests/de/step_1/F2
tests/de/step_1/F3
tests/de/step_1/F4
tests/de/step_1/F5
tests/de/step_1/F6
tests/de/step_1/F7
tests/de/step_1/F8
tests/de/step_1/F9
tests/de/step_1/G1
tests/de/step_1/G2
tests/de/step_1/G3
tests/de/step_1/G4
tests/de/step_1/G5
tests/de/step_1/G6
tests/de/step_1/G7
tests/de/step_1/G8
tests/de/step_1/G9
tests/de/step_1/H1
tests/de/step_1/H2
tests/de/step_1/H3
tests/de/step_1/H4
tests/de/step_1/H5
tests/de/step_1/H6
tests/de/step_1/H7
tests/de/step_1/H8
tests/de/step_1/H9
tests/de/step_1/I1
tests/de/step_1/I2
tests/de/step_1/I3
tests/de/step_1/I4
tests/de/step_1/I5
tests/de/step_1/I6
tests/de/step_1/I7
tests/de/step_1/I8
tests/de/step_1/I9
tests/de/step_1/J1
tests/de/step_1/J2
tests/de/step_1/J3
tests/de/step_1/J4
tests/de/step_1/J5
tests/de/step_1/J6
tests/de/step_1/J7
tests/de/step_1/J8
tests/de/step_1/J9
tests/de/step_1/K1
tests/de/step_1/K2
tests/de/step_1/K3
tests/de/step_1/K4
tests/de/step_1/K5
tests/de/step_1/K6
tests/de/step_1/K7
tests/de/step_1/K8
tests/de/step_1/K9
tests/de/step_1/L1
tests/de/step_1/L2
tests/de/step_1/L3
tests/de/step_1/L4
tests/de/step_1/L5
tests/de/step_1/L6
tests/de/step_1/L7
tests/de/step_1/L8
tests/de/step_1/L9
tests/de/step_1/M1
tests/de/step_1/M2
tests/de/step_1/M3
tests/de/step_1/M4
tests/de/step_1/M5
tests/de/step_1/M6
tests/de/step_1/M7
tests/de/step_1/M8
tests/de/step_1/M9
tests/de/step_1/N1
tests/de/step_1/N2
tests/de/step_1/N3
tests/de/step_1/N4
tests/de/step_1/N5
tests/de/step_1/N6
tests/de/step_1/N7
tests/de/step_1/N8
tests/de/step_1/N9
tests/de/step_1/O1
tests/de/step_1/O2
tests/de/step_1/O3
tests/de/step_1/O4
tests/de/step_1/O5
tests/de/step_1/O6
tests/de/step_1/O7
tests/de/step_1/O8
tests/de/step_1/O9
tests/de/step_1/P1
tests/de/step_1/P2
tests/de/step_1/P3
tests/de/step_1/P4
tests/de/step_1/P5
tests/de/step_1/P6
tests/de/step_1/P7
tests/de/step_1/P8
tests/de/step_1/P9
tests/de/step_1/Q1
tests/de/step_1/Q2
tests/de/step_1/Q3
tests/de/step_1/Q4
tests/de/step_1/Q5
tests/de/step_1/Q6
tests/de/step_1/Q7
tests/de/step_1/Q8
tests/de/step_1/Q9
tests/de/step_1/R1
tests/de/step_1/R2
tests/de/step_1/R3
tests/de/step_1/R4
tests/de/step_1/R5
tests/de/step_1/R6
tests/de/step_1/R7
tests/de/step_1/R8
tests/de/step_1/R9
tests/de/step_1/S1
tests/de/step_1/S2
tests/de/step_1/S3
tests/de/step_1/S4
tests/de/step_1/S5
tests/de/step_1/S6
tests/de/step_1/S7
tests/de/step_1/S8
tests/de/step_1/S9
tests/de/step_1/T1
tests/de/step_1/T2
tests/de/step_1/T3
tests/de/step_1/T4
tests/de/step_1/T5
tests/de/step_1/T6
tests/de/step_1/T7
tests/de/step_1/T8
tests/de/step_1/T9
tests/de/step_1/U1
tests/de/step_1/U2
tests/de/step_1/U3
tests/de/step_1/U4
tests/de/step_1/U5
tests/de/step_1/U6
tests/de/step_1/U7
tests/de/step_1/U8
tests/de/step_1/U9
tests/de/step_1/V1
tests/de/step_1/V2
tests/de/step_1/V3
tests/de/step_1/V4
tests/de/step_1/V5
tests/de/step_1/V6
tests/de/step_1/V7
tests/de/step_1/V8
tests/de/step_1/V9
tests/de/step_1/W1
tests/de/step_1/W2
tests/de/step_1/W3
tests/de/step_1/W4
tests/de/step_1/W5
tests/de/step_1/W6
tests/de/step_1/W7
tests/de/step_1/W8
tests/de/step_1/W9
tests/de/step_1/X1
tests/de/step_1/X2
tests/de/step_1/X3
tests/de/step_1/X4
tests/de/step_1/X5
tests/de/step_1/X6
tests/de/step_1/X7
tests/de/step_1/X8
tests/de/step_1/X9
tests/de/step_1/Y1
tests/de/step_1/Y2
tests/de/step_1/Y3
tests/de/step_1/Y4
tests/de/step_1/Y5
tests/de/step_1/Y6
tests/de/step_1/Y7
tests/de/step_1/Y8
tests/de/step_1/Y9
tests/de/step_1/Z1
tests/de/step_1/Z2
tests/de/step_1/Z3
tests/de/step_1/Z4
tests/de/step_1/Z5
tests/de/step_1/Z6
tests/de/step_1/Z7
tests/de/step_1/Z8
tests/de/step_1/Z9
tests/de/step_1/ZA1
tests/de/step_1/ZA2
tests/de/step_1/ZA3
tests/de/step_1/ZA4
tests/de/step_1/ZA5
tests/de/step_1/ZA6
tests/de/step_1/ZA7
tests/de/step_1/ZA8
tests/de/step_1/ZA9
tests/de/step_1/ZB1
tests/de/step_1/ZB2
tests/de/step_1/ZB3
tests/de/step_1/ZB4
tests/de/step_1/ZB5
tests/de/step_1/ZB6
tests/de/step_1/ZB7
tests/de/step_1/ZB8
tests/de/step_1/ZB9
tests/de/step_1/ZC1
tests/de/step_1/ZC2
tests/de/step_1/ZC3
tests/de/step_1/ZC4
tests/de/step_1/ZC5
tests/de/step_1/ZC6
tests/de/step_1/ZC7
tests/de/step_1/ZC8
tests/de/step_1/ZC9
tests/de/step_1/ZD1
tests/de/step_1/ZD2
tests/de/step_1/ZD3
tests/de/step_1/ZD4
tests/de/step_1/ZD5
tests/de/step_1/ZD6
tests/de/step_1/ZD7
tests/de/step_1/ZD8
tests/de/step_1/ZD9
tests/de/step_1/ZE1
tests/de/step_1/ZE2
tests/de/step_1/ZE3
tests/de/step_1/ZE4
tests/de/step_1/ZE5
tests/de/step_1/ZE6
tests/de/step_1/ZE7
tests/de/step_1/ZE8
tests/de/step_1/ZE9
tests/de/step_1/ZF1
tests/de/step_1/ZF2
tests/de/step_1/ZF3
tests/de/step_1/ZF4
tests/de/step_1/ZF5
tests/de/step_1/ZF6
tests/de/step_1/ZF7
tests/de/step_1/ZF8
tests/de/step_1/ZF9
tests/de/step_1/ZG1
tests/de/step_1/ZG2
tests/de/step_1/ZG3
tests/de/step_1/ZG4
tests/de/step_1/ZG5
tests/de/step_1/ZG6
tests/de/step_1/ZG7
tests/de/step_1/ZG8
tests/de/step_1/ZG9
tests/de/step_1/ZH1
tests/de/step_1/ZH2
tests/de/step_1/ZH3
tests/de/step_1/ZH4
tests/de/step_1/ZH5
tests/de/step_1/ZH6
tests/de/step_1/ZH7
tests/de/step_1/ZH8
tests/de/step_1/ZH9
tests/de/step_1/ZI1
tests/de/step_1/ZI2
tests/de/step_1/ZI3
tests/de/step_1/ZI4
tests/de/step_1/ZI5
tests/de/step_1/ZI6
tests/de/step_1/ZI7
tests/de/step_1/ZI8
tests/de/step_1/ZI9
tests/de/step_1/ZJ1
tests/de/step_1/ZJ2
tests/de/step_1/ZJ3
tests/de/step_1/ZJ4
tests/de/step_1/ZJ5
tests/de/step_1/ZJ6
tests/de/step_1/ZJ7
tests/de/step_1/ZJ8
tests/de/step_1/ZJ9
tests/de/step_1/ZK1
tests/de/step_1/ZK2
tests/de/step_1/ZK3
tests/de/step_1/ZK4
tests/de/step_1/ZK5
tests/de/step_1/ZK6
tests/de/step_1/ZK7
tests/de/step_1/ZK8
tests/de/step_1/ZK9
tests/de/step_1/ZL1
tests/de/step_1/ZL2
tests/de/step_1/ZL3
tests/de/step_1/ZL4
tests/de/step_1/ZL5
tests/de/step_1/ZL6
tests/de/step_1/ZL7
tests/de/step_1/ZL8
tests/de/step_1/ZL9
tests/de/step_1/ZM1
tests/de/step_1/ZM2
tests/de/step_1/ZM3
tests/de/step_1/ZM4
tests/de/step_1/ZM5
tests/de/step_1/ZM6
tests/de/step_1/ZM7
tests/de/step_1/ZM8
tests/de/step_1/ZM9
tests/de/step_1/ZN1
tests/de/step_1/ZN2
tests/de/step_1/ZN3
tests/de/step_1/ZN4
tests/de/step_1/ZN5
tests/de/step_1/ZN6
tests/de/step_1/ZN7
tests/de/step_1/ZN8
tests/de/step_1/ZN9
tests/de/step_1/ZO1
tests/de/step_1/ZO2
tests/de/step_1/ZO3
tests/de/step_1/ZO4
tests/de/step_1/ZO5
tests/de/step_1/ZO6
tests/de/step_1/ZO7
tests/de/step_1/ZO8
tests/de/step_1/ZO9
tests/de/step_1/ZP1
tests/de/step_1/ZP2
tests/de/step_1/ZP3
tests/de/step_1/ZP4
tests/de/step_1/ZP5
tests/de/step_1/ZP6
tests/de/step_1/ZP7
tests/de/step_1/ZP8
tests/de/step_1/ZP9
tests/de/step_1/ZQ1
tests/de/step_1/ZQ2
tests/de/step_1/ZQ3
tests/de/step_1/ZQ4
tests/de/step_1/ZQ5
tests/de/step_1/ZQ6
tests/de/step_1/ZQ7
tests/de/step_1/ZQ8
tests/de/step_1/ZQ9
tests/de/step_1/ZR1
tests/de/step_1/ZR2
tests/de/step_1/ZR3
tests/de/step_1/ZR4
tests/de/step_1/ZR5
tests/de/step_1/ZR6
tests/de/step_1/ZR7
tests/de/step_1/ZR8
tests/de/step_1/ZR9
tests/de/step_1/ZS1
tests/de/step_1/ZS2
tests/de/step_1/ZS3
tests/de/step_1/ZS4
tests/de/step_1/ZS5
tests/de/step_1/ZS6
tests/de/step_1/ZS7
tests/de/step_1/ZS8
tests/de/step_1/ZS9
tests/de/step_1/ZT1
tests/de/step_1/ZT2
tests/de/step_1/ZT3
tests/de/step_1/ZT4
tests/de/step_1/ZT5
tests/de/step_1/ZT6
tests/de/step_1/ZT7
tests/de/step_1/ZT8
tests/de/step_1/ZT9
tests/de/step_1/ZU1
tests/de/step_1/ZU2
tests/de/step_1/ZU3
tests/de/step_1/ZU4
tests/de/step_1/ZU5
tests/de/step_1/ZU6
tests/de/step_1/ZU7
tests/de/step_1/ZU8
tests/de/step_1/ZU9
tests/de/step_1/ZV1
tests/de/step_1/ZV2
tests/de/step_1/ZV3
tests/de/step_1/ZV4
tests/de/step_1/ZV5
tests/de/step_1/ZV6
tests/de/step_1/ZV7
tests/de/step_1/ZV8
tests/de/step_1/ZV9
tests/de/step_1/ZW1
tests/de/step_1/ZW2
tests/de/step_1/ZW3
tests/de/step_1/ZW4
tests/de/step_1/ZW5
tests/de/step_1/ZW6
tests/de/step_1/ZW7
tests/de/step_1/ZW8
tests/de/step_1/ZW9
tests/de/step_1/ZX1
tests/de/step_1/ZX2
tests/de/step_1/ZX3
tests/de/step_1/ZX4
tests/de/step_1/ZX5
tests/de/step_1/ZX6
tests/de/step_1/ZX7
tests/de/step_1/ZX8
tests/de/step_1/ZX9
tests/de/step_1/ZY1
tests/de/step_1/ZY2
tests/de/step_1/ZY3
tests/de/step_1/ZY4
tests/de/step_1/ZY5
tests/de/step_1/ZY6
tests/de/step_1/ZY7
tests/de/step_1/ZY8
tests/de/step_1/ZY9
tests/de/step_1/ZZ1
tests/de/step_1/ZZ2
tests/de/step_1/ZZ3
tests/de/step_1/ZZ4
tests/de/step_1/ZZ5
tests/de/step_1/ZZ6
tests/de/step_1/ZZ7
tests/de/step_1/ZZ8
tests/de/step_1/ZZ9
tests/de/step_2/A1
tests/de/step_2/A2
tests/de/step_2/A3
tests/de/step_2/A4
tests/de/step_2/A5
tests/de/step_2/A6
tests/de/step_2/A7
tests/de/step_2/A8
tests/de/step_2/A9
tests/de/step_2/B1
tests/de/step_2/B2
tests/de/step_2/B3
tests/de/step_2/B4
tests/de/step_2/B5
tests/de/step_2/B6
tests/de/step_2/B7
tests/de/step_2/B8
tests/de/step_2/B9
tests/de/step_2/C1
tests/de/step_2/C2
tests/de/step_2/C3
tests/de/step_2/C4
tests/de/step_2/C5
tests/de/step_2/C6
tests/de/step_2/C7
tests/de/step_2/C8
tests/de/step_2/C9
tests/de/step_2/D1
tests/de/step_2/D2
tests/de/step_2/D3
tests/de/step_2/D4
tests/de/step_2/D5
tests/de/step_2/D6
tests/de/step_2/D7
tests/de/step_2/D8
tests/de/step_2/D9
tests/de/step_2/E1
tests/de/step_2/E2
tests/de/step_2/E3
tests/de/step_2/E4
tests/de/step_2/E5
tests/de/step_2/E6
tests/de/step_2/E7
tests/de/step_2/E8
tests/de/step_2/E9
tests/de/step_2/F1
tests/de/step_2/F2
tests/de/step_2/F3
tests/de/step_2/F4
tests/de/step_2/F5
tests/de/step_2/F6
tests/de/step_2/F7
tests/de/step_2/F8
tests/de/step_2/F9
tests/de/step_2/G1
tests/de/step_2/G2
tests/de/step_2/G3
tests/de/step_2/G4
tests/de/step_2/G5
tests/de/step_2/G6
tests/de/step_2/G7
tests/de/step_2/G8
tests/de/step_2/G9
tests/de/step_2/H1
tests/de/step_2/H2
tests/de/step_2/H3
tests/de/step_2/H4
tests/de/step_2/H5
tests/de/step_2/H6
tests/de/step_2/H7
tests/de/step_2/H8
tests/de/step_2/H9
tests/de/step_2/I1
tests/de/step_2/I2
tests/de/step_2/I3
tests/de/step_2/I4
tests/de/step_2/I5
tests/de/step_2/I6
tests/de/step_2/I7
tests/de/step_2/I8
tests/de/step_2/I9
tests/de/step_2/J1
tests/de/step_2/J2
tests/de/step_2/J3
tests/de/step_2/J4
tests/de/step_2/J5
tests/de/step_2/J6
tests/de/step_2/J7
tests/de/step_2/J8
tests/de/step_2/J9
tests/de/step_2/K1
tests/de/step_2/K2
tests/de/step_2/K3
tests/de/step_2/K4
tests/de/step_2/K5
tests/de/step_2/K6
tests/de/step_2/K7
tests/de/step_2/K8
tests/de/step_2/K9
tests/de/step_2/L1
tests/de/step_2/L2
tests/de/step_2/L3
tests/de/step_2/L4
tests/de/step_2/L5
tests/de/step_2/L6
tests/de/step_2/L7
tests/de/step_2/L8
tests/de/step_2/L9
tests/de/step_2/M1
tests/de/step_2/M2
tests/de/step_2/M3
tests/de/step_2/M4
tests/de/step_2/M5
tests/de/step_2/M6
tests/de/step_2/M7
tests/de/step_2/M8
tests/de/step_2/M9
tests/de/step_2/N1
tests/de/step_2/N2
tests/de/step_2/N3
tests/de/step_2/N4
tests/de/step_2/N5
tests/de/step_2/N6
tests/de/step_2/N7
tests/de/step_2/N8
tests/de/step_2/N9
tests/de/step_2/O1
tests/de/step_2/O2
tests/de/step_2/O3
tests/de/step_2/O4
tests/de/step_2/O5
tests/de/step_2/O6
tests/de/step_2/O7
tests/de/step_2/O8
tests/de/step_2/O9
tests/de/step_2/P1
tests/de/step_2/P2
tests/de/step_2/P3
tests/de/step_2/P4
tests/de/step_2/P5
tests/de/step_2/P6
tests/de/step_2/P7
tests/de/step_2/P8
tests/de/step_2/P9
tests/de/step_2/Q1
tests/de/step_2/Q2
tests/de/step_2/Q3
tests/de/step_2/Q4
tests/de/step_2/Q5
tests/de/step_2/Q6
tests/de/step_2/Q7
tests/de/step_2/Q8
tests/de/step_2/Q9
tests/de/step_2/R1
tests/de/step_2/R2
tests/de/step_2/R3
tests/de/step_2/R4
tests/de/step_2/R5
tests/de/step_2/R6
tests/de/step_2/R7
tests/de/step_2/R8
tests/de/step_2/R9
tests/de/step_2/S1
tests/de/step_2/S2
tests/de/step_2/S3
tests/de/step_2/S4
tests/de/step_2/S5
tests/de/step_2/S6
tests/de/step_2/S7
tests/de/step_2/S8
tests/de/step_2/S9
tests/de/step_2/T1
tests/de/step_2/T2
tests/de/step_2/T3
tests/de/step_2/T4
tests/de/step_2/T5
tests/de/step_2/T6
tests/de/step_2/T7
tests/de/step_2/T8
tests/de/step_2/T9
tests/de/step_2/U1
tests/de/step_2/U2
tests/de/step_2/U3
tests/de/step_2/U4
tests/de/step_2/U5
tests/de/step_2/U6
tests/de/step_2/U7
tests/de/step_2/U8
tests/de/step_2/U9
tests/de/step_2/V1
tests/de/step_2/V2
tests/de/step_2/V3
tests/de/step_2/V4
tests/de/step_2/V5
tests/de/step_2/V6
tests/de/step_2/V7
tests/de/step_2/V8
tests/de/step_2/V9
tests/de/step_2/W1
tests/de/step_2/W2
tests/de/step_2/W3
tests/de/step_2/W4
tests/de/step_2/W5
tests/de/step_2/W6
tests/de/step_2/W7
tests/de/step_2/W8
tests/de/step_2/W9
tests/de/step_2/X1
tests/de/step_2/X2
tests/de/step_2/X3
tests/de/step_2/X4
tests/de/step_2/X5
tests/de/step_2/X6
tests/de/step_2/X7
tests/de/step_2/X8
tests/de/step_2/X9
tests/de/step_2/Y1
tests/de/step_2/Y2
tests/de/step_2/Y3
tests/de/step_2/Y4
tests/de/step_2/Y5
tests/de/step_3/A1
tests/de/step_3/A2
tests/de/step_3/A3
tests/de/step_3/A4
tests/de/step_3/A5
tests/de/step_3/A6
tests/de/step_3/A7
tests/de/step_3/A8
tests/de/step_3/A9
tests/de/step_3/B1
tests/de/step_3/B2
tests/de/step_3/B3
tests/de/step_3/B4
tests/de/step_3/B5
tests/de/step_3/B6
tests/de/step_3/B7
tests/de/step_3/B8
tests/de/step_3/B9
tests/de/step_3/C1
tests/de/step_3/C2
tests/de/step_3/C3
tests/de/step_3/C4
tests/de/step_3/C5
tests/de/step_3/C6
tests/de/step_3/C7
tests/de/step_3/C8
tests/de/step_3/C9
tests/de/step_3/D1
tests/de/step_3/D2
tests/de/step_3/D3
tests/de/step_3/D4
tests/de/step_3/D5
tests/de/step_3/D6
tests/de/step_3/D7
tests/de/step_3/D8
tests/de/step_3/D9
tests/de/step_3/E1
tests/de/step_3/E2
tests/de/step_3/E3
tests/de/step_3/E4
tests/de/step_3/E5
tests/de/step_3/E6
tests/de/step_3/E7
tests/de/step_3/E8
tests/de/step_3/E9
tests/de/step_3/F1
tests/de/step_3/F2
tests/de/step_3/F3
tests/de/step_3/F4
tests/de/step_4/A1
tests/de/step_4/A2
tests/de/step_4/A3
tests/de/step_4/A4
tests/de/step_4/A5
tests/de/step_4/A6
tests/de/step_4/A7
tests/de/step_4/A8
tests/de/step_4/A9
tests/de/step_4/B1
tests/de/step_4/B2
tests/de/step_4/B3
tests/de/step_4/B4
tests/de/step_4/B5
tests/de/step_4/B6
tests/de/step_4/B7
tests/de/step_4/B8
tests/de/step_4/B9
tests/de/step_4/C1
tests/de/step_4/C2
tests/de/step_4/C3
tests/de/step_4/C4
tests/de/step_4/C5
tests/de/step_4/C6
tests/de/step_4/C7
tests/de/step_4/C8
tests/de/step_4/C9
tests/de/step_4/D1
tests/de/step_4/D2
tests/de/step_4/D3
tests/de/step_4/D4
tests/de/step_4/D5
tests/de/step_4/D6
tests/de/step_4/D7
tests/de/step_4/D8
tests/de/step_4/D9
tests/de/step_4/E1
tests/de/step_4/E2
tests/de/step_4/E3
tests/de/step_4/E4
tests/de/step_4/E5
tests/de/step_4/E6
tests/de/step_4/E7
tests/de/step_4/E8
tests/de/step_4/E9
tests/de/step_4/F1
tests/de/step_4/F2
tests/de/step_4/F3
tests/de/step_4/F4
tests/de/step_4/F5
tests/de/step_4/F6
tests/de/step_4/F7
tests/de/step_4/F8
tests/de/step_4/F9
tests/de/step_4/G1
tests/de/step_4/G2
tests/de/step_4/G3
tests/de/step_4/G4
tests/de/step_4/G5
tests/de/step_4/G6
tests/de/step_4/G7
tests/de/step_4/G8
tests/de/step_4/G9
tests/de/step_4/H1
tests/de/step_4/H2
tests/de/step_4/H3
tests/de/step_4/H4
tests/de/step_4/H5
tests/de/step_4/H6
tests/de/step_4/H7
tests/de/step_4/H8
tests/de/step_4/H9
tests/de/step_4/I1
tests/de/step_4/I2
tests/de/step_4/I3
tests/de/step_5/A1
tests/de/step_5/A2
tests/de/step_5/A3
tests/de/step_5/A4
tests/de/step_5/A5
tests/de/step_5/A6
tests/de/step_5/A7
tests/de/step_5/A8
tests/de/step_5/A9
tests/de/step_5/B1
tests/de/step_5/B2
tests/de/step_5/B3
tests/de/step_5/B4
tests/de/step_5/B5
tests/de/step_5/B6
tests/sewing/tol_0_01/A1
tests/sewing/tol_0_01/A2
tests/sewing/tol_0_01/A3
tests/sewing/tol_0_01/A4
tests/sewing/tol_0_01/A5
tests/sewing/tol_0_01/A6
tests/sewing/tol_0_01/A7
tests/sewing/tol_0_01/A8
tests/sewing/tol_0_01/A9
tests/sewing/tol_0_01/B1
tests/sewing/tol_0_01/B2
tests/sewing/tol_0_01/B3
tests/sewing/tol_0_01/B4
tests/sewing/tol_0_01/B5
tests/sewing/tol_0_01/B6
tests/sewing/tol_0_01/B7
tests/sewing/tol_0_01/B8
tests/sewing/tol_0_01/B9
tests/sewing/tol_0_01/C1
tests/sewing/tol_0_01/C2
tests/sewing/tol_0_01/C3
tests/sewing/tol_0_01/C4
tests/sewing/tol_0_01/C5
tests/sewing/tol_0_01/C6
tests/sewing/tol_0_01/C7
tests/sewing/tol_0_01/C8
tests/sewing/tol_0_01/C9
tests/sewing/tol_0_01/D1
tests/sewing/tol_0_01/D2
tests/sewing/tol_0_01/D3
tests/sewing/tol_0_01/D4
tests/sewing/tol_0_01/D5
tests/sewing/tol_0_01/D6
tests/sewing/tol_0_01/D7
tests/sewing/tol_0_01/D8
tests/sewing/tol_0_01/D9
tests/sewing/tol_0_01/E1
tests/sewing/tol_0_01/E2
tests/sewing/tol_0_01/E3
tests/sewing/tol_0_01/E4
tests/sewing/tol_0_01/E5
tests/sewing/tol_0_01/E6
tests/sewing/tol_0_01/E7
tests/sewing/tol_0_01/E8
tests/sewing/tol_0_01/E9
tests/sewing/tol_0_01/F1
tests/sewing/tol_0_01/F2
tests/sewing/tol_0_01/F3
tests/sewing/tol_0_01/F4
tests/sewing/tol_0_01/F5
tests/sewing/tol_0_01/F6
tests/sewing/tol_0_01/F7
tests/sewing/tol_0_01/F8
tests/sewing/tol_0_01/F9
tests/sewing/tol_0_01/G1
tests/sewing/tol_0_01/G2
tests/sewing/tol_0_01/G3
tests/sewing/tol_0_01/G4
tests/sewing/tol_0_01/G5
tests/sewing/tol_0_01/G6
tests/sewing/tol_0_01/G7
tests/sewing/tol_0_01/G8
tests/sewing/tol_0_01/G9
tests/sewing/tol_0_01/H1
tests/sewing/tol_0_01/H2
tests/sewing/tol_0_01/H3
tests/sewing/tol_0_01/H4
tests/sewing/tol_0_01/H5
tests/sewing/tol_0_01/H6
tests/sewing/tol_0_01/H7
tests/sewing/tol_0_01/H8
tests/sewing/tol_0_01/H9
tests/sewing/tol_0_01/I1
tests/sewing/tol_0_01/I2
tests/sewing/tol_0_01/I3
tests/sewing/tol_0_01/I4
tests/sewing/tol_0_01/I5
tests/sewing/tol_0_01/I6
tests/sewing/tol_0_01/I7
tests/sewing/tol_0_01/I8
tests/sewing/tol_0_01/I9
tests/sewing/tol_0_01/J1
tests/sewing/tol_0_01/J2
tests/sewing/tol_0_01/J3
tests/sewing/tol_0_01/J4
tests/sewing/tol_0_01/J5
tests/sewing/tol_0_01/J6
tests/sewing/tol_0_01/J7
tests/sewing/tol_0_01/J8
tests/sewing/tol_0_01/J9
tests/sewing/tol_0_01/K1
tests/sewing/tol_0_01/K2
tests/sewing/tol_0_01/K3
tests/sewing/tol_0_01/K4
tests/sewing/tol_0_01/K5
tests/sewing/tol_0_01/K6
tests/sewing/tol_0_01/K7
tests/sewing/tol_0_01/K8
tests/sewing/tol_0_01/K9
tests/sewing/tol_0_01/L1
tests/sewing/tol_0_01/L2
tests/sewing/tol_0_01/L3
tests/sewing/tol_0_01/L4
tests/sewing/tol_0_01/L5
tests/sewing/tol_0_01/L6
tests/sewing/tol_0_01/L7
tests/sewing/tol_0_01/L8
tests/sewing/tol_0_01/L9
tests/sewing/tol_0_01/M1
tests/sewing/tol_0_01/M2
tests/sewing/tol_0_01/M3
tests/sewing/tol_0_01/M4
tests/sewing/tol_0_01/M5
tests/sewing/tol_0_01/M6
tests/sewing/tol_0_01/M7
tests/sewing/tol_0_01/M8
tests/sewing/tol_0_01/M9
tests/sewing/tol_0_01/N1
tests/sewing/tol_0_01/N2
tests/sewing/tol_0_01/N3
tests/sewing/tol_0_01/N4
tests/sewing/tol_0_01/N5
tests/sewing/tol_0_01/N6
tests/sewing/tol_0_01/N7
tests/sewing/tol_0_01/N8
tests/sewing/tol_0_01/N9
tests/sewing/tol_0_01/O1
tests/sewing/tol_0_01/O2
tests/sewing/tol_0_01/O3
tests/sewing/tol_0_01/O4
tests/sewing/tol_0_01/O5
tests/sewing/tol_0_01/O6
tests/sewing/tol_0_01/O7
tests/sewing/tol_0_01/O8
tests/sewing/tol_0_01/O9
tests/sewing/tol_0_01/P1
tests/sewing/tol_0_01/P2
tests/sewing/tol_0_01/P3
tests/sewing/tol_0_01/P4
tests/sewing/tol_0_01/P5
tests/sewing/tol_0_01/P6
tests/sewing/tol_0_01/P7
tests/sewing/tol_0_01/P8
tests/sewing/tol_0_01/P9
tests/sewing/tol_0_01/Q1
tests/sewing/tol_0_01/Q2
tests/sewing/tol_0_01/Q3
tests/sewing/tol_0_01/Q4
tests/sewing/tol_0_01/Q5
tests/sewing/tol_0_01/Q6
tests/sewing/tol_0_01/Q7
tests/sewing/tol_0_01/Q8
tests/sewing/tol_0_01/Q9
tests/sewing/tol_0_01/R1
tests/sewing/tol_0_01/R2
tests/sewing/tol_0_01/R3
tests/sewing/tol_0_01/R4
tests/sewing/tol_0_01/R5
tests/sewing/tol_0_01/R6
tests/sewing/tol_0_01/R7
tests/sewing/tol_0_01/R8
tests/sewing/tol_0_01/R9
tests/sewing/tol_0_01/S1
tests/sewing/tol_0_01/S2
tests/sewing/tol_0_01/S3
tests/sewing/tol_0_01/S4
tests/sewing/tol_0_01/S5
tests/sewing/tol_0_01/S6
tests/sewing/tol_0_01/S7
tests/sewing/tol_0_01/S8
tests/sewing/tol_0_01/S9
tests/sewing/tol_0_01/T1
tests/sewing/tol_0_01/T2
tests/sewing/tol_0_01/T3
tests/sewing/tol_0_01/T4
tests/sewing/tol_0_01/T5
tests/sewing/tol_0_01/T6
tests/sewing/tol_0_01/T7
tests/sewing/tol_0_01/T8
tests/sewing/tol_0_01/T9
tests/sewing/tol_0_01/U1
tests/sewing/tol_0_01/U2
tests/sewing/tol_0_01/U3
tests/sewing/tol_0_01/U4
tests/sewing/tol_0_01/U5
tests/sewing/tol_0_01/U6
tests/sewing/tol_0_01/U7
tests/sewing/tol_0_01/U8
tests/sewing/tol_0_01/U9
tests/sewing/tol_0_01/V1
tests/sewing/tol_0_01/V2
tests/sewing/tol_0_01/V3
tests/sewing/tol_0_01/V4
tests/sewing/tol_0_01/V5
tests/sewing/tol_0_01/V6
tests/sewing/tol_0_01/V7
tests/sewing/tol_0_01/V8
tests/sewing/tol_0_01/V9
tests/sewing/tol_0_01/W1
tests/sewing/tol_0_01/W2
tests/sewing/tol_0_01/W3
tests/sewing/tol_0_01/W4
tests/sewing/tol_0_01/W5
tests/sewing/tol_0_01/W6
tests/sewing/tol_0_01/W7
tests/sewing/tol_0_01/W8
tests/sewing/tol_0_01/W9
tests/sewing/tol_0_01/X1
tests/sewing/tol_0_01/X2
tests/sewing/tol_0_01/X3
tests/sewing/tol_0_01/X4
tests/sewing/tol_0_01/X5
tests/sewing/tol_0_01/X6
tests/sewing/tol_0_01/X7
tests/sewing/tol_0_01/X8
tests/sewing/tol_0_01/X9
tests/sewing/tol_0_01/Y1
tests/sewing/tol_0_01/Y2
tests/sewing/tol_0_01/Y3
tests/sewing/tol_0_01/Y4
tests/sewing/tol_0_01/Y5
tests/sewing/tol_0_01/Y6
tests/sewing/tol_0_01/Y7
tests/sewing/tol_0_01/Y8
tests/sewing/tol_0_01/Y9
tests/sewing/tol_0_01/Z1
tests/sewing/tol_0_01/Z2
tests/sewing/tol_0_01/Z3
tests/sewing/tol_0_01/Z4
tests/sewing/tol_0_01/Z5
tests/sewing/tol_0_01/Z6
tests/sewing/tol_0_01/Z7
tests/sewing/tol_0_01/Z8
tests/sewing/tol_0_01/Z9
tests/sewing/tol_1/A1
tests/sewing/tol_1/A2
tests/sewing/tol_1/A3
tests/sewing/tol_1/A4
tests/sewing/tol_1/A5
tests/sewing/tol_1/A6
tests/sewing/tol_1/A7
tests/sewing/tol_1/A8
tests/sewing/tol_1/A9
tests/sewing/tol_1/B1
tests/sewing/tol_1/B2
tests/sewing/tol_1/B3
tests/sewing/tol_1/B4
tests/sewing/tol_1/B5
tests/sewing/tol_1/B6
tests/sewing/tol_1/B7
tests/sewing/tol_1/B8
tests/sewing/tol_1/B9
tests/sewing/tol_1/C1
tests/sewing/tol_1/C2
tests/sewing/tol_1/C3
tests/sewing/tol_1/C4
tests/sewing/tol_1/C5
tests/sewing/tol_1/C6
tests/sewing/tol_1/C7
tests/sewing/tol_1/C8
tests/sewing/tol_1/C9
tests/sewing/tol_1/D1
tests/sewing/tol_1/D2
tests/sewing/tol_1/D3
tests/sewing/tol_1/D4
tests/sewing/tol_1/D5
tests/sewing/tol_1/D6
tests/sewing/tol_1/D7
tests/sewing/tol_1/D8
tests/sewing/tol_1/D9
tests/sewing/tol_1/E1
tests/sewing/tol_1/E2
tests/sewing/tol_1/E3
tests/sewing/tol_1/E4
tests/sewing/tol_1/E5
tests/sewing/tol_1/E6
tests/sewing/tol_1/E7
tests/sewing/tol_1/E8
tests/sewing/tol_1/E9
tests/sewing/tol_1/F1
tests/sewing/tol_1/F2
tests/sewing/tol_1/F3
tests/sewing/tol_1/F4
tests/sewing/tol_1/F5
tests/sewing/tol_1/F6
tests/sewing/tol_1/F7
tests/sewing/tol_1/F8
tests/sewing/tol_1/F9
tests/sewing/tol_1/G1
tests/sewing/tol_1/G2
tests/sewing/tol_1/G3
tests/sewing/tol_1/G4
tests/sewing/tol_1/G5
tests/sewing/tol_1/G6
tests/sewing/tol_1/G7
tests/sewing/tol_1/G8
tests/sewing/tol_1/G9
tests/sewing/tol_1/H1
tests/sewing/tol_1/H2
tests/sewing/tol_1/H3
tests/sewing/tol_1/H4
tests/sewing/tol_1/H5
tests/sewing/tol_1/H6
tests/sewing/tol_1/H7
tests/sewing/tol_1/H8
tests/sewing/tol_1/H9
tests/sewing/tol_1/I1
tests/sewing/tol_1/I2
tests/sewing/tol_1/I3
tests/sewing/tol_1/I4
tests/sewing/tol_1/I5
tests/sewing/tol_1/I6
tests/sewing/tol_1/I7
tests/sewing/tol_1/I8
tests/sewing/tol_1/I9
tests/sewing/tol_1/J1
tests/sewing/tol_1/J2
tests/sewing/tol_1/J3
tests/sewing/tol_1/J4
tests/sewing/tol_1/J5
tests/sewing/tol_1/J6
tests/sewing/tol_1/J7
tests/sewing/tol_1/J8
tests/sewing/tol_1/J9
tests/sewing/tol_1/K1
tests/sewing/tol_1/K2
tests/sewing/tol_1/K3
tests/sewing/tol_1/K4
tests/sewing/tol_1/K5
tests/sewing/tol_1/K6
tests/sewing/tol_1/K7
tests/sewing/tol_1/K8
tests/sewing/tol_1/K9
tests/sewing/tol_1/L1
tests/sewing/tol_1/L2
tests/sewing/tol_1/L3
tests/sewing/tol_1/L4
tests/sewing/tol_1/L5
tests/sewing/tol_1/L6
tests/sewing/tol_1/L7
tests/sewing/tol_1/L8
tests/sewing/tol_1/L9
tests/sewing/tol_1/M1
tests/sewing/tol_1/M2
tests/sewing/tol_1/M3
tests/sewing/tol_1/M4
tests/sewing/tol_1/M5
tests/sewing/tol_1/M6
tests/sewing/tol_1/M7
tests/sewing/tol_1/M8
tests/sewing/tol_1/M9
tests/sewing/tol_1/N1
tests/sewing/tol_1/N2
tests/sewing/tol_1/N3
tests/sewing/tol_1/N4
tests/sewing/tol_1/N5
tests/sewing/tol_1/N6
tests/sewing/tol_1/N7
tests/sewing/tol_1/N8
tests/sewing/tol_1/N9
tests/sewing/tol_1/O1
tests/sewing/tol_1/O2
tests/sewing/tol_1/O3
tests/sewing/tol_1/O4
tests/sewing/tol_1/O5
tests/sewing/tol_1/O6
tests/sewing/tol_1/O7
tests/sewing/tol_1/O8
tests/sewing/tol_1/O9
tests/sewing/tol_1/P1
tests/sewing/tol_1/P2
tests/sewing/tol_1/P3
tests/sewing/tol_1/P4
tests/sewing/tol_1/P5
tests/sewing/tol_1/P6
tests/sewing/tol_1/P7
tests/sewing/tol_1/P8
tests/sewing/tol_1/P9
tests/sewing/tol_1/Q1
tests/sewing/tol_1/Q2
tests/sewing/tol_1/Q3
tests/sewing/tol_1/Q4
tests/sewing/tol_1/Q5
tests/sewing/tol_1/Q6
tests/sewing/tol_1/Q7
tests/sewing/tol_1/Q8
tests/sewing/tol_1/Q9
tests/sewing/tol_1/R1
tests/sewing/tol_1/R2
tests/sewing/tol_1/R3
tests/sewing/tol_1/R4
tests/sewing/tol_1/R5
tests/sewing/tol_1/R6
tests/sewing/tol_1/R7
tests/sewing/tol_1/R8
tests/sewing/tol_1/R9
tests/sewing/tol_1/S1
tests/sewing/tol_1/S2
tests/sewing/tol_1/S3
tests/sewing/tol_1/S4
tests/sewing/tol_1/S5
tests/sewing/tol_1/S6
tests/sewing/tol_1/S7
tests/sewing/tol_1/S8
tests/sewing/tol_1/S9
tests/sewing/tol_1/T1
tests/sewing/tol_1/T2
tests/sewing/tol_1/T3
tests/sewing/tol_1/T4
tests/sewing/tol_1/T5
tests/sewing/tol_1/T6
tests/sewing/tol_1/T7
tests/sewing/tol_1/T8
tests/sewing/tol_1/T9
tests/sewing/tol_1/U1
tests/sewing/tol_1/U2
tests/sewing/tol_1/U3
tests/sewing/tol_1/U4
tests/sewing/tol_1/U5
tests/sewing/tol_1/U6
tests/sewing/tol_1/U7
tests/sewing/tol_1/U8
tests/sewing/tol_1/U9
tests/sewing/tol_1/V1
tests/sewing/tol_1/V2
tests/sewing/tol_1/V3
tests/sewing/tol_1/V4
tests/sewing/tol_1/V5
tests/sewing/tol_1/V6
tests/sewing/tol_1/V7
tests/sewing/tol_1/V8
tests/sewing/tol_1/V9
tests/sewing/tol_1/W1
tests/sewing/tol_1/W2
tests/sewing/tol_1/W3
tests/sewing/tol_1/W4
tests/sewing/tol_1/W5
tests/sewing/tol_1/W6
tests/sewing/tol_1/W7
tests/sewing/tol_1/W8
tests/sewing/tol_1/W9
tests/sewing/tol_1/X1
tests/sewing/tol_1/X2
tests/sewing/tol_1/X3
tests/sewing/tol_1/X4
tests/sewing/tol_1/X5
tests/sewing/tol_1/X6
tests/sewing/tol_1/X7
tests/sewing/tol_1/X8
tests/sewing/tol_1/X9
tests/sewing/tol_1/Y1
tests/sewing/tol_1/Y2
tests/sewing/tol_1/Y3
tests/sewing/tol_1/Y4
tests/sewing/tol_1/Y5
tests/sewing/tol_1/Y6
tests/sewing/tol_1/Y7
tests/sewing/tol_1/Y8
tests/sewing/tol_1/Y9
tests/sewing/tol_1/Z1
tests/sewing/tol_1/Z2
tests/sewing/tol_1/Z3
tests/sewing/tol_1/Z4
tests/sewing/tol_1/Z5
tests/sewing/tol_1/Z6
tests/sewing/tol_1/Z7
tests/sewing/tol_1/Z8
tests/sewing/tol_1/Z9
tests/sewing/tol_100/A1
tests/sewing/tol_100/A2
tests/sewing/tol_100/A3
tests/sewing/tol_100/A4
tests/sewing/tol_100/A5
tests/sewing/tol_100/A6
tests/sewing/tol_100/A7
tests/sewing/tol_100/A8
tests/sewing/tol_100/A9
tests/sewing/tol_100/B1
tests/sewing/tol_100/B2
tests/sewing/tol_100/B3
tests/sewing/tol_100/B4
tests/sewing/tol_100/B5
tests/sewing/tol_100/B6
tests/sewing/tol_100/B7
tests/sewing/tol_100/B8
tests/sewing/tol_100/B9
tests/sewing/tol_100/C1
tests/sewing/tol_100/C2
tests/sewing/tol_100/C3
tests/sewing/tol_100/C4
tests/sewing/tol_100/C5
tests/sewing/tol_100/C6
tests/sewing/tol_100/C7
tests/sewing/tol_100/C8
tests/sewing/tol_100/C9
tests/sewing/tol_100/D1
tests/sewing/tol_100/D2
tests/sewing/tol_100/D3
tests/sewing/tol_100/D4
tests/sewing/tol_100/D5
tests/sewing/tol_100/D6
tests/sewing/tol_100/D7
tests/sewing/tol_100/D8
tests/sewing/tol_100/D9
tests/sewing/tol_100/E1
tests/sewing/tol_100/E2
tests/sewing/tol_100/E3
tests/sewing/tol_100/E4
tests/sewing/tol_100/E5
tests/sewing/tol_100/E6
tests/sewing/tol_100/E7
tests/sewing/tol_100/E8
tests/sewing/tol_100/E9
tests/sewing/tol_100/F1
tests/sewing/tol_100/F2
tests/sewing/tol_100/F3
tests/sewing/tol_100/F4
tests/sewing/tol_100/F5
tests/sewing/tol_100/F6
tests/sewing/tol_100/F7
tests/sewing/tol_100/F8
tests/sewing/tol_100/F9
tests/sewing/tol_100/G1
tests/sewing/tol_100/G2
tests/sewing/tol_100/G3
tests/sewing/tol_100/G4
tests/sewing/tol_100/G5
tests/sewing/tol_100/G6
tests/sewing/tol_100/G7
tests/sewing/tol_100/G8
tests/sewing/tol_100/G9
tests/sewing/tol_100/H1
tests/sewing/tol_100/H2
tests/sewing/tol_100/H3
tests/sewing/tol_100/H4
tests/sewing/tol_100/H5
tests/sewing/tol_100/H6
tests/sewing/tol_100/H7
tests/sewing/tol_100/H8
tests/sewing/tol_100/H9
tests/sewing/tol_100/I1
tests/sewing/tol_100/I2
tests/sewing/tol_100/I3
tests/sewing/tol_100/I4
tests/sewing/tol_100/I5
tests/sewing/tol_100/I6
tests/sewing/tol_100/I7
tests/sewing/tol_100/I8
tests/sewing/tol_100/I9
tests/sewing/tol_100/J1
tests/sewing/tol_100/J2
tests/sewing/tol_100/J3
tests/sewing/tol_100/J4
tests/sewing/tol_100/J5
tests/sewing/tol_100/J6
tests/sewing/tol_100/J7
tests/sewing/tol_100/J8
tests/sewing/tol_100/J9
tests/sewing/tol_100/K1
tests/sewing/tol_100/K2
tests/sewing/tol_100/K3
tests/sewing/tol_100/K4
tests/sewing/tol_100/K5
tests/sewing/tol_100/K6
tests/sewing/tol_100/K7
tests/sewing/tol_100/K8
tests/sewing/tol_100/K9
tests/sewing/tol_100/L1
tests/sewing/tol_100/L2
tests/sewing/tol_100/L3
tests/sewing/tol_100/L4
tests/sewing/tol_100/L5
tests/sewing/tol_100/L6
tests/sewing/tol_100/L7
tests/sewing/tol_100/L8
tests/sewing/tol_100/L9
tests/sewing/tol_100/M1
tests/sewing/tol_100/M2
tests/sewing/tol_100/M3
tests/sewing/tol_100/M4
tests/sewing/tol_100/M5
tests/sewing/tol_100/M6
tests/sewing/tol_100/M7
tests/sewing/tol_100/M8
tests/sewing/tol_100/M9
tests/sewing/tol_100/N1
tests/sewing/tol_100/N2
tests/sewing/tol_100/N3
tests/sewing/tol_100/N4
tests/sewing/tol_100/N5
tests/sewing/tol_100/N6
tests/sewing/tol_100/N7
tests/sewing/tol_100/N8
tests/sewing/tol_100/N9
tests/sewing/tol_100/O1
tests/sewing/tol_100/O2
tests/sewing/tol_100/O3
tests/sewing/tol_100/O4
tests/sewing/tol_100/O5
tests/sewing/tol_100/O6
tests/sewing/tol_100/O7
tests/sewing/tol_100/O8
tests/sewing/tol_100/O9
tests/sewing/tol_100/P1
tests/sewing/tol_100/P2
tests/sewing/tol_100/P3
tests/sewing/tol_100/P4
tests/sewing/tol_100/P5
tests/sewing/tol_100/P6
tests/sewing/tol_100/P7
tests/sewing/tol_100/P8
tests/sewing/tol_100/P9
tests/sewing/tol_100/Q1
tests/sewing/tol_100/Q2
tests/sewing/tol_100/Q3
tests/sewing/tol_100/Q4
tests/sewing/tol_100/Q5
tests/sewing/tol_100/Q6
tests/sewing/tol_100/Q7
tests/sewing/tol_100/Q8
tests/sewing/tol_100/Q9
tests/sewing/tol_100/R1
tests/sewing/tol_100/R2
tests/sewing/tol_100/R3
tests/sewing/tol_100/R4
tests/sewing/tol_100/R5
tests/sewing/tol_100/R6
tests/sewing/tol_100/R7
tests/sewing/tol_100/R8
tests/sewing/tol_100/R9
tests/sewing/tol_100/S1
tests/sewing/tol_100/S2
tests/sewing/tol_100/S3
tests/sewing/tol_100/S4
tests/sewing/tol_100/S5
tests/sewing/tol_100/S6
tests/sewing/tol_100/S7
tests/sewing/tol_100/S8
tests/sewing/tol_100/S9
tests/sewing/tol_100/T1
tests/sewing/tol_100/T2
tests/sewing/tol_100/T3
tests/sewing/tol_100/T4
tests/sewing/tol_100/T5
tests/sewing/tol_100/T6
tests/sewing/tol_100/T7
tests/sewing/tol_100/T8
tests/sewing/tol_100/T9
tests/sewing/tol_100/U1
tests/sewing/tol_100/U2
tests/sewing/tol_100/U3
tests/sewing/tol_100/U4
tests/sewing/tol_100/U5
tests/sewing/tol_100/U6
tests/sewing/tol_100/U7
tests/sewing/tol_100/U8
tests/sewing/tol_100/U9
tests/sewing/tol_100/V1
tests/sewing/tol_100/V2
tests/sewing/tol_100/V3
tests/sewing/tol_100/V4
tests/sewing/tol_100/V5
tests/sewing/tol_100/V6
tests/sewing/tol_100/V7
tests/sewing/tol_100/V8
tests/sewing/tol_100/V9
tests/sewing/tol_100/W1
tests/sewing/tol_100/W2
tests/sewing/tol_100/W3
tests/sewing/tol_100/W4
tests/sewing/tol_100/W5
tests/sewing/tol_100/W6
tests/sewing/tol_100/W7
tests/sewing/tol_100/W8
tests/sewing/tol_100/W9
tests/sewing/tol_100/X1
tests/sewing/tol_100/X2
tests/sewing/tol_100/X3
tests/sewing/tol_100/X4
tests/sewing/tol_100/X5
tests/sewing/tol_100/X6
tests/sewing/tol_100/X7
tests/sewing/tol_100/X8
tests/sewing/tol_100/X9
tests/sewing/tol_100/Y1
tests/sewing/tol_100/Y2
tests/sewing/tol_100/Y3
tests/sewing/tol_100/Y4
tests/sewing/tol_100/Y5
tests/sewing/tol_100/Y6
tests/sewing/tol_100/Y7
tests/sewing/tol_100/Y9
tests/sewing/tol_100/Z1
tests/sewing/tol_100/Z2
tests/sewing/tol_100/Z3
tests/sewing/tol_100/Z4
tests/sewing/tol_100/Z5
tests/sewing/tol_100/Z6
tests/sewing/tol_100/Z7
tests/sewing/tol_100/Z8

index fe36b4208c54ee97ef99e0c076b9789fa21eac47..bfb536f19bb2363d8ee1eb8d306ffbc594f72a03 100644 (file)
@@ -1001,6 +1001,25 @@ Example
 checkshape result
 ~~~~~
 
+It is possible to compare number of problem elements obtained by command *checkshape result ff*
+with reference data or/and with max possible value:
+
+Use: checkshapeff aShape [options...]
+
+Allowed options are:
+ *   -wires N:      reference number of problem wires
+ *   -faces N:      reference number of problem faces
+ *   -shells N:     reference number of problem shells
+ *   -solids N:     reference number of problem solids
+ *   -max_wires N:  max possible number of problem wires
+ *   -max_faces N:  max possible number of problem faces
+ *   -max_shells N: max possible number of problem shells
+ *   -max_solids N: max possible number of problem solids
+
+~~~~~
+checkshapeff results -wires 2 -faces 4
+~~~~~
+
 To check the number of faults in the shape command *checkfaults* can be used.
 
 Use: checkfaults shape source_shape [ref_value=0]
@@ -1041,19 +1060,21 @@ regexp { *EDGE +: +MAX=([-0-9.+eE]+)} $tolerance dummy max_edgee
 regexp { *VERTEX +: +MAX=([-0-9.+eE]+)} $tolerance dummy max_vertex
 ~~~~~
 
-It is possible to use command *checkmaxtol* to check maximal tolerance of shape and compare it with reference value.
+It is possible to use command *checkmaxtol* to check maximal and average tolerances of shape and compare them with reference value.
 
 Use: checkmaxtol shape [options...]
 
 Allowed options are:
- *   -ref: reference value of maximum tolerance
- *   -source: list of shapes to compare with
- *   -min_tol: minimum tolerance for comparison
- *   -multi_tol: tolerance multiplier
+ *   -tol N: N is a reference value of maximum tolerance.
+ *   -avg N: N is a reference value of average tolerance.
+ *   -source: list of shapes to compare with, e.g.: -source {shape1 shape2 shape3} (is used only for max tolerance).
+ *   -max_tol: max possible value of max tolerance.
+ *   -max_avg: max possible value of average tolerance.
+ *   -multi_tol: tolerance multiplier (is used only for max tolerance).
 
 The default syntax of *checkmaxtol* command for comparison with the reference value:
 ~~~~~
-checkmaxtol result -ref 0.00001
+checkmaxtol result -tol 0.00001
 ~~~~~
 
 There is an opportunity to compare max tolerance of resulting shape with max tolerance of source shape.
@@ -1167,24 +1188,60 @@ Compare number of sub-shapes in "shape" with given reference data
 
 Use: checknbshapes shape [options...]
 Allowed options are:
- * -vertex N
- * -edge N
- * -wire N
- * -face N
- * -shell N
- * -solid N
- * -compsolid N
- * -compound N
- * -shape N
+ * -vertex N:        compare number of vertexes with reference value N
+ * -edge N:          compare number of edges with reference value N
+ * -wire N:          compare number of wires with reference value N
+ * -face N:          compare number of faces with reference value N
+ * -shell N:         compare number of shells with reference value N
+ * -solid N:         compare number of solids with reference value N
+ * -compsolid N:     compare number of compsolids with reference value N
+ * -compound N:      compare number of compounds with reference value N
+ * -shape N:         compare number of shapes with reference value N
+ * -max_vertex N:    compare number of vertexes with max possible number of vertexes N
+ * -max_edge N:      compare number of edges with max possible number of edges N
+ * -max_wire N:      compare number of wires with max possible number of wires N
+ * -max_face N:      compare number of faces with max possible number of faces N
+ * -max_shell N:     compare number of shells with max possible number of shells N
+ * -max_solid N:     compare number of solids with max possible number of solids N
+ * -max_compsolid N: compare number of compsolids with max possible number of compsolids N
+ * -max_compound N:  compare number of compounds with max possible number of compounds N
+ * -max_shape N:     compare number of shapes with max possible number of shapes N
  * -t: compare the number of sub-shapes in "shape" counting
       the same sub-shapes with different location as different sub-shapes.
  * -m msg: print "msg" in case of error
+ * -ref [nbshapes a]: compare the number of sub-shapes in "shape" and in "a".
+                       -vertex N, -edge N and other options are still working.
 
 ~~~~~
 checknbshapes result -vertex 8 -edge 4
 ~~~~~
 
-@subsubsection testmanual_5_3_9 Check pixel color
+@subsubsection testmanual_5_3_9 Check statistic of shape
+
+Compare statistic of shape with given reference data.
+
+Use: checkstatshape shape [options...]
+
+  Allowed options are:
+ *   -freeedge N:       compare number of free edges with reference N
+ *   -sharededge N:     compare number of shared edges with reference N
+ *   -freewire N:       compare number of free wires with reference N
+ *   -face N:           compare number of faces with reference N
+ *   -shell N:          compare number of shells with reference N
+ *   -solid N:          compare number of solids with reference N
+ *   -max_freeedge N:   compare number of free edges with max possible number N
+ *   -max_sharededge N: compare number of shared edges with max possible number N
+ *   -max_freewire N:   compare number of free wires with max possible number N
+ *   -max_face N:       compare number of faces with max possible number N
+ *   -max_shell N:      compare number of shells with max possible number N
+ *   -max_solid N:      compare number of solids with max possible number N
+
+~~~~~
+ReadStep Doc1 D:/D1.stp
+checkdoc Doc1 -warns 5 -faults 0
+~~~~~
+
+@subsubsection testmanual_5_3_10 Check pixel color
 
 To check pixel color command *checkcolor* can be used.
 
@@ -1201,3 +1258,54 @@ If colors are not equal, procedure will check the nearest ones points (5x5 area)
 ~~~~~
 checkcolor 100 100 1 0 0
 ~~~~~
+
+@subsubsection testmanual_5_3_11 Check OCAF document validity
+
+To check number of faults and/or warnings in output of commands 'data c' and 'tpstat c' command *checkdoc* can be used.
+
+It can be used after opening of document.
+
+Usage:
+  * checkdoc "data c" [options...]
+  * checkdoc "tpstat c" [options...]
+
+Allowed options are:
+  * -warns N:      reference number of warnings
+  * -faults N:     reference number of faults
+  * -max_warns N:  max possible number of warnings
+  * -max_faults N: max possible number of faults
+
+~~~~~
+ReadStep Doc1 D:/D1.stp
+checkdoc "data c" -warns 5 -faults 0
+checkdoc "tpstat c" -warns 0 -max_faults 1
+~~~~~
+
+@subsubsection testmanual_5_3_12 Check statistic of OCAF document
+
+Compare statistic of layers in document with given reference data.
+
+Use: checkxstat Doc [options...]
+
+Allowed options are:
+ *   -n0 N:        compare number of level N0 layers in document Doc with reference value
+ *   -n1 N:        compare number of level N1 layers in document Doc with reference value
+ *   -n2 N:        compare number of level N2 layers in document Doc with reference value
+ *   -total N:     compare number of layers in document Doc with reference value
+ *   -withname N:  compare number of layers with name in document Doc with reference value
+ *   -withcolor N: compare number of layers with color link in document Doc with reference value
+ *   -withlayer N: compare number of layers with layer link in document Doc with reference value
+ *   -centroid N:  compare number of Centroid Props in document Doc with reference value
+ *   -volume N:    compare number of Volume Props in document Doc with reference value
+ *   -area N:      compare number of Area Props in document Doc with reference value
+ *   -nbcolors N:  compare number of colors in document Doc with reference value
+ *   -colors N:    compare colors of layers in document Doc with reference value
+ *   -nblayers N:  compare number of layers in document Doc with reference value
+ *   -layers N:    compare number of layers in document Doc with reference value
+
+All options are independent and can be used in any order.
+
+~~~~~
+ReadStep Doc1 D:/D1.stp
+checkdoc Doc1 -n0 5 -n1 4 -n2 0 -colors 3
+~~~~~
\ No newline at end of file
index 36a65db67ebfb47f1f943759522f5ed6e3168908..42e5c109b5855978c5d36aa77c93a4699a9bd474 100644 (file)
@@ -169,11 +169,11 @@ proc _check_arg {check_name check_result {get_value 0}} {
   upvar arg arg
   upvar narg narg
   upvar args args
-  if { $arg == ${check_name} } {
+  if { ${arg} == ${check_name} } {
     if {${get_value}} {
       incr narg
-      if { $narg < [llength $args] && ! [regexp {^-} [lindex $args $narg]] } {
-        set ${check_result} "[lindex $args $narg]"
+      if { ${narg} < [llength ${args}] && ! [regexp {^-} [lindex ${args} ${narg}]] } {
+        set ${check_result} "[lindex ${args} ${narg}]"
       } else {
         error "Option ${check_result} requires argument"
       }
@@ -203,7 +203,16 @@ help checknbshapes {
         the same sub-shapes with different location as different sub-shapes.
     -m msg: print "msg" in case of error
     -ref [nbshapes a]: compare the number of sub-shapes in "shape" and in "a".
-                       -vertex N, -edge N and other options are stil working.
+                       -vertex N, -edge N and other options are still working.
+    -max_vertex N:    compare number of vertexes with max possible number of vertexes N
+    -max_edge N:      compare number of edges with max possible number of edges N
+    -max_wire N:      compare number of wires with max possible number of wires N
+    -max_face N:      compare number of faces with max possible number of faces N
+    -max_shell N:     compare number of shells with max possible number of shells N
+    -max_solid N:     compare number of solids with max possible number of solids N
+    -max_compsolid N: compare number of compsolids with max possible number of compsolids N
+    -max_compound N:  compare number of compounds with max possible number of compounds N
+    -max_shape N:     compare number of shapes with max possible number of shapes N
 }
 proc checknbshapes {shape args} {
   puts "checknbshapes ${shape} ${args}"
@@ -223,29 +232,31 @@ proc checknbshapes {shape args} {
   set count_locations 0
   set ref_info ""
 
-  for {set narg 0} {$narg < [llength $args]} {incr narg} {
-    set arg [lindex $args $narg]
-    if {[_check_arg "-vertex" nbVERTEX 1] ||
-        [_check_arg "-edge" nbEDGE 1] ||
-        [_check_arg "-wire" nbWIRE 1] ||
-        [_check_arg "-face" nbFACE 1] ||
-        [_check_arg "-shell" nbSHELL 1] ||
-        [_check_arg "-solid" nbSOLID 1] ||
-        [_check_arg "-compsolid" nbCOMPSOLID 1] ||
-        [_check_arg "-compound" nbCOMPOUND 1] ||
-        [_check_arg "-shape" nbSHAPE 1] ||
-        [_check_arg "-t" count_locations] ||
-        [_check_arg "-m" message 1] ||
-        [_check_arg "-ref" ref_info 1]
-       } {
-      continue
-    }
-    # unsupported option
-    if { [regexp {^-} $arg] } {
-      error "Error: unsupported option \"$arg\""
-    }
-    error "Error: cannot interpret argument $narg ($arg)"
-  }
+  set options {{"-vertex" nbVERTEX 1}
+               {"-edge" nbEDGE 1}
+               {"-wire" nbWIRE 1}
+               {"-face" nbFACE 1}
+               {"-shell" nbSHELL 1}
+               {"-solid" nbSOLID 1}
+               {"-compsolid" nbCOMPSOLID 1}
+               {"-compound" nbCOMPOUND 1}
+               {"-shape" nbSHAPE 1}
+               {"-max_vertex" max_nbVERTEX 1}
+               {"-max_edge" max_nbEDGE 1}
+               {"-max_wire" max_nbWIRE 1}
+               {"-max_face" max_nbFACE 1}
+               {"-max_shell" max_nbSHELL 1}
+               {"-max_solid" max_nbSOLID 1}
+               {"-max_compsolid" max_nbCOMPSOLID 1}
+               {"-max_compound" max_nbCOMPOUND 1}
+               {"-max_shape" max_nbSHAPE 1}
+               {"-t" count_locations}
+               {"-de_iges" isDeIges 1}
+               {"-not_de_iges" isNotDeIges 1}
+               {"-m" message 1}
+               {"-ref" ref_info 1}}
+
+  _check_args ${args} ${options} "checknbshapes"
 
   if { ${count_locations} == 0 } {
     set nb_info [nbshapes ${shape}]
@@ -255,11 +266,13 @@ proc checknbshapes {shape args} {
 
   set EntityList {VERTEX EDGE WIRE FACE SHELL SOLID COMPSOLID COMPOUND SHAPE}
 
+  set nbshapes_res [dict create]
   foreach Entity ${EntityList} {
     set expr_string "${Entity} +: +(\[-0-9.+eE\]+)"
     set to_compare {}
     # get number of elements from ${shape}
     if { [regexp "${expr_string}" ${nb_info} full nb_entity2] } {
+      dict append nbshapes_res ${Entity} ${nb_entity2}
       lappend to_compare ${nb_entity2}
     } else {
       error "Error : command \"nbshapes ${shape}\" gives an empty result"
@@ -273,6 +286,9 @@ proc checknbshapes {shape args} {
     if { [regexp "${expr_string}" ${ref_info} full nb_entity_ref] } {
       lappend to_compare ${nb_entity_ref}
     }
+    # compare current number of elements with max possible number of elements
+    # received from -max_vertex, -max_edge, ... options
+    _comparewithmax nb_entity2 max_nb${Entity} "NBSHAPES" 0 "Compare number of ${Entity} in command nbshapes with max possible number"
     # skip comparing if no reference data was given
     if {[llength $to_compare] == 1} {
       continue
@@ -286,6 +302,16 @@ proc checknbshapes {shape args} {
       puts "OK : ${message} is GOOD because number of ${Entity} entities is equal to number of expected ${Entity} entities"
     }
   }
+
+  if {[info exists isNotDeIges]} {
+    set shapes_cur [dict get ${nbshapes_res} "SHAPE"]
+    _comparewithmax isNotDeIges shapes_cur "NBSHAPES" 0 "Compare number of ${Entity} in command nbshapes with max possible number for DE test without iges shape"
+  } elseif {[info exists isDeIges]} {
+    set shapes_cur [dict get ${nbshapes_res} "SHAPE"]
+    set comp_cur [dict get ${nbshapes_res} "COMPOUND"]
+    set shape_comp_cur [expr ${shapes_cur} - ${comp_cur}]
+    _comparewithmax isDeIges shape_comp_cur "NBSHAPES" 0 "Compare number of ${Entity} in command nbshapes with max possible number for DE test with iges shape"
+  }
 }
 
 # Procedure to check equality of two reals with tolerance (relative and absolute)
@@ -317,19 +343,10 @@ proc checkfreebounds {shape ref_value args} {
   set tol -0.01
   set type "closed"
 
-  for {set narg 0} {$narg < [llength $args]} {incr narg} {
-    set arg [lindex $args $narg]
-    if {[_check_arg "-tol" tol 1] ||
-        [_check_arg "-type" type 1]
-       } {
-      continue
-    }
-    # unsupported option
-    if { [regexp {^-} $arg] } {
-      error "Error: unsupported option \"$arg\""
-    }
-    error "Error: cannot interpret argument $narg ($arg)"
-  }
+  set options {{"-tol" tol 1}
+               {"-type" type 1}}
+
+  _check_args ${args} ${options} "checkfreebounds"
 
   if {"$type" != "closed" && "$type" != "opened"} {
     error "Error : wrong -type key \"${type}\""
@@ -351,48 +368,42 @@ proc checkfreebounds {shape ref_value args} {
 }
 
 help checkmaxtol {
-  Compare max tolerance of shape with reference value.
+  Compare max and/or average tolerances of shape with reference values.
   Command returns max tolerance of the shape.
 
   Use: checkmaxtol shape [options...]
   Allowed options are:
-    -ref: reference value of maximum tolerance.
-    -source: list of shapes to compare with, e.g.: -source {shape1 shape2 shape3}
-    -min_tol: minimum tolerance for comparison.
-    -multi_tol: tolerance multiplier.
+    -tol: reference value of maximum tolerance.
+    -avg: reference value of average tolerance.
+    -source: list of shapes to compare with, e.g.: -source {shape1 shape2 shape3} (is used only for max tolerance).
+    -max_tol: max possible value of max tolerance.
+    -max_avg: max possible value of average tolerance.
+    -multi_tol: tolerance multiplier (is used only for max tolerance).
 }
-
 proc checkmaxtol {shape args} {
   puts "checkmaxtol ${shape} ${args}"
   upvar ${shape} ${shape}
 
-  set ref_value ""
+  set ref_tol 0
+  set ref_avg 0
   set source_shapes {}
-  set min_tol 0
+  set check_max_tol -1
+  set check_max_avg -1
   set tol_multiplier 0
 
-  # check arguments
-  for {set narg 0} {$narg < [llength $args]} {incr narg} {
-    set arg [lindex $args $narg]
-    if {[_check_arg "-min_tol" min_tol 1] ||
-        [_check_arg "-multi_tol" tol_multiplier 1] ||
-        [_check_arg "-source" source_shapes 1] ||
-        [_check_arg "-ref" ref_value 1]
-       } {
-      continue
-    }
-    # unsupported option
-    if { [regexp {^-} $arg] } {
-      error "Error: unsupported option \"$arg\""
-    }
-    error "Error: cannot interpret argument $narg ($arg)"
-  }
+  set options {{"-max_tol" check_max_tol 1}
+               {"-max_avg" check_max_avg 1}
+               {"-multi_tol" tol_multiplier 1}
+               {"-source" source_shapes 1}
+               {"-tol" ref_tol 1}
+               {"-avg" ref_avg 1}}
+
+  _check_args ${args} ${options} "checkmaxtol"
 
   # get max tol of shape
   set max_tol 0
-  if {[regexp "Tolerance MAX=(\[-0-9.+eE\]+)" [tolerance ${shape}] full maxtol_temp]} {
-    set max_tol ${maxtol_temp}
-  } else {
+  set avg_tol 0
+  if { ![regexp {Tolerance +MAX=([-0-9.+eE]+) +AVG=([-0-9.+eE]+)} [tolerance ${shape}] full max_tol avg_tol] } {
     error "Error: cannot get tolerances of shape \"${shape}\""
   }
 
@@ -400,20 +411,37 @@ proc checkmaxtol {shape args} {
   foreach source_shape ${source_shapes} {
     upvar ${source_shape} ${source_shape}
     set _src_max_tol [checkmaxtol ${source_shape}]
-    if { [expr ${_src_max_tol} > ${min_tol} ] } {
-      set min_tol ${_src_max_tol}
+    if { [expr ${_src_max_tol} > ${check_max_tol} ] } {
+      set check_max_tol ${_src_max_tol}
     }
   }
   # apply -multi_tol option
   if {${tol_multiplier}} {
-    set min_tol [expr ${tol_multiplier} * ${_src_max_tol}]
+    set check_max_tol [expr ${tol_multiplier} * ${check_max_tol}]
   }
   # compare max tol of source shapes with checking tolerance
-  if { ${min_tol} && [expr ${max_tol} > ${min_tol}] } {
-    puts "Error: tolerance of \"${shape}\" (${max_tol}) is greater than checking tolerance (${min_tol})"
+  if { ${ref_tol} && [expr ${max_tol} > ${ref_tol}] } {
+    if {([format %.7f [expr 1.*abs($max_tol - $ref_tol)]] > [format %.7f [expr 0.01 * $ref_tol]] && [format %.7f [expr 1. * ($max_tol - $ref_tol)]] > 0.0001) || ($max_tol == 0 && $ref_tol > 0)} {
+      puts "Error: Max tolerance of ${shape} (${max_tol}) is greater than reference tolerance (${ref_tol})"
+    }
   }
-  if { ${ref_value} != "" } {
-    checkreal "Max tolerance" ${max_tol} ${ref_value} 0.0001 0.01
+  # compare avg tol with checking tolerance
+  if { ${ref_avg} && [expr ${avg_tol} > ${ref_avg}] } {
+    if {([format %.7f [expr 1.*abs($avg_tol - $ref_avg)]] > [format %.7f [expr 0.01 * $ref_avg]] && [format %.7f [expr 1. * ($avg_tol - $ref_avg)]] > 0.0001) || ($avg_tol == 0 && $ref_avg > 0)} {
+      puts "Error: Avg tolerance of ${shape} (${avg_tol}) is greater than reference tolerance (${ref_avg})"
+    }
+  }
+  # compare max tol with checking max tolerance
+  if { ${check_max_tol} != -1 } {
+    if {([format %.7f [expr 1.*($max_tol - $check_max_tol)]] > [format %.7f [expr 0.0001 * $check_max_tol]] && [format %.7f [expr 1. * abs($check_max_tol-$max_tol)]] > 0.0000001) || ($max_tol == 0 && $check_max_tol > 0)} {
+      puts "TOLERANCE : Faulty. Max tolerance of ${shape} (${max_tol}) is greater than max possible checking tolerance (${check_max_tol})"
+    }
+  }
+  # compare avg tol with checking avg tolerance
+  if { ${check_max_avg} != -1 } {
+    if {([format %.7f [expr 1.*($avg_tol - $check_max_avg)]] > [format %.7f [expr 0.0001 * $check_max_avg]] && [format %.7f [expr 1. * abs($check_max_avg-$avg_tol)]] > 0.0000001) || ($avg_tol == 0 && $check_max_avg > 0)} {
+      puts "TOLERANCE : Faulty. Avg tolerance of ${shape} (${max_tol}) is greater than max possible checking tolerance (${check_max_avg})"
+    }
   }
   return ${max_tol}
 }
@@ -449,3 +477,445 @@ proc checkfaults {shape source_shape {ref_value 0}} {
     puts "Error : Number of faults is $nb_r"
   }
 }
+
+help ReadFileToDoc {
+  Procedure to open data file as document.
+  Uses 'locate_data_file' procedure to search the data file.
+  Supported formats:
+    - *.iges (*.igs)
+    - *.stp (*.step)
+  The search order is:
+    - subdirectory "data" of the test script (grid) folder
+    - subdirectories in environment variable CSF_TestDataPath
+    - subdirectory set by datadir command
+  If file is not found, raises Tcl error.
+
+  Use: ReadFileToDoc filename [options...]
+  Allowed options are:
+    -doc D_First: variable to save opened as document data file (default document name - 'D_First').
+    -productmode [0/1]: turn OFF/ON read.step.product.mode
+}
+proc ReadFileToDoc { filename args } {
+  puts "ReadFileToDoc ${filename} ${args}"
+
+  set DocName "D_First"
+  set ProductMode ""
+
+  set options {{"-doc" DocName 1}
+               {"-productmode" ProductMode 1}}
+
+  _check_args ${args} ${options} "ReadFileToDoc"
+
+  upvar ${DocName} ${DocName}
+  switch -exact [file extension ${filename}] {
+    ".igs" -
+    ".iges" { set ReadCommand ReadIges }
+    ".step" -
+    ".stp"  { set ReadCommand ReadStep }
+  }
+  switch -exact ${ProductMode} {
+    "0" { param read.step.product.mode OFF; puts "param read.step.product.mode OFF" }
+    "1" { param read.step.product.mode ON; puts "param read.step.product.mode ON" }
+  }
+  set path_file [locate_data_file ${filename}]
+  if { [catch { ${ReadCommand} ${DocName} ${path_file} }] } {
+    puts "Error: file ${filename} was not read (exception)"
+  } else {
+    puts "File '${filename}' was read into '${DocName}' document"
+  }
+}
+
+help ReOpenDoc {
+  Procedure to save document to the data file, close the document and reopen it.
+
+  Supported formats:
+    - *.iges (*.igs)
+    - *.stp (*.step)
+
+  Use: ReOpenDoc filename [options...]
+  Allowed options are:
+    -doc D_First: original document to reopen (default document name - 'D_First').
+    -newdoc D_Second: name of new document (default document name - 'D_Second').
+}
+proc ReOpenDoc { filename args } {
+  puts "ReOpenDoc ${filename} ${args}"
+
+  upvar imagedir imagedir
+  upvar casename casename
+
+  set DocName "D_First"
+  set NewDocName "D_Second"
+
+  set options {{"-doc" DocName 1}
+               {"-newdoc" NewDocName 1}}
+
+  upvar ${DocName} ${DocName}
+  upvar ${NewDocName} ${NewDocName}
+
+  _check_args ${args} ${options} "ReOpenDoc"
+
+  set ext [file extension ${filename}]
+  switch -exact ${ext} {
+    ".igs" -
+    ".iges" { set ReadCommand ReadIges; set WriteCommand WriteIges }
+    ".step" -
+    ".stp"  { set ReadCommand ReadStep; set WriteCommand WriteStep }
+  }
+  file delete ${imagedir}/${casename}_D_First${ext}
+  if {[catch { ${WriteCommand} ${DocName} ${imagedir}/${casename}_${DocName}${ext}}]} {
+    puts "Error: First - file was not written - exception"
+  } else {
+    if {[catch { ${ReadCommand} ${NewDocName} ${imagedir}/${casename}_${DocName}${ext}}]} {
+      puts "Error: Second - file was not read - exception"
+    }
+  }
+  catch {[file delete ${imagedir}/${casename}_${DocName}${ext}]}
+
+  # Close the document
+  if { [catch { Close ${DocName} }] } {
+    puts "Error : cannot close a document ${DocName} - exception"
+  }
+}
+
+# auxiliary: check all arguments
+proc _check_args { args {options {}} {command_name ""}} {
+  # check arguments
+  for {set narg 0} {${narg} < [llength ${args}]} {incr narg} {
+    set arg [lindex ${args} ${narg}]
+    set toContinue 0
+    foreach option ${options} {
+      set option_name            [lindex ${option} 0]
+      set variable_to_save_value [lindex ${option} 1]
+      set get_value              [lindex ${option} 2]
+      if {${get_value} == ""} { set get_value 0 }
+      set local_value ""
+      if { [_check_arg ${option_name} local_value ${get_value}] } {
+        upvar ${variable_to_save_value} ${variable_to_save_value}
+        set ${variable_to_save_value} ${local_value}
+        set toContinue 1
+      }
+    }
+    if {${toContinue}} { continue }
+    # unsupported option
+    if { [regexp {^-} ${arg}] } {
+      error "Error: unsupported option \"${arg}\""
+    }
+    error "Error: cannot interpret argument ${narg} (${arg})"
+  }
+  foreach option ${options} {
+    set option_name            [lindex ${option} 0]
+    set variable_to_save_value [lindex ${option} 1]
+    set should_exist           [lindex ${option} 3]
+    if {![info exists ${variable_to_save_value}] && ${should_exist} == 1} {
+      error "Error: wrong using of command '${command_name}', '${option_name}' option is required"
+    }
+  }
+}
+
+help checkdoc {
+  Compare number of faults and/or warnings in output of commands 'data c' and 'tpstat c'
+  with reference values and/or with max possible values.
+  Should be used after opening of some document.
+  Use: checkdoc "data c" [options...]
+    or
+       checkdoc "tpstat c" [options...]
+  Allowed options are:
+    -warns N: reference number of warnings
+    -faults N: reference number of faults
+    -max_warns N: max possible number of warnings
+    -max_faults N: max possible number of faults
+}
+proc checkdoc {command args} {
+  puts "checkdoc ${command} ${args}"
+
+  set options {{"-warns" ref_warns 1}
+               {"-faults" ref_faults 1}
+               {"-max_warns" max_warns 1}
+               {"-max_faults" max_faults 1}}
+
+  _check_args ${args} ${options} "checkdoc"
+
+  switch -exact ${command} {
+    "data c"   {set info [data c]; set errorMsg "DATA"}
+    "tpstat c" {set info [tpstat c]; set errorMsg "TPSTAT"}
+  }
+
+  if { [llength ${info}] } {
+    set warns 0
+    set faults 0
+    foreach line [split ${info} "\n"] {
+      if {[regexp {[\t ]+([-0-9.+eE]+)[\t ]+([FW]):} $line full number type]} {
+        switch -exact ${type} {
+          "F" {incr faults ${number}}
+          "W" {incr warns ${number}}
+        }
+      }
+    }
+
+    _comparewithmax warns ref_warns ${errorMsg} 1 "ref number of warnings in command ${command}"
+    _comparewithmax faults ref_faults ${errorMsg} 1 "ref number of faults in command ${command}"
+
+    _comparewithmax warns max_warns ${errorMsg} 0 "comparison ref number of warns in command ${command} with max possible"
+    _comparewithmax faults max_faults ${errorMsg} 0 "comparison ref number of faults in command ${command} with max possible"
+  } else {
+    puts "Warning: ${command} checking was NOT provided"
+  }
+}
+
+# auxiliary: puts Error status if value is bigger that maxvalue (if isEqual == 0)
+#            puts Error status if values are not equal          (if isEqual == 1)
+proc _comparewithmax {value maxvalue msg {isEqual 0} {description ""}} {
+  upvar ${value} ${value}
+  upvar ${maxvalue} ${maxvalue}
+
+  set sign ">"
+  if { ${isEqual} == 1 } {
+    set sign "!="
+  }
+
+  if {[info exists ${value}] &&[info exists ${maxvalue}]} {
+    if { [expr [set ${value}] ${sign} [set ${maxvalue}]]} {
+      puts "${msg} : Faulty ${description}"
+    } else {
+      puts "${msg} : OK ${description}"
+    }
+  }
+}
+
+# auxiliary: puts Error status if value is bigger that maxvalue
+proc _comparelists {value expected {msg "compare lists"} {description ""}} {
+  upvar ${value} ${value}
+  upvar ${expected} ${expected}
+  if {[info exists ${value}] && [info exists ${expected}]} {
+    if {[lsort [set ${value}]] != [lsort [set ${expected}]]} {
+      puts "${msg} : Faulty ${description}"
+    } else {
+      puts "${msg} : OK ${description}"
+    }
+  }
+}
+
+help checkshapeff {
+  Compare number of problem elements obtained by command 'checkshape aShape ff'
+  with reference one or/and with max possible number of problem elements.
+  Use: checkshapeff aShape [options...]
+  Allowed options are:
+    -wires N: reference number of problem wires
+    -faces N: reference number of problem faces
+    -shells N: reference number of problem shells
+    -solids N: reference number of problem solids
+    -max_wires N: max number of possible problem wires
+    -max_faces N: max number of possible problem faces
+    -max_shells N: max number of possible problem shells
+    -max_solids N: max number of possible problem solids
+}
+proc checkshapeff { shape args} {
+  puts "checkshapeff ${shape} ${args}"
+  upvar ${shape} ${shape}
+
+  set options {{"-wires" ref_wires 1}
+               {"-faces" ref_faces 1}
+               {"-shells" ref_shells 1}
+               {"-solids" ref_solids 1}
+               {"-max_wires" max_wires 1}
+               {"-max_faces" max_faces 1}
+               {"-max_shells" max_shells 1}
+               {"-max_solids" max_solids 1}}
+
+  _check_args ${args} ${options} "checkshapeff"
+
+  set info [checkshape ${shape} ff]
+  if { [llength ${info}] } {
+    set cur_wires 0
+    set cur_faces 0
+    set cur_shells 0
+    set cur_solids 0
+
+    regexp {WIRE\t+: +([-0-9.+eE]+).+} $info full cur_wires
+    regexp {FACE\t+: +([-0-9.+eE]+).+} $info full cur_faces
+    regexp {SHELL\t+: +([-0-9.+eE]+).+} $info full cur_shells
+    regexp {SOLID\t+: +([-0-9.+eE]+).+} $info full cur_solids
+
+    set errorMsg "CHECKSHAPE"
+    _comparewithmax cur_wires ref_wires ${errorMsg} 1 "ref number of wires in command checkshape ff"
+    _comparewithmax cur_faces ref_faces ${errorMsg} 1 "ref number of faces in command checkshape ff"
+    _comparewithmax cur_shells ref_shells ${errorMsg} 1 "ref number of shells in command checkshape ff"
+    _comparewithmax cur_solids ref_solids ${errorMsg} 1 "ref number of solids in command checkshape ff"
+
+    _comparewithmax cur_wires max_wires ${errorMsg} 0 "ref number of wires in command checkshape ff with max possible number"
+    _comparewithmax cur_faces max_faces ${errorMsg} 0 "ref number of faces in command checkshape ff with max possible number"
+    _comparewithmax cur_shells max_shells ${errorMsg} 0 "ref number of shells in command checkshape ff with max possible number"
+    _comparewithmax cur_solids max_solids ${errorMsg} 0 "ref number of solids in command checkshape ff with max possible number"
+  } else {
+    puts "Warning: checkshape ff checking was NOT provided"
+  }
+}
+
+help checkstatshape {
+  Compare output of command statshape with given reference data
+
+  Use: checkstatshape shape [options...]
+  Allowed options are:
+    -freeedge N: compare number of free edges with reference N
+    -sharededge N: compare number of shared edges with reference N
+    -freewire N: compare number of free wires with reference N
+    -face N: compare number of faces with reference N
+    -shell N: compare number of shells with reference N
+    -solid N: compare number of solids with reference N
+
+    -max_freeedge N: compare number of free edges with max possible number
+    -max_sharededge N: compare number of shared edges with max possible number
+    -max_freewire N: compare number of free wires with max possible number
+    -max_face N: compare number of faces with max possible number
+    -max_shell N: compare number of shells with max possible number
+    -max_solid N: compare number of solids with max possible number
+}
+proc checkstatshape {shape args} {
+  puts "checkstatshape ${shape} ${args}"
+  upvar ${shape} ${shape}
+
+  set ref_FreeEDGE -1
+  set ref_SharedEDGE -1
+  set ref_FreeWIRE -1
+  set ref_FACE -1
+  set ref_SHELL -1
+  set ref_SOLID -1
+
+  set options {{"-freeedge" ref_FreeEDGE 1}
+               {"-sharededge" ref_SharedEDGE 1}
+               {"-freewire" ref_FreeWIRE 1}
+               {"-face" ref_FACE 1}
+               {"-shell" ref_SHELL 1}
+               {"-solid" ref_SOLID 1}
+               {"-max_freeedge" max_FreeEDGE 1}
+               {"-max_sharededge" max_SharedEDGE 1}
+               {"-max_freewire" max_FreeWIRE 1}
+               {"-max_face" max_FACE 1}
+               {"-max_shell" max_SHELL 1}
+               {"-max_solid" max_SOLID 1}}
+
+  _check_args ${args} ${options} "checkstatshape"
+
+  set info [statshape ${shape}]
+
+            # Solid Shell Face FreeWire FreeEdge SharedEdge
+  if { [llength ${info}] } {
+    set cur_FreeEDGE 0
+    set cur_SharedEDGE 0
+    set cur_FreeWIRE 0
+    set cur_FACE 0
+    set cur_SHELL 0
+    set cur_SOLID 0
+
+    regexp {([-0-9.+eE]+)\t+ +EDGE \(Free\)} $info full cur_FreeEDGE
+    regexp {([-0-9.+eE]+)\t+ +EDGE \(Shared\)} $info full cur_SharedEDGE
+    regexp {([-0-9.+eE]+)\t+ +WIRE \(Free\)} $info full cur_FreeWIRE
+    regexp {([-0-9.+eE]+)\t+ +FACE} $info full cur_FACE
+    regexp {([-0-9.+eE]+)\t+ +SHELL} $info full cur_SHELL
+    regexp {([-0-9.+eE]+)\t+ +SOLID} $info full cur_SOLID
+
+    set errorMsg "STATSHAPE"
+    _comparewithmax cur_FreeEDGE ref_FreeEDGE ${errorMsg} 1 "ref number of free edges in command statshape"
+    _comparewithmax cur_SharedEDGE ref_SharedEDGE ${errorMsg} 1 "ref number of shared edges in command statshape"
+    _comparewithmax cur_FreeWIRE ref_FreeWIRE ${errorMsg} 1 "ref number of free wires in command statshape"
+    _comparewithmax cur_FACE ref_FACE ${errorMsg} 1 "ref number of faces in command statshape"
+    _comparewithmax cur_SHELL ref_SHELL ${errorMsg} 1 "ref number of shells in command statshape"
+    _comparewithmax cur_SOLID ref_SOLID ${errorMsg} 1 "ref number of solids in command statshape"
+
+    _comparewithmax cur_FreeEDGE max_FreeEDGE ${errorMsg} 0 "ref number of free edges in command statshape with max possible number"
+    _comparewithmax cur_SharedEDGE max_SharedEDGE ${errorMsg} 0 "ref number of shared edges in command statshape with max possible number"
+    _comparewithmax cur_FreeWIRE max_FreeWIRE ${errorMsg} 0 "ref number of free wires in command statshape with max possible number"
+    _comparewithmax cur_FACE max_FACE ${errorMsg} 0 "ref number of faces in command statshape with max possible number"
+    _comparewithmax cur_SHELL max_SHELL ${errorMsg} 0 "ref number of shells in command statshape with max possible number"
+    _comparewithmax cur_SOLID max_SOLID ${errorMsg} 0 "ref number of solids in command statshape with max possible number"
+  } else {
+    puts "Warning: statshape checking was NOT provided"
+  }
+}
+
+help checkxstat {
+  Compare output of command 'XStat docname' with given reference data
+
+  Use: checkxstat docname [options...]
+  Allowed options are:
+    -n0 N: compare number of level N0 layers in command 'XStat ${docname}' with reference value
+    -n1 N: compare number of level N1 layers in command 'XStat ${docname}' with reference value
+    -n2 N: compare number of level N2 layers in command 'XStat ${docname}' with reference value
+    -total N: compare number of layers in command 'XStat ${docname}' with reference value
+    -withname N: compare number of layers with name in command 'XStat ${docname}' with reference value
+    -withcolor N: compare number of layers with color link in command 'XStat ${docname}' with reference value
+    -withlayer N: compare number of layers with layer link in command 'XStat ${docname}' with reference value
+    -centroid N: compare number of Centroid Props in command 'XStat ${docname}' with reference value
+    -volume N: compare number of Volume Props in command 'XStat ${docname}' with reference value
+    -area N: compare number of Area Props in command 'XStat ${docname}' with reference value
+    -nbcolors N: compare number of colors in command 'XStat ${docname}' with reference value
+    -colors N: compare colors of layers in command 'XStat ${docname}' with reference value
+    -nblayers N: compare number of layers in command 'XStat ${docname}' with reference value
+    -layers N: compare number of layers in command 'XStat ${docname}' with reference value
+  All options are independent and can be used in any order.
+}
+proc checkxstat { docname args } {
+  puts "checkstatshape ${docname} ${args}"
+
+  upvar ${docname} ${docname}
+
+  set options {{"-n0" ref_n0 1}
+               {"-n1" ref_n1 1}
+               {"-n2" ref_n2 1}
+               {"-total" ref_total 1}
+               {"-withname" ref_withname 1}
+               {"-withcolor" ref_withcolor 1}
+               {"-withlayer" ref_withlayer 1}
+               {"-centroid" ref_centroid 1}
+               {"-volume" ref_volume 1}
+               {"-area" ref_area 1}
+               {"-nbcolors" ref_nbcolors 1}
+               {"-colors" ref_colors 1}
+               {"-nblayers" ref_nblayers 1}
+               {"-layers" ref_layers 1}}
+
+  _check_args ${args} ${options} "checkxstat"
+
+  set info [ XStat ${docname} ]
+
+  if { [llength ${info}] > 0 } {
+    regexp {level +N +0 +: +([-0-9.+eE]+)} ${info} full n0
+    regexp {level +N +1 +: +([-0-9.+eE]+)} ${info} full n1
+    regexp {level +N +2 +: +([-0-9.+eE]+)} ${info} full n2
+    regexp {Total +number +of +labels +for +shapes +in +the +document += +([-0-9.+eE]+)} ${info} full total
+    regexp {Number +of +labels +with +name += +([-0-9.+eE]+)} ${info} full withname
+    regexp {Number +of +labels +with +color +link += +([-0-9.+eE]+)} ${info} full withcolor
+    regexp {Number +of +labels +with +layer +link += +([-0-9.+eE]+)} ${info} full withlayer
+
+    regexp {Number +of +Centroid Props += +([-0-9.+eE]+)} ${info} full centroid
+    regexp {Number +of +Volume Props += +([-0-9.+eE]+)} ${info} full volume
+    regexp {Number +of +Area Props += +([-0-9.+eE]+)} ${info} full area
+
+    regexp {Number +of +colors += +([-0-9.+eE]+)} ${info} full nbcolors
+    regexp {Number +of +colors += +[-0-9.+eE]+\n([^\n]*)} ${info} full colors
+
+    regexp {Number +of +layers += +([-0-9.+eE]+)} ${info} full nblayers
+    regexp {Number +of +layers += +[-0-9.+eE]+\n([^\n]*)} ${info} full layers
+
+    # compare with ref values
+    _comparewithmax n0 ref_n0 "LABELS" 1 "ref number of level N0 layers in command 'XStat ${docname}'"
+    _comparewithmax n1 ref_n1 "LABELS" 1 "ref number of level N1 layers in command 'XStat ${docname}'"
+    _comparewithmax n2 ref_n2 "LABELS" 1 "ref number of level N2 layers in command 'XStat ${docname}'"
+    _comparewithmax total ref_total "LABELS" 1 "ref number of layers in command 'XStat ${docname}'"
+    _comparewithmax withname ref_withname "LABELS" 1 "ref number of layers with name in command 'XStat ${docname}'"
+    _comparewithmax withcolor ref_withcolor "LABELS" 1 "ref number of layers with color link in command 'XStat ${docname}'"
+    _comparewithmax withlayer ref_withlayer "LABELS" 1 "ref number of layers with layer link in command 'XStat ${docname}'"
+
+    _comparewithmax centroid ref_centroid "PROPS" 1 "ref number of Centroid Props in command 'XStat ${docname}'"
+    _comparewithmax volume ref_volume "PROPS" 1 "ref number of Volume Props in command 'XStat ${docname}'"
+    _comparewithmax area ref_area "PROPS" 1 "ref number of Area Props in command 'XStat ${docname}'"
+
+    _comparewithmax nbcolors ref_nbcolors "NCOLORS" 1 "ref number of colors in command 'XStat ${docname}'"
+    _comparelists colors ref_colors "COLORS" "ref colors of layers in command 'XStat ${docname}'"
+
+    _comparewithmax nblayers ref_nblayers "NLAYERS" 1 "ref number of layers in command 'XStat ${docname}'"
+    _comparelists layers ref_layers "LAYERS" "ref number of layers in command 'XStat ${docname}'"
+  } else {
+    puts " DECAF information was NOT provided by command 'XStat ${docname}'"
+  }
+}
index a4513ca182a99865f5eb6e123ed825532d0ac51d..0be1d02191efbcbf4d8ed010fdcc118a10727a51 100755 (executable)
@@ -28,7 +28,7 @@ if { ($tri != 6409 || $nod != 6195) } {
     puts "Shading problem may be, nb tri & nod"
 } 
 
-checkmaxtol result -ref 0.92213088179312575
+checkmaxtol result -tol 0.92213088179312575
 checknbshapes result -shell 1
 checkfreebounds result 265
 
index d1e0c5edd18b0be733fcf414656c0eba9de7ae52..6e2ff606c0d3ea0fe5c9acb90ae611ab16022e51 100755 (executable)
@@ -7,7 +7,7 @@ restore [locate_data_file buc60523a.brep] a
 checkshape a
 sewing result 1.e-7 a
 
-checkmaxtol result -ref 0.001
+checkmaxtol result -tol 0.001
 checknbshapes result -shell 1
 checkfreebounds result 2
 
index 85527d80c15435c28d13317ade235f19b737ddfe..f68e0343d522236b4eb828fa97e3f765cc084fe9 100755 (executable)
@@ -20,7 +20,7 @@ vdisplay result
 
 # checkshape res
 
-checkmaxtol result -ref 1.56901e+001
+checkmaxtol result -tol 1.56901e+001
 checknbshapes result -shell 2
 checkfreebounds result 115
 
index f6af859b5c9f6ac3d049de48c08067d9cdea4a31..c0e670394e557b1207cb5972dcbd8b2cc52aaefc 100755 (executable)
@@ -14,7 +14,7 @@ if { [catch {sewing result 0.01 a} catch_result] } {
     puts "Faulty ${BugNumber} : function Sewing works wrongly"
 }
 
-checkmaxtol result -ref 4.5583792019775401e-006
+checkmaxtol result -tol 4.5583792019775401e-006
 checknbshapes result -shell 1
 checkfreebounds result 28
 
index bedee931cf0e279403522cd2b76a23ba3787e735..213f9b9aa242cc2593760e2e02d09e2a7b11b514 100755 (executable)
@@ -18,7 +18,7 @@ if [catch {sewing result 0.019 shape_8h} catch_result] {
   checkshape result f
 }
 
-checkmaxtol result -ref 0.99057887669774025
+checkmaxtol result -tol 0.99057887669774025
 checknbshapes result -shell 1
 checkfreebounds result 13
 
index 9fb5d930861714c267f81eb4c4265e3e16b86ceb..921254b465f901cbc8ae5c280ede2e6d293a6526 100755 (executable)
@@ -13,7 +13,7 @@ sewing result 0.1 a
 
 checkshape result f
 
-checkmaxtol result -ref 1.0000280013370991e-005
+checkmaxtol result -tol 1.0000280013370991e-005
 checknbshapes result -shell 1
 checkfreebounds result 456
 
index 2a5c32360fab1f27779656dbbf4aa1d18cff39fb..12299e9f357535a72b023b903058c482344afeed 100755 (executable)
@@ -36,7 +36,7 @@ set nb_compsol_good 0
 set nb_compound_good 1
 set nb_shape_good 6
 
-checkmaxtol result -ref 0.0050001000000007819
+checkmaxtol result -tol 0.0050001000000007819
 checknbshapes result -shell 0
 checkfreebounds result 0
 
index a2ecd540e1a1f9f2ff6ddecc56f710877765a5e8..607f90d2cb6f890ee544f578de6ebcedbae6fdc8 100755 (executable)
@@ -25,7 +25,7 @@ Number of shapes in shape
  SHAPE     : 1762
 "
 checknbshapes result -ref ${nbshapes_expected} -t -m "sewing result"
-checkmaxtol result -ref 0.066338232054955981
+checkmaxtol result -tol 0.066338232054955981
 checkfreebounds result 12
 
 set square 1.88469e+07
index 07f49368b121f6a946fd62e3a2011151927d8580..a1f39627bbf3a0247f29fd5f7b9c6552a1c82fb2 100755 (executable)
@@ -24,7 +24,7 @@ set nb_compsol_good 0
 set nb_compound_good 1
 set nb_shape_good 1759
 
-checkmaxtol result -ref 0.066338232054955981
+checkmaxtol result -tol 0.066338232054955981
 checknbshapes result -shell 2
 checkfreebounds result 6
 
index a8cd9851325d1730be2b821791419d34c3a43ee2..a3d678d8e0554426e9db11e98b5fa22f202aceaf 100755 (executable)
@@ -24,7 +24,7 @@ set nb_compsol_good 0
 set nb_compound_good 1
 set nb_shape_good 2871
 
-checkmaxtol result -ref 0.0451323239933289
+checkmaxtol result -tol 0.0451323239933289
 checknbshapes result -shell 22
 checkfreebounds result 1031
 
index 0409d872fe13e5bc2e6f9301235cc601310513e7..39b0159d52107c756407fd872a903c2d4185f8ae 100755 (executable)
@@ -40,7 +40,7 @@ set nb_compsol_good 0
 set nb_compound_good 1
 set nb_shape_good 2737
 
-checkmaxtol result -ref 0.046734236640099257
+checkmaxtol result -tol 0.046734236640099257
 checknbshapes result -shell 18
 checkfreebounds result 926
 
index e61febf77a56edd3cff60fab3c0ab2fb4de1a009..67a6efcc72455bc78aed20ed44a5baf3ff7763c9 100755 (executable)
@@ -24,7 +24,7 @@ set nb_compsol_good 0
 set nb_compound_good 1
 set nb_shape_good 3476
 
-checkmaxtol result -ref 0.0451323239933289
+checkmaxtol result -tol 0.0451323239933289
 checknbshapes result -shell 0
 checkfreebounds result 1469
 
index 04ab6633d658b26ddc3f1523f2860a352fc29056..566705deb288c06f990c5105a45bd722288b2d7c 100755 (executable)
@@ -40,7 +40,7 @@ set nb_compsol_good 0
 set nb_compound_good 1
 set nb_shape_good 2737
 
-checkmaxtol result -ref 0.046734236640099257
+checkmaxtol result -tol 0.046734236640099257
 checknbshapes result -shell 18
 checkfreebounds result 926
 
index 441e8ba1c4a822a8d6add37626f2ff0f04cb5efd..1df67c24fa93c2deb5eccf27e15309549bb81faf 100755 (executable)
@@ -28,7 +28,7 @@ set nb_compsol_good 0
 set nb_compound_good 1
 set nb_shape_good 6
 
-checkmaxtol result -ref 0.0050001000000007819
+checkmaxtol result -tol 0.0050001000000007819
 checknbshapes result -shell 0
 checkfreebounds result 0
 
index 09ba68c2a3a3d17ab2b4ea3921de9af816a83d23..4a839199b8e9b59891111d9dfc4b8f20465c9c02 100755 (executable)
@@ -28,7 +28,7 @@ set nb_compsol_good 0
 set nb_compound_good 1
 set nb_shape_good 7
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 0
 checkfreebounds result 0
 
index 02fb639e0a6d75958fb63ff034166b699854c9c3..d8b0117cf11ec6fda665990f5d81d807872f9d1d 100755 (executable)
@@ -27,7 +27,7 @@ set nb_compsol_good 0
 set nb_compound_good 0
 set nb_shape_good 13
 
-checkmaxtol result -ref 1.5
+checkmaxtol result -tol 1.5
 checknbshapes result -shell 1
 checkfreebounds result 0
 
index 15d02450d43c9e43d8675d27566bb1316f23078f..385b6fdddf3e9568155decb1e4101222c09d0580 100755 (executable)
@@ -27,7 +27,7 @@ set nb_compsol_good 0
 set nb_compound_good 1
 set nb_shape_good 21
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 0
 checkfreebounds result 8
 
index c485ecb4f9e537dd85602bf57eb58c1eb0d75450..f24160adcb64c69ecf141ecf7d25f7abb63eef02 100755 (executable)
@@ -36,7 +36,7 @@ set nb_compsol_good 0
 set nb_compound_good 1
 set nb_shape_good 7
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 0
 checkfreebounds result 0
 
index e33b67d66071514b1c71f2aeff788ac655497e42..db2e3eaa827c078e3c9ee56a52b305f665510401 100755 (executable)
@@ -27,7 +27,7 @@ set nb_compsol_good 0
 set nb_compound_good 0
 set nb_shape_good 13
 
-checkmaxtol result -ref 1.5
+checkmaxtol result -tol 1.5
 checknbshapes result -shell 1
 checkfreebounds result 0
 
index 386a9f01a6ff98ed19baae3d8006af7c3de48721..58e554cfa7ddb3111ddcda2e6197e08141201263 100755 (executable)
@@ -27,7 +27,7 @@ set nb_compsol_good 0
 set nb_compound_good 1
 set nb_shape_good 29
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 10
 
index b1670748b061d8f2ea7a72601e1539c8fb3295ef..3751804a82c4514edca5934803368002bdec3cd0 100755 (executable)
@@ -27,7 +27,7 @@ set nb_compsol_good 0
 set nb_compound_good 0
 set nb_shape_good 25
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 6
 
index 234e5efb51573b1abbc8c36ff0e36f5ac3d17d58..0f6e901d69c610c38264ee00f9170cfc2c8d21f6 100755 (executable)
@@ -25,7 +25,7 @@ set nb_compsol_good 0
 set nb_compound_good 1
 set nb_shape_good 1756
 
-checkmaxtol result -ref 0.080878557461246572
+checkmaxtol result -tol 0.080878557461246572
 checknbshapes result -shell 2
 checkfreebounds result 0
 
index 8aa198749140c36574a6cd6e3ad253e025601afc..321c7ca6cc844ed3a925b3f1cb59b8e609cffe1e 100755 (executable)
@@ -27,7 +27,7 @@ set nb_compsol_good 0
 set nb_compound_good 1
 set nb_shape_good 1759
 
-checkmaxtol result -ref 0.080878557461246572
+checkmaxtol result -tol 0.080878557461246572
 checknbshapes result -shell 2
 checkfreebounds result 0
 
index 9e449ac87a953bc498c3870e185b203d751a1482..f33ebef5c040fafa4380246d57b228e51ffb1a36 100755 (executable)
@@ -27,7 +27,7 @@ set nb_compsol_good 0
 set nb_compound_good 1
 set nb_shape_good 1761
 
-checkmaxtol result -ref 0.080878557461246572
+checkmaxtol result -tol 0.080878557461246572
 checknbshapes result -shell 2
 checkfreebounds result 6
 
index c9d22bbdef8c03d350b5e8183cf4b13c4c33f9da..839ed17c704b861aa3288cd66b061332f4d50946 100755 (executable)
@@ -27,7 +27,7 @@ set nb_compsol_good 0
 set nb_compound_good 1
 set nb_shape_good 1759
 
-checkmaxtol result -ref 0.080878557461246572
+checkmaxtol result -tol 0.080878557461246572
 checknbshapes result -shell 2
 checkfreebounds result 0
 
index 2fae19537feb29f814d0da20c4ef4082cffa0afa..f9858a7df19b69a3fe5b7749349e099f1dcf94f7 100755 (executable)
@@ -25,7 +25,7 @@ set nb_compsol_good 0
 set nb_compound_good 1
 set nb_shape_good 1762
 
-checkmaxtol result -ref 0.080645000662448688
+checkmaxtol result -tol 0.080645000662448688
 checknbshapes result -shell 2
 checkfreebounds result 9
 
index 7801eac050caee485952292c69550b27c56dd42a..5c8cc7c6d8195d6fc594c731d9fab26e6c9f72e1 100755 (executable)
@@ -25,7 +25,7 @@ set nb_compsol_good 0
 set nb_compound_good 1
 set nb_shape_good 1756
 
-checkmaxtol result -ref 0.080878557461246572
+checkmaxtol result -tol 0.080878557461246572
 checknbshapes result -shell 2
 checkfreebounds result 0
 
index b25fbd2250cdc375fbcd1678555970b11eaeffcd..aa6cee5aed7c4b9ebf3b15bdaaf55e8961fc8862 100755 (executable)
@@ -25,7 +25,7 @@ set nb_compsol_good 0
 set nb_compound_good 1
 set nb_shape_good 3476
 
-checkmaxtol result -ref 0.0451323239933289
+checkmaxtol result -tol 0.0451323239933289
 checknbshapes result -shell 0
 checkfreebounds result 1469
 
index 71ea3bb01a993f667fc8056f74574822d992202f..09c481a6b7209b51653ac1d2d915c2191f5d1613 100755 (executable)
@@ -33,7 +33,7 @@ set nb_compsol_good 0
 set nb_compound_good 0
 set nb_shape_good 13
 
-checkmaxtol result -ref 1.5
+checkmaxtol result -tol 1.5
 checknbshapes result -shell 1
 checkfreebounds result 0
 
index bb7b14d9051b3f662e176b8c6ff1b804cbd0b24e..b379b0475b6fa6d55badb96de0cd41f9ef61c20a 100755 (executable)
@@ -25,7 +25,7 @@ set nb_compsol_good 0
 set nb_compound_good 1
 set nb_shape_good 1756
 
-checkmaxtol result -ref 0.080878557461246572
+checkmaxtol result -tol 0.080878557461246572
 checknbshapes result -shell 2
 checkfreebounds result 0
 
index 1dca813407dbcff59246aa8b09dc439400afc0e7..aae365bfa0d082d830a2e85257f5eff88dd260fa 100755 (executable)
@@ -25,7 +25,7 @@ set nb_compsol_good 0
 set nb_compound_good 1
 set nb_shape_good 21
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 0
 checkfreebounds result 8
 
index 8bfb84aaa3ebdbdd30aa987d267de2e05ee5c2ae..d2e128f8c1e027014c4318b76a7e998b83682225 100755 (executable)
@@ -25,7 +25,7 @@ set nb_compsol_good 0
 set nb_compound_good 0
 set nb_shape_good 13
 
-checkmaxtol result -ref 1.5
+checkmaxtol result -tol 1.5
 checknbshapes result -shell 1
 checkfreebounds result 0
 
index ce982de4e2e6050d1cac4c5e16b8ec8a9cec4f92..4c5b48168e7ba5c3d43cc1d0dc91b8095a59240a 100755 (executable)
@@ -25,7 +25,7 @@ set nb_compsol_good 0
 set nb_compound_good 1
 set nb_shape_good 29
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 10
 
index e9a86d1d852b8449acd8777747131e912ca0b974..445543bfbf13053f65caebdd613bd24300b20f2d 100755 (executable)
@@ -25,7 +25,7 @@ set nb_compsol_good 0
 set nb_compound_good 0
 set nb_shape_good 25
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 6
 
index 9356ae57d169d2663eea98e67b673827bc201034..ae885a612e21ad180ebea5b61bba172c6e0b4412 100755 (executable)
@@ -26,7 +26,7 @@ set nb_compsol_good 0
 set nb_compound_good 1
 set nb_shape_good 1761
 
-checkmaxtol result -ref 0.066338232054955981
+checkmaxtol result -tol 0.066338232054955981
 checknbshapes result -shell 2
 checkfreebounds result 6
 
index 1483719976fd0d613a5e8cc17f5a4e4b95190f37..d5c8571e5224dfb59989994e0b2fa6104c969d8d 100755 (executable)
@@ -24,7 +24,7 @@ set nb_compsol_good 0
 set nb_compound_good 1
 set nb_shape_good 1759
 
-checkmaxtol result -ref 0.066338232054955981
+checkmaxtol result -tol 0.066338232054955981
 checknbshapes result -shell 2
 checkfreebounds result 6
 
index d9b48336bb1cc1730689ae5415aa674457f873e2..6bbd67e7793091e25f4346102095c16b427d9004 100755 (executable)
@@ -53,7 +53,7 @@ if { ${IsOk}  == 0 } {
    puts "${BugNumber}: OK"
 }
 
-checkmaxtol result -ref 2279.641703013865
+checkmaxtol result -tol 2279.641703013865
 checknbshapes result -shell 1
 checkfreebounds result 5
 
index b0b3d014070550133d32c9b41c0b3c977c9ebd92..97893922379549c591384dd6b8e809d53be17510 100755 (executable)
@@ -24,7 +24,7 @@ set nb_compsol_good 0
 set nb_compound_good 0
 set nb_shape_good 19
 
-checkmaxtol result -ref 1.6856648382486999e-005
+checkmaxtol result -tol 1.6856648382486999e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 
index 992eee7cbda20d1d2465f6c2c3f4c88635475b46..e389043c2384612f4d47c8972ff3907d097eb3e2 100755 (executable)
@@ -24,7 +24,7 @@ set y_coord 232
 
 checkcolor $x_coord $y_coord 1 1 0
 
-checkmaxtol result -ref 1.0001007808605688e-007
+checkmaxtol result -tol 1.0001007808605688e-007
 checknbshapes result -shell 1
 checkfreebounds result 6
 
index 1c459de3a471eedd551d29e3c3f111d7e138a67d..20262ade7e087062ebf9ebd363824ddf4b317b5b 100755 (executable)
@@ -32,7 +32,7 @@ if { [catch { offsetshape result rthru2 -0.5 rthru2_3 rthru2_4 } catch_result] }
    puts "Faulty ${BugNumber} : offsetshape is wrong"
 }
 
-checkmaxtol result -min_tol 1.
+checkmaxtol result -max_tol 1.
 
 set square 981.941
 
index 6db13931f9f425567ee4ae23ca499af582d1f655..15db813ff8392fdb127f3d46db9c022831e80464 100755 (executable)
@@ -28,7 +28,7 @@ if { [catch { offsetshape result rthru2 -0.5 rthru2_2 rthru2_3 } catch_result] }
    puts "Faulty ${BugNumber} : offsetshape is wrong"
 }
 
-checkmaxtol result -min_tol 1.
+checkmaxtol result -max_tol 1.
 
 set square 982.254
 
index f262fc146b1cfe19baa8036936a39a5e7081423b..a464cf3bd4b1cde9668b858e77819930694734be 100755 (executable)
@@ -25,7 +25,7 @@ if { [catch { offsetshape result a -1 a_6 } catch_result] } {
    puts "Faulty ${BugNumber} : offsetshape is wrong"
 }
 
-checkmaxtol result -min_tol 1.
+checkmaxtol result -max_tol 1.
 
 set square 1185.03
 
index 731cff9d0fb6b9355810e497844e1096eeb22f87..63a556ada32ac694994c41dc6d22291fa1f96e59 100755 (executable)
@@ -31,7 +31,7 @@ if { [catch { offsetperform result } catch_result] } {
    puts "Faulty ${BugNumber} : offsetshape is wrong"
 }
 
-checkmaxtol result -min_tol 1.
+checkmaxtol result -max_tol 1.
 
 set square 1185.03
 
index c6135a3b82146d06df475f05a9022a630dac49e2..9612f2c297d50c49e5a3c17435a1c07ffe5b9b61 100755 (executable)
@@ -26,7 +26,7 @@ if { [catch { offsetperform result } catch_result] } {
    puts "Faulty ${BugNumber} : offsetshape is wrong"
 }
 
-checkmaxtol result -min_tol 1.
+checkmaxtol result -max_tol 1.
 
 set square 876.584
 
index cf9940f35c15cb2eb43ca0c5b154049c41184d55..1c21d41e781f6e4366f7525d6d1ba12f618fa787 100755 (executable)
@@ -21,7 +21,7 @@ if { [catch { offsetshape result a -1 } catch_result] } {
    puts "Faulty ${BugNumber} : offsetshape is wrong"
 }
 
-checkmaxtol result -min_tol 1.
+checkmaxtol result -max_tol 1.
 
 set square 876.584
 
index eafe5fa7e32145410cd1d7db2e1ebb6cb660600b..9b61a94ded8767de1d404aae8af0f84ac6b48088 100755 (executable)
@@ -29,7 +29,7 @@ if { [catch { offsetshape result resthru -0.5 resthru_6 resthru_7 } catch_result
    puts "Faulty ${BugNumber} : offsetshape is wrong"
 }
 
-checkmaxtol result -min_tol 1.
+checkmaxtol result -max_tol 1.
 
 set square 1116.06
 
index 5ca495f36fab92aaa1d4a501895b42a35b34d9a7..d7f94e56e67c25ede2e2f5d70a123f6ead296b28 100755 (executable)
@@ -29,7 +29,7 @@ if { $ve1 != $ve2 || $ed1 != $ed2 || $we1 != $we2} {
     puts "OK OCC714: SEWING operation was made PROPERLY"
 }
 
-checkmaxtol result -ref 0.25619311354638169
+checkmaxtol result -tol 0.25619311354638169
 checknbshapes result -shell 1
 checkfreebounds result 0
 
index 424f5e7e2901d93b66c745ad22bb7892a8855f92..d9a8f611a3c76c0cc15276b27c5af44f4b57e3e4 100644 (file)
@@ -29,7 +29,7 @@ if { [regexp "Progress:" $List2] != 1 } {
     puts "Mode +t works properly"
 }
 
-checkmaxtol result -ref 1.0000280013370991e-005
+checkmaxtol result -tol 1.0000280013370991e-005
 checknbshapes result -shell 1
 checkfreebounds result 456
 
index 4533e36ed2b2374d3a78d27a7021dc4fedc725c3..13245b22cfa67c0585ac5e9577de9713e64b26e1 100755 (executable)
@@ -14,7 +14,7 @@ explode v
 sewing result 0.01 v_1 v_2
 
 checkshape result
-checkmaxtol result -ref 6.7739238740616194e-005 -source {v_1 v_2} -min_tol 1.e-4
+checkmaxtol result -tol 6.7739238740616194e-005 -source {v_1 v_2} -max_tol 1.e-4
 checknbshapes result -shell 1
 checkfreebounds result 8
 
index 02c063df6a52b33d56f1e19d1122c01bdf1bed55..1182cb6566f5cc4244760746adc7fbe7e7e0b43d 100755 (executable)
@@ -16,9 +16,9 @@ set CMP_TOL 1.e-6
 
 # 1
 checkshape aa
-checkmaxtol aa -min_tol ${CMP_TOL}
+checkmaxtol aa -max_tol ${CMP_TOL}
 
 # 2
 checkshape bb
-checkmaxtol bb -min_tol ${CMP_TOL}
+checkmaxtol bb -max_tol ${CMP_TOL}
 
index 446602e6cbd4fc9b2410203699dc41ba68cde0f4..c91199d98642e45f63ac0c9931cfe26bbfb343a9 100644 (file)
@@ -14,7 +14,7 @@ explode v
 sewing result 0.00001 v_1 v_2
 
 checkshape result
-checkmaxtol result -ref 1.0000002593655894e-007 -source {v_1 v_2} -min_tol 1.e-4
+checkmaxtol result -tol 1.0000002593655894e-007 -source {v_1 v_2} -max_tol 1.e-4
 checknbshapes result -shell 1
 checkfreebounds result 2
 
index 6caa52ed3b069c4a6dde1155eafaadddd0ad8aa5..5cf8f08cf4e6445c40b4dda1ee941089f4ef98c1 100644 (file)
@@ -14,7 +14,7 @@ explode a
 sewing result 0.1 a_1 a_2
 
 checkshape result
-checkmaxtol result -ref 0.076388434959049206 -source {a_1 a_2}
+checkmaxtol result -tol 0.076388434959049206 -source {a_1 a_2}
 checknbshapes result -shell 1
 checkfreebounds result 12
 
index 314cd18d1eed1ab88e8ad0353a3db6d59fa5be70..1a3f1bab15c90c45b84a6f7d638db825ef7658c2 100644 (file)
@@ -13,7 +13,7 @@ restore [locate_data_file  bug24174_stitch.brep] a
 sewing result 0.1 a
 
 checkshape result
-checkmaxtol result -ref 0.58022137281123598 -source {a}
+checkmaxtol result -tol 0.58022137281123598 -source {a}
 checknbshapes result -shell 1
 checkfreebounds result 9
 
index fe0fb6297000986a49000882e4e7c2f8a9b4e0a5..8b1edb208a01ccaf3fcaf7e31507dad41da65571 100755 (executable)
@@ -18,7 +18,7 @@ restore [locate_data_file bug24390_face_5.brep] f6
 sewing result f1 f2 f3 f4 f5 f6
 
 checkshape result
-checkmaxtol result -ref 2.0535401727466399e-005 -source {f1 f2 f3 f4 f5 f6} -min_tol 0 -multi_tol 5.
+checkmaxtol result -tol 2.0535401727466399e-005 -source {f1 f2 f3 f4 f5 f6} -max_tol 0 -multi_tol 5.
 checknbshapes result -shell 1
 checkfreebounds result 0
 
index 5d9005ab26c115b6aa19aeb7fedf187900c41840..0d239ea5c596ae024185efbf7f177e41014787df 100755 (executable)
@@ -14,7 +14,7 @@ restore [locate_data_file bug24390_face2.brep] f2
 sewing result f1 f2
 
 checkshape result
-checkmaxtol result -ref 0.016556973295771653 -source {f1 f2} -min_tol 0 -multi_tol 5.
+checkmaxtol result -tol 0.016556973295771653 -source {f1 f2} -max_tol 0 -multi_tol 5.
 checknbshapes result -shell 1
 checkfreebounds result 6
 
index ac3242f50afee4246ac29c005e6b6db28c2d00ac..e719c6cf0ad0309f03a1918a27ce9aed982134eb 100755 (executable)
@@ -132,10 +132,10 @@ donly sr2
 fit
 xwd $imagedir/${test_image}_2.png
 
-checkmaxtol sr1 -ref 1.0000000015308085e-007
+checkmaxtol sr1 -tol 1.0000000015308085e-007
 checknbshapes sr1 -shell 1
 checkfreebounds sr1 2
 
-checkmaxtol sr2 -ref 1.0000000015308085e-007
+checkmaxtol sr2 -tol 1.0000000015308085e-007
 checknbshapes sr2 -shell 1
 checkfreebounds sr2 0
index 08ef7fad3838176977fff7dc7eb8c95e4d0037ae..3c43f2ee193658526465fe151f8891fa2520ed9c 100644 (file)
@@ -12,7 +12,7 @@ igesread [locate_data_file bug25175_3.igs] a *
 
 sewing result 0.1 a
 
-checkmaxtol result -ref 0.21794517334615857
+checkmaxtol result -tol 0.21794517334615857
 checknbshapes result -shell 1
 checkfreebounds result 0
 
index 9c337a48186b70bdb6674ced6ca1c2f114edfc10..ff8fad0a06324a21410226fb029b1b1ab4a7daf9 100644 (file)
@@ -16,7 +16,7 @@ bsection result a b
 
 # result should be single open edge with length 0.125
 checknbshapes result -vertex 2 -edge 1
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 
 if { [regexp {Mass\s*:\s*([0-9.e+-]*)} [lprops result] dummy length] } {
   checkreal "Length of the section" $length 0.125 0.0001 0.1
index 2b0c4abd17e95be70c5fe3a5856f68cf5e869d72..f918bbb164b5eb520d60847c0772c65229d125b9 100755 (executable)
@@ -10,7 +10,7 @@ checkshape sh
 sewing result 1 sh
 checkshape result
 
-checkmaxtol result -ref 0.0030000000000000001
+checkmaxtol result -tol 0.0030000000000000001
 checknbshapes result -shell 1
 checkfreebounds result 0
 
index fbbd95c86e0cd6a206a76397a206bd2aaafcbd0d..75890380124578438158f3cb3da6ccc1f37e6938 100755 (executable)
@@ -45,7 +45,7 @@ if { ${status} != 0 } {
   puts "OK ${BugNumber}"
 }
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 0
 checkfreebounds result 2
 
index 13769cdbcb0e5046f930cd4d4b7d4685c7e50574..cce862a633d3b85befdc7356c6a1d1a5fbb82abf 100755 (executable)
@@ -44,7 +44,7 @@ if { ${status} != 0 } {
   puts "OK ${BugNumber}"
 }
 
-checkmaxtol result -ref 1.0000006355287399e-007
+checkmaxtol result -tol 1.0000006355287399e-007
 checknbshapes result -shell 1
 checkfreebounds result 8
 
index ed28df85ac044bbae60469a3bfb530c46c04bd9a..251875a3714f5d18ef71e72b311daca03928430a 100755 (executable)
@@ -45,7 +45,7 @@ if { ${status} != 0 } {
   puts "OK ${BugNumber}"
 }
 
-checkmaxtol result -ref 4.8601049330873404e-006
+checkmaxtol result -tol 4.8601049330873404e-006
 checknbshapes result -shell 1
 checkfreebounds result 5
 
index 223047328fccdf4738a8491cb1f487bd9780a218..5c77683d1c33ad9c11b0331a2f4e2b6ba35a1c23 100755 (executable)
@@ -14,7 +14,7 @@ if [catch { sewing result a } catch_result] {
     puts "OCC326 OK: Sewing is ok, there is no except"
 }
 
-checkmaxtol result -ref 411.37576056225498
+checkmaxtol result -tol 411.37576056225498
 checknbshapes result -shell 1
 checkfreebounds result 254
 
index 59ea0b843d8d639bbbc03e38b9b90a6d03ddb5d2..9bde7e31d91774d17738690f71c75909c3bfd3b5 100755 (executable)
@@ -18,7 +18,7 @@ if [catch {igesbrep $filepath a *} catch_result] {
     #
     sewing result1 100. a
 
-    checkmaxtol result1 -ref 9.43897e+001
+    checkmaxtol result1 -tol 9.43897e+001
     checknbshapes result1 -shell 1
     checkfreebounds result1 86
 
@@ -71,7 +71,7 @@ if [catch {igesbrep $filepath a *} catch_result] {
         tpcompound a
        sewing result2 100. a
 
-        checkmaxtol result2 -ref 9.43897e+001
+        checkmaxtol result2 -tol 9.43897e+001
         checknbshapes result2 -shell 1
         checkfreebounds result2 86
 
index b9631a83285a49b302376f4da6dd28b467b73c85..90df093d99108c600e8cd29e9c1c5481a119f626 100755 (executable)
@@ -24,7 +24,7 @@ if [catch { igesbrep $filepath a * } res] {
        puts "Elapsed time is less then 30 seconds - OK"      
     }
 
-    checkmaxtol result -ref 0.96087447225733291
+    checkmaxtol result -tol 0.96087447225733291
     checknbshapes result -shell 13
     checkfreebounds result 1247
 }
index ec6066b4ad19989615a6d1fee7bcc31c1d122654..3d9fdf45f225a09ec5e3a9ceeb0e967cb9c66228 100755 (executable)
@@ -34,7 +34,7 @@ if { [llength $closed_wires] != 1} {
    puts "Error : Amount of free closed wires is not equal 1"
 }
 
-checkmaxtol result -ref 9.43897e+001
+checkmaxtol result -tol 9.43897e+001
 checknbshapes result -shell 1
 checkfreebounds result 86
 
index 764de86d876d307ac08a7da3e7ae8f6ae3f6b9f1..35c4b3806acb7d5e8e31d0fa5a4392dec95cb5a3 100644 (file)
@@ -18,7 +18,7 @@ if [catch { igesbrep $filepath a *} result] {
        puts " BUC60898 OK: function SEWING works without except"
     }
 
-    checkmaxtol result -ref 0.077930308575156593
+    checkmaxtol result -tol 0.077930308575156593
     checknbshapes result -shell 4
     checkfreebounds result 1725
 
index 61bc67232275e11b143e699f8f866c6a2aa299d8..2679d7ecf593e8b4e262d02986a236ac53d83a2b 100644 (file)
@@ -12,7 +12,7 @@ restore [locate_data_file bug24065_e.brep] e
 # 1
 set CMP_TOL 1.e-7
 
-checkmaxtol f -min_tol ${CMP_TOL}
+checkmaxtol f -max_tol ${CMP_TOL}
 
 mksurface s f
 mkcurve c e
index 7e5554d7a16bcdf824a0d6437fb1c33add33e750..a4ce084bcc58efc26cd9a05d3340c789648646a3 100755 (executable)
@@ -62,7 +62,7 @@ if { ${square2} != ${square1} } {
    puts "Error : Square is not valid"
 }
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 0
 checkfreebounds result 2
 
index 39823aec372375c0fee4656eb6677ef1c7afec26..fd1f52df617b7a798a3fce329e4717456acb05f6 100755 (executable)
@@ -29,7 +29,7 @@ if { ${face2} > ${face1} || ${edge2} > ${edge1} || ${vert2} > ${vert1} } {
     puts "Tolerance valed. Function FixShape works CORRECTLY"
 }
 
-checkmaxtol result -ref 1.59071e+000
+checkmaxtol result -tol 1.59071e+000
 checknbshapes result -shell 1
 checkfreebounds result 227
 
index 139ffe351f066fed2c313635094fd6adf6332184..d7c0aa7b8cdec039652bf7ceb96f1efdc15b418e 100755 (executable)
@@ -21,7 +21,7 @@ if { ${res_faces} != ${good_faces} } {
     puts "Faulty ${BugNumber}"
 }
 
-checkmaxtol result -ref 185.91005891234283
+checkmaxtol result -tol 185.91005891234283
 checknbshapes result -shell 1
 checkfreebounds result 73
 
index 6a2b407be7d30c08c363ccdd3d536aa0fbb28c7f..e66c1cba8632c1044265610b77dbc1ccbe17471e 100755 (executable)
@@ -15,7 +15,7 @@ set tolerance 1.00000e-07
 sewing result ${tolerance} a
 
 checkshape result
-checkmaxtol result -ref 1.0021647610996499e-005
+checkmaxtol result -tol 1.0021647610996499e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 
index 7361dfdaa251434765688c9de05016a67fe4e0de..12b934ceb6f8cb573fe565dbc2cc19d5b3ad19d9 100755 (executable)
@@ -20,7 +20,7 @@ if {[llength ${list}] > 4} {
    puts "Faulty OCC859: here is sewing problem"
 }
 
-checkmaxtol result -ref 0.00025118948696105701
+checkmaxtol result -tol 0.00025118948696105701
 checknbshapes result -shell 1
 checkfreebounds result 6
 
index c36d6ecab8923905a1532b4b8a488177c62e2671..406b71e6b0bc85052dca5f2756034f2d3faaf74c 100644 (file)
-# 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 file
-# - check transfer status, shape, and attributes against expected values
-# - write data to 
-
-# Set flag dump_file to 1 in order to regenerate script files with actual data
-# used as reference. In this mode all tests intentionaly report failure. 
-set dump_file 0
-########################################################################
-set mist_Second 0; set mist_w 0; set mist 0; set isIGES 0;
-############################################ DATA c  ################
-set dfal_First 0; set dwar_First 0; set dcomp_First 0
-set dfal_Second 0; set dwar_Second 0; set dcomp_Second 0
-############################################# TPSTAT c  ##############
-set fal_First 0; set war_First 0; set comp_First 0
-set fal_Second 0; set war_Second 0; set comp_Second 0
-###################################### DECAF information ##########
-set nblev0_First 0; set nblev1_First 0; set nblev2_First 0; set nblev_total_First 0; set nbshname_First 0;
-set nbshcolor_First 0; set nbshlayer_First 0;
-set nbcentroid_First 0; set nbvolume_First 0; set nbarea_First 0;
-set nbcolor_First 0; set colors_First ""; set nblayer_First 0; set layers_First "";
-set nblev0_Second 0; set nblev1_Second 0; set nblev2_Second 0; set nblev_total_Second 0; set nbshname_Second 0;
-set nbshcolor_Second 0; set nbshlayer_Second 0;
-set nbcentroid_Second 0; set nbvolume_Second 0; set nbarea_Second 0;
-set nbcolor_Second 0; set colors_Second ""; set nblayer_Second 0; set layers_Second "";
-############################################# TOLERANCE ############
-set MaxTol_First 0; set AvgTol_First 0
-set MaxTol_Second 0; set AvgTol_Second 0
-############################################# STATSHAPE ############
-set sol_First 0; set she_First 0; set fac_First 0; set fwir_First 0; set fedg_First 0; set sedg_First 0
-set sol_Second 0; set she_Second 0; set fac_Second 0; set fwir_Second 0; set fedg_Second 0; set sedg_Second 0
-############################################# NBSHAPES #############
-set fa_First 0; set sh_First 0; set so_First 0; set co_First 0; set shpp_First 0
-set fa_Second 0; set sh_Second 0; set so_Second 0; set co_Second 0; set shpp_Second 0
-###################################### CHECKSHAPE ##################
-set chwi_First 0; set chfa_First 0; set chsh_First 0; set chso_First 0
-set chwi_Second 0; set chfa_Second 0; set chsh_Second 0; set chso_Second 0
-###################################################################
-set ref_Compare 0
-set todo_msg ""
-set todo_mask "puts \"TODO CR23096 ALL: "
-set Mandriva_todo_mask "puts \"TODO CR23096 ALL:"
-set end_line "\" \n"
-##################################################################
-
-# Read original file
-if { [string length $filename] > 1} {
-    set ext [file extension $filename]
-    set ReadCommand ReadStep
-    set WriteCommand WriteStep
-    set isIGES 0
-    if { $ext == ".igs" || $ext == ".iges" }  {
-        set ReadCommand ReadIges
-        set WriteCommand WriteIges
-        set isIGES 1
-    }
-    if {[info exist ProductMode] && $ProductMode == "OFF"} {
-       set tmp [param read.step.product.mode OFF]
-    }
-    set path_file [locate_data_file $filename]
-    if { [catch { $ReadCommand D_First $path_file } catch_result] } {
-        set err_msg "Error: First - file was not read - exception "
-       puts $err_msg
-       append todo_msg $todo_mask $err_msg $end_line
-        set mist 1
-    }
-
-} else {
-  set mist 1
-}
-
-# Get information about translation
-if { $mist < 1} {           
-    puts ""
-   
-    set tps_2 [data c]
-    if { [llength $tps_2] > 0 } {
-       # Finding all strings with warnings
-       set a [regexp -all -inline {[\t ]+([-0-9.+eE]+)[\t ]+W:} $tps_2]
-       # Extracting counts of warnings
-       set b [regexp -all -inline {([-0-9.+eE]+)} $a]
-       # Calculating total number of warnings 
-       foreach i $b {set dwar_First [expr $dwar_First + $i]}
-       set dwar_First [expr $dwar_First/4]
-
-       # Finding all strings with faulties
-       set a [regexp -all -inline {[\t ]+([-0-9.+eE]+)[\t ]+F:} $tps_2]
-       # Extracting counts of faulties
-       set b [regexp -all -inline {([-0-9.+eE]+)} $a]
-       # Calculating total number of faulties 
-       foreach i $b {set dfal_First [expr $dfal_First + $i]}
-       set dfal_First [expr $dfal_First/4]
-       # Calculating total number of faulties and warnings
-       set dcomp_First [expr $dfal_First + $dwar_First]
-
-    } else {
-       puts " DATA c checking was NOT provided"
-    }
-
-    puts ""
-    set tps_1 [tpstat c]
-    set colvo [llength $tps_1]
-    if { ${colvo} > 0 } {
-       # Finding all strings with warnings
-       set a [regexp -all -inline {[\t ]+([-0-9.+eE]+)[\t ]+W:} $tps_1]
-       # Extracting counts of warnings
-       set b [regexp -all -inline {([-0-9.+eE]+)} $a]
-       # Calculating total number of warnings 
-       foreach i $b {set war_First [expr $war_First + $i]}
-       set war_First [expr $war_First/4]
-
-       # Finding all strings with faulties
-       set a [regexp -all -inline {[\t ]+([-0-9.+eE]+)[\t ]+F:} $tps_1]
-       # Extracting counts of faulties
-       set b [regexp -all -inline {([-0-9.+eE]+)} $a]
-       # Calculating total number of faulties 
-       foreach i $b {set fal_First [expr $fal_First + $i]}
-       set fal_First [expr $fal_First/4]
-       # Calculating total number of faulties and warnings
-       set comp_First [expr $fal_First + $war_First]
-       
-
-    } else {
-       puts " TPSTAT c checking was NOT provided"
-    } 
-    
-    # Get DECAF information about (color, layers and properties)
-    puts ""
-   
-    set xst [ XStat D_First ] 
-
-    if { [llength $xst] > 0 } {
-       regexp {level +N +0 +: +([-0-9.+eE]+)} $xst full nblev0_First    
-       regexp {level +N +1 +: +([-0-9.+eE]+)} $xst full nblev1_First
-       regexp {level +N +2 +: +([-0-9.+eE]+)} $xst full nblev2_First
-       regexp {Total +number +of +labels +for +shapes +in +the +document += +([-0-9.+eE]+)} $xst full nblev_total_First
-       regexp {Number +of +labels +with +name += +([-0-9.+eE]+)} $xst full nbshname_First
-       regexp {Number +of +labels +with +color +link += +([-0-9.+eE]+)} $xst full nbshcolor_First
-       regexp {Number +of +labels +with +layer +link += +([-0-9.+eE]+)} $xst full nbshlayer_First
-       regexp {Number +of +Centroid Props += +([-0-9.+eE]+)} $xst full nbcentroid_First
-       regexp {Number +of +Volume Props += +([-0-9.+eE]+)} $xst full nbvolume_First
-       regexp {Number +of +Area Props += +([-0-9.+eE]+)} $xst full nbarea_First
-       regexp {Number +of +colors += +([-0-9.+eE]+)} $xst full nbcolor_First
-       regexp {Number +of +colors += +[-0-9.+eE]+\n([^\n]*)} $xst full colors_First
-       regexp {Number +of +layers += +([-0-9.+eE]+)} $xst full nblayer_First
-       regexp {Number +of +layers += +[-0-9.+eE]+\n([^\n]*)} $xst full layers_First
-    } else {
-       puts " DECAF information was NOT provided"
-    }
-
-    # Get shape for standard analysis
-    puts ""
-    if { [catch { XGetOneShape res_1 D_First } catch_result] } {
-               set err_msg "Error : First - cannot get shape from document - exception"
-       puts $err_msg
-       append todo_msg $todo_mask $err_msg $end_line
-               set mist 1
-    }
-    if { $mist < 1 && [info exists res_1] == 0 } {
-       set err_msg "Error : First - cannot read any relevant data from the file"
-       puts $err_msg
-       append todo_msg $todo_mask $err_msg $end_line
-       set mist 1
-    }
-
-   
-    if { $mist < 1 } {
-       # Standard analysis
-       puts ""
-
-       set tol [tolerance res_1]
-         
-       if { [llength $tol] > 0 } {
-           regexp {Tolerance +MAX=([-0-9.+eE]+) +AVG=([-0-9.+eE]+) +MIN=[-0-9.+eE]+} $tol full MaxTol_First AvgTol_First
-       } else {
-           puts " TOLERANCE checking was NOT provided"
-       }
-       
-       puts ""
-       
-       set tps_3 [ statshape res_1] 
-       set col [llength $tps_3]
-       if { ${col} > 0 } {
-           regexp {([-0-9.+eE]+)\t+ +EDGE \(Free\)} $tps_3 full fedg_First
-           regexp {([-0-9.+eE]+)\t+ +EDGE \(Shared\)} $tps_3 full sedg_First
-           regexp {([-0-9.+eE]+)\t+ +WIRE \(Free\)} $tps_3 full fwir_First
-           regexp {([-0-9.+eE]+)\t+ +FACE} $tps_3 full fac_First
-           regexp {([-0-9.+eE]+)\t+ +SHELL} $tps_3 full she_First
-           regexp {([-0-9.+eE]+)\t+ +SOLID} $tps_3 full sol_First
-       } else {
-           puts " STATSHAPE checking was NOT provided"
-       } 
-       puts ""
-       
-
-       set nbs [ nbshapes res_1]
-       if { [llength ${nbs}] > 0 } {
-           regexp {FACE +: +([-0-9.+eE]+)} $nbs full fa_First
-           regexp {SHELL +: +([-0-9.+eE]+)} $nbs full sh_First
-           regexp {SOLID +: +([-0-9.+eE]+)} $nbs full so_First
-            regexp {COMPOUND +: +([-0-9.+eE]+)} $nbs full co_First
-           regexp {SHAPE +: +([-0-9.+eE]+)} $nbs full shpp_First
-       } else {
-           puts " NBSHAPES checking was NOT provided"
-       } 
-       
-
-       set chbr [checkshape res_1 ff]
-       if { [llength ${chbr}] > 0 } {
-           regexp {WIRE\t+: +([-0-9.+eE]+).+} $chbr full chwi_First
-           regexp {FACE\t+: +([-0-9.+eE]+).+} $chbr full chfa_First
-           regexp {SHELL\t+: +([-0-9.+eE]+).+} $chbr full chsh_First
-           regexp {SOLID\t+: +([-0-9.+eE]+).+} $chbr full chso_First
-       } else {
-           puts " CHECKSHAPE checking was NOT provided"
-       } 
-    }
-}
-# Writing file
-if { $mist < 1} {
-    puts " "
-    puts "-----------------------------WRITING FILE ------------------------------"
-    file delete $imagedir/${casename}_D_First$ext
-    if { [catch { $WriteCommand D_First $imagedir/${casename}_D_First$ext } catch_result] } {
-               set err_msg "Error: First - file was not written - exception"
-       puts $err_msg
-       append todo_msg $todo_mask $err_msg $end_line
-       set mist_w 1
-    }
-    if { $mist_w < 1 } {
-       
-        if { [catch { $ReadCommand D_Second $imagedir/${casename}_D_First$ext } catch_result] } {
-           set err_msg "Errorr: Second - file was not read - exception"
-           puts $err_msg
-           append todo_msg $todo_mask $err_msg $end_line
-           set mist_Second 1
-       }
-    }
-    catch {[file delete $imagedir/${casename}_D_First$ext]}
-    # Close the document
-   
-    if { [catch { Close D_First } catch_result] } {
-       set err_msg "Error : cannot close a document D_First - exception"
-       puts $err_msg
-       append todo_msg $todo_mask $err_msg $end_line
-       #set mist 1
-    }
-}
-
-if { $mist_w > 0 || $mist_Second > 0 } {
-    set mist 2
-}
-
-# Get information about translation
-if { $mist < 1} {           
-    puts ""
-    
-    set tps_2 [data c]
-    if { [llength $tps_2] > 0 } {
-       # Finding all strings with warnings
-       set a [regexp -all -inline {[\t ]+([-0-9.+eE]+)[\t ]+W:} $tps_2]
-       # Extracting counts of warnings
-       set b [regexp -all -inline {([-0-9.+eE]+)} $a]
-       # Calculating total number of warnings 
-       foreach i $b {set dwar_Second [expr $dwar_Second + $i]}
-       set dwar_Second [expr $dwar_Second/4]
-
-       # Finding all strings with faulties
-       set a [regexp -all -inline {[\t ]+([-0-9.+eE]+)[\t ]+F:} $tps_2]
-       # Extracting counts of faulties
-       set b [regexp -all -inline {([-0-9.+eE]+)} $a]
-       # Calculating total number of faulties 
-       foreach i $b {set dfal_Second [expr $dfal_Second + $i]}
-       set dfal_Second [expr $dfal_Second/4]
-       # Calculating total number of faulties and warnings
-       set dcomp_Second [expr $dfal_Second + $dwar_Second]
-       
-
-    } else {
-       puts " DATA c checking was NOT provided"
-    }
-
-    puts ""
-   
-    set tps_1 [tpstat c]
-    set colvo [llength $tps_1]
-    if { ${colvo} > 0 } {
-       # Finding all strings with warnings
-       set a [regexp -all -inline {[\t ]+([-0-9.+eE]+)[\t ]+W:} $tps_1]
-       # Extracting counts of warnings
-       set b [regexp -all -inline {([-0-9.+eE]+)} $a]
-       # Calculating total number of warnings 
-       foreach i $b {set war_Second [expr $war_Second + $i]}
-       set war_Second [expr $war_Second/4]
-
-       # Finding all strings with faulties
-       set a [regexp -all -inline {[\t ]+([-0-9.+eE]+)[\t ]+F:} $tps_1]
-       # Extracting counts of faulties
-       set b [regexp -all -inline {([-0-9.+eE]+)} $a]
-       # Calculating total number of faulties 
-       foreach i $b {set fal_Second [expr $fal_Second + $i]}
-       set fal_Second [expr $fal_Second/4]
-       # Calculating total number of faulties and warnings
-       set comp_Second [expr $fal_Second + $war_Second]
-       
-
-    } else {
-       puts " TPSTAT c checking was NOT provided"
-    }
-    
-    # Get DECAF information about (color, layers and properties)
-    puts ""
-   
-    set xst [ XStat D_Second ] 
-    if { [llength $xst] > 0 } {
-       regexp {level +N +0 +: +([-0-9.+eE]+)} $xst full nblev0_Second    
-       regexp {level +N +1 +: +([-0-9.+eE]+)} $xst full nblev1_Second
-       regexp {level +N +2 +: +([-0-9.+eE]+)} $xst full nblev2_Second
-       regexp {Total +number +of +labels +for +shapes +in +the +document += +([-0-9.+eE]+)} $xst full nblev_total_Second
-       regexp {Number +of +labels +with +name += +([-0-9.+eE]+)} $xst full nbshname_Second
-       regexp {Number +of +labels +with +color +link += +([-0-9.+eE]+)} $xst full nbshcolor_Second
-       regexp {Number +of +labels +with +layer +link += +([-0-9.+eE]+)} $xst full nbshlayer_Second
-       regexp {Number +of +Centroid Props += +([-0-9.+eE]+)} $xst full nbcentroid_Second
-       regexp {Number +of +Volume Props += +([-0-9.+eE]+)} $xst full nbvolume_Second
-       regexp {Number +of +Area Props += +([-0-9.+eE]+)} $xst full nbarea_Second
-       regexp {Number +of +colors += +([-0-9.+eE]+)} $xst full nbcolor_Second
-       regexp {Number +of +colors += +[-0-9.+eE]+\n([^\n]*)} $xst full colors_Second
-       regexp {Number +of +layers += +([-0-9.+eE]+)} $xst full nblayer_Second
-       regexp {Number +of +layers += +[-0-9.+eE]+\n([^\n]*)} $xst full layers_Second
-    } else {
-       puts " DECAF information was NOT provided"
-    }
-    # Get shape for standard analysis
-    puts ""
-    if { [catch { XGetOneShape res_2 D_Second } catch_result] } {
-               set err_msg "Error : Second - cannot get shape from document - exception"
-       puts $err_msg
-       append todo_msg $todo_mask $err_msg $end_line
-        set mist 1
-    }
-    if { $mist < 1 &&  [info exists res_2] == 0 } {
-               set err_msg "Error : Second - cannot read any relevant data from the file"
-       puts $err_msg
-       append todo_msg $todo_mask $err_msg $end_line
-       
-       set mist_Second 1
-       set mist 1
-    }
-    
-    if { $mist < 1} {  
-       # Standard analysis
-       puts ""
-
-       set tol [tolerance res_2]
-       if { [llength $tol] > 0 } {
-           regexp {Tolerance +MAX=([-0-9.+eE]+) +AVG=([-0-9.+eE]+) +MIN=[-0-9.+eE]+} $tol full MaxTol_Second AvgTol_Second
-       } else {
-           puts " TOLERANCE checking was NOT provided"
-       }
-       
-       puts ""
-
-       set tps_3 [ statshape res_2] 
-       set col [llength $tps_3]
-       if { ${col} > 0 } {
-           regexp {([-0-9.+eE]+)\t+ +EDGE \(Free\)} $tps_3 full fedg_Second
-           regexp {([-0-9.+eE]+)\t+ +EDGE \(Shared\)} $tps_3 full sedg_Second
-           regexp {([-0-9.+eE]+)\t+ +WIRE \(Free\)} $tps_3 full fwir_Second
-           regexp {([-0-9.+eE]+)\t+ +FACE} $tps_3 full fac_Second
-           regexp {([-0-9.+eE]+)\t+ +SHELL} $tps_3 full she_Second
-           regexp {([-0-9.+eE]+)\t+ +SOLID} $tps_3 full sol_Second
-       } else {
-           puts " STATSHAPE checking was NOT provided"
-       } 
-       puts ""
-       
-
-       set nbs [ nbshapes res_2]
-       if { [llength ${nbs}] > 0 } {
-           regexp {FACE +: +([-0-9.+eE]+)} $nbs full fa_Second
-           regexp {SHELL +: +([-0-9.+eE]+)} $nbs full sh_Second
-           regexp {SOLID +: +([-0-9.+eE]+)} $nbs full so_Second
-           regexp {COMPOUND +: +([-0-9.+eE]+)} $nbs full co_Second
-           regexp {SHAPE +: +([-0-9.+eE]+)} $nbs full shpp_Second
-       } else {
-           puts " NBSHAPES checking was NOT provided"
-       } 
-       
-
-       set chbr [checkshape res_2 ff]
-       if { [llength ${chbr}] > 0 } {
-           regexp {WIRE\t+: +([-0-9.+eE]+).+} $chbr full chwi_Second
-           regexp {FACE\t+: +([-0-9.+eE]+).+} $chbr full chfa_Second
-           regexp {SHELL\t+: +([-0-9.+eE]+).+} $chbr full chsh_Second
-           regexp {SOLID\t+: +([-0-9.+eE]+).+} $chbr full chso_Second
-       } else {
-           puts " CHECKSHAPE checking was NOT provided"
-       } 
-    }
-}
-
-#Collect results of loop back test
-
-if { $mist < 1 } {
-    set dat_check "DATA : OK"
-    set tpst_check "TPSTAT : OK"
-    set check_check "CHECKSHAPE : OK"
-    set nbsh_check "NBSHAPES : OK"
-    set ststh_check "STATSHAPE : OK"
-    set toler_check "TOLERANCE : OK"
-    set lbls_check "LABELS : OK"
-    set prps_check "PROPS : OK"
-    set clrs_check "COLORS : OK"
-    set lrs_check "LAYERS : OK"
-   
-    if { $dcomp_First <  $dcomp_Second ||  $dfal_First < $dfal_Second } {
-       set dat_check "DATA : Faulty"
-       append todo_msg $todo_mask $dat_check $end_line
-    }
-    if { $fal_First < $fal_Second || $war_First < $war_Second } {
-               
-       set tpst_check "TPSTAT : Faulty"
-       append todo_msg $todo_mask $tpst_check $end_line
-    } 
-    if { $chwi_First < $chwi_Second || $chfa_First < $chfa_Second || $chsh_First < $chsh_Second || $chso_First < $chso_Second } {
-       set check_check "CHECKSHAPE : Faulty" 
-       append todo_msg $todo_mask $check_check $end_line
-    }
-    if { ($isIGES == 0 && $shpp_First > $shpp_Second) || 
-         ($isIGES == 1 && ($shpp_First - $co_First) > ($shpp_Second - $co_Second))} {
-       set nbsh_check "NBSHAPES : Faulty" 
-       append todo_msg $todo_mask $nbsh_check $end_line
-    }
-    if { $sol_First < $sol_Second || $she_First < $she_Second || $fac_First < $fac_Second || $fwir_First < $fwir_Second || $fedg_First < $fedg_Second} {
-       set ststh_check "STATSHAPE : Faulty"
-       append todo_msg $todo_mask $ststh_check $end_line
-    }
-   
-    if { ([expr 1.*($MaxTol_Second - $MaxTol_First)] > [expr 0.0001 * $MaxTol_First] && [expr 1. * abs($MaxTol_First-$MaxTol_Second)] > 0.0000001) || ($MaxTol_Second == 0 && $MaxTol_First > 0)} {
-       set toler_check "TOLERANCE : Faulty"
-       append todo_msg $todo_mask $toler_check $end_line
-    }
-    
-    if { $nblev0_First != $nblev0_Second || $nblev1_First != $nblev1_Second || $nblev2_First != $nblev2_Second || $nblev_total_First != $nblev_total_Second || $nbshname_First != $nbshname_Second || $nbshcolor_First != $nbshcolor_Second || $nbshlayer_First != $nbshlayer_Second } {
-       set lbls_check "LABELS : Faulty"
-       append todo_msg $todo_mask $lbls_check $end_line
-    }
-    if { $nbcentroid_First != $nbcentroid_Second || $nbvolume_First != $nbvolume_Second || $nbarea_First != $nbarea_Second } {
-       set prps_check "PROPS : Faulty"
-       append todo_msg $todo_mask $prps_check $end_line
-    }
-    if { $nbcolor_First != $nbcolor_Second } {
-       set clrs_check "COLORS : Faulty"
-       append todo_msg $todo_mask $clrs_check $end_line
-    }
-    if { $nblayer_First != $nblayer_Second } {
-       set lrs_check "LAYERS : Faulty"
-       append todo_msg $todo_mask $lrs_check $end_line
-    }
-}
-
-if { $mist != 1 } {  
-  puts "" 
-  set result ""
-  append result [format "DATA        : Faulties = %s  ( %s )  Warnings = %s  ( %s )  Summary  = %s  ( %s )\n" \
-             $dfal_Second $dfal_First $dwar_Second $dwar_First $dcomp_Second $dcomp_First ] 
-  append result [format "TPSTAT      : Faulties = %s  ( %s )  Warnings = %s  ( %s )  Summary  = %s  ( %s )\n" \
-             $fal_Second $fal_First $war_Second $war_First $comp_Second $comp_First ] 
-  append result [format "CHECKSHAPE  : Wires    = %s  ( %s )  Faces    = %s  ( %s )  Shells   = %s  ( %s )   Solids   = %s ( %s )\n" \
-             $chwi_Second $chwi_First $chfa_Second $chfa_First $chsh_Second $chsh_First $chso_Second $chso_First ]
-  append result [format "NBSHAPES    : Solid    = %s  ( %s )  Shell    = %s  ( %s )  Face     = %s  ( %s )   Summary  = %s  ( %s )\n" \
-             $so_Second $so_First $sh_Second $sh_First $fa_Second $fa_First $shpp_Second $shpp_First ]
-  append result [format "STATSHAPE   : Solid    = %s  ( %s )  Shell    = %s  ( %s )  Face     = %s  ( %s )   FreeWire = %s  ( %s )   FreeEdge  = %s ( %s )   SharedEdge = %s  ( %s )\n" \
-             $sol_Second $sol_First $she_Second $she_First $fac_Second $fac_First $fwir_Second $fwir_First $fedg_Second $fedg_First $sedg_Second $sedg_First ] 
-  append result [format "TOLERANCE   : MaxTol   = %14.10g  ( %14.10g )  AvgTol   =  %14.10g  (  %14.10g )\n" \
-             $MaxTol_Second $MaxTol_First $AvgTol_Second $AvgTol_First ]
-  append result [format "LABELS      : N0Labels = %s  ( %s )  N1Labels = %s  ( %s )  N2Labels = %s  ( %s )   TotalLabels = %s  ( %s )   NameLabels = %s  ( %s )   ColorLabels = %s  ( %s )   LayerLabels = %s  ( %s )\n" \
-             $nblev0_Second $nblev0_First $nblev1_Second $nblev1_First $nblev2_Second $nblev2_First $nblev_total_Second $nblev_total_First $nbshname_Second $nbshname_First $nbshcolor_Second $nbshcolor_First $nbshlayer_Second $nbshlayer_First ]
-  append result [format "PROPS       : Centroid = %s  ( %s )  Volume   = %s  ( %s )  Area     = %s  ( %s )\n" \
-             $nbcentroid_Second $nbcentroid_First $nbvolume_Second $nbvolume_First $nbarea_Second $nbarea_First ]
-  append result [format "NCOLORS     : NColors  = %s  ( %s )\n" \
-             $nbcolor_Second $nbcolor_First ]
-  append result [format "COLORS      : Colors   = %s  ( %s )\n" \
-             [lsort $colors_Second] [lsort $colors_First] ]
-  append result [format "NLAYERS     : NLayers  = %s  ( %s )\n" \
-             $nblayer_Second $nblayer_First ]
-  append result [format "LAYERS      : Layers   = %s  ( %s )\n" \
-             [lsort $layers_Second] [lsort $layers_First] ]
-}
-
-puts ""
-puts ""
-puts "########################### RESULTS ###############################"
-puts ""
-puts "========================== Loop Back test ========================="
-puts ""
-if {$mist == 1 }  {
-    set err_msg "Error : Here is reading problem"
-    puts $err_msg
-    append todo_msg $todo_mask $err_msg $end_line
-} else {
-    puts "File was read PROPERLY - OK"
-    puts ""
-    if {$mist_w > 0 }  {
-       set err_msg "Error : Here is writing problem"
-       puts $err_msg
-        append todo_msg $todo_mask $err_msg $end_line
-    } else {
-       puts "File was write PROPERLY - OK"
-       puts ""
-       if {$mist_Second > 0 } {
-           set err_msg "Error : Here is reading problem for writing file"
-           puts $err_msg
-            append todo_msg $todo_mask $err_msg $end_line
-        } else {
-           puts "Writing file was read PROPERLY - OK"
-           puts ""
-           puts $dat_check
-           puts $tpst_check
-           puts $check_check
-           puts $nbsh_check
-           puts $ststh_check
-           puts $toler_check
-           puts $lbls_check
-           puts $prps_check
-           puts $clrs_check
-           puts $lrs_check
-           puts ""
-           if { $todo_msg != "" } {
-               puts $result
-               puts ""
-           }
-       }
-    }  
-}
-
-
-set err_compare_ref ""
-
-# Put reference data to the test script file if option "dump" is set
-if { $dump_file == 1 } { 
-    set fd_stream  [open $dirname/$groupname/$gridname/$casename w] 
-    puts $fd_stream "# !!!! This file is generated automatically, do not edit manually! See end script"
-    if { $todo_msg != "" } {
-        puts  $fd_stream $todo_msg 
-        puts $fd_stream ""
-    }
-    if {[info exist LinuxFaulties] && [llength $LinuxFaulties] != 0} {
-        for {set i 0} { $i < [llength $LinuxFaulties] } { incr i } {
-            puts $fd_stream "$Mandriva_todo_mask [lindex $LinuxFaulties $i] : Faulty $end_line"
-        }
-    }
-    if {[info exist LinuxDiff] && $LinuxDiff != 0} {
-        puts $fd_stream "$Mandriva_todo_mask Error : $LinuxDiff differences with reference data found :$end_line"
-    }
-
-    if {[info exist LinuxDiff] && $LinuxDiff != 0} {
-        puts $fd_stream "set LinuxDiff $LinuxDiff"
-        set LinuxDiff 0
-    }
-    if {[info exist LinuxFaulties] && [llength $LinuxFaulties] != 0} {
-        puts $fd_stream "set LinuxFaulties \{$LinuxFaulties\}"
-        set LinuxFaulties {}
-    }
-    if {[info exist ProductMode] && $ProductMode == "OFF"} {
-       puts $fd_stream "set ProductMode OFF"
-    }
-    puts $fd_stream "set filename $filename"
-    if { $mist != 1 } {
-        puts $fd_stream "" 
-        puts $fd_stream "set ref_data \{"
-        puts $fd_stream $result
-        puts $fd_stream "\}"
-    }
-    close $fd_stream 
-} elseif { $mist != 1 } {
-    puts "========================== Comparision with reference data ========"
-    puts ""
-    # Comparision of reference data with obtained result
-    set ref_list [split $ref_data \n]
-    set cur_list [split $result \n]
-    set nb_ref [llength $ref_list]
-    set nb_cur [llength $cur_list]
-    for { set i 0 } { $i < $nb_cur } { incr i } {
-        set j [expr $i +1]
-       set refstr [lindex $ref_list $j]
-       set curstr [lindex $cur_list $i]
-        set isSplit 0;
-        set isOK 1; 
-
-        if {[regexp "DATA        :" $refstr]} {
-            set isSplit 1; 
-            set data_ref [split $refstr " "]
-            set data_cur [split $curstr " "]
-            set k_ref 1; set k_cur 1
-           for { set k 1 } { $k <= 2 } { incr k } {
-                while {[string is integer -strict [lindex $data_ref $k_ref]] == 0} {incr k_ref}
-                while {[string is integer -strict [lindex $data_cur $k_cur]] == 0} {incr k_cur}
-                set ref_number [lindex $data_ref $k_ref]
-                set cur_number [lindex $data_cur $k_cur]
-                incr k_ref
-                incr k_cur
-                if { $cur_number > $ref_number} {
-                     set isOK 0
-                   }
-            }
-        }
-        if {[regexp "TPSTAT      :" $refstr]} {
-            set isSplit 1; 
-            set data_ref [split $refstr " "]
-            set data_cur [split $curstr " "]
-            set k_ref 1; set k_cur 1
-           for { set k 1 } { $k <= 2 } { incr k } {
-                while {[string is integer -strict [lindex $data_ref $k_ref]] == 0} {incr k_ref}
-                while {[string is integer -strict [lindex $data_cur $k_cur]] == 0} {incr k_cur}
-                set ref_number [lindex $data_ref $k_ref]
-                set cur_number [lindex $data_cur $k_cur]
-                incr k_ref
-                incr k_cur
-                if { $cur_number > $ref_number} {
-                     set isOK 0
-                   }
-            }
-        }
-        if {[regexp "CHECKSHAPE  :" $refstr]} {
-            set isSplit 1; 
-            set data_ref [split $refstr " "]
-            set data_cur [split $curstr " "]
-            set k_ref 1; set k_cur 1
-           for { set k 1 } { $k <= 8 } { incr k } {
-                while {[string is integer -strict [lindex $data_ref $k_ref]] == 0} {incr k_ref}
-                while {[string is integer -strict [lindex $data_cur $k_cur]] == 0} {incr k_cur}
-                set ref_number [lindex $data_ref $k_ref]
-                set cur_number [lindex $data_cur $k_cur]
-                incr k_ref
-                incr k_cur
-                if { $cur_number > $ref_number} {
-                     set isOK 0
-                   }
-            }
-        }
-
-        if {[regexp "TOLERANCE   :" $refstr]} {
-            set isSplit 1;
-            set data_ref [split $refstr " "]
-            set data_cur [split $curstr " "]
-            set k_ref 1; set k_cur 1
-           for { set k 1 } { $k <= 4 } { incr k } {
-                while {[string is double -strict [lindex $data_ref $k_ref]] == 0} {incr k_ref}
-                while {[string is double -strict [lindex $data_cur $k_cur]] == 0} {incr k_cur}
-                set ref_number [lindex $data_ref $k_ref]
-                set cur_number [lindex $data_cur $k_cur]
-                incr k_ref
-                incr k_cur
-                if { [expr 1. * ($cur_number-$ref_number)] > 0.0001 &&
-                     [expr 1. * ($cur_number-$ref_number)] > [expr 0.01 * $ref_number]} {
-                     set isOK 0
-                   }
-            }
-        }
-
-
-        if {$isSplit == 0} {
-            if {$refstr != $curstr} {set isOK 0}
-        }
-        
-       if { $isOK == 0}  {
-           incr ref_Compare
-           append err_compare_ref " Reference data - $refstr\n"
-           append err_compare_ref " Current data   - $curstr\n"
-           append err_compare_ref "----------------------------------------------\n"
-       }
-    }
-}
-if { $dump_file != 0 } {
-    puts "Error : Running in regeneration mode, comparision was not performed!"
-    if { $mist != 1 } {
-        puts "Generation of test file $groupname/$gridname/$casename successful"
-    } else {
-        puts "Generation of reference data failed"
-    }
-} else {
-    if { $ref_Compare > 0} {
-        puts "Error : $ref_Compare differences with reference data found :\n$err_compare_ref"
-    } else {
-        puts "Comparision of current result with reference data - OK\n"
-    }    
-}
-
-puts "--------------------------------------------------------------------"
-puts ""
-
 clear
 smallview
-if { $mist < 1 } {
-  if { [info exists res_2] && [isdraw res_2] } {
-    donly res_2
-    isos res_2 0
-       fit
-       isos res_2 2
-  }
+if { [info exists res_2] && [isdraw res_2] } {
+  donly res_2
+  isos res_2 0
+  fit
+  isos res_2 2
 } else {
-    fit
+  fit
 }
+
 xwd $imagedir/${test_image}.png
-if { $mist < 1 } {
-   if { [catch { Close D_Second } catch_result] } {
-      puts "Error : cannot close a document D_Second"
-   }
+
+set info [whatis D_Second]
+if { ${info} == "D_Second is a TDocStd_Document"} {
+  if { [catch { Close D_Second } catch_result] } {
+    puts "Error : cannot close a document D_Second"
+  }
 }
+
 set ProductMode ON
 
 puts "TEST COMPLETED"
index ec16e0b38a99c1f2752995489c655684d3c4c5fa..acd066132c7307914ec7ce4b8085c4a34395ae3b 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename lh93wsddr3370z3.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 347  ( 9072 )  Summary  = 347  ( 9072 )
-CHECKSHAPE  : Wires    = 1  ( 1 )  Faces    = 1  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 673  ( 673 )   Summary  = 15005  ( 15001 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 673  ( 673 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 6844  ( 6844 )
-TOLERANCE   : MaxTol   =   0.1926431182  (   0.1926431182 )  AvgTol   =  0.0001429249224  (  0.0001405928641 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9135 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 673 -shape 15001
+checkstatshape res_1 -solid 0 -shell 0 -face 673 -freewire 0 -freeedge 0 -sharededge 6844
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1926431182 -avg 0.0001405928641]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9135 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 352 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 673 -shape 15005 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 673 -freewire 0 -freeedge 0 -sharededge 6844 -max_solid 0 -max_shell 0 -max_face 673 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.1926431182 -avg 0.0001429249224 -max_tol ${max_tol_res_1}
+
index 3b7d449e072f121518d57d358b40be6f5cde6c57..48034783e5129d3306d8799078264947eb7ef8cf 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename buc40130.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 38  ( 38 )  Summary  = 38  ( 38 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 3312  ( 3312 )   Summary  = 38865  ( 38865 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 3312  ( 3312 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 15941  ( 15941 )
-TOLERANCE   : MaxTol   =   0.9010557082  (   0.9010557089 )  AvgTol   =  0.005653402654  (  0.005653402896 )
-LABELS      : N0Labels = 3312  ( 3312 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 3312  ( 3312 )   NameLabels = 3312  ( 3312 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 54 -max_faults 0
+checkxstat D_First -n0 3312 -n1 0 -n2 0 -total 3312 -withname 3312 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 3312 -shape 38865
+checkstatshape res_1 -solid 0 -shell 0 -face 3312 -freewire 0 -freeedge 0 -sharededge 15941
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9010557089 -avg 0.005653402896]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 54 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 38 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3312 -n1 0 -n2 0 -total 3312 -withname 3312 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3312 -n1 0 -n2 0 -total 3312 -withname 3312 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 3312 -shape 38865 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 3312 -freewire 0 -freeedge 0 -sharededge 15941 -max_solid 0 -max_shell 0 -max_face 3312 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9010557082 -avg 0.005653402654 -max_tol ${max_tol_res_1}
+
index b1f5e3b7ed051f5feb6118bb1d1401b264d2fa24..aa7e1d564244672fb5f412138e016e3dc3accda7 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename marteau.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 25  ( 224 )  Summary  = 25  ( 224 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 45  ( 45 )   Summary  = 2322  ( 2322 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 45  ( 45 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1114  ( 1114 )
-TOLERANCE   : MaxTol   =   0.1574979916  (   0.1574995582 )  AvgTol   =  0.0008504409643  (  0.0008526713095 )
-LABELS      : N0Labels = 45  ( 45 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 45  ( 45 )   NameLabels = 45  ( 45 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 224 -max_faults 0
+checkxstat D_First -n0 45 -n1 0 -n2 0 -total 45 -withname 45 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 45 -shape 2322
+checkstatshape res_1 -solid 0 -shell 0 -face 45 -freewire 0 -freeedge 0 -sharededge 1114
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1574995582 -avg 0.0008526713095]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 224 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 25 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 45 -n1 0 -n2 0 -total 45 -withname 45 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 45 -n1 0 -n2 0 -total 45 -withname 45 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 45 -shape 2322 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 45 -freewire 0 -freeedge 0 -sharededge 1114 -max_solid 0 -max_shell 0 -max_face 45 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.1574979916 -avg 0.0008504409643 -max_tol ${max_tol_res_1}
+
index 76ab94e2ddb7e9885aa2fa98053b242cc9bd7f68..50e8a09dc75e30b63c6378a56454701f34f30cb3 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename matinf.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 685  ( 685 )   Summary  = 8193  ( 8193 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 685  ( 685 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 3418  ( 3418 )
-TOLERANCE   : MaxTol   =   0.7975995425  (   0.7975995425 )  AvgTol   =   0.01318864138  (   0.01318867194 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 685 -shape 8193
+checkstatshape res_1 -solid 0 -shell 0 -face 685 -freewire 0 -freeedge 0 -sharededge 3418
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.7975995425 -avg 0.01318867194]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 685 -shape 8193 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 685 -freewire 0 -freeedge 0 -sharededge 3418 -max_solid 0 -max_shell 0 -max_face 685 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.7975995425 -avg 0.01318864138 -max_tol ${max_tol_res_1}
+
index 8fde2cf27edee58f05df5ade4cd3330f8437d2de..e62f747acc6d7fa4053a93ce4c27501de0375c57 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename poininfo.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 605  ( 605 )   Summary  = 7234  ( 7234 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 605  ( 605 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 3018  ( 3018 )
-TOLERANCE   : MaxTol   =    0.797599617  (    0.797599617 )  AvgTol   =   0.01440213795  (   0.01440217257 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 605 -shape 7234
+checkstatshape res_1 -solid 0 -shell 0 -face 605 -freewire 0 -freeedge 0 -sharededge 3018
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.797599617 -avg 0.01440217257]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 605 -shape 7234 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 605 -freewire 0 -freeedge 0 -sharededge 3018 -max_solid 0 -max_shell 0 -max_face 605 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.797599617 -avg 0.01440213795 -max_tol ${max_tol_res_1}
+
index 8094d684a85f39a13945826729b79070b6b8cd9f..6e93ae6cfb91df78fb0c7c645c9e4d1093242ce6 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename s01.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 15 )  Summary  = 0  ( 15 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1416  ( 1416 )   Summary  = 16123  ( 16125 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1416  ( 1416 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 6652  ( 6652 )
-TOLERANCE   : MaxTol   =   0.9671829226  (   0.9671829226 )  AvgTol   =   0.01310886995  (   0.01310984483 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1416 -shape 16125
+checkstatshape res_1 -solid 0 -shell 0 -face 1416 -freewire 0 -freeedge 0 -sharededge 6652
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9671829226 -avg 0.01310984483]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1416 -shape 16123 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1416 -freewire 0 -freeedge 0 -sharededge 6652 -max_solid 0 -max_shell 0 -max_face 1416 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9671829226 -avg 0.01310886995 -max_tol ${max_tol_res_1}
+
index b64a7986e9adf8cf959098f8f0ba729e5d03cfa8..246c0e0841df4553990f468dad297fed29b25665 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 
-
 set filename sample_diff_data_1.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 26 )  Summary  = 0  ( 26 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 455  ( 455 )   Summary  = 5485  ( 5485 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 455  ( 455 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 2295  ( 2295 )
-TOLERANCE   : MaxTol   = 0.007446262663  (  0.00733072557 )  AvgTol   =  1.638173079e-005  (  1.01902787e-005 )
-LABELS      : N0Labels = 455  ( 455 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 455  ( 455 )   NameLabels = 455  ( 455 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 26 -max_faults 0
+checkxstat D_First -n0 455 -n1 0 -n2 0 -total 455 -withname 455 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 455 -shape 5485
+checkstatshape res_1 -solid 0 -shell 0 -face 455 -freewire 0 -freeedge 0 -sharededge 2295
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.00733072557 -avg 1.01902787e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 26 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 455 -n1 0 -n2 0 -total 455 -withname 455 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 455 -n1 0 -n2 0 -total 455 -withname 455 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 455 -shape 5485 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 455 -freewire 0 -freeedge 0 -sharededge 2295 -max_solid 0 -max_shell 0 -max_face 455 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.007446262663 -avg 1.638173079e-005 -max_tol ${max_tol_res_1}
+
index e19bd7a33a0870cd747c2b82167fba54947a5852..cdf616cc6068c9b78e67c460eb198f945f8d8cec 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename sim1.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 8 )  Summary  = 0  ( 8 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 954  ( 954 )   Summary  = 15756  ( 15781 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 954  ( 954 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 6942  ( 6942 )
-TOLERANCE   : MaxTol   =   0.9723189972  (   0.9723189972 )  AvgTol   =  0.007899165806  (  0.007903307507 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 954 -shape 15781
+checkstatshape res_1 -solid 0 -shell 0 -face 954 -freewire 0 -freeedge 0 -sharededge 6942
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9723189972 -avg 0.007903307507]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 954 -shape 15756 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 954 -freewire 0 -freeedge 0 -sharededge 6942 -max_solid 0 -max_shell 0 -max_face 954 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9723189972 -avg 0.007899165806 -max_tol ${max_tol_res_1}
+
index 5d22a08efaf1f4f10bb547900ae0e4dc3188b191..16e63ecb79740884564dab4fcbcb0ad36cf9ef30 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename sim2.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 2 )  Summary  = 0  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 463  ( 463 )   Summary  = 7827  ( 7878 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 463  ( 463 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 3443  ( 3443 )
-TOLERANCE   : MaxTol   =   0.9681628245  (   0.9681628245 )  AvgTol   =   0.01970986694  (   0.01971354546 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 463 -shape 7878
+checkstatshape res_1 -solid 0 -shell 0 -face 463 -freewire 0 -freeedge 0 -sharededge 3443
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9681628245 -avg 0.01971354546]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 463 -shape 7827 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 463 -freewire 0 -freeedge 0 -sharededge 3443 -max_solid 0 -max_shell 0 -max_face 463 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9681628245 -avg 0.01970986694 -max_tol ${max_tol_res_1}
+
index fbcf3a0cb2d2d4128558519e99f4beae4ab19ac4..23e802e81ed8e000e3af7026d25a1782c99f85bc 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename usi105.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 2 )  Summary  = 0  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1137  ( 1137 )   Summary  = 14699  ( 14702 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1137  ( 1137 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 6228  ( 6228 )
-TOLERANCE   : MaxTol   =   0.9916912901  (   0.9916912901 )  AvgTol   =   0.04552765692  (   0.04552789906 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1137 -shape 14702
+checkstatshape res_1 -solid 0 -shell 0 -face 1137 -freewire 0 -freeedge 0 -sharededge 6228
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9916912901 -avg 0.04552789906]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1137 -shape 14699 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1137 -freewire 0 -freeedge 0 -sharededge 6228 -max_solid 0 -max_shell 0 -max_face 1137 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9916912901 -avg 0.04552765692 -max_tol ${max_tol_res_1}
+
index a847df9228784097b1af4bfc5f6195abafd64db2..5c65a9474fdd73cb3e380fbfae38db5a623b3d04 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename BUC50025.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 7  ( 7 )   Summary  = 71  ( 71 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 7  ( 7 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 28  ( 28 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 7  ( 7 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 7  ( 7 )   NameLabels = 7  ( 7 )   ColorLabels = 7  ( 7 )   LayerLabels = 7  ( 7 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = YELLOW  ( YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 7 -n1 0 -n2 0 -total 7 -withname 7 -withcolor 7 -withlayer 7 -centroid 0 -volume 0 -area 0 -colors { YELLOW } -nbcolors 1 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 7 -shape 71
+checkstatshape res_1 -solid 0 -shell 0 -face 7 -freewire 0 -freeedge 0 -sharededge 28
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 7 -n1 0 -n2 0 -total 7 -withname 7 -withcolor 7 -withlayer 7 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 7 -n1 0 -n2 0 -total 7 -withname 7 -withcolor 7 -withlayer 7 -centroid 0 -volume 0 -area 0 -colors { YELLOW  } -nbcolors 1 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 7 -shape 71 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 7 -freewire 0 -freeedge 0 -sharededge 28 -max_solid 0 -max_shell 0 -max_face 7 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index df847a8e42323a54f3dbd098b5fc083aadd86751..6d708d61faa4e5a6b191c603cb44b7500817ae64 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename BUC50047.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 2 )  Warnings = 49  ( 109 )  Summary  = 49  ( 111 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 102  ( 102 )   Summary  = 2277  ( 2277 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 102  ( 102 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1027  ( 1027 )
-TOLERANCE   : MaxTol   =   0.9428103106  (   0.9428103191 )  AvgTol   =   0.04703881931  (   0.04704464574 )
-LABELS      : N0Labels = 102  ( 102 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 102  ( 102 )   NameLabels = 102  ( 102 )   ColorLabels = 0  ( 0 )   LayerLabels = 102  ( 102 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 109 -max_faults 2
+checkxstat D_First -n0 102 -n1 0 -n2 0 -total 102 -withname 102 -withcolor 0 -withlayer 102 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 102 -shape 2277
+checkstatshape res_1 -solid 0 -shell 0 -face 102 -freewire 0 -freeedge 0 -sharededge 1027
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9428103191 -avg 0.04704464574]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 109 -max_faults 2
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 49 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 102 -n1 0 -n2 0 -total 102 -withname 102 -withcolor 0 -withlayer 102 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 102 -n1 0 -n2 0 -total 102 -withname 102 -withcolor 0 -withlayer 102 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 102 -shape 2277 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 102 -freewire 0 -freeedge 0 -sharededge 1027 -max_solid 0 -max_shell 0 -max_face 102 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9428103106 -avg 0.04703881931 -max_tol ${max_tol_res_1}
+
index 25ddbc11ea07134196583168bce48a6b8e88b93d..05acc9693f3ca64202c92202fb0dc4cb94e421d4 100644 (file)
@@ -1,20 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 
-set LinuxDiff 1
 set filename t500core.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 169  ( 430 )  Summary  = 169  ( 430 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 674  ( 674 )   Summary  = 9627  ( 9625 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 674  ( 674 )   FreeWire = 0  ( 0 )   FreeEdge  = 28 ( 28 )   SharedEdge = 4104  ( 4104 )
-TOLERANCE   : MaxTol   =    0.483503583  (   0.4835035831 )  AvgTol   =   0.00303544578  (  0.003024564929 )
-LABELS      : N0Labels = 702  ( 702 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 702  ( 702 )   NameLabels = 702  ( 702 )   ColorLabels = 16  ( 16 )   LayerLabels = 702  ( 702 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 115  ( 115 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 444 -max_faults 0
+checkxstat D_First -n0 702 -n1 0 -n2 0 -total 702 -withname 702 -withcolor 16 -withlayer 702 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { 115 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 674 -shape 9625
+checkstatshape res_1 -solid 0 -shell 0 -face 674 -freewire 0 -freeedge 28 -sharededge 4104
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.4835035831 -avg 0.003024564929]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 444 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 169 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 702 -n1 0 -n2 0 -total 702 -withname 702 -withcolor 16 -withlayer 702 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 702 -n1 0 -n2 0 -total 702 -withname 702 -withcolor 16 -withlayer 702 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 115  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 674 -shape 9627 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 674 -freewire 0 -freeedge 28 -sharededge 4104 -max_solid 0 -max_shell 0 -max_face 674 -max_freewire 0 -max_freeedge 28
+checkmaxtol res_2 -tol 0.483503583 -avg 0.00303544578 -max_tol ${max_tol_res_1}
+
index 92336c5f3fcc291e1528cb661eabeab4b362de56..d3e4a5da5971455576ae6a8f351f7cf325ea9320 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename BUC60113.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 266  ( 266 )   Summary  = 2940  ( 2940 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 266  ( 266 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1202  ( 1202 )
-TOLERANCE   : MaxTol   =   0.9647320607  (   0.9647320724 )  AvgTol   =   0.09372541107  (   0.09372566113 )
-LABELS      : N0Labels = 266  ( 266 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 266  ( 266 )   NameLabels = 266  ( 266 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 266 -n1 0 -n2 0 -total 266 -withname 266 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 266 -shape 2940
+checkstatshape res_1 -solid 0 -shell 0 -face 266 -freewire 0 -freeedge 0 -sharededge 1202
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9647320724 -avg 0.09372566113]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 266 -n1 0 -n2 0 -total 266 -withname 266 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 266 -n1 0 -n2 0 -total 266 -withname 266 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 266 -shape 2940 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 266 -freewire 0 -freeedge 0 -sharededge 1202 -max_solid 0 -max_shell 0 -max_face 266 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9647320607 -avg 0.09372541107 -max_tol ${max_tol_res_1}
+
index 1b878965543be23616394f98cad1d363b9ef9007..a15cf098b84bd7916c30d7e27c7458b8ad16b21f 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename CTS18314.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 10 )  Warnings = 308  ( 102 )  Summary  = 308  ( 112 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 2 )   Solids   = 0 ( 2 )
-NBSHAPES    : Solid    = 0  ( 30 )  Shell    = 0  ( 30 )  Face     = 390  ( 390 )   Summary  = 4699  ( 2569 )
-STATSHAPE   : Solid    = 0  ( 30 )  Shell    = 0  ( 30 )  Face     = 390  ( 390 )   FreeWire = 0  ( 0 )   FreeEdge  = 50 ( 50 )   SharedEdge = 1908  ( 994 )
-TOLERANCE   : MaxTol   =  0.03576190045  (  0.03576190009 )  AvgTol   =  8.617003044e-005  (  0.0003710073065 )
-LABELS      : N0Labels = 108  ( 108 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 108  ( 108 )   NameLabels = 108  ( 108 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 37 -max_faults 0
+checkdoc "tpstat c" -max_warns 102 -max_faults 10
+checkxstat D_First -n0 108 -n1 0 -n2 0 -total 108 -withname 108 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 2 -max_solids 2
+checknbshapes res_1 -solid 30 -shell 30 -face 390 -shape 2569
+checkstatshape res_1 -solid 30 -shell 30 -face 390 -freewire 0 -freeedge 50 -sharededge 994
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.03576190009 -avg 0.0003710073065]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 37 -max_faults 0
+checkdoc "tpstat c" -max_warns 102 -max_faults 10
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 308 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 108 -n1 0 -n2 0 -total 108 -withname 108 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 108 -n1 0 -n2 0 -total 108 -withname 108 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 2 -max_solids 2
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 390 -shape 4699 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 390 -freewire 0 -freeedge 50 -sharededge 1908 -max_solid 30 -max_shell 30 -max_face 390 -max_freewire 0 -max_freeedge 50
+checkmaxtol res_2 -tol 0.03576190045 -avg 8.617003044e-005 -max_tol ${max_tol_res_1}
+
index a57257d4209587e0ffe22235431cdd22956d8dea..0f225d6a7fcc7452dbcc8e15ab88b4c00e76bbb2 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename CTS18542-1.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 1 )  Summary  = 1  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 277  ( 277 )   Summary  = 3519  ( 3519 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 277  ( 277 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1482  ( 1482 )
-TOLERANCE   : MaxTol   = 9.977163954e-006  (         1e-005 )  AvgTol   =  2.196639253e-006  (  9.404700402e-006 )
-LABELS      : N0Labels = 277  ( 277 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 277  ( 277 )   NameLabels = 277  ( 277 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+checkxstat D_First -n0 277 -n1 0 -n2 0 -total 277 -withname 277 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 277 -shape 3519
+checkstatshape res_1 -solid 0 -shell 0 -face 277 -freewire 0 -freeedge 0 -sharededge 1482
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 9.404700402e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 277 -n1 0 -n2 0 -total 277 -withname 277 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 277 -n1 0 -n2 0 -total 277 -withname 277 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 277 -shape 3519 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 277 -freewire 0 -freeedge 0 -sharededge 1482 -max_solid 0 -max_shell 0 -max_face 277 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 9.977163954e-006 -avg 2.196639253e-006 -max_tol ${max_tol_res_1}
+
index da371ccc5197a206a31873779840000231636ffb..38b2a25e392eb2903b758e677e183d62eaa0e742 100644 (file)
@@ -1,20 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename CTS18542-2.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 133  ( 131 )  Summary  = 133  ( 131 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1071  ( 1071 )   Summary  = 14484  ( 14484 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1071  ( 1071 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 6154  ( 6154 )
-TOLERANCE   : MaxTol   =   0.9959055336  (    0.995905536 )  AvgTol   =   0.05477448992  (   0.05477462971 )
-LABELS      : N0Labels = 1071  ( 1071 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1071  ( 1071 )   NameLabels = 1071  ( 1071 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 144 -max_faults 0
+checkxstat D_First -n0 1071 -n1 0 -n2 0 -total 1071 -withname 1071 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1071 -shape 14484
+checkstatshape res_1 -solid 0 -shell 0 -face 1071 -freewire 0 -freeedge 0 -sharededge 6154
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.995905536 -avg 0.05477462971]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 144 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 135 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1071 -n1 0 -n2 0 -total 1071 -withname 1071 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1071 -n1 0 -n2 0 -total 1071 -withname 1071 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1071 -shape 14484 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1071 -freewire 0 -freeedge 0 -sharededge 6154 -max_solid 0 -max_shell 0 -max_face 1071 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9959055336 -avg 0.05477448992 -max_tol ${max_tol_res_1}
+
index c1abf8de7ee4194a9711522384e5f177f6706de3..42b77c44f269e1b8e95f2763a3c685e883fe71c2 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename CTS18544.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 2 )  Warnings = 20  ( 17 )  Summary  = 20  ( 19 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 2430  ( 2430 )   Summary  = 29945  ( 29945 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 2430  ( 2430 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 12543  ( 12543 )
-TOLERANCE   : MaxTol   =   0.9991343001  (   0.9991342868 )  AvgTol   =   0.02628258487  (    0.0262828129 )
-LABELS      : N0Labels = 2430  ( 2430 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 2430  ( 2430 )   NameLabels = 2430  ( 2430 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 18 -max_faults 2
+checkxstat D_First -n0 2430 -n1 0 -n2 0 -total 2430 -withname 2430 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 2430 -shape 29945
+checkstatshape res_1 -solid 0 -shell 0 -face 2430 -freewire 0 -freeedge 0 -sharededge 12543
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9991342868 -avg 0.0262828129]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 18 -max_faults 2
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 33 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2430 -n1 0 -n2 0 -total 2430 -withname 2430 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2430 -n1 0 -n2 0 -total 2430 -withname 2430 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 2430 -shape 29945 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 2430 -freewire 0 -freeedge 0 -sharededge 12543 -max_solid 0 -max_shell 0 -max_face 2430 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9991343001 -avg 0.02628258487 -max_tol ${max_tol_res_1}
+
index 7920c052b11e9a7c0900bc85ce843088ee979e2c..f70455deb02845bb6c678d8a41c66bff11519a04 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename CTS18635-1.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 6 )  Summary  = 0  ( 6 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 34  ( 34 )   Summary  = 427  ( 427 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 34  ( 34 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 177  ( 177 )
-TOLERANCE   : MaxTol   =   0.9671317357  (   0.9671317236 )  AvgTol   =    0.0492708189  (   0.04927174141 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 2  ( 2 )   NameLabels = 2  ( 2 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+checkxstat D_First -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 34 -shape 427
+checkstatshape res_1 -solid 0 -shell 0 -face 34 -freewire 0 -freeedge 1 -sharededge 177
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9671317236 -avg 0.04927174141]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 34 -shape 427 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 34 -freewire 0 -freeedge 1 -sharededge 177 -max_solid 0 -max_shell 0 -max_face 34 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 0.9671317357 -avg 0.0492708189 -max_tol ${max_tol_res_1}
+
index 4b0939e110a9dd7151a7e7ec0a1f7df801be1b5d..7af5f119c28e349f0aa1f7043a58cb565772b844 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename CTS18635-2.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 34  ( 34 )   Summary  = 407  ( 407 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 34  ( 34 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 168  ( 168 )
-TOLERANCE   : MaxTol   =   0.9671317357  (   0.9671317236 )  AvgTol   =    0.0517427016  (   0.05174271535 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 34 -shape 407
+checkstatshape res_1 -solid 0 -shell 0 -face 34 -freewire 0 -freeedge 0 -sharededge 168
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9671317236 -avg 0.05174271535]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 34 -shape 407 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 34 -freewire 0 -freeedge 0 -sharededge 168 -max_solid 0 -max_shell 0 -max_face 34 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9671317357 -avg 0.0517427016 -max_tol ${max_tol_res_1}
+
index b91bb62e1eb97c9afd606ab7703c64da732e61da..d7bf01a64e2b8ced13e6c292143fdbfb5c2b6805 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename CTS18635-3.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 6  ( 24 )  Summary  = 6  ( 24 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 48  ( 48 )   Summary  = 1043  ( 1043 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 48  ( 48 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 473  ( 473 )
-TOLERANCE   : MaxTol   =   0.9965425609  (   0.9965425534 )  AvgTol   =   0.01070529537  (   0.01071062866 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 24 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 48 -shape 1043
+checkstatshape res_1 -solid 0 -shell 0 -face 48 -freewire 0 -freeedge 0 -sharededge 473
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9965425534 -avg 0.01071062866]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 24 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 48 -shape 1043 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 48 -freewire 0 -freeedge 0 -sharededge 473 -max_solid 0 -max_shell 0 -max_face 48 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9965425609 -avg 0.01070529537 -max_tol ${max_tol_res_1}
+
index 80c190e4ac8d395ea4637245c5d698edb04b874e..311d59c81ec87564568e9542a2a47ffa24503fd2 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename CTS18635-4.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 6  ( 20 )  Summary  = 6  ( 20 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 48  ( 48 )   Summary  = 605  ( 605 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 48  ( 48 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 254  ( 254 )
-TOLERANCE   : MaxTol   =   0.9965425609  (   0.9965425534 )  AvgTol   =   0.01938808773  (    0.0193884753 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 20 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 48 -shape 605
+checkstatshape res_1 -solid 0 -shell 0 -face 48 -freewire 0 -freeedge 0 -sharededge 254
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9965425534 -avg 0.0193884753]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 20 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 48 -shape 605 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 48 -freewire 0 -freeedge 0 -sharededge 254 -max_solid 0 -max_shell 0 -max_face 48 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9965425609 -avg 0.01938808773 -max_tol ${max_tol_res_1}
+
index b81d72b23a1d110705707f5d3f9ebc515044f8ee..e1f71468cdec5b110f65e8af5125b635303f7dcd 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename CTS18953.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 14  ( 14 )   Summary  = 173  ( 173 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 14  ( 14 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 72  ( 72 )
-TOLERANCE   : MaxTol   =    4.0002e-005  (    4.0002e-005 )  AvgTol   =  3.127982218e-006  (  3.127982218e-006 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 14 -shape 173
+checkstatshape res_1 -solid 0 -shell 0 -face 14 -freewire 0 -freeedge 0 -sharededge 72
+set max_tol_res_1 [checkmaxtol res_1 -tol 4.0002e-005 -avg 3.127982218e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 14 -shape 173 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 14 -freewire 0 -freeedge 0 -sharededge 72 -max_solid 0 -max_shell 0 -max_face 14 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 4.0002e-005 -avg 3.127982218e-006 -max_tol ${max_tol_res_1}
+
index aebebdb89be3fbcda175e621eb2391f350920797..0b3d7b9c7a58821780dd26a948d3d94823d708a9 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename CTS19582.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 13 )  Summary  = 0  ( 13 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 152  ( 152 )   Summary  = 2080  ( 2080 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 152  ( 152 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 889  ( 889 )
-TOLERANCE   : MaxTol   =   0.9363734225  (   0.9363734225 )  AvgTol   =   0.04721503286  (   0.04721548297 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 19 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 152 -shape 2080
+checkstatshape res_1 -solid 0 -shell 0 -face 152 -freewire 0 -freeedge 0 -sharededge 889
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9363734225 -avg 0.04721548297]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 19 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 152 -shape 2080 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 152 -freewire 0 -freeedge 0 -sharededge 889 -max_solid 0 -max_shell 0 -max_face 152 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9363734225 -avg 0.04721503286 -max_tol ${max_tol_res_1}
+
index 82d476bc4d35288bb5d257543b2a0bc89718a207..8569843952ed72df598e27d8b39df9bf885f55ba 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename CTS21136.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 106  ( 536 )  Summary  = 106  ( 536 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 206  ( 206 )   Summary  = 3950  ( 3950 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 206  ( 206 )   FreeWire = 0  ( 0 )   FreeEdge  = 4 ( 4 )   SharedEdge = 1760  ( 1760 )
-TOLERANCE   : MaxTol   =   0.2688118771  (   0.2688118774 )  AvgTol   =  0.0006626012546  (  0.0006624636278 )
-LABELS      : N0Labels = 210  ( 210 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 210  ( 210 )   NameLabels = 210  ( 210 )   ColorLabels = 210  ( 210 )   LayerLabels = 210  ( 210 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 7  ( 7 )
-COLORS      : Colors   = BURLYWOOD1 DARKORANGE DEEPSKYBLUE1 GRAY79 MAGENTA1 MEDIUMSPRINGGREEN WHITE  ( BURLYWOOD1 DARKORANGE DEEPSKYBLUE1 GRAY79 MAGENTA1 MEDIUMSPRINGGREEN WHITE )
-NLAYERS     : NLayers  = 10  ( 10 )
-LAYERS      : Layers   = 2 3 4 50 52 53 54 55 58 59  ( 2 3 4 50 52 53 54 55 58 59 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 536 -max_faults 0
+checkxstat D_First -n0 210 -n1 0 -n2 0 -total 210 -withname 210 -withcolor 210 -withlayer 210 -centroid 0 -volume 0 -area 0 -colors { BURLYWOOD1 DARKORANGE DEEPSKYBLUE1 GRAY79 MAGENTA1 MEDIUMSPRINGGREEN WHITE } -nbcolors 7 -layers { 2 3 4 50 52 53 54 55 58 59 } -nblayers 10
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 206 -shape 3950
+checkstatshape res_1 -solid 0 -shell 0 -face 206 -freewire 0 -freeedge 4 -sharededge 1760
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.2688118774 -avg 0.0006624636278]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 536 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 106 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 210 -n1 0 -n2 0 -total 210 -withname 210 -withcolor 210 -withlayer 210 -centroid 0 -volume 0 -area 0 -nbcolors 7 -nblayers 10
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 210 -n1 0 -n2 0 -total 210 -withname 210 -withcolor 210 -withlayer 210 -centroid 0 -volume 0 -area 0 -colors { BURLYWOOD1 DARKORANGE DEEPSKYBLUE1 GRAY79 MAGENTA1 MEDIUMSPRINGGREEN WHITE  } -nbcolors 7 -layers { 2 3 4 50 52 53 54 55 58 59  } -nblayers 10
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 206 -shape 3950 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 206 -freewire 0 -freeedge 4 -sharededge 1760 -max_solid 0 -max_shell 0 -max_face 206 -max_freewire 0 -max_freeedge 4
+checkmaxtol res_2 -tol 0.2688118771 -avg 0.0006626012546 -max_tol ${max_tol_res_1}
+
index ff0cdafc0fd865683c06428e8dc8b982f5d346a9..a5056bff5181bbf0caffd32d52ccc87127cebad4 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename CTS21866.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 82  ( 85 )  Summary  = 82  ( 85 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1459  ( 1459 )   Summary  = 19160  ( 19160 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1459  ( 1459 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 8093  ( 8093 )
-TOLERANCE   : MaxTol   =   0.9346509485  (   0.9346509437 )  AvgTol   =   0.02356731391  (   0.02356733517 )
-LABELS      : N0Labels = 1459  ( 1459 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1459  ( 1459 )   NameLabels = 1459  ( 1459 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 11531 -max_faults 0
+checkdoc "tpstat c" -max_warns 92 -max_faults 0
+checkxstat D_First -n0 1459 -n1 0 -n2 0 -total 1459 -withname 1459 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1459 -shape 19160
+checkstatshape res_1 -solid 0 -shell 0 -face 1459 -freewire 0 -freeedge 0 -sharededge 8093
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9346509437 -avg 0.02356733517]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 11531 -max_faults 0
+checkdoc "tpstat c" -max_warns 92 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 89 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1459 -n1 0 -n2 0 -total 1459 -withname 1459 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1459 -n1 0 -n2 0 -total 1459 -withname 1459 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1459 -shape 19160 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1459 -freewire 0 -freeedge 0 -sharededge 8093 -max_solid 0 -max_shell 0 -max_face 1459 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9346509485 -avg 0.02356731391 -max_tol ${max_tol_res_1}
+
index 7c1fee9f188dee2dee3528ebf3520f2569fb8232..10573c69d76406085670864e5217b789aaff02e0 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename CTS60168.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 2 )  Summary  = 0  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 9  ( 9 )   Summary  = 166  ( 166 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 9  ( 9 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 73  ( 73 )
-TOLERANCE   : MaxTol   =     0.54574397  (   0.5457439747 )  AvgTol   =   0.06954487896  (   0.06954487788 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 9 -shape 166
+checkstatshape res_1 -solid 0 -shell 0 -face 9 -freewire 0 -freeedge 0 -sharededge 73
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.5457439747 -avg 0.06954487788]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 9 -shape 166 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 9 -freewire 0 -freeedge 0 -sharededge 73 -max_solid 0 -max_shell 0 -max_face 9 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.54574397 -avg 0.06954487896 -max_tol ${max_tol_res_1}
+
index cc0d24e0a53b8b5f2d67af56cd5296ee21cfc406..32e29025f85c9640d424711876843cc393348e82 100644 (file)
@@ -1,20 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR25923 ALL: TPSTAT : Faulty" 
 
 set filename FRA60182.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 2 )  Summary  = 1  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1029  ( 1029 )   Summary  = 14017  ( 14019 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1029  ( 1029 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 5991  ( 5989 )
-TOLERANCE   : MaxTol   =   0.9998969699  (   0.9998969699 )  AvgTol   =   0.03184826265  (   0.03187529348 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1029 -shape 14019
+checkstatshape res_1 -solid 0 -shell 0 -face 1029 -freewire 0 -freeedge 0 -sharededge 5989
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9998969699 -avg 0.03187529348]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1029 -shape 14017 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1029 -freewire 0 -freeedge 0 -sharededge 5991 -max_solid 0 -max_shell 0 -max_face 1029 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9998969699 -avg 0.03184826265 -max_tol ${max_tol_res_1}
+
index 79fc3ba6844d943004318711fe415eae1179d96f..335b0d5ae9d1f3d65a06ccd5a2b9b8d8697d1765 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename GER61123-1.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 2 )  Summary  = 0  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 519  ( 519 )   Summary  = 6139  ( 6139 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 519  ( 519 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 2502  ( 2502 )
-TOLERANCE   : MaxTol   =   0.8632897705  (   0.8632897802 )  AvgTol   =   0.04019572889  (    0.0401958388 )
-LABELS      : N0Labels = 519  ( 519 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 519  ( 519 )   NameLabels = 519  ( 519 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 519 -n1 0 -n2 0 -total 519 -withname 519 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 519 -shape 6139
+checkstatshape res_1 -solid 0 -shell 0 -face 519 -freewire 0 -freeedge 0 -sharededge 2502
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.8632897802 -avg 0.0401958388]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 519 -n1 0 -n2 0 -total 519 -withname 519 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 519 -n1 0 -n2 0 -total 519 -withname 519 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 519 -shape 6139 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 519 -freewire 0 -freeedge 0 -sharededge 2502 -max_solid 0 -max_shell 0 -max_face 519 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.8632897705 -avg 0.04019572889 -max_tol ${max_tol_res_1}
+
index dfd55a0e1578b8548747da5761d2ae5ab29b85f5..25f593d24565277ea562dd5307d1e8674c143ee0 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename GER61123-2.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 2 )  Summary  = 0  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 537  ( 537 )   Summary  = 6497  ( 6497 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 537  ( 537 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 2655  ( 2655 )
-TOLERANCE   : MaxTol   =   0.9158783896  (   0.9159699741 )  AvgTol   =   0.08054961241  (   0.08054975206 )
-LABELS      : N0Labels = 537  ( 537 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 537  ( 537 )   NameLabels = 537  ( 537 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 537 -n1 0 -n2 0 -total 537 -withname 537 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 537 -shape 6497
+checkstatshape res_1 -solid 0 -shell 0 -face 537 -freewire 0 -freeedge 0 -sharededge 2655
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9159699741 -avg 0.08054975206]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 537 -n1 0 -n2 0 -total 537 -withname 537 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 537 -n1 0 -n2 0 -total 537 -withname 537 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 537 -shape 6497 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 537 -freewire 0 -freeedge 0 -sharededge 2655 -max_solid 0 -max_shell 0 -max_face 537 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9158783896 -avg 0.08054961241 -max_tol ${max_tol_res_1}
+
index 804ce2534f91e4c8642d1ca18614e9a70ee2bf6e..76e0d2965463198408d35e7fcfbbf7c87ec6250e 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename ITA60277.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 9  ( 9 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 1  ( 1 )   FreeEdge  = 4 ( 4 )   SharedEdge = 4  ( 4 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 9
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 1 -freeedge 4 -sharededge 4
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 9 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 1 -freeedge 4 -sharededge 4 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 1 -max_freeedge 4
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 8e8c7d3b5fc1ad0f963050f7b44c0050a2588082..3d6ea36b03e0e2e871bf0423e68156c3481d4322 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename NIC_file5.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1  ( 1 )   Summary  = 8  ( 8 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 4  ( 4 )
-TOLERANCE   : MaxTol   = 2.287521146e-007  ( 2.287522163e-007 )  AvgTol   =  1.556878604e-007  (  1.550159841e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1 -shape 8
+checkstatshape res_1 -solid 0 -shell 0 -face 1 -freewire 0 -freeedge 0 -sharededge 4
+set max_tol_res_1 [checkmaxtol res_1 -tol 2.287522163e-007 -avg 1.550159841e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1 -shape 8 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1 -freewire 0 -freeedge 0 -sharededge 4 -max_solid 0 -max_shell 0 -max_face 1 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 2.287521146e-007 -avg 1.556878604e-007 -max_tol ${max_tol_res_1}
+
index 46f43bf69f5b71ef7677e5c9218a344138455427..9f7d92f5c89d5da7e97edbb27d68974ec4a68027 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename PRO10629.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 320 )  Summary  = 0  ( 320 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 192  ( 192 )   Summary  = 8447  ( 8447 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 192  ( 192 )   FreeWire = 0  ( 0 )   FreeEdge  = 6 ( 6 )   SharedEdge = 4028  ( 4028 )
-TOLERANCE   : MaxTol   = 1.001437005e-005  (         1e-005 )  AvgTol   =  1.823426864e-006  (  9.520967742e-006 )
-LABELS      : N0Labels = 198  ( 198 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 198  ( 198 )   NameLabels = 198  ( 198 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 321 -max_faults 0
+checkxstat D_First -n0 198 -n1 0 -n2 0 -total 198 -withname 198 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 192 -shape 8447
+checkstatshape res_1 -solid 0 -shell 0 -face 192 -freewire 0 -freeedge 6 -sharededge 4028
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 9.520967742e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 321 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 198 -n1 0 -n2 0 -total 198 -withname 198 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 198 -n1 0 -n2 0 -total 198 -withname 198 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 192 -shape 8447 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 192 -freewire 0 -freeedge 6 -sharededge 4028 -max_solid 0 -max_shell 0 -max_face 192 -max_freewire 0 -max_freeedge 6
+checkmaxtol res_2 -tol 1.001437005e-005 -avg 1.823426864e-006 -max_tol ${max_tol_res_1}
+
index a68f54225123e78e95323aa33fe2e7c69301a483..bddcc64e4e9d3cadcf8608ce6887e0f5af251ae0 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename CTS21884.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 129  ( 71 )  Summary  = 129  ( 71 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 1 )  Shell    = 0  ( 1 )  Face     = 180  ( 180 )   Summary  = 2185  ( 1096 )
-STATSHAPE   : Solid    = 0  ( 1 )  Shell    = 0  ( 1 )  Face     = 180  ( 180 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 912  ( 457 )
-TOLERANCE   : MaxTol   =  0.04953179108  (  0.04952733504 )  AvgTol   =  0.005022224409  (  0.01224482043 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 180  ( 180 )  N2Labels = 0  ( 0 )   TotalLabels = 181  ( 181 )   NameLabels = 181  ( 181 )   ColorLabels = 180  ( 180 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 71 -max_faults 0
+checkxstat D_First -n0 1 -n1 180 -n2 0 -total 181 -withname 181 -withcolor 180 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 180 -shape 1096
+checkstatshape res_1 -solid 1 -shell 1 -face 180 -freewire 0 -freeedge 0 -sharededge 457
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.04952733504 -avg 0.01224482043]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 71 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 122 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 180 -n2 0 -total 181 -withname 181 -withcolor 180 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 180 -n2 0 -total 181 -withname 181 -withcolor 180 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 180 -shape 2185 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 180 -freewire 0 -freeedge 0 -sharededge 912 -max_solid 1 -max_shell 1 -max_face 180 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.04953179108 -avg 0.005022224409 -max_tol ${max_tol_res_1}
+
index d30026b5df20531dba3bbb5decd1f15edd23698b..d4a7e3044b52f72dbcfa5f8131fdff18c702368a 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename PRO18762.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 189  ( 189 )   Summary  = 2471  ( 2471 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 189  ( 189 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1047  ( 1047 )
-TOLERANCE   : MaxTol   =   0.9674930965  (   0.9674931058 )  AvgTol   =   0.07394156089  (   0.07394139392 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 189 -shape 2471
+checkstatshape res_1 -solid 0 -shell 0 -face 189 -freewire 0 -freeedge 0 -sharededge 1047
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9674931058 -avg 0.07394139392]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 189 -shape 2471 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 189 -freewire 0 -freeedge 0 -sharededge 1047 -max_solid 0 -max_shell 0 -max_face 189 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9674930965 -avg 0.07394156089 -max_tol ${max_tol_res_1}
+
index ef1193eba3d5fb20294ed3fe959fc8b830353793..eea75d952b43a3b4b2e27ccb309a11866f48b44d 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename REN20001.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1  ( 1 )   Summary  = 12  ( 12 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 5  ( 5 )
-TOLERANCE   : MaxTol   =   0.1038480255  (   0.1038478805 )  AvgTol   =   0.08956664418  (   0.08956767442 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1 -shape 12
+checkstatshape res_1 -solid 0 -shell 0 -face 1 -freewire 0 -freeedge 0 -sharededge 5
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1038478805 -avg 0.08956767442]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1 -shape 12 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1 -freewire 0 -freeedge 0 -sharededge 5 -max_solid 0 -max_shell 0 -max_face 1 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.1038480255 -avg 0.08956664418 -max_tol ${max_tol_res_1}
+
index 2adb502d320297bbb5624c610adbd9f430d43608..63ef5f783593eba6abbceb209309694ea22a033a 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename Rough_1.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 168 )  Summary  = 0  ( 168 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 2136  ( 2136 )   Summary  = 24367  ( 24367 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 2136  ( 2136 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 10058  ( 10058 )
-TOLERANCE   : MaxTol   =     0.05529392  (  0.05529391994 )  AvgTol   =  0.0003644351093  (  0.0003640919991 )
-LABELS      : N0Labels = 2136  ( 2136 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 2136  ( 2136 )   NameLabels = 2136  ( 2136 )   ColorLabels = 2136  ( 2136 )   LayerLabels = 2136  ( 2136 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLACK CYAN1 YELLOW  ( BLACK CYAN1 YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 178 -max_faults 0
+checkxstat D_First -n0 2136 -n1 0 -n2 0 -total 2136 -withname 2136 -withcolor 2136 -withlayer 2136 -centroid 0 -volume 0 -area 0 -colors { BLACK CYAN1 YELLOW } -nbcolors 3 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 2136 -shape 24367
+checkstatshape res_1 -solid 0 -shell 0 -face 2136 -freewire 0 -freeedge 0 -sharededge 10058
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.05529391994 -avg 0.0003640919991]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 178 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2136 -n1 0 -n2 0 -total 2136 -withname 2136 -withcolor 2136 -withlayer 2136 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2136 -n1 0 -n2 0 -total 2136 -withname 2136 -withcolor 2136 -withlayer 2136 -centroid 0 -volume 0 -area 0 -colors { BLACK CYAN1 YELLOW  } -nbcolors 3 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 2136 -shape 24367 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 2136 -freewire 0 -freeedge 0 -sharededge 10058 -max_solid 0 -max_shell 0 -max_face 2136 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.05529392 -avg 0.0003644351093 -max_tol ${max_tol_res_1}
+
index 61260a783842cb51fa6b07dec597e7e60b6926a0..c898f52c503f41a8c69c68cc924afd9d28502a53 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename Table20.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 8  ( 206 )  Summary  = 8  ( 206 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 309  ( 309 )   Summary  = 7205  ( 7205 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 309  ( 309 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 3274  ( 3274 )
-TOLERANCE   : MaxTol   =   0.9528326294  (    0.952832627 )  AvgTol   =   0.02908511465  (   0.02909176809 )
-LABELS      : N0Labels = 309  ( 309 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 309  ( 309 )   NameLabels = 309  ( 309 )   ColorLabels = 309  ( 309 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GRAY  ( GRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 206 -max_faults 0
+checkxstat D_First -n0 309 -n1 0 -n2 0 -total 309 -withname 309 -withcolor 309 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 309 -shape 7205
+checkstatshape res_1 -solid 0 -shell 0 -face 309 -freewire 0 -freeedge 0 -sharededge 3274
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.952832627 -avg 0.02909176809]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 206 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 309 -n1 0 -n2 0 -total 309 -withname 309 -withcolor 309 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 309 -n1 0 -n2 0 -total 309 -withname 309 -withcolor 309 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 309 -shape 7205 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 309 -freewire 0 -freeedge 0 -sharededge 3274 -max_solid 0 -max_shell 0 -max_face 309 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9528326294 -avg 0.02908511465 -max_tol ${max_tol_res_1}
+
index 335f50fcfc401fed8a512e3582d8367bb56a9db2..8ed03f5287fd7068740d778e0f80a5315033558f 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename carfender.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 1 )  Warnings = 0  ( 0 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 12  ( 12 )   Summary  = 127  ( 127 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 12  ( 12 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 51  ( 51 )
-TOLERANCE   : MaxTol   =    0.015577035  (    0.015577035 )  AvgTol   =  0.005229384693  (  0.005229762271 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 12 -shape 127
+checkstatshape res_1 -solid 0 -shell 0 -face 12 -freewire 0 -freeedge 0 -sharededge 51
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.015577035 -avg 0.005229762271]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 12 -shape 127 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 12 -freewire 0 -freeedge 0 -sharededge 51 -max_solid 0 -max_shell 0 -max_face 12 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.015577035 -avg 0.005229384693 -max_tol ${max_tol_res_1}
+
index 4feb66f1d50d4a608eab9902b5c6cd3a62f3751b..836d1a47873c33c6ad465159a2a1203bfc344009 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename castest1.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 1 )  Warnings = 0  ( 1 )  Summary  = 0  ( 2 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 12  ( 12 )   Summary  = 121  ( 121 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 12  ( 12 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 48  ( 48 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 12  ( 12 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 12  ( 12 )   NameLabels = 12  ( 12 )   ColorLabels = 12  ( 12 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GRAY  ( GRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 1
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 12 -n1 0 -n2 0 -total 12 -withname 12 -withcolor 12 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 12 -shape 121
+checkstatshape res_1 -solid 0 -shell 0 -face 12 -freewire 0 -freeedge 0 -sharededge 48
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 1
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 12 -n1 0 -n2 0 -total 12 -withname 12 -withcolor 12 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 12 -n1 0 -n2 0 -total 12 -withname 12 -withcolor 12 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 12 -shape 121 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 12 -freewire 0 -freeedge 0 -sharededge 48 -max_solid 0 -max_shell 0 -max_face 12 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 24beba7f7fcf8a85dc4ae5385034f306161c4557..2c0fa8542911fe9472f5d8a339a8c400d3721f5c 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename castest2.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 1 )  Warnings = 0  ( 1 )  Summary  = 0  ( 2 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 2  ( 2 )   Summary  = 21  ( 21 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 2  ( 2 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 8  ( 8 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 2  ( 2 )   NameLabels = 2  ( 2 )   ColorLabels = 2  ( 2 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GRAY  ( GRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 1
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 2 -shape 21
+checkstatshape res_1 -solid 0 -shell 0 -face 2 -freewire 0 -freeedge 0 -sharededge 8
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 1
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 2 -shape 21 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 2 -freewire 0 -freeedge 0 -sharededge 8 -max_solid 0 -max_shell 0 -max_face 2 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index a04b69cd7f11ef64bd7b645800d20052cd0a4693..68fe17d7fa637a06d131ddd8090ab3294444d1ae 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename castest3a.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 1 )  Warnings = 0  ( 1 )  Summary  = 0  ( 2 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1  ( 1 )   Summary  = 10  ( 10 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 4  ( 4 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GRAY  ( GRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 1
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1 -shape 10
+checkstatshape res_1 -solid 0 -shell 0 -face 1 -freewire 0 -freeedge 0 -sharededge 4
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 1
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1 -shape 10 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1 -freewire 0 -freeedge 0 -sharededge 4 -max_solid 0 -max_shell 0 -max_face 1 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index b72b63f49afee313544cb7031d06779831835e1a..05e18565e486753a56db392707ecd0810021de95 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename compsolid.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 13  ( 13 )   Summary  = 139  ( 141 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 13  ( 13 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 56  ( 56 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 13 -shape 141
+checkstatshape res_1 -solid 0 -shell 0 -face 13 -freewire 0 -freeedge 0 -sharededge 56
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 13 -shape 139 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 13 -freewire 0 -freeedge 0 -sharededge 56 -max_solid 0 -max_shell 0 -max_face 13 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index cea66f08671ebd367b2a17946095b0125d00390c..f29276e81882ffa9dcd3a293a81ce64ca1d1355b 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename crapaud_corrupted.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 213  ( 213 )   Summary  = 2333  ( 2333 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 213  ( 213 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 961  ( 961 )
-TOLERANCE   : MaxTol   = 0.005110402507  ( 0.005110402507 )  AvgTol   =  0.0002970992888  (   0.00029709923 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 213 -shape 2333
+checkstatshape res_1 -solid 0 -shell 0 -face 213 -freewire 0 -freeedge 0 -sharededge 961
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.005110402507 -avg 0.00029709923]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 213 -shape 2333 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 213 -freewire 0 -freeedge 0 -sharededge 961 -max_solid 0 -max_shell 0 -max_face 213 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.005110402507 -avg 0.0002970992888 -max_tol ${max_tol_res_1}
+
index 018c407c4add294fa61f738bf44820caf93281e2..0a4a2bee93bf1d127be0f8a6c1e53fd9ff9b640b 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename fauteuil.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 130  ( 130 )   Summary  = 1301  ( 1303 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 130  ( 130 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 520  ( 520 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 130 -shape 1303
+checkstatshape res_1 -solid 0 -shell 0 -face 130 -freewire 0 -freeedge 0 -sharededge 520
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 130 -shape 1301 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 130 -freewire 0 -freeedge 0 -sharededge 520 -max_solid 0 -max_shell 0 -max_face 130 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index dcac0e79d9e9a32eab6c6e891235b82259cd5ea2..00a8f23f5cdfa8d1254697e6d324e3d137131781 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename holedbox.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 6  ( 6 )   Summary  = 73  ( 73 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 6  ( 6 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 28  ( 28 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 6 -shape 73
+checkstatshape res_1 -solid 0 -shell 0 -face 6 -freewire 0 -freeedge 0 -sharededge 28
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 6 -shape 73 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 6 -freewire 0 -freeedge 0 -sharededge 28 -max_solid 0 -max_shell 0 -max_face 6 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 1e0776f64a0b09af7e1dc1bb79b61d79a55a7c32..f3208f782236b3ba4c7d03c5c48568649a5daea9 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename phone.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 68  ( 68 )   Summary  = 679  ( 679 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 68  ( 68 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 272  ( 272 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 68 -shape 679
+checkstatshape res_1 -solid 0 -shell 0 -face 68 -freewire 0 -freeedge 0 -sharededge 272
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 68 -shape 679 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 68 -freewire 0 -freeedge 0 -sharededge 272 -max_solid 0 -max_shell 0 -max_face 68 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 9f461d723953a6466780b2976b392a180fad28aa..658817e9be58f97d3240fc9d025e8b823d58704a 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename robinet_microsurface.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 29 )  Summary  = 2  ( 29 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 32  ( 32 )   Summary  = 419  ( 419 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 32  ( 32 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 177  ( 177 )
-TOLERANCE   : MaxTol   =  0.06404154287  (  0.06404154205 )  AvgTol   =  0.002360273594  (  0.002360979702 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 29 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 32 -shape 419
+checkstatshape res_1 -solid 0 -shell 0 -face 32 -freewire 0 -freeedge 0 -sharededge 177
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.06404154205 -avg 0.002360979702]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 29 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 32 -shape 419 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 32 -freewire 0 -freeedge 0 -sharededge 177 -max_solid 0 -max_shell 0 -max_face 32 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.06404154287 -avg 0.002360273594 -max_tol ${max_tol_res_1}
+
index 3b17d4f2be566b392398c3ab5a3472d0caa68ccb..99e429dcd696b326d10977dd0abc4603080aabab 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename scenrio2.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 26 )  Summary  = 0  ( 26 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 23  ( 23 )   Summary  = 993  ( 993 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 23  ( 23 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 468  ( 468 )
-TOLERANCE   : MaxTol   =   0.7088972898  (   0.7088972898 )  AvgTol   =  0.007706834255  (  0.007716106329 )
-LABELS      : N0Labels = 23  ( 23 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 23  ( 23 )   NameLabels = 23  ( 23 )   ColorLabels = 23  ( 23 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GRAY  ( GRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 26 -max_faults 0
+checkxstat D_First -n0 23 -n1 0 -n2 0 -total 23 -withname 23 -withcolor 23 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 23 -shape 993
+checkstatshape res_1 -solid 0 -shell 0 -face 23 -freewire 0 -freeedge 0 -sharededge 468
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.7088972898 -avg 0.007716106329]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 26 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 23 -n1 0 -n2 0 -total 23 -withname 23 -withcolor 23 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 23 -n1 0 -n2 0 -total 23 -withname 23 -withcolor 23 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 23 -shape 993 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 23 -freewire 0 -freeedge 0 -sharededge 468 -max_solid 0 -max_shell 0 -max_face 23 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.7088972898 -avg 0.007706834255 -max_tol ${max_tol_res_1}
+
index 58e1b59c6dbcbaff08566cb6d7a227dced2fff8b..84c144f659165e48e794da768fa6a18091a05483 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename upm_italie.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 34  ( 35 )  Summary  = 34  ( 35 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 530  ( 530 )   Summary  = 6512  ( 6512 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 530  ( 530 )   FreeWire = 2  ( 2 )   FreeEdge  = 146 ( 146 )   SharedEdge = 2648  ( 2648 )
-TOLERANCE   : MaxTol   =   0.0469660729  (   0.0469660729 )  AvgTol   =  0.000869854804  (  0.0008698603728 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 35 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 530 -shape 6512
+checkstatshape res_1 -solid 0 -shell 0 -face 530 -freewire 2 -freeedge 146 -sharededge 2648
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0469660729 -avg 0.0008698603728]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 35 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 34 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 530 -shape 6512 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 530 -freewire 2 -freeedge 146 -sharededge 2648 -max_solid 0 -max_shell 0 -max_face 530 -max_freewire 2 -max_freeedge 146
+checkmaxtol res_2 -tol 0.0469660729 -avg 0.000869854804 -max_tol ${max_tol_res_1}
+
index 6f1dbbf3bf54688913029717093c85b2bff50833..180db2c94fe422a133465840892abe7793404763 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename TEC0278.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 5  ( 0 )  Summary  = 5  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 28  ( 27 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 2  ( 2 )   FreeEdge  = 12 ( 12 )   SharedEdge = 12  ( 12 )
-TOLERANCE   : MaxTol   = 1.946144384e-005  ( 1.946144167e-005 )  AvgTol   =  3.118935701e-006  (  3.98657152e-006 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 27
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 2 -freeedge 12 -sharededge 12
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.946144167e-005 -avg 3.98657152e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 28 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 2 -freeedge 12 -sharededge 12 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 2 -max_freeedge 12
+checkmaxtol res_2 -tol 1.946144384e-005 -avg 3.118935701e-006 -max_tol ${max_tol_res_1}
+
index d97d27990a57e360493d871f380e32316fd1b351..c6a8f5d46d01f3f5d59a83f57fb0351bb174b14d 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename UK1.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 87 )  Summary  = 1  ( 87 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 65  ( 65 )   Summary  = 981  ( 974 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 65  ( 65 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 425  ( 419 )
-TOLERANCE   : MaxTol   =         1e-005  (         1e-005 )  AvgTol   =  5.069367256e-007  (  5.437344663e-007 )
-LABELS      : N0Labels = 65  ( 65 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 65  ( 65 )   NameLabels = 65  ( 65 )   ColorLabels = 0  ( 0 )   LayerLabels = 65  ( 65 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 87 -max_faults 0
+checkxstat D_First -n0 65 -n1 0 -n2 0 -total 65 -withname 65 -withcolor 0 -withlayer 65 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 65 -shape 974
+checkstatshape res_1 -solid 0 -shell 0 -face 65 -freewire 0 -freeedge 0 -sharededge 419
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 5.437344663e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 87 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 65 -n1 0 -n2 0 -total 65 -withname 65 -withcolor 0 -withlayer 65 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 65 -n1 0 -n2 0 -total 65 -withname 65 -withcolor 0 -withlayer 65 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 65 -shape 981 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 65 -freewire 0 -freeedge 0 -sharededge 425 -max_solid 0 -max_shell 0 -max_face 65 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-005 -avg 5.069367256e-007 -max_tol ${max_tol_res_1}
+
index 8a55f20877f8c14e953fcbbd639beacb0b2af794..9fa376dd6c5820cdcbb6e7186b38f6d2419de52c 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename UK2.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 26  ( 96 )  Summary  = 26  ( 96 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 71  ( 71 )   Summary  = 1714  ( 1714 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 71  ( 71 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 780  ( 780 )
-TOLERANCE   : MaxTol   =   0.6714388732  (   0.6714388722 )  AvgTol   =   0.03709378851  (    0.0370998158 )
-LABELS      : N0Labels = 71  ( 71 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 71  ( 71 )   NameLabels = 71  ( 71 )   ColorLabels = 0  ( 0 )   LayerLabels = 71  ( 71 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 96 -max_faults 0
+checkxstat D_First -n0 71 -n1 0 -n2 0 -total 71 -withname 71 -withcolor 0 -withlayer 71 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 71 -shape 1714
+checkstatshape res_1 -solid 0 -shell 0 -face 71 -freewire 0 -freeedge 0 -sharededge 780
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.6714388722 -avg 0.0370998158]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 96 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 26 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 71 -n1 0 -n2 0 -total 71 -withname 71 -withcolor 0 -withlayer 71 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 71 -n1 0 -n2 0 -total 71 -withname 71 -withcolor 0 -withlayer 71 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 71 -shape 1714 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 71 -freewire 0 -freeedge 0 -sharededge 780 -max_solid 0 -max_shell 0 -max_face 71 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.6714388732 -avg 0.03709378851 -max_tol ${max_tol_res_1}
+
index b524f8243f36a2a6b4fb9505916801c5e2eff8ef..a4cdc21b98019c38c9fd816ec8bed11be06ab44a 100644 (file)
@@ -1,19 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 
 set filename UKI60095.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 13  ( 12 )  Summary  = 13  ( 12 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 622  ( 622 )   Summary  = 7855  ( 7855 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 622  ( 622 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 3285  ( 3285 )
-TOLERANCE   : MaxTol   =   0.9474413117  (   0.9474413171 )  AvgTol   =    0.0445709877  (   0.04457492124 )
-LABELS      : N0Labels = 622  ( 622 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 622  ( 622 )   NameLabels = 622  ( 622 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+checkxstat D_First -n0 622 -n1 0 -n2 0 -total 622 -withname 622 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 622 -shape 7855
+checkstatshape res_1 -solid 0 -shell 0 -face 622 -freewire 0 -freeedge 0 -sharededge 3285
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9474413171 -avg 0.04457492124]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 622 -n1 0 -n2 0 -total 622 -withname 622 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 622 -n1 0 -n2 0 -total 622 -withname 622 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 622 -shape 7855 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 622 -freewire 0 -freeedge 0 -sharededge 3285 -max_solid 0 -max_shell 0 -max_face 622 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9474413117 -avg 0.0445709877 -max_tol ${max_tol_res_1}
+
index 204ed3d79800ff3c0e92cef37813f3ec90a5fc58..a5403f61f489b6562299ec881c54d52c4cd18737 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename UKI60155.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 2 )  Summary  = 2  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 228  ( 228 )   Summary  = 3031  ( 3031 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 228  ( 228 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1288  ( 1288 )
-TOLERANCE   : MaxTol   =   0.9908409583  (   0.9908409583 )  AvgTol   =   0.05061446111  (   0.05061549122 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 228 -shape 3031
+checkstatshape res_1 -solid 0 -shell 0 -face 228 -freewire 0 -freeedge 0 -sharededge 1288
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9908409583 -avg 0.05061549122]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 228 -shape 3031 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 228 -freewire 0 -freeedge 0 -sharededge 1288 -max_solid 0 -max_shell 0 -max_face 228 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9908409583 -avg 0.05061446111 -max_tol ${max_tol_res_1}
+
index be4c0930dff0fefe1b3177f63e2ee3340db368f9..6a0da00d3e29ddeaa7e547a828e5930dde90fd57 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename USA60337.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 7  ( 157 )  Summary  = 7  ( 157 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 52  ( 52 )   Summary  = 851  ( 851 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 52  ( 52 )   FreeWire = 0  ( 0 )   FreeEdge  = 3 ( 3 )   SharedEdge = 372  ( 372 )
-TOLERANCE   : MaxTol   =   0.2057401816  (    0.205740183 )  AvgTol   =  0.001181147318  (  0.001181149489 )
-LABELS      : N0Labels = 55  ( 55 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 55  ( 55 )   NameLabels = 55  ( 55 )   ColorLabels = 53  ( 53 )   LayerLabels = 55  ( 55 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = CYAN1 MAGENTA1  ( CYAN1 MAGENTA1 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 6  ( 6 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 157 -max_faults 0
+checkxstat D_First -n0 55 -n1 0 -n2 0 -total 55 -withname 55 -withcolor 53 -withlayer 55 -centroid 0 -volume 0 -area 0 -colors { CYAN1 MAGENTA1 } -nbcolors 2 -layers { 6 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 52 -shape 851
+checkstatshape res_1 -solid 0 -shell 0 -face 52 -freewire 0 -freeedge 3 -sharededge 372
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.205740183 -avg 0.001181149489]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 157 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 55 -n1 0 -n2 0 -total 55 -withname 55 -withcolor 53 -withlayer 55 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 55 -n1 0 -n2 0 -total 55 -withname 55 -withcolor 53 -withlayer 55 -centroid 0 -volume 0 -area 0 -colors { CYAN1 MAGENTA1  } -nbcolors 2 -layers { 6  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 52 -shape 851 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 52 -freewire 0 -freeedge 3 -sharededge 372 -max_solid 0 -max_shell 0 -max_face 52 -max_freewire 0 -max_freeedge 3
+checkmaxtol res_2 -tol 0.2057401816 -avg 0.001181147318 -max_tol ${max_tol_res_1}
+
index 627311b90e0484d13885be9d317a794371e83e64..f5acb302f115edd7f06eabbd139376ce867955a3 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename annie_surf.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 4 )  Summary  = 0  ( 4 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 74  ( 74 )   Summary  = 957  ( 957 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 74  ( 74 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 402  ( 402 )
-TOLERANCE   : MaxTol   =   0.4002596462  (   0.4002596419 )  AvgTol   =   0.07066549153  (   0.07066573636 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 74 -shape 957
+checkstatshape res_1 -solid 0 -shell 0 -face 74 -freewire 0 -freeedge 0 -sharededge 402
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.4002596419 -avg 0.07066573636]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 74 -shape 957 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 74 -freewire 0 -freeedge 0 -sharededge 402 -max_solid 0 -max_shell 0 -max_face 74 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.4002596462 -avg 0.07066549153 -max_tol ${max_tol_res_1}
+
index ec314d1267398621db3ca43ec8b8c5baf7bb052b..4a24bee84e9d6e39e602a618ca4d3c2d878df0f3 100644 (file)
@@ -1,20 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR25923 ALL: TPSTAT : Faulty"
 
 set filename clapet.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 427  ( 427 )   Summary  = 6071  ( 6071 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 427  ( 427 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 2607  ( 2607 )
-TOLERANCE   : MaxTol   =   0.9913863463  (   0.9913863463 )  AvgTol   =   0.05768021989  (   0.05768022342 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 427 -shape 6071
+checkstatshape res_1 -solid 0 -shell 0 -face 427 -freewire 0 -freeedge 0 -sharededge 2607
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9913863463 -avg 0.05768022342]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 427 -shape 6071 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 427 -freewire 0 -freeedge 0 -sharededge 2607 -max_solid 0 -max_shell 0 -max_face 427 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9913863463 -avg 0.05768021989 -max_tol ${max_tol_res_1}
+
index 4d8cf75dc8a95e2472e07d92b189c1724f0242f7..c7e2494d90a13eaff3511c492e06c997ed9f1eab 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename coq-inf-support.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 3 )  Summary  = 1  ( 3 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 380  ( 380 )   Summary  = 4599  ( 4599 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 380  ( 380 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1904  ( 1904 )
-TOLERANCE   : MaxTol   =   0.7395230815  (   0.7395230851 )  AvgTol   =   0.02340356526  (   0.02340359477 )
-LABELS      : N0Labels = 380  ( 380 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 380  ( 380 )   NameLabels = 380  ( 380 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+checkxstat D_First -n0 380 -n1 0 -n2 0 -total 380 -withname 380 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 380 -shape 4599
+checkstatshape res_1 -solid 0 -shell 0 -face 380 -freewire 0 -freeedge 0 -sharededge 1904
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.7395230851 -avg 0.02340359477]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 380 -n1 0 -n2 0 -total 380 -withname 380 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 380 -n1 0 -n2 0 -total 380 -withname 380 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 380 -shape 4599 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 380 -freewire 0 -freeedge 0 -sharededge 1904 -max_solid 0 -max_shell 0 -max_face 380 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.7395230815 -avg 0.02340356526 -max_tol ${max_tol_res_1}
+
index 6b7df4860df15d20e01f41e6b27a3ce27e95bb2f..dd0109f2777e8a77584ba7af125731561dc861cc 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename coq-sup-support.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 2 )  Summary  = 0  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 1  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 409  ( 409 )   Summary  = 5244  ( 5244 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 409  ( 409 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 2207  ( 2207 )
-TOLERANCE   : MaxTol   =   0.9579389807  (   0.9579389801 )  AvgTol   =   0.05177332439  (   0.05180172526 )
-LABELS      : N0Labels = 409  ( 409 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 409  ( 409 )   NameLabels = 409  ( 409 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 409 -n1 0 -n2 0 -total 409 -withname 409 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 409 -shape 5244
+checkstatshape res_1 -solid 0 -shell 0 -face 409 -freewire 0 -freeedge 0 -sharededge 2207
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9579389801 -avg 0.05180172526]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 409 -n1 0 -n2 0 -total 409 -withname 409 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 409 -n1 0 -n2 0 -total 409 -withname 409 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 409 -shape 5244 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 409 -freewire 0 -freeedge 0 -sharededge 2207 -max_solid 0 -max_shell 0 -max_face 409 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9579389807 -avg 0.05177332439 -max_tol ${max_tol_res_1}
+
index 86585ac819047be5074c0e23561b26ff2b957fae..cb2bf687ae6cb9104bb950481e346bb0c1d4f479 100755 (executable)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename frame.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 5005 )  Warnings = 0  ( 1 )  Summary  = 0  ( 5006 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 6  ( 0 )  Summary  = 6  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 410  ( 410 )   Summary  = 11585  ( 11585 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 410  ( 410 )   FreeWire = 410  ( 410 )   FreeEdge  = 2910 ( 2910 )   SharedEdge = 4569  ( 4569 )
-TOLERANCE   : MaxTol   =   0.6309534605  (   0.6309534603 )  AvgTol   =   0.01007170672  (    0.0100718085 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 1651  ( 2052 )  N2Labels = 0  ( 0 )   TotalLabels = 1652  ( 2053 )   NameLabels = 1652  ( 2053 )   ColorLabels = 1651  ( 2052 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 5005
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 2052 -n2 0 -total 2053 -withname 2053 -withcolor 2052 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 410 -shape 11585
+checkstatshape res_1 -solid 0 -shell 0 -face 410 -freewire 410 -freeedge 2910 -sharededge 4569
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.6309534603 -avg 0.0100718085]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 5005
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 2052 -n2 0 -total 2053 -withname 2053 -withcolor 2052 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 1651 -n2 0 -total 1652 -withname 1652 -withcolor 1651 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 410 -shape 11585 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 410 -freewire 410 -freeedge 2910 -sharededge 4569 -max_solid 0 -max_shell 0 -max_face 410 -max_freewire 410 -max_freeedge 2910
+checkmaxtol res_2 -tol 0.6309534605 -avg 0.01007170672 -max_tol ${max_tol_res_1}
+
index acb95cdfa755569e602ec2d79b0f7ffce1b3c877..5505a3f64e38f785b0fd51c9065ebb18f823c3e7 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename ims012.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 76 )  Summary  = 0  ( 76 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 79  ( 79 )   Summary  = 2314  ( 2314 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 79  ( 79 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1068  ( 1068 )
-TOLERANCE   : MaxTol   = 6.019859301e-006  (         1e-005 )  AvgTol   =  2.732868072e-007  (  7.554593962e-006 )
-LABELS      : N0Labels = 79  ( 79 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 79  ( 79 )   NameLabels = 79  ( 79 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 76 -max_faults 0
+checkxstat D_First -n0 79 -n1 0 -n2 0 -total 79 -withname 79 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 79 -shape 2314
+checkstatshape res_1 -solid 0 -shell 0 -face 79 -freewire 0 -freeedge 0 -sharededge 1068
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 7.554593962e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 76 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 79 -n1 0 -n2 0 -total 79 -withname 79 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 79 -n1 0 -n2 0 -total 79 -withname 79 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 79 -shape 2314 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 79 -freewire 0 -freeedge 0 -sharededge 1068 -max_solid 0 -max_shell 0 -max_face 79 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 6.019859301e-006 -avg 2.732868072e-007 -max_tol ${max_tol_res_1}
+
index 56a4441b5bbf64ba015d6f2b8f965cb6692a6e4f..27540fcab5fc507c5110aca8551ae7d7196dd9e5 100755 (executable)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 
-
 set filename lh93wsddr3370z4.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 164  ( 4127 )  Summary  = 164  ( 4127 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 448  ( 448 )   Summary  = 7237  ( 7237 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 448  ( 448 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 3192  ( 3192 )
-TOLERANCE   : MaxTol   =  0.08683083502  (  0.04341528762 )  AvgTol   =  0.0008700419523  (  0.0007558849075 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4158 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 448 -shape 7237
+checkstatshape res_1 -solid 0 -shell 0 -face 448 -freewire 0 -freeedge 0 -sharededge 3192
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.04341528762 -avg 0.0007558849075]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4158 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 165 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 448 -shape 7237 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 448 -freewire 0 -freeedge 0 -sharededge 3192 -max_solid 0 -max_shell 0 -max_face 448 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.08683083502 -avg 0.0008700419523 -max_tol ${max_tol_res_1}
+
index 256285c57c2a2282ded0f14170217c0331baa2f5..9f27d5d299b0fdf817a8bc86ebb1e1c34a5bba23 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename BUC40182.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 119 )  Summary  = 2  ( 119 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 48  ( 48 )   Summary  = 876  ( 876 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 48  ( 48 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 383  ( 383 )
-TOLERANCE   : MaxTol   =   0.4654616407  (   0.4654616407 )  AvgTol   =   0.01534289133  (   0.01534994109 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 48  ( 304 )  N2Labels = 0  ( 0 )   TotalLabels = 49  ( 305 )   NameLabels = 49  ( 72 )   ColorLabels = 48  ( 304 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = BLUE1 DARKGREEN WHITE YELLOW  ( BLUE1 DARKGREEN WHITE YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 119 -max_faults 0
+checkxstat D_First -n0 1 -n1 304 -n2 0 -total 305 -withname 72 -withcolor 304 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 DARKGREEN WHITE YELLOW } -nbcolors 4 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 48 -shape 876
+checkstatshape res_1 -solid 0 -shell 0 -face 48 -freewire 0 -freeedge 0 -sharededge 383
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.4654616407 -avg 0.01534994109]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 119 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 304 -n2 0 -total 305 -withname 72 -withcolor 304 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 48 -n2 0 -total 49 -withname 49 -withcolor 48 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 DARKGREEN WHITE YELLOW  } -nbcolors 4 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 48 -shape 876 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 48 -freewire 0 -freeedge 0 -sharededge 383 -max_solid 0 -max_shell 0 -max_face 48 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.4654616407 -avg 0.01534289133 -max_tol ${max_tol_res_1}
+
index 669ee91d92286338e240709a1aa97ceee49c1f19..ac035ff094d561b362a3d5042d879b87bba938c8 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename BUC50002.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 24 )  Summary  = 1  ( 24 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 98  ( 98 )   Summary  = 1489  ( 1489 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 98  ( 98 )   FreeWire = 0  ( 0 )   FreeEdge  = 26 ( 26 )   SharedEdge = 633  ( 633 )
-TOLERANCE   : MaxTol   =  0.03645053132  (  0.03645054227 )  AvgTol   =  0.0005450433705  (  0.0005479624657 )
-LABELS      : N0Labels = 124  ( 124 )  N1Labels = 0  ( 87 )  N2Labels = 0  ( 0 )   TotalLabels = 124  ( 211 )   NameLabels = 124  ( 124 )   ColorLabels = 124  ( 211 )   LayerLabels = 124  ( 211 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = 101 141  ( 101 141 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 24 -max_faults 0
+checkxstat D_First -n0 124 -n1 87 -n2 0 -total 211 -withname 124 -withcolor 211 -withlayer 211 -centroid 0 -volume 0 -area 0 -colors { GREEN } -nbcolors 1 -layers { 101 141 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 98 -shape 1489
+checkstatshape res_1 -solid 0 -shell 0 -face 98 -freewire 0 -freeedge 26 -sharededge 633
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.03645054227 -avg 0.0005479624657]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 24 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 124 -n1 87 -n2 0 -total 211 -withname 124 -withcolor 211 -withlayer 211 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 124 -n1 0 -n2 0 -total 124 -withname 124 -withcolor 124 -withlayer 124 -centroid 0 -volume 0 -area 0 -colors { GREEN  } -nbcolors 1 -layers { 101 141  } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 98 -shape 1489 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 98 -freewire 0 -freeedge 26 -sharededge 633 -max_solid 0 -max_shell 0 -max_face 98 -max_freewire 0 -max_freeedge 26
+checkmaxtol res_2 -tol 0.03645053132 -avg 0.0005450433705 -max_tol ${max_tol_res_1}
+
index bce38489a198bdc173bfaf3d526fba6beb09f8a6..45f4b20cf50e2e36443635d0d29d01970b0b94b8 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 
-
 set filename BUC50024.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 14 )  Summary  = 0  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 11  ( 11 )   Summary  = 605  ( 605 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 11  ( 11 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 291  ( 291 )
-TOLERANCE   : MaxTol   =  0.03107706969  (  0.01553878539 )  AvgTol   =  0.0002156995011  (  0.000180475073 )
-LABELS      : N0Labels = 11  ( 11 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 11  ( 11 )   NameLabels = 11  ( 11 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 11 -n1 0 -n2 0 -total 11 -withname 11 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 11 -shape 605
+checkstatshape res_1 -solid 0 -shell 0 -face 11 -freewire 0 -freeedge 0 -sharededge 291
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01553878539 -avg 0.000180475073]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 11 -n1 0 -n2 0 -total 11 -withname 11 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 11 -n1 0 -n2 0 -total 11 -withname 11 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 11 -shape 605 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 11 -freewire 0 -freeedge 0 -sharededge 291 -max_solid 0 -max_shell 0 -max_face 11 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.03107706969 -avg 0.0002156995011 -max_tol ${max_tol_res_1}
+
index d023aa1beaa5818bde6eabb2d8eb47dd6375a11f..41e9567264e20133307d218839ca1ce94789e404 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" 
 
-
 set filename modelsup.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 7 )  Summary  = 1  ( 7 )
-CHECKSHAPE  : Wires    = 2  ( 1 )  Faces    = 2  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1477  ( 1477 )   Summary  = 18136  ( 18135 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1477  ( 1477 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 7639  ( 7639 )
-TOLERANCE   : MaxTol   =   0.9794963919  (   0.9794963919 )  AvgTol   =   0.03860117108  (   0.03861764608 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1477 -shape 18135
+checkstatshape res_1 -solid 0 -shell 0 -face 1477 -freewire 0 -freeedge 0 -sharededge 7639
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9794963919 -avg 0.03861764608]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1477 -shape 18136 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1477 -freewire 0 -freeedge 0 -sharededge 7639 -max_solid 0 -max_shell 0 -max_face 1477 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9794963919 -avg 0.03860117108 -max_tol ${max_tol_res_1}
+
index e21e53951ac52d1885533f11e127a637d3d78e8f..8ab4964438eb6f2d6af44d27eb623d413e9897f8 100755 (executable)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename BUC60032.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 53 )  Warnings = 72  ( 167 )  Summary  = 72  ( 220 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 42  ( 42 )   Summary  = 1082  ( 1135 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 42  ( 42 )   FreeWire = 8  ( 58 )   FreeEdge  = 217 ( 217 )   SharedEdge = 395  ( 395 )
-TOLERANCE   : MaxTol   =  0.01444583491  (  0.01444583491 )  AvgTol   =  0.0002992099521  (  0.0003004299328 )
-LABELS      : N0Labels = 3  ( 6 )  N1Labels = 193  ( 264 )  N2Labels = 0  ( 0 )   TotalLabels = 196  ( 270 )   NameLabels = 144  ( 230 )   ColorLabels = 193  ( 261 )   LayerLabels = 192  ( 209 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 6  ( 6 )
-COLORS      : Colors   = BLUE1 CYAN1 MAGENTA2 RED TURQUOISE3 WHITE  ( BLUE1 CYAN1 MAGENTA2 RED TURQUOISE3 WHITE )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = 1 252  ( 1 252 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 167 -max_faults 53
+checkxstat D_First -n0 6 -n1 264 -n2 0 -total 270 -withname 230 -withcolor 261 -withlayer 209 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 MAGENTA2 RED TURQUOISE3 WHITE } -nbcolors 6 -layers { 1 252 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 42 -shape 1135
+checkstatshape res_1 -solid 0 -shell 0 -face 42 -freewire 58 -freeedge 217 -sharededge 395
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01444583491 -avg 0.0003004299328]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 167 -max_faults 53
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 72 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 6 -n1 264 -n2 0 -total 270 -withname 230 -withcolor 261 -withlayer 209 -centroid 0 -volume 0 -area 0 -nbcolors 6 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 193 -n2 0 -total 196 -withname 144 -withcolor 193 -withlayer 192 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 MAGENTA2 RED TURQUOISE3 WHITE  } -nbcolors 6 -layers { 1 252  } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 42 -shape 1082 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 42 -freewire 8 -freeedge 217 -sharededge 395 -max_solid 0 -max_shell 0 -max_face 42 -max_freewire 58 -max_freeedge 217
+checkmaxtol res_2 -tol 0.01444583491 -avg 0.0002992099521 -max_tol ${max_tol_res_1}
+
index 9f8e8ac3755ad3cd4a66dc2daab049fc283a7e61..e412d3a1cae2f084971d52756b1261b53b080819 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename BUC60033.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 5 )  Warnings = 106  ( 832 )  Summary  = 106  ( 837 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 208  ( 208 )   Summary  = 7973  ( 8005 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 208  ( 208 )   FreeWire = 0  ( 32 )   FreeEdge  = 70 ( 70 )   SharedEdge = 3748  ( 3748 )
-TOLERANCE   : MaxTol   =   0.9049033554  (   0.9049033554 )  AvgTol   =   0.01221723065  (   0.01221855991 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 246  ( 2183 )  N2Labels = 0  ( 0 )   TotalLabels = 247  ( 2184 )   NameLabels = 247  ( 374 )   ColorLabels = 246  ( 2183 )   LayerLabels = 241  ( 2178 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = CYAN1 GREEN RED WHITE YELLOW  ( CYAN1 GREEN RED WHITE YELLOW )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = 100 101  ( 100 101 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 832 -max_faults 5
+checkxstat D_First -n0 1 -n1 2183 -n2 0 -total 2184 -withname 374 -withcolor 2183 -withlayer 2178 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN RED WHITE YELLOW } -nbcolors 5 -layers { 100 101 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 208 -shape 8005
+checkstatshape res_1 -solid 0 -shell 0 -face 208 -freewire 32 -freeedge 70 -sharededge 3748
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9049033554 -avg 0.01221855991]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 832 -max_faults 5
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 106 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 2183 -n2 0 -total 2184 -withname 374 -withcolor 2183 -withlayer 2178 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 246 -n2 0 -total 247 -withname 247 -withcolor 246 -withlayer 241 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN RED WHITE YELLOW  } -nbcolors 5 -layers { 100 101  } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 208 -shape 7973 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 208 -freewire 0 -freeedge 70 -sharededge 3748 -max_solid 0 -max_shell 0 -max_face 208 -max_freewire 32 -max_freeedge 70
+checkmaxtol res_2 -tol 0.9049033554 -avg 0.01221723065 -max_tol ${max_tol_res_1}
+
index 7ae10f6e8cafac4ea8a2bd6f2c1146b19ce2952b..263eddbe5e275ccc6c9f1e009bc7c150e1de2e53 100755 (executable)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename BUC60034.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 53 )  Warnings = 3  ( 637 )  Summary  = 3  ( 690 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1766  ( 1766 )   Summary  = 18582  ( 18587 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1766  ( 1766 )   FreeWire = 0  ( 2 )   FreeEdge  = 104 ( 104 )   SharedEdge = 7469  ( 7469 )
-TOLERANCE   : MaxTol   =   0.1881003203  (   0.1881003203 )  AvgTol   =  0.0004558439058  (  0.0004561112628 )
-LABELS      : N0Labels = 3  ( 6 )  N1Labels = 1868  ( 3154 )  N2Labels = 0  ( 0 )   TotalLabels = 1871  ( 3160 )   NameLabels = 1819  ( 2019 )   ColorLabels = 1868  ( 3151 )   LayerLabels = 1868  ( 3100 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = BLUE1 MAGENTA2 ORANGE RED WHITE  ( BLUE1 MAGENTA2 ORANGE RED WHITE )
-NLAYERS     : NLayers  = 4  ( 4 )
-LAYERS      : Layers   = 2 252 3 4  ( 2 252 3 4 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 637 -max_faults 53
+checkxstat D_First -n0 6 -n1 3154 -n2 0 -total 3160 -withname 2019 -withcolor 3151 -withlayer 3100 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA2 ORANGE RED WHITE } -nbcolors 5 -layers { 2 252 3 4 } -nblayers 4
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1766 -shape 18587
+checkstatshape res_1 -solid 0 -shell 0 -face 1766 -freewire 2 -freeedge 104 -sharededge 7469
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1881003203 -avg 0.0004561112628]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 637 -max_faults 53
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 6 -n1 3154 -n2 0 -total 3160 -withname 2019 -withcolor 3151 -withlayer 3100 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 4
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 1868 -n2 0 -total 1871 -withname 1819 -withcolor 1868 -withlayer 1868 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA2 ORANGE RED WHITE  } -nbcolors 5 -layers { 2 252 3 4  } -nblayers 4
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1766 -shape 18582 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1766 -freewire 0 -freeedge 104 -sharededge 7469 -max_solid 0 -max_shell 0 -max_face 1766 -max_freewire 2 -max_freeedge 104
+checkmaxtol res_2 -tol 0.1881003203 -avg 0.0004558439058 -max_tol ${max_tol_res_1}
+
index 0fdaab0fbfc718797b44b059d16cd3028c37e1f2..2c706bc8b9a928005ba3c391fa094de62785cbb5 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename BUC60035.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 5 )  Warnings = 82  ( 767 )  Summary  = 82  ( 772 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 208  ( 208 )   Summary  = 7763  ( 7763 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 208  ( 208 )   FreeWire = 0  ( 0 )   FreeEdge  = 6 ( 6 )   SharedEdge = 3665  ( 3665 )
-TOLERANCE   : MaxTol   =   0.1393674657  (   0.1393674657 )  AvgTol   =  0.003094049943  (  0.003079317701 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 214  ( 2533 )  N2Labels = 0  ( 0 )   TotalLabels = 215  ( 2534 )   NameLabels = 215  ( 330 )   ColorLabels = 214  ( 2533 )   LayerLabels = 209  ( 2528 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = CYAN1 GREEN RED WHITE YELLOW  ( CYAN1 GREEN RED WHITE YELLOW )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = 100 101  ( 100 101 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 798 -max_faults 5
+checkxstat D_First -n0 1 -n1 2533 -n2 0 -total 2534 -withname 330 -withcolor 2533 -withlayer 2528 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN RED WHITE YELLOW } -nbcolors 5 -layers { 100 101 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 208 -shape 7763
+checkstatshape res_1 -solid 0 -shell 0 -face 208 -freewire 0 -freeedge 6 -sharededge 3665
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1393674657 -avg 0.003079317701]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 798 -max_faults 5
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 86 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 2533 -n2 0 -total 2534 -withname 330 -withcolor 2533 -withlayer 2528 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 214 -n2 0 -total 215 -withname 215 -withcolor 214 -withlayer 209 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN RED WHITE YELLOW  } -nbcolors 5 -layers { 100 101  } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 208 -shape 7763 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 208 -freewire 0 -freeedge 6 -sharededge 3665 -max_solid 0 -max_shell 0 -max_face 208 -max_freewire 0 -max_freeedge 6
+checkmaxtol res_2 -tol 0.1393674657 -avg 0.003094049943 -max_tol ${max_tol_res_1}
+
index 8a5aed2b6ab1548361c0207d0bf958aebb5c6e59..a3cad00a0c86c0d58df2ca712e4d4996932e97c7 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename BUC60207.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 40 )  Summary  = 1  ( 40 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 22  ( 22 )   Summary  = 770  ( 770 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 22  ( 22 )   FreeWire = 6  ( 6 )   FreeEdge  = 123 ( 123 )   SharedEdge = 302  ( 302 )
-TOLERANCE   : MaxTol   =   0.9257818164  (   0.9257819919 )  AvgTol   =   0.02303074349  (    0.0230306875 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 131  ( 244 )  N2Labels = 0  ( 0 )   TotalLabels = 132  ( 245 )   NameLabels = 132  ( 149 )   ColorLabels = 131  ( 244 )   LayerLabels = 131  ( 244 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = BLUE1 GREEN STEELBLUE2 VIOLETRED2  ( BLUE1 GREEN STEELBLUE2 VIOLETRED2 )
-NLAYERS     : NLayers  = 4  ( 4 )
-LAYERS      : Layers   = 2 3 51 9  ( 2 3 51 9 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 41 -max_faults 0
+checkxstat D_First -n0 1 -n1 244 -n2 0 -total 245 -withname 149 -withcolor 244 -withlayer 244 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN STEELBLUE2 VIOLETRED2 } -nbcolors 4 -layers { 2 3 51 9 } -nblayers 4
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 22 -shape 770
+checkstatshape res_1 -solid 0 -shell 0 -face 22 -freewire 6 -freeedge 123 -sharededge 302
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9257819919 -avg 0.0230306875]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 41 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 244 -n2 0 -total 245 -withname 149 -withcolor 244 -withlayer 244 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 4
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 131 -n2 0 -total 132 -withname 132 -withcolor 131 -withlayer 131 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN STEELBLUE2 VIOLETRED2  } -nbcolors 4 -layers { 2 3 51 9  } -nblayers 4
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 22 -shape 770 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 22 -freewire 6 -freeedge 123 -sharededge 302 -max_solid 0 -max_shell 0 -max_face 22 -max_freewire 6 -max_freeedge 123
+checkmaxtol res_2 -tol 0.9257818164 -avg 0.02303074349 -max_tol ${max_tol_res_1}
+
index c9e012e535c489285cbc452065aaa15129643fb6..0096344f5eda63b65eb23fa590d96473b75bca85 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename BUC60216.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 57  ( 653 )  Summary  = 57  ( 653 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 218  ( 218 )   Summary  = 33194  ( 33225 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 218  ( 218 )   FreeWire = 77  ( 108 )   FreeEdge  = 2656 ( 2656 )   SharedEdge = 15767  ( 15767 )
-TOLERANCE   : MaxTol   =   0.1504135906  (   0.1504135906 )  AvgTol   =  0.0004235230987  (  0.0004477161756 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 1279  ( 2954 )  N2Labels = 0  ( 0 )   TotalLabels = 1281  ( 2956 )   NameLabels = 1281  ( 1491 )   ColorLabels = 1280  ( 2955 )   LayerLabels = 284  ( 1902 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = GREEN MAGENTA1 WHITE YELLOW  ( GREEN MAGENTA1 WHITE YELLOW )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = 1 2 3  ( 1 2 3 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 658 -max_faults 0
+checkxstat D_First -n0 2 -n1 2954 -n2 0 -total 2956 -withname 1491 -withcolor 2955 -withlayer 1902 -centroid 0 -volume 0 -area 0 -colors { GREEN MAGENTA1 WHITE YELLOW } -nbcolors 4 -layers { 1 2 3 } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 218 -shape 33225
+checkstatshape res_1 -solid 0 -shell 0 -face 218 -freewire 108 -freeedge 2656 -sharededge 15767
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1504135906 -avg 0.0004477161756]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 658 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 57 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 2954 -n2 0 -total 2956 -withname 1491 -withcolor 2955 -withlayer 1902 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 1279 -n2 0 -total 1281 -withname 1281 -withcolor 1280 -withlayer 284 -centroid 0 -volume 0 -area 0 -colors { GREEN MAGENTA1 WHITE YELLOW  } -nbcolors 4 -layers { 1 2 3  } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 218 -shape 33194 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 218 -freewire 77 -freeedge 2656 -sharededge 15767 -max_solid 0 -max_shell 0 -max_face 218 -max_freewire 108 -max_freeedge 2656
+checkmaxtol res_2 -tol 0.1504135906 -avg 0.0004235230987 -max_tol ${max_tol_res_1}
+
index c1407cdc31932d0fbd082da5e5e13e3a4a5ef1d7..d07d4ad5af13c53a5bf4d140ad617316ce999b32 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename BUC60625-2.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 11  ( 61 )  Summary  = 11  ( 61 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 120  ( 120 )   Summary  = 5254  ( 5260 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 120  ( 120 )   FreeWire = 31  ( 31 )   FreeEdge  = 1039 ( 1039 )   SharedEdge = 2048  ( 2048 )
-TOLERANCE   : MaxTol   =    0.763617442  (   0.7636174422 )  AvgTol   =  0.001290743922  (  0.001290622462 )
-LABELS      : N0Labels = 1051  ( 1051 )  N1Labels = 0  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 1051  ( 1064 )   NameLabels = 1051  ( 1051 )   ColorLabels = 971  ( 1064 )   LayerLabels = 971  ( 1051 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 8  ( 8 )
-COLORS      : Colors   = BLACK BLUE1 CYAN1 GREEN MAGENTA1 RED WHITE YELLOW  ( BLACK BLUE1 CYAN1 GREEN MAGENTA1 RED WHITE YELLOW )
-NLAYERS     : NLayers  = 7  ( 7 )
-LAYERS      : Layers   = 1 100 63 70 97 98 99  ( 1 100 63 70 97 98 99 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 61 -max_faults 0
+checkxstat D_First -n0 1051 -n1 13 -n2 0 -total 1064 -withname 1051 -withcolor 1064 -withlayer 1051 -centroid 0 -volume 0 -area 0 -colors { BLACK BLUE1 CYAN1 GREEN MAGENTA1 RED WHITE YELLOW } -nbcolors 8 -layers { 1 100 63 70 97 98 99 } -nblayers 7
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 120 -shape 5260
+checkstatshape res_1 -solid 0 -shell 0 -face 120 -freewire 31 -freeedge 1039 -sharededge 2048
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.7636174422 -avg 0.001290622462]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 61 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1051 -n1 13 -n2 0 -total 1064 -withname 1051 -withcolor 1064 -withlayer 1051 -centroid 0 -volume 0 -area 0 -nbcolors 8 -nblayers 7
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1051 -n1 0 -n2 0 -total 1051 -withname 1051 -withcolor 971 -withlayer 971 -centroid 0 -volume 0 -area 0 -colors { BLACK BLUE1 CYAN1 GREEN MAGENTA1 RED WHITE YELLOW  } -nbcolors 8 -layers { 1 100 63 70 97 98 99  } -nblayers 7
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 120 -shape 5254 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 120 -freewire 31 -freeedge 1039 -sharededge 2048 -max_solid 0 -max_shell 0 -max_face 120 -max_freewire 31 -max_freeedge 1039
+checkmaxtol res_2 -tol 0.763617442 -avg 0.001290743922 -max_tol ${max_tol_res_1}
+
index d7ebcfcdbe1e7c756181ac61b24616fc985f1343..0b7c0b2a284a08bf2118a003c0e8d14ef371be73 100755 (executable)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename BUC60800.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 8 )  Summary  = 0  ( 8 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1  ( 1 )   Summary  = 244  ( 244 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 121  ( 121 )
-TOLERANCE   : MaxTol   =          1e-07  ( 1.000369935e-07 )  AvgTol   =           1e-07  (  1.000003506e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 121 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 122 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 122 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+checkxstat D_First -n0 1 -n1 121 -n2 0 -total 122 -withname 1 -withcolor 122 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1 -shape 244
+checkstatshape res_1 -solid 0 -shell 0 -face 1 -freewire 0 -freeedge 0 -sharededge 121
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000369935e-07 -avg 1.000003506e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 121 -n2 0 -total 122 -withname 1 -withcolor 122 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1 -shape 244 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1 -freewire 0 -freeedge 0 -sharededge 121 -max_solid 0 -max_shell 0 -max_face 1 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-07 -avg 1e-07 -max_tol ${max_tol_res_1}
+
index 765295dda6d36982e5c814eb77e40da5a1e738b8..6cc44d7f442749670b7fb29e677d58f1c9df2599 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename BUC60850.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 232  ( 515 )  Summary  = 232  ( 515 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 146  ( 146 )   Summary  = 2430  ( 2430 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 146  ( 146 )   FreeWire = 5  ( 5 )   FreeEdge  = 176 ( 176 )   SharedEdge = 1005  ( 1005 )
-TOLERANCE   : MaxTol   =  0.02364292093  (   0.0236405571 )  AvgTol   =  9.640026567e-005  (  9.641748491e-005 )
-LABELS      : N0Labels = 285  ( 287 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 285  ( 287 )   NameLabels = 285  ( 287 )   ColorLabels = 279  ( 285 )   LayerLabels = 279  ( 285 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = MAGENTA1 WHITE  ( MAGENTA1 WHITE )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = 1 2  ( 1 2 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 515 -max_faults 0
+checkxstat D_First -n0 287 -n1 0 -n2 0 -total 287 -withname 287 -withcolor 285 -withlayer 285 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1 WHITE } -nbcolors 2 -layers { 1 2 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 146 -shape 2430
+checkstatshape res_1 -solid 0 -shell 0 -face 146 -freewire 5 -freeedge 176 -sharededge 1005
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0236405571 -avg 9.641748491e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 515 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 232 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 287 -n1 0 -n2 0 -total 287 -withname 287 -withcolor 285 -withlayer 285 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 285 -n1 0 -n2 0 -total 285 -withname 285 -withcolor 279 -withlayer 279 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1 WHITE  } -nbcolors 2 -layers { 1 2  } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 146 -shape 2430 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 146 -freewire 5 -freeedge 176 -sharededge 1005 -max_solid 0 -max_shell 0 -max_face 146 -max_freewire 5 -max_freeedge 176
+checkmaxtol res_2 -tol 0.02364292093 -avg 9.640026567e-005 -max_tol ${max_tol_res_1}
+
index e10327a1ca701f7c914a308f2ea0012637157db5..982f865cda0e9b6a2bf3ec25057c9cca4429c367 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename BUC61004-1.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 4 )  Warnings = 0  ( 0 )  Summary  = 0  ( 4 )
-TPSTAT      : Faulties = 0  ( 4 )  Warnings = 0  ( 312 )  Summary  = 0  ( 316 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 241  ( 241 )   Summary  = 9983  ( 9983 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 241  ( 241 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 4776  ( 4776 )
-TOLERANCE   : MaxTol   = 9.452110694e-06  (          1e-05 )  AvgTol   =  1.744349671e-07  (  8.133454698e-06 )
-LABELS      : N0Labels = 241  ( 241 )  N1Labels = 0  ( 83 )  N2Labels = 0  ( 0 )   TotalLabels = 241  ( 324 )   NameLabels = 241  ( 241 )   ColorLabels = 241  ( 324 )   LayerLabels = 241  ( 324 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = WHITE YELLOW  ( WHITE YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 10  ( 10 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 4
+checkdoc "tpstat c" -max_warns 312 -max_faults 4
+checkxstat D_First -n0 241 -n1 83 -n2 0 -total 324 -withname 241 -withcolor 324 -withlayer 324 -centroid 0 -volume 0 -area 0 -colors { WHITE YELLOW } -nbcolors 2 -layers { 10 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 241 -shape 9983
+checkstatshape res_1 -solid 0 -shell 0 -face 241 -freewire 0 -freeedge 0 -sharededge 4776
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-05 -avg 8.133454698e-06]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 4
+checkdoc "tpstat c" -max_warns 312 -max_faults 4
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 241 -n1 83 -n2 0 -total 324 -withname 241 -withcolor 324 -withlayer 324 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 241 -n1 0 -n2 0 -total 241 -withname 241 -withcolor 241 -withlayer 241 -centroid 0 -volume 0 -area 0 -colors { WHITE YELLOW  } -nbcolors 2 -layers { 10  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 241 -shape 9983 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 241 -freewire 0 -freeedge 0 -sharededge 4776 -max_solid 0 -max_shell 0 -max_face 241 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 9.452110694e-06 -avg 1.744349671e-07 -max_tol ${max_tol_res_1}
+
index e35df2a43bc40a208f78ab098afdfd29851c1ddd..cd1bd5c6f865a7ee8716c513c535f6abddb761b5 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename BUC61004-2.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 1 )  Warnings = 0  ( 1 )  Summary  = 0  ( 2 )
-TPSTAT      : Faulties = 0  ( 1 )  Warnings = 8  ( 427 )  Summary  = 8  ( 428 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 180  ( 180 )   Summary  = 19884  ( 19884 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 180  ( 180 )   FreeWire = 1  ( 1 )   FreeEdge  = 139 ( 139 )   SharedEdge = 9699  ( 9699 )
-TOLERANCE   : MaxTol   =   0.0305692698  (  0.03056926518 )  AvgTol   =   0.00147298413  (  0.001472983156 )
-LABELS      : N0Labels = 296  ( 296 )  N1Labels = 0  ( 1 )  N2Labels = 0  ( 0 )   TotalLabels = 296  ( 297 )   NameLabels = 296  ( 297 )   ColorLabels = 293  ( 294 )   LayerLabels = 31  ( 31 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = BLUE1 CYAN1 GREEN YELLOW  ( BLUE1 CYAN1 GREEN YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 1
+checkdoc "tpstat c" -max_warns 427 -max_faults 1
+checkxstat D_First -n0 296 -n1 1 -n2 0 -total 297 -withname 297 -withcolor 294 -withlayer 31 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN YELLOW } -nbcolors 4 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 180 -shape 19884
+checkstatshape res_1 -solid 0 -shell 0 -face 180 -freewire 1 -freeedge 139 -sharededge 9699
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.03056926518 -avg 0.001472983156]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 1
+checkdoc "tpstat c" -max_warns 427 -max_faults 1
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 296 -n1 1 -n2 0 -total 297 -withname 297 -withcolor 294 -withlayer 31 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 296 -n1 0 -n2 0 -total 296 -withname 296 -withcolor 293 -withlayer 31 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN YELLOW  } -nbcolors 4 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 180 -shape 19884 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 180 -freewire 1 -freeedge 139 -sharededge 9699 -max_solid 0 -max_shell 0 -max_face 180 -max_freewire 1 -max_freeedge 139
+checkmaxtol res_2 -tol 0.0305692698 -avg 0.00147298413 -max_tol ${max_tol_res_1}
+
index 23706b652c3b1a78f82b3940b0faf35360f36ada..9f4309638dab6d0d0536e9a07ed38f39f598981e 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename BUC61004-3.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 2 )  Warnings = 0  ( 0 )  Summary  = 0  ( 2 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 21 )  Summary  = 1  ( 21 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1  ( 1 )   Summary  = 10  ( 10 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 4  ( 4 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 21 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1 -shape 10
+checkstatshape res_1 -solid 0 -shell 0 -face 1 -freewire 0 -freeedge 0 -sharededge 4
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 21 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1 -shape 10 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1 -freewire 0 -freeedge 0 -sharededge 4 -max_solid 0 -max_shell 0 -max_face 1 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 5308278532e336ed0e2d20e278b9674e0a7d362f..6245b984b507a60526569cb679beda383003e0ec 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename CTS17806.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 478  ( 6259 )  Summary  = 478  ( 6259 )
-CHECKSHAPE  : Wires    = 0  ( 2 )  Faces    = 0  ( 3 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 3647  ( 3647 )   Summary  = 63291  ( 63420 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 3647  ( 3647 )   FreeWire = 180  ( 289 )   FreeEdge  = 1393 ( 1393 )   SharedEdge = 27767  ( 27781 )
-TOLERANCE   : MaxTol   =   0.9982953477  (   0.9982953477 )  AvgTol   =   0.01534250803  (   0.01547294777 )
-LABELS      : N0Labels = 403  ( 403 )  N1Labels = 3841  ( 15575 )  N2Labels = 0  ( 0 )   TotalLabels = 4244  ( 15978 )   NameLabels = 4242  ( 6516 )   ColorLabels = 4090  ( 15977 )   LayerLabels = 4090  ( 15977 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = BLUE1 CHARTREUSE CYAN1 DARKKHAKI LIGHTPINK1  ( BLUE1 CHARTREUSE CYAN1 DARKKHAKI LIGHTPINK1 )
-NLAYERS     : NLayers  = 4  ( 4 )
-LAYERS      : Layers   = 110 111 116 35  ( 110 111 116 35 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6295 -max_faults 0
+checkxstat D_First -n0 403 -n1 15575 -n2 0 -total 15978 -withname 6516 -withcolor 15977 -withlayer 15977 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CHARTREUSE CYAN1 DARKKHAKI LIGHTPINK1 } -nbcolors 5 -layers { 110 111 116 35 } -nblayers 4
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 2 -max_faces 3 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 3647 -shape 63420
+checkstatshape res_1 -solid 0 -shell 0 -face 3647 -freewire 289 -freeedge 1393 -sharededge 27781
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9982953477 -avg 0.01547294777]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6295 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 481 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 403 -n1 15575 -n2 0 -total 15978 -withname 6516 -withcolor 15977 -withlayer 15977 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 4
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 403 -n1 3841 -n2 0 -total 4244 -withname 4242 -withcolor 4090 -withlayer 4090 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CHARTREUSE CYAN1 DARKKHAKI LIGHTPINK1  } -nbcolors 5 -layers { 110 111 116 35  } -nblayers 4
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 2 -max_faces 3 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 3647 -shape 63291 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 3647 -freewire 180 -freeedge 1393 -sharededge 27767 -max_solid 0 -max_shell 0 -max_face 3647 -max_freewire 289 -max_freeedge 1393
+checkmaxtol res_2 -tol 0.9982953477 -avg 0.01534250803 -max_tol ${max_tol_res_1}
+
index 731f95218b196da1c4233417632a8d274340c274..115ca604182d6dc53da92c93b411c99763070c8b 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 
-
 set filename sample_diff_data_2.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 39 )  Summary  = 0  ( 39 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 327  ( 327 )   Summary  = 4036  ( 4036 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 327  ( 327 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1696  ( 1696 )
-TOLERANCE   : MaxTol   = 0.000190478139  ( 9.082153586e-005 )  AvgTol   =  9.791349674e-006  (  2.775931887e-006 )
-LABELS      : N0Labels = 326  ( 326 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 326  ( 326 )   NameLabels = 326  ( 326 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 39 -max_faults 0
+checkxstat D_First -n0 326 -n1 0 -n2 0 -total 326 -withname 326 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 327 -shape 4036
+checkstatshape res_1 -solid 0 -shell 0 -face 327 -freewire 0 -freeedge 0 -sharededge 1696
+set max_tol_res_1 [checkmaxtol res_1 -tol 9.082153586e-005 -avg 2.775931887e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 39 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 326 -n1 0 -n2 0 -total 326 -withname 326 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 326 -n1 0 -n2 0 -total 326 -withname 326 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 327 -shape 4036 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 327 -freewire 0 -freeedge 0 -sharededge 1696 -max_solid 0 -max_shell 0 -max_face 327 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.000190478139 -avg 9.791349674e-006 -max_tol ${max_tol_res_1}
+
index 79f4fd0d50a1c39a08ebc0ce271017925aa7c973..e480bbd8182fcb533eee8c6f53922a85f75cc2a8 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename test.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1  ( 1 )   Summary  = 8  ( 8 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 4  ( 4 )
-TOLERANCE   : MaxTol   = 1.029699839e-007  (         1e-007 )  AvgTol   =  1.011423015e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 2 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 2 )   NameLabels = 1  ( 2 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1 -shape 8
+checkstatshape res_1 -solid 0 -shell 0 -face 1 -freewire 0 -freeedge 0 -sharededge 4
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1 -shape 8 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1 -freewire 0 -freeedge 0 -sharededge 4 -max_solid 0 -max_shell 0 -max_face 1 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.029699839e-007 -avg 1.011423015e-007 -max_tol ${max_tol_res_1}
+
index 72eb2b69485adc68232fd6862e86e6111f6d8a6a..da86380ecb2a5e8f39226bee4160967ea7a05014 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-set LinuxDiff 1
 set filename CTS18546-1.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 169  ( 1113 )  Summary  = 169  ( 1113 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 900  ( 900 )   Summary  = 18221  ( 18221 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 900  ( 900 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 8213  ( 8213 )
-TOLERANCE   : MaxTol   = 0.004034169186  ( 0.004034577888 )  AvgTol   =  7.709492698e-006  (  1.210857047e-005 )
-LABELS      : N0Labels = 900  ( 900 )  N1Labels = 0  ( 877 )  N2Labels = 0  ( 0 )   TotalLabels = 900  ( 1777 )   NameLabels = 900  ( 900 )   ColorLabels = 900  ( 1777 )   LayerLabels = 900  ( 1777 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = YELLOW  ( YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1113 -max_faults 0
+checkxstat D_First -n0 900 -n1 877 -n2 0 -total 1777 -withname 900 -withcolor 1777 -withlayer 1777 -centroid 0 -volume 0 -area 0 -colors { YELLOW } -nbcolors 1 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 900 -shape 18221
+checkstatshape res_1 -solid 0 -shell 0 -face 900 -freewire 0 -freeedge 0 -sharededge 8213
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.004034577888 -avg 1.210857047e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1113 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 169 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 900 -n1 877 -n2 0 -total 1777 -withname 900 -withcolor 1777 -withlayer 1777 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 900 -n1 0 -n2 0 -total 900 -withname 900 -withcolor 900 -withlayer 900 -centroid 0 -volume 0 -area 0 -colors { YELLOW  } -nbcolors 1 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 900 -shape 18221 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 900 -freewire 0 -freeedge 0 -sharededge 8213 -max_solid 0 -max_shell 0 -max_face 900 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.004034169186 -avg 7.709492698e-006 -max_tol ${max_tol_res_1}
+
index 8928397d3a64d7a0d2ed45a1e08ae3876b17fcee..02e654c56ad9e7dac0cbd0fcdeb92a9ae2145e5e 100644 (file)
@@ -1,21 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
-puts "TODO CR25013 ALL: Error : 1 differences with reference data found" 
+puts "TODO CR25013 ALL: Error: Max tolerance of "
+puts "TODO CR25013 ALL: Error: Avg tolerance of"
 
 set filename CTS18546-2.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 42  ( 1091 )  Summary  = 42  ( 1091 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1038  ( 1038 )   Summary  = 22098  ( 22096 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1038  ( 1038 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 10005  ( 10004 )
-TOLERANCE   : MaxTol   =   0.5433123154  (   0.5433122968 )  AvgTol   =  0.002230678782  (  0.002235663837 )
-LABELS      : N0Labels = 1038  ( 1038 )  N1Labels = 0  ( 1109 )  N2Labels = 0  ( 0 )   TotalLabels = 1038  ( 2147 )   NameLabels = 1038  ( 1038 )   ColorLabels = 1038  ( 2147 )   LayerLabels = 1038  ( 2147 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = GREEN RED  ( GREEN RED )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1095 -max_faults 0
+checkxstat D_First -n0 1038 -n1 1109 -n2 0 -total 2147 -withname 1038 -withcolor 2147 -withlayer 2147 -centroid 0 -volume 0 -area 0 -colors { GREEN RED } -nbcolors 2 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1038 -shape 22096
+checkstatshape res_1 -solid 0 -shell 0 -face 1038 -freewire 0 -freeedge 0 -sharededge 10004
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.5433122968 -avg 0.002235663837]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1095 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 62 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1038 -n1 1109 -n2 0 -total 2147 -withname 1038 -withcolor 2147 -withlayer 2147 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1038 -n1 0 -n2 0 -total 1038 -withname 1038 -withcolor 1038 -withlayer 1038 -centroid 0 -volume 0 -area 0 -colors { GREEN RED  } -nbcolors 2 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1038 -shape 22098 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1038 -freewire 0 -freeedge 0 -sharededge 10005 -max_solid 0 -max_shell 0 -max_face 1038 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.5433123154 -avg 0.002230678782 -max_tol ${max_tol_res_1}
+
index c0a82becd4ca7ff601f765180cd62e2249dca960..cf61a1590d5939a0adeeb3c04833d435fa116cd2 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename CTS18847.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 63  ( 63 )  Summary  = 63  ( 63 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 1 )  Shell    = 0  ( 1 )  Face     = 117  ( 117 )   Summary  = 1543  ( 773 )
-STATSHAPE   : Solid    = 0  ( 1 )  Shell    = 0  ( 1 )  Face     = 117  ( 117 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 652  ( 326 )
-TOLERANCE   : MaxTol   =   0.1300827208  (   0.1300697287 )  AvgTol   =  0.002196749552  (   0.00567483205 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 117  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 118  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 117  ( 1 )   LayerLabels = 117  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = DEEPSKYBLUE1  ( DEEPSKYBLUE1 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 2  ( 2 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 63 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE1 } -nbcolors 1 -layers { 2 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 117 -shape 773
+checkstatshape res_1 -solid 1 -shell 1 -face 117 -freewire 0 -freeedge 0 -sharededge 326
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1300697287 -avg 0.00567483205]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 63 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 63 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 117 -n2 0 -total 118 -withname 1 -withcolor 117 -withlayer 117 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE1  } -nbcolors 1 -layers { 2  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 117 -shape 1543 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 117 -freewire 0 -freeedge 0 -sharededge 652 -max_solid 1 -max_shell 1 -max_face 117 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.1300827208 -avg 0.002196749552 -max_tol ${max_tol_res_1}
+
index de43a52dfd5b354e2392706cb814cc2564715bf7..e14cf07b4bc2426696a4c2018a0e64e8c74a19a9 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename CTS19883.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 2 )  Summary  = 0  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 396  ( 396 )   Summary  = 5044  ( 5060 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 396  ( 396 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 2133  ( 2133 )
-TOLERANCE   : MaxTol   =   0.9967131592  (   0.9967131592 )  AvgTol   =   0.05132244362  (   0.05132274204 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 396  ( 37 )  N2Labels = 0  ( 0 )   TotalLabels = 397  ( 38 )   NameLabels = 1  ( 1 )   ColorLabels = 396  ( 38 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = MAGENTA1 RED  ( MAGENTA1 RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 1 -n1 37 -n2 0 -total 38 -withname 1 -withcolor 38 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1 RED } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 396 -shape 5060
+checkstatshape res_1 -solid 0 -shell 0 -face 396 -freewire 0 -freeedge 0 -sharededge 2133
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9967131592 -avg 0.05132274204]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 37 -n2 0 -total 38 -withname 1 -withcolor 38 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 396 -n2 0 -total 397 -withname 1 -withcolor 396 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1 RED  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 396 -shape 5044 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 396 -freewire 0 -freeedge 0 -sharededge 2133 -max_solid 0 -max_shell 0 -max_face 396 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9967131592 -avg 0.05132244362 -max_tol ${max_tol_res_1}
+
index 546dffddf0e70a47c04e4525fa14d4628d2ee52e..025ed4c112a7573cce0bad0c3934aecafaab55a8 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-
 set filename CTS21137.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 160  ( 856 )  Summary  = 160  ( 856 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 282  ( 282 )   Summary  = 4872  ( 4872 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 282  ( 282 )   FreeWire = 0  ( 0 )   FreeEdge  = 7 ( 7 )   SharedEdge = 2152  ( 2152 )
-TOLERANCE   : MaxTol   =   0.8210384396  (    0.821038439 )  AvgTol   =  0.007974882685  (  0.008051453244 )
-LABELS      : N0Labels = 289  ( 289 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 289  ( 289 )   NameLabels = 289  ( 289 )   ColorLabels = 101  ( 101 )   LayerLabels = 288  ( 288 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 8 )
-COLORS      : Colors   = RED WHITE  ( BURLYWOOD1 DARKORANGE DEEPSKYBLUE1 LEMONCHIFFON1 MAGENTA1 MEDIUMSPRINGGREEN RED WHITE )
-NLAYERS     : NLayers  = 9  ( 9 )
-LAYERS      : Layers   = 1 11 19 2 3 5 6 8 9  ( 1 11 19 2 3 5 6 8 9 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 856 -max_faults 0
+checkxstat D_First -n0 289 -n1 0 -n2 0 -total 289 -withname 289 -withcolor 101 -withlayer 288 -centroid 0 -volume 0 -area 0 -colors { BURLYWOOD1 DARKORANGE DEEPSKYBLUE1 LEMONCHIFFON1 MAGENTA1 MEDIUMSPRINGGREEN RED WHITE } -nbcolors 8 -layers { 1 11 19 2 3 5 6 8 9 } -nblayers 9
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 282 -shape 4872
+checkstatshape res_1 -solid 0 -shell 0 -face 282 -freewire 0 -freeedge 7 -sharededge 2152
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.821038439 -avg 0.008051453244]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 856 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 160 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 289 -n1 0 -n2 0 -total 289 -withname 289 -withcolor 101 -withlayer 288 -centroid 0 -volume 0 -area 0 -nbcolors 8 -nblayers 9
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 289 -n1 0 -n2 0 -total 289 -withname 289 -withcolor 101 -withlayer 288 -centroid 0 -volume 0 -area 0 -colors { RED WHITE  } -nbcolors 2 -layers { 1 11 19 2 3 5 6 8 9  } -nblayers 9
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 282 -shape 4872 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 282 -freewire 0 -freeedge 7 -sharededge 2152 -max_solid 0 -max_shell 0 -max_face 282 -max_freewire 0 -max_freeedge 7
+checkmaxtol res_2 -tol 0.8210384396 -avg 0.007974882685 -max_tol ${max_tol_res_1}
+
index 9f3e51b05c393b53fd9a49f7afe0f0a3c14474ad..6502fd69d9d7f478ee1f6057c48f42ba8f0f12d5 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename CTS21140.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 54  ( 197 )  Summary  = 54  ( 197 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 331  ( 331 )   Summary  = 6878  ( 6924 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 331  ( 331 )   FreeWire = 70  ( 116 )   FreeEdge  = 1479 ( 1479 )   SharedEdge = 2967  ( 2967 )
-TOLERANCE   : MaxTol   =   0.6112323056  (   0.6112323056 )  AvgTol   =  0.0009101512876  (  0.001289214856 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 481  ( 739 )  N2Labels = 0  ( 0 )   TotalLabels = 482  ( 740 )   NameLabels = 482  ( 559 )   ColorLabels = 481  ( 739 )   LayerLabels = 479  ( 737 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 8  ( 8 )
-COLORS      : Colors   = BLUE1 CYAN1 DARKORANGE GOLD3 PALETURQUOISE2 RED WHITE YELLOW  ( BLUE1 CYAN1 DARKORANGE GOLD3 PALETURQUOISE2 RED WHITE YELLOW )
-NLAYERS     : NLayers  = 6  ( 6 )
-LAYERS      : Layers   = 15 20 25 30 50 60  ( 15 20 25 30 50 60 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 429 -max_faults 0
+checkdoc "tpstat c" -max_warns 197 -max_faults 0
+checkxstat D_First -n0 1 -n1 739 -n2 0 -total 740 -withname 559 -withcolor 739 -withlayer 737 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 DARKORANGE GOLD3 PALETURQUOISE2 RED WHITE YELLOW } -nbcolors 8 -layers { 15 20 25 30 50 60 } -nblayers 6
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 331 -shape 6924
+checkstatshape res_1 -solid 0 -shell 0 -face 331 -freewire 116 -freeedge 1479 -sharededge 2967
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.6112323056 -avg 0.001289214856]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 429 -max_faults 0
+checkdoc "tpstat c" -max_warns 197 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 54 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 739 -n2 0 -total 740 -withname 559 -withcolor 739 -withlayer 737 -centroid 0 -volume 0 -area 0 -nbcolors 8 -nblayers 6
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 481 -n2 0 -total 482 -withname 482 -withcolor 481 -withlayer 479 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 DARKORANGE GOLD3 PALETURQUOISE2 RED WHITE YELLOW  } -nbcolors 8 -layers { 15 20 25 30 50 60  } -nblayers 6
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 331 -shape 6878 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 331 -freewire 70 -freeedge 1479 -sharededge 2967 -max_solid 0 -max_shell 0 -max_face 331 -max_freewire 116 -max_freeedge 1479
+checkmaxtol res_2 -tol 0.6112323056 -avg 0.0009101512876 -max_tol ${max_tol_res_1}
+
index 3cd1dadc202541e8b1689a988e294858dea28262..cd9bd52276e0ed67df82aa4705816e64e9c261d4 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename CTS21142.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 136 )  Warnings = 49  ( 583 )  Summary  = 49  ( 719 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 308  ( 308 )   Summary  = 6755  ( 6756 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 308  ( 308 )   FreeWire = 6  ( 7 )   FreeEdge  = 795 ( 795 )   SharedEdge = 2675  ( 2675 )
-TOLERANCE   : MaxTol   =   0.9778021574  (   0.9778021574 )  AvgTol   =   0.03580274709  (   0.03579740035 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 1089  ( 2047 )  N2Labels = 0  ( 0 )   TotalLabels = 1090  ( 2048 )   NameLabels = 1090  ( 1285 )   ColorLabels = 1089  ( 2047 )   LayerLabels = 168  ( 311 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 6  ( 6 )
-COLORS      : Colors   = BLUE1 GREEN MAGENTA1 RED WHITE YELLOW  ( BLUE1 GREEN MAGENTA1 RED WHITE YELLOW )
-NLAYERS     : NLayers  = 5  ( 5 )
-LAYERS      : Layers   = 10 101 105 15 20  ( 10 101 105 15 20 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 584 -max_faults 136
+checkxstat D_First -n0 1 -n1 2047 -n2 0 -total 2048 -withname 1285 -withcolor 2047 -withlayer 311 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN MAGENTA1 RED WHITE YELLOW } -nbcolors 6 -layers { 10 101 105 15 20 } -nblayers 5
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 308 -shape 6756
+checkstatshape res_1 -solid 0 -shell 0 -face 308 -freewire 7 -freeedge 795 -sharededge 2675
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9778021574 -avg 0.03579740035]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 584 -max_faults 136
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 49 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 2047 -n2 0 -total 2048 -withname 1285 -withcolor 2047 -withlayer 311 -centroid 0 -volume 0 -area 0 -nbcolors 6 -nblayers 5
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 1089 -n2 0 -total 1090 -withname 1090 -withcolor 1089 -withlayer 168 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN MAGENTA1 RED WHITE YELLOW  } -nbcolors 6 -layers { 10 101 105 15 20  } -nblayers 5
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 308 -shape 6755 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 308 -freewire 6 -freeedge 795 -sharededge 2675 -max_solid 0 -max_shell 0 -max_face 308 -max_freewire 7 -max_freeedge 795
+checkmaxtol res_2 -tol 0.9778021574 -avg 0.03580274709 -max_tol ${max_tol_res_1}
+
index ce3d7bb641ee40fc3dac117c25dc68c793b5e87f..b79989aad33ba08fafc8cfb7d2d5e0eec5ea17a9 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename CTS21655.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 12 )  Warnings = 0  ( 1 )  Summary  = 0  ( 13 )
-TPSTAT      : Faulties = 0  ( 28 )  Warnings = 116  ( 7 )  Summary  = 116  ( 35 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 1 )   Solids   = 0 ( 1 )
-NBSHAPES    : Solid    = 0  ( 18 )  Shell    = 0  ( 18 )  Face     = 1190  ( 1190 )   Summary  = 15073  ( 7693 )
-STATSHAPE   : Solid    = 0  ( 18 )  Shell    = 0  ( 18 )  Face     = 1190  ( 1190 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 6283  ( 3134 )
-TOLERANCE   : MaxTol   =   0.2496383637  (   0.2496258832 )  AvgTol   =   0.00219239232  (  0.004111699336 )
-LABELS      : N0Labels = 27  ( 27 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 27  ( 27 )   NameLabels = 27  ( 27 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 12
+checkdoc "tpstat c" -max_warns 7 -max_faults 28
+checkxstat D_First -n0 27 -n1 0 -n2 0 -total 27 -withname 27 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 1 -max_solids 1
+checknbshapes res_1 -solid 18 -shell 18 -face 1190 -shape 7693
+checkstatshape res_1 -solid 18 -shell 18 -face 1190 -freewire 0 -freeedge 0 -sharededge 3134
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.2496258832 -avg 0.004111699336]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 12
+checkdoc "tpstat c" -max_warns 7 -max_faults 28
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 126 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 27 -n1 0 -n2 0 -total 27 -withname 27 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 27 -n1 0 -n2 0 -total 27 -withname 27 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 1 -max_solids 1
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1190 -shape 15073 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1190 -freewire 0 -freeedge 0 -sharededge 6283 -max_solid 18 -max_shell 18 -max_face 1190 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.2496383637 -avg 0.00219239232 -max_tol ${max_tol_res_1}
+
index 4a415517e1164af492b32e276941f044bfc24f4d..16237aaecbd66010a2cb4982a2c6ee06db6d391f 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename t_pro_200_222_0sg_whl.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 218 )  Summary  = 0  ( 218 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 9737  ( 9737 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 218  ( 218 )   FreeEdge  = 3900 ( 3900 )   SharedEdge = 3900  ( 3900 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1819  ( 1819 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1819  ( 1819 )   NameLabels = 1819  ( 1819 )   ColorLabels = 1601  ( 1819 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 6  ( 6 )
-COLORS      : Colors   = BLUE1 GREEN MAGENTA1 RED WHITE YELLOW  ( BLUE1 GREEN MAGENTA1 RED WHITE YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 218 -max_faults 0
+checkxstat D_First -n0 1819 -n1 0 -n2 0 -total 1819 -withname 1819 -withcolor 1819 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN MAGENTA1 RED WHITE YELLOW } -nbcolors 6 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 9737
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 218 -freeedge 3900 -sharededge 3900
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 218 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1819 -n1 0 -n2 0 -total 1819 -withname 1819 -withcolor 1819 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 6 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1819 -n1 0 -n2 0 -total 1819 -withname 1819 -withcolor 1601 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN MAGENTA1 RED WHITE YELLOW  } -nbcolors 6 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 9737 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 218 -freeedge 3900 -sharededge 3900 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 218 -max_freeedge 3900
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 9d8b477729f7a90bc03f9a440d328e9bf76cd508..73cce632a17f8c8a46f0d990eef73962df5d2ad9 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename D44-11325-6.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 298 )  Summary  = 2  ( 298 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 568  ( 568 )   Summary  = 8540  ( 8540 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 568  ( 568 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 3701  ( 3701 )
-TOLERANCE   : MaxTol   =   0.4977710304  (   0.4977710286 )  AvgTol   =  0.001985067479  (  0.001988149118 )
-LABELS      : N0Labels = 568  ( 569 )  N1Labels = 0  ( 878 )  N2Labels = 0  ( 0 )   TotalLabels = 568  ( 1447 )   NameLabels = 568  ( 569 )   ColorLabels = 568  ( 1446 )   LayerLabels = 568  ( 1446 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = YELLOW  ( YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 298 -max_faults 0
+checkxstat D_First -n0 569 -n1 878 -n2 0 -total 1447 -withname 569 -withcolor 1446 -withlayer 1446 -centroid 0 -volume 0 -area 0 -colors { YELLOW } -nbcolors 1 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 568 -shape 8540
+checkstatshape res_1 -solid 0 -shell 0 -face 568 -freewire 0 -freeedge 0 -sharededge 3701
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.4977710286 -avg 0.001988149118]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 298 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 569 -n1 878 -n2 0 -total 1447 -withname 569 -withcolor 1446 -withlayer 1446 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 568 -n1 0 -n2 0 -total 568 -withname 568 -withcolor 568 -withlayer 568 -centroid 0 -volume 0 -area 0 -colors { YELLOW  } -nbcolors 1 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 568 -shape 8540 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 568 -freewire 0 -freeedge 0 -sharededge 3701 -max_solid 0 -max_shell 0 -max_face 568 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.4977710304 -avg 0.001985067479 -max_tol ${max_tol_res_1}
+
index ca42b0e9478d34932e0e5d15a3c8cf04004af12d..1bc3519f1b9658730c2675c188a71bfbccf68d14 100644 (file)
@@ -1,22 +1,55 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
-puts "TODO CR23096 ALL: Error : 2 differences with reference data found" 
+puts "TODO CR23096 ALL: Error :  is WRONG because number of SHAPE entities in shape"
+puts "TODO CR23096 ALL: STATSHAPE : Faulty ref number of shared edges in command statshape"
 
 set filename FRA62468-1.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 299  ( 5226 )  Summary  = 299  ( 5226 )
-CHECKSHAPE  : Wires    = 12  ( 20 )  Faces    = 16  ( 18 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 5163  ( 5163 )   Summary  = 68422  ( 68420 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 5163  ( 5163 )   FreeWire = 10  ( 10 )   FreeEdge  = 283 ( 283 )   SharedEdge = 29075  ( 29079 )
-TOLERANCE   : MaxTol   =   0.9874083984  (   0.9875071265 )  AvgTol   =   0.01114309412  (   0.01115568387 )
-LABELS      : N0Labels = 5392  ( 5458 )  N1Labels = 18  ( 4297 )  N2Labels = 0  ( 0 )   TotalLabels = 5410  ( 9755 )   NameLabels = 5392  ( 5458 )   ColorLabels = 5391  ( 9689 )   LayerLabels = 5391  ( 9689 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = BLACK BLUE1 CYAN1 GREEN  ( BLACK BLUE1 CYAN1 GREEN )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = 1 51 6  ( 1 51 6 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5241 -max_faults 0
+checkxstat D_First -n0 5458 -n1 4297 -n2 0 -total 9755 -withname 5458 -withcolor 9689 -withlayer 9689 -centroid 0 -volume 0 -area 0 -colors { BLACK BLUE1 CYAN1 GREEN } -nbcolors 4 -layers { 1 51 6 } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 20 -max_faces 18 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 5163 -shape 68420
+checkstatshape res_1 -solid 0 -shell 0 -face 5163 -freewire 10 -freeedge 283 -sharededge 29079
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9875071265 -avg 0.01115568387]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5241 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 429 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5458 -n1 4297 -n2 0 -total 9755 -withname 5458 -withcolor 9689 -withlayer 9689 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5392 -n1 18 -n2 0 -total 5410 -withname 5392 -withcolor 5391 -withlayer 5391 -centroid 0 -volume 0 -area 0 -colors { BLACK BLUE1 CYAN1 GREEN  } -nbcolors 4 -layers { 1 51 6  } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 20 -max_faces 18 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 12 -max_faces 16 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 5163 -shape 68422 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 5163 -freewire 10 -freeedge 283 -sharededge 29075 -max_solid 0 -max_shell 0 -max_face 5163 -max_freewire 10 -max_freeedge 283
+checkmaxtol res_2 -tol 0.9874083984 -avg 0.01114309412 -max_tol ${max_tol_res_1}
+
index c593b46a6c54ecaf281ac4d8e44d1a85e25e299b..d3b20d4f26a770d12ecd038e5009f1e0dbcd999f 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename GER60736.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 550  ( 814 )  Summary  = 550  ( 814 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 406  ( 406 )   Summary  = 23055  ( 23055 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 406  ( 406 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 11143  ( 11143 )
-TOLERANCE   : MaxTol   = 1.005912368e-005  ( 1.005909788e-005 )  AvgTol   =  6.288458987e-007  (  9.442593263e-006 )
-LABELS      : N0Labels = 406  ( 406 )  N1Labels = 0  ( 282 )  N2Labels = 0  ( 0 )   TotalLabels = 406  ( 688 )   NameLabels = 406  ( 406 )   ColorLabels = 406  ( 688 )   LayerLabels = 406  ( 688 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 6  ( 6 )
-COLORS      : Colors   = CYAN1 GREEN MAGENTA1 RED WHITE YELLOW  ( CYAN1 GREEN MAGENTA1 RED WHITE YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 814 -max_faults 0
+checkxstat D_First -n0 406 -n1 282 -n2 0 -total 688 -withname 406 -withcolor 688 -withlayer 688 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN MAGENTA1 RED WHITE YELLOW } -nbcolors 6 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 406 -shape 23055
+checkstatshape res_1 -solid 0 -shell 0 -face 406 -freewire 0 -freeedge 0 -sharededge 11143
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.005909788e-005 -avg 9.442593263e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 814 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 550 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 406 -n1 282 -n2 0 -total 688 -withname 406 -withcolor 688 -withlayer 688 -centroid 0 -volume 0 -area 0 -nbcolors 6 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 406 -n1 0 -n2 0 -total 406 -withname 406 -withcolor 406 -withlayer 406 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN MAGENTA1 RED WHITE YELLOW  } -nbcolors 6 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 406 -shape 23055 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 406 -freewire 0 -freeedge 0 -sharededge 11143 -max_solid 0 -max_shell 0 -max_face 406 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.005912368e-005 -avg 6.288458987e-007 -max_tol ${max_tol_res_1}
+
index 6933c14c435757f6da8ba109330635d8ff65d6bc..7f28c8d0a0c01589b2c0d5fe0e95f9efb2bdf167 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename pro6562.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 223  ( 59 )  Summary  = 223  ( 59 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 1 )  Shell    = 0  ( 1 )  Face     = 258  ( 258 )   Summary  = 3661  ( 2116 )
-STATSHAPE   : Solid    = 0  ( 1 )  Shell    = 0  ( 1 )  Face     = 258  ( 258 )   FreeWire = 0  ( 0 )   FreeEdge  = 187 ( 187 )   SharedEdge = 1471  ( 821 )
-TOLERANCE   : MaxTol   =  0.03577770393  (  0.05584689429 )  AvgTol   =   0.00102333566  (  0.004315163006 )
-LABELS      : N0Labels = 188  ( 188 )  N1Labels = 258  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 446  ( 188 )   NameLabels = 188  ( 188 )   ColorLabels = 445  ( 188 )   LayerLabels = 445  ( 188 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = RED  ( RED )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 10  ( 10 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 59 -max_faults 0
+checkxstat D_First -n0 188 -n1 0 -n2 0 -total 188 -withname 188 -withcolor 188 -withlayer 188 -centroid 0 -volume 0 -area 0 -colors { RED } -nbcolors 1 -layers { 10 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 258 -shape 2116
+checkstatshape res_1 -solid 1 -shell 1 -face 258 -freewire 0 -freeedge 187 -sharededge 821
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.05584689429 -avg 0.004315163006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 59 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 223 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 188 -n1 0 -n2 0 -total 188 -withname 188 -withcolor 188 -withlayer 188 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 188 -n1 258 -n2 0 -total 446 -withname 188 -withcolor 445 -withlayer 445 -centroid 0 -volume 0 -area 0 -colors { RED  } -nbcolors 1 -layers { 10  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 258 -shape 3661 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 258 -freewire 0 -freeedge 187 -sharededge 1471 -max_solid 1 -max_shell 1 -max_face 258 -max_freewire 0 -max_freeedge 187
+checkmaxtol res_2 -tol 0.03577770393 -avg 0.00102333566 -max_tol ${max_tol_res_1}
+
index 69a488689147ad3b8dcf180caf1522f3f9140d4e..0b069b5a1729d8f92d7f67625e687c562e15c1d1 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename lh3d_px1.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 442  ( 442 )   Summary  = 4421  ( 4421 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 442  ( 442 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1768  ( 1768 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 442  ( 442 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 442  ( 442 )   NameLabels = 442  ( 442 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 442 -n1 0 -n2 0 -total 442 -withname 442 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 442 -shape 4421
+checkstatshape res_1 -solid 0 -shell 0 -face 442 -freewire 0 -freeedge 0 -sharededge 1768
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 442 -n1 0 -n2 0 -total 442 -withname 442 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 442 -n1 0 -n2 0 -total 442 -withname 442 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 442 -shape 4421 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 442 -freewire 0 -freeedge 0 -sharededge 1768 -max_solid 0 -max_shell 0 -max_face 442 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 33763c3fcf10299dacb3b6598f994f6b9b272be2..38a61e5a65c31c24d0b3dec89680f0a5c377884d 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename lh3d_px2.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 844  ( 844 )   Summary  = 8441  ( 8441 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 844  ( 844 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 3376  ( 3376 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 844  ( 844 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 844  ( 844 )   NameLabels = 844  ( 844 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 844 -n1 0 -n2 0 -total 844 -withname 844 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 844 -shape 8441
+checkstatshape res_1 -solid 0 -shell 0 -face 844 -freewire 0 -freeedge 0 -sharededge 3376
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 844 -n1 0 -n2 0 -total 844 -withname 844 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 844 -n1 0 -n2 0 -total 844 -withname 844 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 844 -shape 8441 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 844 -freewire 0 -freeedge 0 -sharededge 3376 -max_solid 0 -max_shell 0 -max_face 844 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index a12818f9f2158b221c3ab954f14181abe9a6df48..0827f290ff3861f1d938682f2215e61b31d7e3a1 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" 
 
-
 set filename sim6114.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 377 )  Summary  = 4  ( 377 )
-CHECKSHAPE  : Wires    = 5  ( 1 )  Faces    = 5  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 2344  ( 2344 )   Summary  = 27882  ( 27881 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 2344  ( 2344 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 11623  ( 11622 )
-TOLERANCE   : MaxTol   =  0.04263273989  (  0.04263273988 )  AvgTol   =  0.0001295820704  (  0.0001295068497 )
-LABELS      : N0Labels = 2344  ( 2344 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 2344  ( 2344 )   NameLabels = 2344  ( 2344 )   ColorLabels = 2344  ( 2344 )   LayerLabels = 2344  ( 2344 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = CYAN1 RED  ( CYAN1 RED )
-NLAYERS     : NLayers  = 4  ( 4 )
-LAYERS      : Layers   = 1 3 5 9  ( 1 3 5 9 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 377 -max_faults 0
+checkxstat D_First -n0 2344 -n1 0 -n2 0 -total 2344 -withname 2344 -withcolor 2344 -withlayer 2344 -centroid 0 -volume 0 -area 0 -colors { CYAN1 RED } -nbcolors 2 -layers { 1 3 5 9 } -nblayers 4
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 2344 -shape 27881
+checkstatshape res_1 -solid 0 -shell 0 -face 2344 -freewire 0 -freeedge 0 -sharededge 11622
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.04263273988 -avg 0.0001295068497]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 377 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2344 -n1 0 -n2 0 -total 2344 -withname 2344 -withcolor 2344 -withlayer 2344 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 4
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2344 -n1 0 -n2 0 -total 2344 -withname 2344 -withcolor 2344 -withlayer 2344 -centroid 0 -volume 0 -area 0 -colors { CYAN1 RED  } -nbcolors 2 -layers { 1 3 5 9  } -nblayers 4
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 5 -max_faces 5 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 2344 -shape 27882 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 2344 -freewire 0 -freeedge 0 -sharededge 11623 -max_solid 0 -max_shell 0 -max_face 2344 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.04263273989 -avg 0.0001295820704 -max_tol ${max_tol_res_1}
+
index 1da0cd8cc6059ee51139dd94ec9864642683852e..d2f25c8b2b0e17ab130d897bb996a59804313dc9 100644 (file)
@@ -1,23 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-set LinuxDiff 3
-set LinuxFaulties {STATSHAPE TOLERANCE}
 set filename Inner.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 35  ( 890 )  Summary  = 35  ( 890 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 392  ( 392 )   Summary  = 10882  ( 10908 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 392  ( 392 )   FreeWire = 97  ( 121 )   FreeEdge  = 1546 ( 1546 )   SharedEdge = 4308  ( 4310 )
-TOLERANCE   : MaxTol   =   0.9393822539  (   0.9393822539 )  AvgTol   =   0.01258756217  (    0.0125611438 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 1695  ( 3503 )  N2Labels = 0  ( 0 )   TotalLabels = 1696  ( 3504 )   NameLabels = 1696  ( 1972 )   ColorLabels = 1695  ( 3503 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = BLUE1 GREEN WHITE YELLOW  ( BLUE1 GREEN WHITE YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 887 -max_faults 0
+checkxstat D_First -n0 1 -n1 3503 -n2 0 -total 3504 -withname 1972 -withcolor 3503 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN WHITE YELLOW } -nbcolors 4 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 392 -shape 10908
+checkstatshape res_1 -solid 0 -shell 0 -face 392 -freewire 121 -freeedge 1546 -sharededge 4310
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9393822539 -avg 0.0125611438]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 887 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 35 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 3503 -n2 0 -total 3504 -withname 1972 -withcolor 3503 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 1695 -n2 0 -total 1696 -withname 1696 -withcolor 1695 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN WHITE YELLOW  } -nbcolors 4 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 392 -shape 10882 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 392 -freewire 97 -freeedge 1546 -sharededge 4308 -max_solid 0 -max_shell 0 -max_face 392 -max_freewire 121 -max_freeedge 1546
+checkmaxtol res_2 -tol 0.9393822539 -avg 0.01258756217 -max_tol ${max_tol_res_1}
+
index 9d9ba8bb33bc7eeedc01de5e9ae15a445e465a38..8c155caa7638474ca74fe77ac738b4271f1939d5 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename Inventor_scissor.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 94 )  Summary  = 0  ( 94 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 90  ( 90 )   Summary  = 1157  ( 1151 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 90  ( 90 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 498  ( 492 )
-TOLERANCE   : MaxTol   = 0.0004488403826  ( 0.0004487950678 )  AvgTol   =  5.999008312e-006  (  6.427182608e-006 )
-LABELS      : N0Labels = 3  ( 6 )  N1Labels = 90  ( 90 )  N2Labels = 0  ( 0 )   TotalLabels = 93  ( 96 )   NameLabels = 3  ( 6 )   ColorLabels = 90  ( 90 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = GRAY31 GRAY66  ( GRAY31 GRAY66 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 94 -max_faults 0
+checkxstat D_First -n0 6 -n1 90 -n2 0 -total 96 -withname 6 -withcolor 90 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY31 GRAY66 } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 90 -shape 1151
+checkstatshape res_1 -solid 0 -shell 0 -face 90 -freewire 0 -freeedge 0 -sharededge 492
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0004487950678 -avg 6.427182608e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 94 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 6 -n1 90 -n2 0 -total 96 -withname 6 -withcolor 90 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 90 -n2 0 -total 93 -withname 3 -withcolor 90 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY31 GRAY66  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 90 -shape 1157 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 90 -freewire 0 -freeedge 0 -sharededge 498 -max_solid 0 -max_shell 0 -max_face 90 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0004488403826 -avg 5.999008312e-006 -max_tol ${max_tol_res_1}
+
index df034cb7f1cb8d59e289e3aed3095d53073b809d..8ef2885ba16d6c64e81b2980f5aeb0d4ec9879fa 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename JAP0005.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 2 )  Warnings = 272  ( 1839 )  Summary  = 272  ( 1841 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1041  ( 1041 )   Summary  = 15066  ( 15066 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1041  ( 1041 )   FreeWire = 90  ( 90 )   FreeEdge  = 701 ( 701 )   SharedEdge = 6184  ( 6184 )
-TOLERANCE   : MaxTol   =     0.90877121  (   0.9087712052 )  AvgTol   =   0.01331864791  (   0.01331886464 )
-LABELS      : N0Labels = 1571  ( 1571 )  N1Labels = 0  ( 612 )  N2Labels = 0  ( 0 )   TotalLabels = 1571  ( 2183 )   NameLabels = 1571  ( 2173 )   ColorLabels = 1481  ( 2183 )   LayerLabels = 1481  ( 2183 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = GREEN MAGENTA1 RED YELLOW  ( GREEN MAGENTA1 RED YELLOW )
-NLAYERS     : NLayers  = 8  ( 8 )
-LAYERS      : Layers   = 1 10 100 20 30 40 50 60  ( 1 10 100 20 30 40 50 60 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1846 -max_faults 2
+checkxstat D_First -n0 1571 -n1 612 -n2 0 -total 2183 -withname 2173 -withcolor 2183 -withlayer 2183 -centroid 0 -volume 0 -area 0 -colors { GREEN MAGENTA1 RED YELLOW } -nbcolors 4 -layers { 1 10 100 20 30 40 50 60 } -nblayers 8
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1041 -shape 15066
+checkstatshape res_1 -solid 0 -shell 0 -face 1041 -freewire 90 -freeedge 701 -sharededge 6184
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9087712052 -avg 0.01331886464]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1846 -max_faults 2
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 274 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1571 -n1 612 -n2 0 -total 2183 -withname 2173 -withcolor 2183 -withlayer 2183 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 8
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1571 -n1 0 -n2 0 -total 1571 -withname 1571 -withcolor 1481 -withlayer 1481 -centroid 0 -volume 0 -area 0 -colors { GREEN MAGENTA1 RED YELLOW  } -nbcolors 4 -layers { 1 10 100 20 30 40 50 60  } -nblayers 8
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1041 -shape 15066 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1041 -freewire 90 -freeedge 701 -sharededge 6184 -max_solid 0 -max_shell 0 -max_face 1041 -max_freewire 90 -max_freeedge 701
+checkmaxtol res_2 -tol 0.90877121 -avg 0.01331864791 -max_tol ${max_tol_res_1}
+
index 28bef403244a984d3d879c83624758a7ce1cb9a2..04eed6ea41757e2216f8b341856c170e092c8cf3 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename JAP60047.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 227  ( 739 )  Summary  = 227  ( 739 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 313  ( 313 )   Summary  = 4726  ( 4726 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 313  ( 313 )   FreeWire = 15  ( 15 )   FreeEdge  = 271 ( 271 )   SharedEdge = 1945  ( 1945 )
-TOLERANCE   : MaxTol   =   0.9840868681  (   0.9840868681 )  AvgTol   =   0.04919782236  (   0.04919780582 )
-LABELS      : N0Labels = 516  ( 516 )  N1Labels = 0  ( 229 )  N2Labels = 0  ( 0 )   TotalLabels = 516  ( 745 )   NameLabels = 516  ( 745 )   ColorLabels = 501  ( 745 )   LayerLabels = 501  ( 745 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = RED YELLOW  ( RED YELLOW )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = 2 4  ( 2 4 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 746 -max_faults 0
+checkxstat D_First -n0 516 -n1 229 -n2 0 -total 745 -withname 745 -withcolor 745 -withlayer 745 -centroid 0 -volume 0 -area 0 -colors { RED YELLOW } -nbcolors 2 -layers { 2 4 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 313 -shape 4726
+checkstatshape res_1 -solid 0 -shell 0 -face 313 -freewire 15 -freeedge 271 -sharededge 1945
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9840868681 -avg 0.04919780582]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 746 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 227 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 516 -n1 229 -n2 0 -total 745 -withname 745 -withcolor 745 -withlayer 745 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 516 -n1 0 -n2 0 -total 516 -withname 516 -withcolor 501 -withlayer 501 -centroid 0 -volume 0 -area 0 -colors { RED YELLOW  } -nbcolors 2 -layers { 2 4  } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 313 -shape 4726 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 313 -freewire 15 -freeedge 271 -sharededge 1945 -max_solid 0 -max_shell 0 -max_face 313 -max_freewire 15 -max_freeedge 271
+checkmaxtol res_2 -tol 0.9840868681 -avg 0.04919782236 -max_tol ${max_tol_res_1}
+
index d4ac8ba53378792eb3f674b6d1924bbcac89280a..26b1afb24156afe0780a26bd5a12a31456a1b904 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename PRO10105.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 18  ( 62 )  Summary  = 18  ( 62 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 230  ( 230 )   Summary  = 2910  ( 2906 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 230  ( 230 )   FreeWire = 1  ( 1 )   FreeEdge  = 63 ( 63 )   SharedEdge = 1195  ( 1193 )
-TOLERANCE   : MaxTol   =  0.06012224669  (   0.1346852729 )  AvgTol   =  0.001347528763  (  0.001523930617 )
-LABELS      : N0Labels = 292  ( 292 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 292  ( 292 )   NameLabels = 292  ( 292 )   ColorLabels = 291  ( 292 )   LayerLabels = 247  ( 248 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = BURLYWOOD1 DEEPSKYBLUE1 RED WHITE  ( BURLYWOOD1 DEEPSKYBLUE1 RED WHITE )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = 1 2 3  ( 1 2 3 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 67 -max_faults 0
+checkxstat D_First -n0 292 -n1 0 -n2 0 -total 292 -withname 292 -withcolor 292 -withlayer 248 -centroid 0 -volume 0 -area 0 -colors { BURLYWOOD1 DEEPSKYBLUE1 RED WHITE } -nbcolors 4 -layers { 1 2 3 } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 230 -shape 2906
+checkstatshape res_1 -solid 0 -shell 0 -face 230 -freewire 1 -freeedge 63 -sharededge 1193
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1346852729 -avg 0.001523930617]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 67 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 18 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 292 -n1 0 -n2 0 -total 292 -withname 292 -withcolor 292 -withlayer 248 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 292 -n1 0 -n2 0 -total 292 -withname 292 -withcolor 291 -withlayer 247 -centroid 0 -volume 0 -area 0 -colors { BURLYWOOD1 DEEPSKYBLUE1 RED WHITE  } -nbcolors 4 -layers { 1 2 3  } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 230 -shape 2910 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 230 -freewire 1 -freeedge 63 -sharededge 1195 -max_solid 0 -max_shell 0 -max_face 230 -max_freewire 1 -max_freeedge 63
+checkmaxtol res_2 -tol 0.06012224669 -avg 0.001347528763 -max_tol ${max_tol_res_1}
+
index 1d479b21cdd5689c2617f9571f83ee83277a98f7..b501013dba7f1d47e0b32598c8345f5ea9d492be 100644 (file)
@@ -1,23 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
+set filename PRO10578.igs
 
 
-set filename PRO10578.igs
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 895 -max_faults 0
+checkxstat D_First -n0 232 -n1 6150 -n2 0 -total 6382 -withname 347 -withcolor 6382 -withlayer 6382 -centroid 0 -volume 0 -area 0 -colors { RED } -nbcolors 1 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 221 -shape 13351
+checkstatshape res_1 -solid 0 -shell 0 -face 221 -freewire 0 -freeedge 6 -sharededge 6452
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01098786532 -avg 0.0001806163302]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 895 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 146 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 232 -n1 6150 -n2 0 -total 6382 -withname 347 -withcolor 6382 -withlayer 6382 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 232 -n1 0 -n2 0 -total 232 -withname 232 -withcolor 227 -withlayer 227 -centroid 0 -volume 0 -area 0 -colors { RED  } -nbcolors 1 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 221 -shape 13351 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 221 -freewire 0 -freeedge 6 -sharededge 6452 -max_solid 0 -max_shell 0 -max_face 221 -max_freewire 0 -max_freeedge 6
+checkmaxtol res_2 -tol 0.01225213609 -avg 0.0001816430452 -max_tol ${max_tol_res_1}
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 146  ( 887 )  Summary  = 146  ( 887 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 221  ( 221 )   Summary  = 13351  ( 13351 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 221  ( 221 )   FreeWire = 0  ( 0 )   FreeEdge  = 6 ( 6 )   SharedEdge = 6452  ( 6452 )
-TOLERANCE   : MaxTol   =  0.01225213609  (  0.01098786532 )  AvgTol   =  0.0001816430452  (  0.0001806163302 )
-LABELS      : N0Labels = 232  ( 232 )  N1Labels = 0  ( 6150 )  N2Labels = 0  ( 0 )   TotalLabels = 232  ( 6382 )   NameLabels = 232  ( 347 )   ColorLabels = 227  ( 6382 )   LayerLabels = 227  ( 6382 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = RED  ( RED )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
index 989c94fe258feebbe82ef95a297e6388c6d993f2..950df7d500adeb81826cbbe4dc77b4f6cc581a01 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename PRO11414-2.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 268 )  Summary  = 0  ( 268 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 186  ( 186 )   Summary  = 10670  ( 10670 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 186  ( 186 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 5148  ( 5148 )
-TOLERANCE   : MaxTol   =  0.04931043567  (  0.04931014771 )  AvgTol   =  0.000378470309  (  0.0003854574649 )
-LABELS      : N0Labels = 186  ( 186 )  N1Labels = 0  ( 201 )  N2Labels = 0  ( 0 )   TotalLabels = 186  ( 387 )   NameLabels = 186  ( 186 )   ColorLabels = 186  ( 387 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 270 -max_faults 0
+checkxstat D_First -n0 186 -n1 201 -n2 0 -total 387 -withname 186 -withcolor 387 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 186 -shape 10670
+checkstatshape res_1 -solid 0 -shell 0 -face 186 -freewire 0 -freeedge 0 -sharededge 5148
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.04931014771 -avg 0.0003854574649]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 270 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 186 -n1 201 -n2 0 -total 387 -withname 186 -withcolor 387 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 186 -n1 0 -n2 0 -total 186 -withname 186 -withcolor 186 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 186 -shape 10670 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 186 -freewire 0 -freeedge 0 -sharededge 5148 -max_solid 0 -max_shell 0 -max_face 186 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.04931043567 -avg 0.000378470309 -max_tol ${max_tol_res_1}
+
index e24b5ebbceda32cc80bd67a084f7ff5591bc02fd..438133e68eb1654af06e75ac3729dff5f3cb1743 100755 (executable)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename PRO14318.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 20  ( 108 )  Summary  = 20  ( 108 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 115  ( 115 )   Summary  = 3126  ( 3122 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 115  ( 115 )   FreeWire = 4  ( 4 )   FreeEdge  = 175 ( 175 )   SharedEdge = 1361  ( 1361 )
-TOLERANCE   : MaxTol   =   0.4134968839  (   0.4134968924 )  AvgTol   =  0.006591901502  (  0.006635492146 )
-LABELS      : N0Labels = 278  ( 286 )  N1Labels = 6  ( 151 )  N2Labels = 0  ( 0 )   TotalLabels = 284  ( 437 )   NameLabels = 278  ( 286 )   ColorLabels = 270  ( 429 )   LayerLabels = 270  ( 429 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = RED  ( RED )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 157  ( 157 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 110 -max_faults 0
+checkxstat D_First -n0 286 -n1 151 -n2 0 -total 437 -withname 286 -withcolor 429 -withlayer 429 -centroid 0 -volume 0 -area 0 -colors { RED } -nbcolors 1 -layers { 157 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 115 -shape 3122
+checkstatshape res_1 -solid 0 -shell 0 -face 115 -freewire 4 -freeedge 175 -sharededge 1361
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.4134968924 -avg 0.006635492146]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 110 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 24 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 286 -n1 151 -n2 0 -total 437 -withname 286 -withcolor 429 -withlayer 429 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 278 -n1 6 -n2 0 -total 284 -withname 278 -withcolor 270 -withlayer 270 -centroid 0 -volume 0 -area 0 -colors { RED  } -nbcolors 1 -layers { 157  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 115 -shape 3126 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 115 -freewire 4 -freeedge 175 -sharededge 1361 -max_solid 0 -max_shell 0 -max_face 115 -max_freewire 4 -max_freeedge 175
+checkmaxtol res_2 -tol 0.4134968839 -avg 0.006591901502 -max_tol ${max_tol_res_1}
+
index 11622673aaefd7b9b8e91e3a37039078986647e2..2dcee052826616bf427a94bb5d63c1d7964c05da 100755 (executable)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-set LinuxDiff 3
 set filename PRO14319.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 1  ( 0 )  Warnings = 3  ( 64 )  Summary  = 4  ( 64 )
-CHECKSHAPE  : Wires    = 3  ( 5 )  Faces    = 1  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 61  ( 61 )   Summary  = 7731  ( 7831 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 61  ( 61 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 3842  ( 3895 )
-TOLERANCE   : MaxTol   =   0.3140268251  (   0.3140268243 )  AvgTol   =  0.0009762560334  (  0.000488212708 )
-LABELS      : N0Labels = 61  ( 61 )  N1Labels = 0  ( 1080 )  N2Labels = 0  ( 0 )   TotalLabels = 61  ( 1141 )   NameLabels = 61  ( 61 )   ColorLabels = 61  ( 1141 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = CYAN1 GREEN WHITE  ( CYAN1 GREEN WHITE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 64 -max_faults 0
+checkxstat D_First -n0 61 -n1 1080 -n2 0 -total 1141 -withname 61 -withcolor 1141 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN WHITE } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 5 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 61 -shape 7831
+checkstatshape res_1 -solid 0 -shell 0 -face 61 -freewire 0 -freeedge 0 -sharededge 3895
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.3140268243 -avg 0.000488212708]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 64 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 1
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 61 -n1 1080 -n2 0 -total 1141 -withname 61 -withcolor 1141 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 61 -n1 0 -n2 0 -total 61 -withname 61 -withcolor 61 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN WHITE  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 5 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 3 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 61 -shape 7731 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 61 -freewire 0 -freeedge 0 -sharededge 3842 -max_solid 0 -max_shell 0 -max_face 61 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.3140268251 -avg 0.0009762560334 -max_tol ${max_tol_res_1}
+
index 39ed9b543b725af8f7ba48128b62b13fb4a3bb35..1e71a515071321160bcd65da70b35af611f8d334 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename PRO14665.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 347  ( 691 )  Summary  = 347  ( 691 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 2297  ( 2297 )   Summary  = 26114  ( 26114 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 2297  ( 2297 )   FreeWire = 0  ( 0 )   FreeEdge  = 22 ( 22 )   SharedEdge = 10774  ( 10774 )
-TOLERANCE   : MaxTol   =   0.2778575821  (   0.2778575802 )  AvgTol   =   0.00113643717  (  0.001128576508 )
-LABELS      : N0Labels = 2329  ( 2329 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 2329  ( 2329 )   NameLabels = 2329  ( 2329 )   ColorLabels = 2319  ( 2329 )   LayerLabels = 2319  ( 2329 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 8  ( 8 )
-COLORS      : Colors   = CYAN1 CYAN2 GREEN LEMONCHIFFON1 MAGENTA1 MAGENTA2 WHITE YELLOW  ( CYAN1 CYAN2 GREEN LEMONCHIFFON1 MAGENTA1 MAGENTA2 WHITE YELLOW )
-NLAYERS     : NLayers  = 10  ( 10 )
-LAYERS      : Layers   = 80 81 82 83 84 85 90 91 92 93  ( 80 81 82 83 84 85 90 91 92 93 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 734 -max_faults 0
+checkxstat D_First -n0 2329 -n1 0 -n2 0 -total 2329 -withname 2329 -withcolor 2329 -withlayer 2329 -centroid 0 -volume 0 -area 0 -colors { CYAN1 CYAN2 GREEN LEMONCHIFFON1 MAGENTA1 MAGENTA2 WHITE YELLOW } -nbcolors 8 -layers { 80 81 82 83 84 85 90 91 92 93 } -nblayers 10
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 2297 -shape 26114
+checkstatshape res_1 -solid 0 -shell 0 -face 2297 -freewire 0 -freeedge 22 -sharededge 10774
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.2778575802 -avg 0.001128576508]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 734 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 345 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2329 -n1 0 -n2 0 -total 2329 -withname 2329 -withcolor 2329 -withlayer 2329 -centroid 0 -volume 0 -area 0 -nbcolors 8 -nblayers 10
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2329 -n1 0 -n2 0 -total 2329 -withname 2329 -withcolor 2319 -withlayer 2319 -centroid 0 -volume 0 -area 0 -colors { CYAN1 CYAN2 GREEN LEMONCHIFFON1 MAGENTA1 MAGENTA2 WHITE YELLOW  } -nbcolors 8 -layers { 80 81 82 83 84 85 90 91 92 93  } -nblayers 10
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 2297 -shape 26114 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 2297 -freewire 0 -freeedge 22 -sharededge 10774 -max_solid 0 -max_shell 0 -max_face 2297 -max_freewire 0 -max_freeedge 22
+checkmaxtol res_2 -tol 0.2778575821 -avg 0.00113643717 -max_tol ${max_tol_res_1}
+
index ba99f46b078287617b7a0a2311ddd9f3574e80de..1ffbad8ddf2ae80226d88d152d3cb7be28b5e8f3 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty"
 puts "TODO CR25923 ALL: STATSHAPE : Faulty"
 
-set LinuxDiff 4
 set filename y306351fM.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 1 )  Warnings = 0  ( 0 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 180  ( 951 )  Summary  = 180  ( 951 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 392  ( 390 )   Summary  = 11570  ( 11567 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 392  ( 390 )   FreeWire = 20  ( 20 )   FreeEdge  = 1157 ( 1157 )   SharedEdge = 4814  ( 4814 )
-TOLERANCE   : MaxTol   =         1e-005  ( 1.00030003e-005 )  AvgTol   =  1.800816884e-007  (  7.374328327e-006 )
-LABELS      : N0Labels = 1528  ( 1528 )  N1Labels = 0  ( 1296 )  N2Labels = 0  ( 0 )   TotalLabels = 1528  ( 2824 )   NameLabels = 1528  ( 1528 )   ColorLabels = 1507  ( 2824 )   LayerLabels = 1504  ( 2820 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 CYAN1 WHITE  ( BLUE1 CYAN1 WHITE )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = 1 2  ( 1 2 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 951 -max_faults 0
+checkxstat D_First -n0 1528 -n1 1296 -n2 0 -total 2824 -withname 1528 -withcolor 2824 -withlayer 2820 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 WHITE } -nbcolors 3 -layers { 1 2 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 390 -shape 11567
+checkstatshape res_1 -solid 0 -shell 0 -face 390 -freewire 20 -freeedge 1157 -sharededge 4814
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00030003e-005 -avg 7.374328327e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 951 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 180 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1528 -n1 1296 -n2 0 -total 2824 -withname 1528 -withcolor 2824 -withlayer 2820 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1528 -n1 0 -n2 0 -total 1528 -withname 1528 -withcolor 1507 -withlayer 1504 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 WHITE  } -nbcolors 3 -layers { 1 2  } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 392 -shape 11570 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 392 -freewire 20 -freeedge 1157 -sharededge 4814 -max_solid 0 -max_shell 0 -max_face 390 -max_freewire 20 -max_freeedge 1157
+checkmaxtol res_2 -tol 1e-005 -avg 1.800816884e-007 -max_tol ${max_tol_res_1}
+
index 1cce42a55e8d98691d62995578797cfbeb1b0bb7..0b81a70e979c21c0a24e81ea76fa84baac74ea16 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename Caliper.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 70  ( 488 )  Summary  = 70  ( 488 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 215  ( 215 )   Summary  = 3771  ( 3779 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 215  ( 215 )   FreeWire = 0  ( 4 )   FreeEdge  = 8 ( 8 )   SharedEdge = 1666  ( 1670 )
-TOLERANCE   : MaxTol   =   0.6931734571  (   0.6931734576 )  AvgTol   =  0.009873021128  (  0.009847667242 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 223  ( 1186 )  N2Labels = 0  ( 0 )   TotalLabels = 224  ( 1187 )   NameLabels = 224  ( 332 )   ColorLabels = 223  ( 1186 )   LayerLabels = 223  ( 1186 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = GREEN WHITE  ( GREEN WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 2  ( 2 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 497 -max_faults 0
+checkxstat D_First -n0 1 -n1 1186 -n2 0 -total 1187 -withname 332 -withcolor 1186 -withlayer 1186 -centroid 0 -volume 0 -area 0 -colors { GREEN WHITE } -nbcolors 2 -layers { 2 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 215 -shape 3779
+checkstatshape res_1 -solid 0 -shell 0 -face 215 -freewire 4 -freeedge 8 -sharededge 1670
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.6931734576 -avg 0.009847667242]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 497 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 72 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 1186 -n2 0 -total 1187 -withname 332 -withcolor 1186 -withlayer 1186 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 223 -n2 0 -total 224 -withname 224 -withcolor 223 -withlayer 223 -centroid 0 -volume 0 -area 0 -colors { GREEN WHITE  } -nbcolors 2 -layers { 2  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 215 -shape 3771 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 215 -freewire 0 -freeedge 8 -sharededge 1666 -max_solid 0 -max_shell 0 -max_face 215 -max_freewire 4 -max_freeedge 8
+checkmaxtol res_2 -tol 0.6931734571 -avg 0.009873021128 -max_tol ${max_tol_res_1}
+
index 3c09e0dcfcc5eef15a50dcb5c52747f3c14477d1..21009906de2dfb922ef9ff543f824cae8a4a1060 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename PRO18777-2.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 79 )  Summary  = 4  ( 79 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 178  ( 178 )   Summary  = 2133  ( 2133 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 178  ( 178 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 895  ( 895 )
-TOLERANCE   : MaxTol   =   0.4113920266  (   0.4113920255 )  AvgTol   =  0.004711547931  (  0.004740618934 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 179  ( 547 )  N2Labels = 0  ( 0 )   TotalLabels = 180  ( 548 )   NameLabels = 180  ( 332 )   ColorLabels = 179  ( 547 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 87 -max_faults 0
+checkxstat D_First -n0 1 -n1 547 -n2 0 -total 548 -withname 332 -withcolor 547 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 178 -shape 2133
+checkstatshape res_1 -solid 0 -shell 0 -face 178 -freewire 0 -freeedge 1 -sharededge 895
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.4113920255 -avg 0.004740618934]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 87 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 547 -n2 0 -total 548 -withname 332 -withcolor 547 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 179 -n2 0 -total 180 -withname 180 -withcolor 179 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 178 -shape 2133 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 178 -freewire 0 -freeedge 1 -sharededge 895 -max_solid 0 -max_shell 0 -max_face 178 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 0.4113920266 -avg 0.004711547931 -max_tol ${max_tol_res_1}
+
index c84f43fc01fd1c12a0e0b33edf3f73969b3799cc..e3ec577f7184e282e2ef2522c5b02adf43657588 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 
-
 set filename lh3d_ro1.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 28 )  Summary  = 0  ( 28 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 322  ( 322 )   Summary  = 3460  ( 3460 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 322  ( 322 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1407  ( 1407 )
-TOLERANCE   : MaxTol   = 2.657548494e-005  (         1e-005 )  AvgTol   =  7.614161036e-007  (  1.244067797e-006 )
-LABELS      : N0Labels = 321  ( 321 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 321  ( 321 )   NameLabels = 321  ( 321 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+checkxstat D_First -n0 321 -n1 0 -n2 0 -total 321 -withname 321 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 322 -shape 3460
+checkstatshape res_1 -solid 0 -shell 0 -face 322 -freewire 0 -freeedge 0 -sharededge 1407
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 1.244067797e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 321 -n1 0 -n2 0 -total 321 -withname 321 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 321 -n1 0 -n2 0 -total 321 -withname 321 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 322 -shape 3460 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 322 -freewire 0 -freeedge 0 -sharededge 1407 -max_solid 0 -max_shell 0 -max_face 322 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 2.657548494e-005 -avg 7.614161036e-007 -max_tol ${max_tol_res_1}
+
index 55a0637a6075e6b67444ff3226dcfd9e46b23439..d70772ab7dd94f1d9dd8fa7035aee3a43467a43a 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename PRO9505.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 43  ( 190 )  Summary  = 43  ( 190 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 126  ( 126 )   Summary  = 2004  ( 2004 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 126  ( 126 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 874  ( 874 )
-TOLERANCE   : MaxTol   =    0.956222643  (    0.956222643 )  AvgTol   =   0.02522398209  (   0.02522535543 )
-LABELS      : N0Labels = 126  ( 126 )  N1Labels = 0  ( 129 )  N2Labels = 0  ( 0 )   TotalLabels = 126  ( 255 )   NameLabels = 126  ( 255 )   ColorLabels = 126  ( 255 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 194 -max_faults 0
+checkxstat D_First -n0 126 -n1 129 -n2 0 -total 255 -withname 255 -withcolor 255 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 126 -shape 2004
+checkstatshape res_1 -solid 0 -shell 0 -face 126 -freewire 0 -freeedge 0 -sharededge 874
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.956222643 -avg 0.02522535543]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 194 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 43 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 126 -n1 129 -n2 0 -total 255 -withname 255 -withcolor 255 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 126 -n1 0 -n2 0 -total 126 -withname 126 -withcolor 126 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 126 -shape 2004 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 126 -freewire 0 -freeedge 0 -sharededge 874 -max_solid 0 -max_shell 0 -max_face 126 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.956222643 -avg 0.02522398209 -max_tol ${max_tol_res_1}
+
index 623388e8881db649dc2ffe52fe95179dd4e2b278..c48e76b3a6f988c956dcbcb71152a1706e0ecead 100755 (executable)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename Radhaus.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 153  ( 2026 )  Summary  = 153  ( 2026 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 532  ( 532 )   Summary  = 12701  ( 12702 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 532  ( 532 )   FreeWire = 0  ( 0 )   FreeEdge  = 2 ( 2 )   SharedEdge = 5826  ( 5827 )
-TOLERANCE   : MaxTol   =    0.888818095  (   0.8888180952 )  AvgTol   =   0.02520281804  (   0.02520274804 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 534  ( 3844 )  N2Labels = 0  ( 0 )   TotalLabels = 535  ( 3845 )   NameLabels = 535  ( 833 )   ColorLabels = 534  ( 3844 )   LayerLabels = 532  ( 3842 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE1 WHITE  ( BLUE1 WHITE )
-NLAYERS     : NLayers  = 6  ( 6 )
-LAYERS      : Layers   = 193 198 223 233 243 253  ( 193 198 223 233 243 253 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2069 -max_faults 0
+checkxstat D_First -n0 1 -n1 3844 -n2 0 -total 3845 -withname 833 -withcolor 3844 -withlayer 3842 -centroid 0 -volume 0 -area 0 -colors { BLUE1 WHITE } -nbcolors 2 -layers { 193 198 223 233 243 253 } -nblayers 6
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 532 -shape 12702
+checkstatshape res_1 -solid 0 -shell 0 -face 532 -freewire 0 -freeedge 2 -sharededge 5827
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.8888180952 -avg 0.02520274804]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2069 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 153 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 3844 -n2 0 -total 3845 -withname 833 -withcolor 3844 -withlayer 3842 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 6
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 534 -n2 0 -total 535 -withname 535 -withcolor 534 -withlayer 532 -centroid 0 -volume 0 -area 0 -colors { BLUE1 WHITE  } -nbcolors 2 -layers { 193 198 223 233 243 253  } -nblayers 6
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 532 -shape 12701 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 532 -freewire 0 -freeedge 2 -sharededge 5826 -max_solid 0 -max_shell 0 -max_face 532 -max_freewire 0 -max_freeedge 2
+checkmaxtol res_2 -tol 0.888818095 -avg 0.02520281804 -max_tol ${max_tol_res_1}
+
index 6cea1aedb32ba4598e90839cd42999c68df82fbf..204a71b01beef80b198179f439e14b287f286a74 100644 (file)
@@ -1,20 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
 set filename 12ls328.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 0 )  Summary  = 1  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1521  ( 1521 )   Summary  = 20232  ( 20232 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1521  ( 1521 )   FreeWire = 20  ( 20 )   FreeEdge  = 118 ( 118 )   SharedEdge = 8549  ( 8549 )
-TOLERANCE   : MaxTol   =   0.9994545428  (   0.9994545568 )  AvgTol   =   0.05493298116  (   0.05493334424 )
-LABELS      : N0Labels = 1502  ( 1502 )  N1Labels = 60  ( 78 )  N2Labels = 0  ( 0 )   TotalLabels = 1562  ( 1580 )   NameLabels = 1562  ( 1580 )   ColorLabels = 1561  ( 1579 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GOLD  ( GOLD )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+checkxstat D_First -n0 1502 -n1 78 -n2 0 -total 1580 -withname 1580 -withcolor 1579 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GOLD } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1521 -shape 20232
+checkstatshape res_1 -solid 0 -shell 0 -face 1521 -freewire 20 -freeedge 118 -sharededge 8549
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9994545568 -avg 0.05493334424]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1502 -n1 78 -n2 0 -total 1580 -withname 1580 -withcolor 1579 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1502 -n1 60 -n2 0 -total 1562 -withname 1562 -withcolor 1561 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GOLD  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1521 -shape 20232 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1521 -freewire 20 -freeedge 118 -sharededge 8549 -max_solid 0 -max_shell 0 -max_face 1521 -max_freewire 20 -max_freeedge 118
+checkmaxtol res_2 -tol 0.9994545428 -avg 0.05493298116 -max_tol ${max_tol_res_1}
+
index ba911568e9265bbb38243dc622eecfa4c0c20b2a..5f7e387d393a9cbdc6a5185c71d2622c70582a28 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename Part1.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 171  ( 171 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 0  ( 0 )   FreeEdge  = 41 ( 41 )   SharedEdge = 41  ( 41 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 88  ( 88 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 88  ( 88 )   NameLabels = 88  ( 88 )   ColorLabels = 41  ( 88 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 88 -n1 0 -n2 0 -total 88 -withname 88 -withcolor 88 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 171
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 41 -sharededge 41
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 88 -n1 0 -n2 0 -total 88 -withname 88 -withcolor 88 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 88 -n1 0 -n2 0 -total 88 -withname 88 -withcolor 41 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 171 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 41 -sharededge 41 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 0 -max_freeedge 41
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 1e2335e6c42ce74bae5298d64803ab16aa276e8e..878d9a4b9ad9a9fda5af8ae4c65e1f1e8cc07fd1 100644 (file)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename ardi1.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 2 )  Warnings = 0  ( 1 )  Summary  = 0  ( 3 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 6 )  Summary  = 2  ( 6 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 4  ( 4 )   Summary  = 41  ( 41 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 4  ( 4 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 16  ( 16 )
-TOLERANCE   : MaxTol   = 1.000100018e-007  ( 1.000100018e-007 )  AvgTol   =  1.00002308e-007  (  1.00002308e-007 )
-LABELS      : N0Labels = 4  ( 4 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 4  ( 4 )   NameLabels = 4  ( 4 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 2
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+checkxstat D_First -n0 4 -n1 0 -n2 0 -total 4 -withname 4 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 4 -shape 41
+checkstatshape res_1 -solid 0 -shell 0 -face 4 -freewire 0 -freeedge 0 -sharededge 16
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100018e-007 -avg 1.00002308e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 2
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4 -n1 0 -n2 0 -total 4 -withname 4 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 0 -n2 0 -total 4 -withname 4 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 4 -shape 41 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 4 -freewire 0 -freeedge 0 -sharededge 16 -max_solid 0 -max_shell 0 -max_face 4 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100018e-007 -avg 1.00002308e-007 -max_tol ${max_tol_res_1}
+
index a339676b7076bb77b86ba0282ddc8308de9652bf..fa84723b8f1adde202f97eb22fb4e0facf26158c 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename cam1.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 419  ( 419 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 1  ( 1 )   FreeEdge  = 137 ( 137 )   SharedEdge = 137  ( 137 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 148  ( 148 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 148  ( 148 )   NameLabels = 148  ( 148 )   ColorLabels = 135  ( 148 )   LayerLabels = 135  ( 148 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = CYAN1 GREEN MAGENTA1 YELLOW  ( CYAN1 GREEN MAGENTA1 YELLOW )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = 1 2 3  ( 1 2 3 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 148 -n1 0 -n2 0 -total 148 -withname 148 -withcolor 148 -withlayer 148 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN MAGENTA1 YELLOW } -nbcolors 4 -layers { 1 2 3 } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 419
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 1 -freeedge 137 -sharededge 137
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 148 -n1 0 -n2 0 -total 148 -withname 148 -withcolor 148 -withlayer 148 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 148 -n1 0 -n2 0 -total 148 -withname 148 -withcolor 135 -withlayer 135 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN MAGENTA1 YELLOW  } -nbcolors 4 -layers { 1 2 3  } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 419 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 1 -freeedge 137 -sharededge 137 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 1 -max_freeedge 137
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 37dca4c9ca01465bc481e08ec779fad896b4ce94..212710107529007f71a99cf20fe22420265bb632 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename cdc1-fatigue-2.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 876  ( 220 )  Summary  = 876  ( 220 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 1 )  Shell    = 0  ( 1 )  Face     = 471  ( 471 )   Summary  = 6964  ( 3122 )
-STATSHAPE   : Solid    = 0  ( 1 )  Shell    = 0  ( 1 )  Face     = 471  ( 471 )   FreeWire = 0  ( 0 )   FreeEdge  = 6 ( 6 )   SharedEdge = 3004  ( 1323 )
-TOLERANCE   : MaxTol   =  0.01171066357  (  0.01550345628 )  AvgTol   =  0.0001752022955  (  0.001202555083 )
-LABELS      : N0Labels = 7  ( 7 )  N1Labels = 471  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 478  ( 7 )   NameLabels = 7  ( 7 )   ColorLabels = 477  ( 7 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE1 DARKOLIVEGREEN1  ( BLUE1 DARKOLIVEGREEN1 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 220 -max_faults 0
+checkxstat D_First -n0 7 -n1 0 -n2 0 -total 7 -withname 7 -withcolor 7 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 DARKOLIVEGREEN1 } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 471 -shape 3122
+checkstatshape res_1 -solid 1 -shell 1 -face 471 -freewire 0 -freeedge 6 -sharededge 1323
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01550345628 -avg 0.001202555083]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 220 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 876 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 7 -n1 0 -n2 0 -total 7 -withname 7 -withcolor 7 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 7 -n1 471 -n2 0 -total 478 -withname 7 -withcolor 477 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 DARKOLIVEGREEN1  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 471 -shape 6964 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 471 -freewire 0 -freeedge 6 -sharededge 3004 -max_solid 1 -max_shell 1 -max_face 471 -max_freewire 0 -max_freeedge 6
+checkmaxtol res_2 -tol 0.01171066357 -avg 0.0001752022955 -max_tol ${max_tol_res_1}
+
index 21e59ee4ee2c67f17c9526440f7214a98f5fbf94..ae46dcc020a6061643bbddcbde16770cbe01227e 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename iges_testa.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 286 )  Summary  = 0  ( 286 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 523  ( 523 )   Summary  = 5936  ( 5926 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 523  ( 523 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 2485  ( 2485 )
-TOLERANCE   : MaxTol   =   0.1109937052  (    0.111004803 )  AvgTol   =  0.001890312889  (  0.001893545105 )
-LABELS      : N0Labels = 523  ( 523 )  N1Labels = 0  ( 441 )  N2Labels = 0  ( 0 )   TotalLabels = 523  ( 964 )   NameLabels = 523  ( 641 )   ColorLabels = 523  ( 964 )   LayerLabels = 523  ( 964 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLACK GREEN RED  ( BLACK GREEN RED )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 286 -max_faults 0
+checkxstat D_First -n0 523 -n1 441 -n2 0 -total 964 -withname 641 -withcolor 964 -withlayer 964 -centroid 0 -volume 0 -area 0 -colors { BLACK GREEN RED } -nbcolors 3 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 523 -shape 5926
+checkstatshape res_1 -solid 0 -shell 0 -face 523 -freewire 0 -freeedge 0 -sharededge 2485
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.111004803 -avg 0.001893545105]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 286 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 523 -n1 441 -n2 0 -total 964 -withname 641 -withcolor 964 -withlayer 964 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 523 -n1 0 -n2 0 -total 523 -withname 523 -withcolor 523 -withlayer 523 -centroid 0 -volume 0 -area 0 -colors { BLACK GREEN RED  } -nbcolors 3 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 523 -shape 5936 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 523 -freewire 0 -freeedge 0 -sharededge 2485 -max_solid 0 -max_shell 0 -max_face 523 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.1109937052 -avg 0.001890312889 -max_tol ${max_tol_res_1}
+
index 8592b983acbb3a65fc4933f10a099ad62c36f1b6..8215a87709fec77fc0c6dbdd32b29b68e811038e 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename perno.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 14 )  Summary  = 1  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 50  ( 50 )   Summary  = 451  ( 450 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 50  ( 50 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 189  ( 189 )
-TOLERANCE   : MaxTol   = 8.10120345e-006  (         1e-005 )  AvgTol   =  7.842916874e-007  (  3.006925488e-006 )
-LABELS      : N0Labels = 50  ( 50 )  N1Labels = 0  ( 72 )  N2Labels = 0  ( 0 )   TotalLabels = 50  ( 122 )   NameLabels = 50  ( 50 )   ColorLabels = 50  ( 122 )   LayerLabels = 50  ( 122 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 50 -n1 72 -n2 0 -total 122 -withname 50 -withcolor 122 -withlayer 122 -centroid 0 -volume 0 -area 0 -colors { GREEN } -nbcolors 1 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 50 -shape 450
+checkstatshape res_1 -solid 0 -shell 0 -face 50 -freewire 0 -freeedge 0 -sharededge 189
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 3.006925488e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 50 -n1 72 -n2 0 -total 122 -withname 50 -withcolor 122 -withlayer 122 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 50 -n1 0 -n2 0 -total 50 -withname 50 -withcolor 50 -withlayer 50 -centroid 0 -volume 0 -area 0 -colors { GREEN  } -nbcolors 1 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 50 -shape 451 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 50 -freewire 0 -freeedge 0 -sharededge 189 -max_solid 0 -max_shell 0 -max_face 50 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 8.10120345e-006 -avg 7.842916874e-007 -max_tol ${max_tol_res_1}
+
index 69d6c5f1cd8c130104baf60847df572dd4fa1127..113450222b5f5589be4d3d276a23346a5c5dddbb 100644 (file)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename poteau.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 15  ( 424 )  Summary  = 15  ( 424 )
-CHECKSHAPE  : Wires    = 0  ( 1 )  Faces    = 0  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 240  ( 240 )   Summary  = 7603  ( 7607 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 240  ( 240 )   FreeWire = 135  ( 139 )   FreeEdge  = 1262 ( 1262 )   SharedEdge = 3013  ( 3013 )
-TOLERANCE   : MaxTol   =  0.03614106862  (  0.03613204275 )  AvgTol   =  0.0001652304146  (  0.0001664949467 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 969  ( 2680 )  N2Labels = 0  ( 0 )   TotalLabels = 970  ( 2681 )   NameLabels = 970  ( 1302 )   ColorLabels = 969  ( 2680 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 432 -max_faults 0
+checkxstat D_First -n0 1 -n1 2680 -n2 0 -total 2681 -withname 1302 -withcolor 2680 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 240 -shape 7607
+checkstatshape res_1 -solid 0 -shell 0 -face 240 -freewire 139 -freeedge 1262 -sharededge 3013
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.03613204275 -avg 0.0001664949467]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 432 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 2680 -n2 0 -total 2681 -withname 1302 -withcolor 2680 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 969 -n2 0 -total 970 -withname 970 -withcolor 969 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 240 -shape 7603 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 240 -freewire 135 -freeedge 1262 -sharededge 3013 -max_solid 0 -max_shell 0 -max_face 240 -max_freewire 139 -max_freeedge 1262
+checkmaxtol res_2 -tol 0.03614106862 -avg 0.0001652304146 -max_tol ${max_tol_res_1}
+
index f496344eecfb6274ac62db97b9c689c5187e862c..83021186bb75973dcfe013100d62e6f00c8ee2bc 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename scenrio1.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 5  ( 25 )  Summary  = 5  ( 25 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 30  ( 30 )   Summary  = 693  ( 693 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 30  ( 30 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 316  ( 316 )
-TOLERANCE   : MaxTol   =  0.01590471793  (  0.01590471327 )  AvgTol   =  0.0001153880329  (  0.0001201847625 )
-LABELS      : N0Labels = 30  ( 30 )  N1Labels = 0  ( 12 )  N2Labels = 0  ( 0 )   TotalLabels = 30  ( 42 )   NameLabels = 30  ( 32 )   ColorLabels = 30  ( 42 )   LayerLabels = 30  ( 42 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = GREEN RED  ( GREEN RED )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 21  ( 21 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 25 -max_faults 0
+checkxstat D_First -n0 30 -n1 12 -n2 0 -total 42 -withname 32 -withcolor 42 -withlayer 42 -centroid 0 -volume 0 -area 0 -colors { GREEN RED } -nbcolors 2 -layers { 21 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 30 -shape 693
+checkstatshape res_1 -solid 0 -shell 0 -face 30 -freewire 0 -freeedge 0 -sharededge 316
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01590471327 -avg 0.0001201847625]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 25 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 30 -n1 12 -n2 0 -total 42 -withname 32 -withcolor 42 -withlayer 42 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 30 -n1 0 -n2 0 -total 30 -withname 30 -withcolor 30 -withlayer 30 -centroid 0 -volume 0 -area 0 -colors { GREEN RED  } -nbcolors 2 -layers { 21  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 30 -shape 693 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 30 -freewire 0 -freeedge 0 -sharededge 316 -max_solid 0 -max_shell 0 -max_face 30 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01590471793 -avg 0.0001153880329 -max_tol ${max_tol_res_1}
+
index e9dba6218b509f7ed3f9c974d63254c085307e11..2539918b35cbdd1d72ba15f2755643267ebb4deb 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename support_bobine.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 34 )  Summary  = 2  ( 34 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 123  ( 123 )   Summary  = 3349  ( 3349 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 123  ( 123 )   FreeWire = 7  ( 7 )   FreeEdge  = 571 ( 571 )   SharedEdge = 1263  ( 1263 )
-TOLERANCE   : MaxTol   =  0.01306151266  (  0.01306151266 )  AvgTol   =  4.724224752e-005  (  4.790122037e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 675  ( 1360 )  N2Labels = 0  ( 0 )   TotalLabels = 676  ( 1361 )   NameLabels = 676  ( 745 )   ColorLabels = 675  ( 1360 )   LayerLabels = 584  ( 1185 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = WHITE YELLOW  ( WHITE YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 200  ( 200 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 36 -max_faults 0
+checkxstat D_First -n0 1 -n1 1360 -n2 0 -total 1361 -withname 745 -withcolor 1360 -withlayer 1185 -centroid 0 -volume 0 -area 0 -colors { WHITE YELLOW } -nbcolors 2 -layers { 200 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 123 -shape 3349
+checkstatshape res_1 -solid 0 -shell 0 -face 123 -freewire 7 -freeedge 571 -sharededge 1263
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01306151266 -avg 4.790122037e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 36 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 1360 -n2 0 -total 1361 -withname 745 -withcolor 1360 -withlayer 1185 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 675 -n2 0 -total 676 -withname 676 -withcolor 675 -withlayer 584 -centroid 0 -volume 0 -area 0 -colors { WHITE YELLOW  } -nbcolors 2 -layers { 200  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 123 -shape 3349 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 123 -freewire 7 -freeedge 571 -sharededge 1263 -max_solid 0 -max_shell 0 -max_face 123 -max_freewire 7 -max_freeedge 571
+checkmaxtol res_2 -tol 0.01306151266 -avg 4.724224752e-005 -max_tol ${max_tol_res_1}
+
index 33c88ef269c999d0dd93bd57338b645a7cb4a4cc..bc88e3025aa12918f8de2d4ef74b0a6f98c8527c 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename SurfW.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1006 )  Summary  = 0  ( 1006 )
-CHECKSHAPE  : Wires    = 2  ( 2 )  Faces    = 2  ( 2 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 97  ( 97 )   Summary  = 26757  ( 26757 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 97  ( 97 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 13280  ( 13280 )
-TOLERANCE   : MaxTol   =   0.0124350083  (   0.0124350083 )  AvgTol   =  0.0003833463156  (  0.0003833463156 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 97  ( 188 )  N2Labels = 0  ( 0 )   TotalLabels = 98  ( 189 )   NameLabels = 98  ( 189 )   ColorLabels = 97  ( 188 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = BLACK  ( BLACK )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1006 -max_faults 0
+checkxstat D_First -n0 1 -n1 188 -n2 0 -total 189 -withname 189 -withcolor 188 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLACK } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 97 -shape 26757
+checkstatshape res_1 -solid 0 -shell 0 -face 97 -freewire 0 -freeedge 0 -sharededge 13280
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0124350083 -avg 0.0003833463156]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1006 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 188 -n2 0 -total 189 -withname 189 -withcolor 188 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 97 -n2 0 -total 98 -withname 98 -withcolor 97 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLACK  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 97 -shape 26757 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 97 -freewire 0 -freeedge 0 -sharededge 13280 -max_solid 0 -max_shell 0 -max_face 97 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0124350083 -avg 0.0003833463156 -max_tol ${max_tol_res_1}
+
index f5a6ad9109731534fcf14d490a7eccc0498d9950..1ac544962037771cd266f5c9c16fc8029bd6d701 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-set LinuxDiff 2
 set filename SurfW_fix.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 1 )  Warnings = 0  ( 0 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 3  ( 183 )  Summary  = 3  ( 183 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 97  ( 97 )   Summary  = 2685  ( 2684 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 97  ( 97 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1243  ( 1243 )
-TOLERANCE   : MaxTol   = 0.009955692634  ( 0.009955692464 )  AvgTol   =  0.0008509893784  (  0.0008531522552 )
-LABELS      : N0Labels = 97  ( 97 )  N1Labels = 0  ( 91 )  N2Labels = 0  ( 0 )   TotalLabels = 97  ( 188 )   NameLabels = 97  ( 97 )   ColorLabels = 97  ( 188 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = BLACK  ( BLACK )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 183 -max_faults 0
+checkxstat D_First -n0 97 -n1 91 -n2 0 -total 188 -withname 97 -withcolor 188 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLACK } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 97 -shape 2684
+checkstatshape res_1 -solid 0 -shell 0 -face 97 -freewire 0 -freeedge 0 -sharededge 1243
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009955692464 -avg 0.0008531522552]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 183 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 97 -n1 91 -n2 0 -total 188 -withname 97 -withcolor 188 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 97 -n1 0 -n2 0 -total 97 -withname 97 -withcolor 97 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLACK  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 97 -shape 2685 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 97 -freewire 0 -freeedge 0 -sharededge 1243 -max_solid 0 -max_shell 0 -max_face 97 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.009955692634 -avg 0.0008509893784 -max_tol ${max_tol_res_1}
+
index 89810a42cfb31d156f2c3825f5c44d4f12fc8de8..18c9bd5acbb0e0cc6a4196ddc5d53d5b7a575cb5 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename TibTray_Size3.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 166  ( 312 )  Summary  = 166  ( 312 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 212  ( 212 )   Summary  = 2920  ( 2920 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 212  ( 212 )   FreeWire = 6  ( 6 )   FreeEdge  = 43 ( 43 )   SharedEdge = 1243  ( 1243 )
-TOLERANCE   : MaxTol   =   0.9221308818  (   0.9221308818 )  AvgTol   =   0.01482069174  (   0.01482190688 )
-LABELS      : N0Labels = 244  ( 244 )  N1Labels = 0  ( 216 )  N2Labels = 0  ( 0 )   TotalLabels = 244  ( 460 )   NameLabels = 244  ( 460 )   ColorLabels = 238  ( 460 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 6  ( 6 )
-COLORS      : Colors   = DEEPSKYBLUE2 MAGENTA1 ORANGE ORANGERED RED YELLOW  ( DEEPSKYBLUE2 MAGENTA1 ORANGE ORANGERED RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 315 -max_faults 0
+checkxstat D_First -n0 244 -n1 216 -n2 0 -total 460 -withname 460 -withcolor 460 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE2 MAGENTA1 ORANGE ORANGERED RED YELLOW } -nbcolors 6 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 212 -shape 2920
+checkstatshape res_1 -solid 0 -shell 0 -face 212 -freewire 6 -freeedge 43 -sharededge 1243
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9221308818 -avg 0.01482190688]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 315 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 168 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 244 -n1 216 -n2 0 -total 460 -withname 460 -withcolor 460 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 6 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 244 -n1 0 -n2 0 -total 244 -withname 244 -withcolor 238 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE2 MAGENTA1 ORANGE ORANGERED RED YELLOW  } -nbcolors 6 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 212 -shape 2920 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 212 -freewire 6 -freeedge 43 -sharededge 1243 -max_solid 0 -max_shell 0 -max_face 212 -max_freewire 6 -max_freeedge 43
+checkmaxtol res_2 -tol 0.9221308818 -avg 0.01482069174 -max_tol ${max_tol_res_1}
+
index 2de3acd8762d651ad089369abf34e510e9629140..35e9ca9f5277c417efe05c19ea9e162645561a85 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename UK3.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 12  ( 485 )  Summary  = 12  ( 485 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 239  ( 239 )   Summary  = 4786  ( 4768 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 239  ( 239 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 2151  ( 2144 )
-TOLERANCE   : MaxTol   = 0.0009886042946  ( 0.0009885051926 )  AvgTol   =  5.777641061e-005  (  5.821884006e-005 )
-LABELS      : N0Labels = 237  ( 237 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 237  ( 237 )   NameLabels = 237  ( 237 )   ColorLabels = 0  ( 0 )   LayerLabels = 236  ( 237 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 485 -max_faults 0
+checkxstat D_First -n0 237 -n1 0 -n2 0 -total 237 -withname 237 -withcolor 0 -withlayer 237 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 239 -shape 4768
+checkstatshape res_1 -solid 0 -shell 0 -face 239 -freewire 0 -freeedge 0 -sharededge 2144
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0009885051926 -avg 5.821884006e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 485 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 21 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 237 -n1 0 -n2 0 -total 237 -withname 237 -withcolor 0 -withlayer 237 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 237 -n1 0 -n2 0 -total 237 -withname 237 -withcolor 0 -withlayer 236 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 239 -shape 4786 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 239 -freewire 0 -freeedge 0 -sharededge 2151 -max_solid 0 -max_shell 0 -max_face 239 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0009886042946 -avg 5.777641061e-005 -max_tol ${max_tol_res_1}
+
index d1a9947079b1e72cb35ff0a993269e0bfe9bbe57..20ebf94418ffba9e5fdcc84b42faca1dac9a0ff0 100755 (executable)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-set LinuxDiff 1
 set filename UKI60106.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 72  ( 612 )  Summary  = 72  ( 612 )
-CHECKSHAPE  : Wires    = 1  ( 3 )  Faces    = 1  ( 2 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 457  ( 457 )   Summary  = 10469  ( 10468 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 457  ( 457 )   FreeWire = 26  ( 26 )   FreeEdge  = 1283 ( 1283 )   SharedEdge = 4129  ( 4128 )
-TOLERANCE   : MaxTol   =   0.9874160851  (     0.98741607 )  AvgTol   =   0.01671715735  (   0.01690643311 )
-LABELS      : N0Labels = 1706  ( 1706 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1706  ( 1706 )   NameLabels = 1706  ( 1706 )   ColorLabels = 1680  ( 1706 )   LayerLabels = 1680  ( 1706 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = DARKORANGE DARKVIOLET GRAY57 ORCHID1  ( DARKORANGE DARKVIOLET GRAY57 ORCHID1 )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = 1 24 25  ( 1 24 25 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 612 -max_faults 0
+checkxstat D_First -n0 1706 -n1 0 -n2 0 -total 1706 -withname 1706 -withcolor 1706 -withlayer 1706 -centroid 0 -volume 0 -area 0 -colors { DARKORANGE DARKVIOLET GRAY57 ORCHID1 } -nbcolors 4 -layers { 1 24 25 } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 3 -max_faces 2 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 457 -shape 10468
+checkstatshape res_1 -solid 0 -shell 0 -face 457 -freewire 26 -freeedge 1283 -sharededge 4128
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.98741607 -avg 0.01690643311]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 612 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 72 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1706 -n1 0 -n2 0 -total 1706 -withname 1706 -withcolor 1706 -withlayer 1706 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1706 -n1 0 -n2 0 -total 1706 -withname 1706 -withcolor 1680 -withlayer 1680 -centroid 0 -volume 0 -area 0 -colors { DARKORANGE DARKVIOLET GRAY57 ORCHID1  } -nbcolors 4 -layers { 1 24 25  } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 3 -max_faces 2 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 457 -shape 10469 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 457 -freewire 26 -freeedge 1283 -sharededge 4129 -max_solid 0 -max_shell 0 -max_face 457 -max_freewire 26 -max_freeedge 1283
+checkmaxtol res_2 -tol 0.9874160851 -avg 0.01671715735 -max_tol ${max_tol_res_1}
+
index 326d42c37abed84416f890e1dd429e32830c0506..3bf8c7aa36d20ecd75899caead34f5f130ddca69 100644 (file)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename UKI60556.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 444  ( 1005 )  Summary  = 444  ( 1005 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 300  ( 300 )   Summary  = 50219  ( 50230 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 300  ( 300 )   FreeWire = 119  ( 139 )   FreeEdge  = 4488 ( 4487 )   SharedEdge = 24679  ( 24678 )
-TOLERANCE   : MaxTol   =          1e-05  (  0.06099237775 )  AvgTol   =  3.184880431e-07  (  1.621424764e-05 )
-LABELS      : N0Labels = 432  ( 432 )  N1Labels = 12  ( 845 )  N2Labels = 0  ( 0 )   TotalLabels = 444  ( 1277 )   NameLabels = 432  ( 687 )   ColorLabels = 320  ( 1277 )   LayerLabels = 320  ( 1277 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 6  ( 6 )
-COLORS      : Colors   = CYAN1 GREEN MAGENTA1 RED WHITE YELLOW  ( CYAN1 GREEN MAGENTA1 RED WHITE YELLOW )
-NLAYERS     : NLayers  = 4  ( 4 )
-LAYERS      : Layers   = 1 2 3 4  ( 1 2 3 4 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 1005 -max_faults 0
+checkxstat D_First -n0 432 -n1 845 -n2 0 -total 1277 -withname 687 -withcolor 1277 -withlayer 1277 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN MAGENTA1 RED WHITE YELLOW } -nbcolors 6 -layers { 1 2 3 4 } -nblayers 4
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 300 -shape 50230
+checkstatshape res_1 -solid 0 -shell 0 -face 300 -freewire 139 -freeedge 4487 -sharededge 24678
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.06099237775 -avg 1.621424764e-05]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 1005 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 448 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 432 -n1 845 -n2 0 -total 1277 -withname 687 -withcolor 1277 -withlayer 1277 -centroid 0 -volume 0 -area 0 -nbcolors 6 -nblayers 4
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 432 -n1 12 -n2 0 -total 444 -withname 432 -withcolor 320 -withlayer 320 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN MAGENTA1 RED WHITE YELLOW  } -nbcolors 6 -layers { 1 2 3 4  } -nblayers 4
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 300 -shape 50219 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 300 -freewire 119 -freeedge 4488 -sharededge 24679 -max_solid 0 -max_shell 0 -max_face 300 -max_freewire 139 -max_freeedge 4487
+checkmaxtol res_2 -tol 1e-05 -avg 3.184880431e-07 -max_tol ${max_tol_res_1}
+
index d1e0c36eceb1a6f4eedf8cca7ca3d1cd5c891acf..1bafe964fef4c9f25ca93d7b5ac683fb55793063 100755 (executable)
@@ -1,20 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-puts "TODO CR25013 ALL: Error : 2 differences with reference data found" 
+puts "TODO CR25013 ALL: Error :  is WRONG because number of SHAPE entities in shape"
+puts "TODO CR25013 ALL: STATSHAPE : Faulty ref number of shared edges in command statshape"
 
 set filename lh93wsddr3370z2.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 246  ( 6306 )  Summary  = 246  ( 6306 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 685  ( 685 )   Summary  = 10601  ( 10601 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 685  ( 685 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 4635  ( 4635 )
-TOLERANCE   : MaxTol   =  0.03464832644  (  0.08716146716 )  AvgTol   =  0.0001792027306  (  0.0002025375566 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6395 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 685 -shape 10601
+checkstatshape res_1 -solid 0 -shell 0 -face 685 -freewire 0 -freeedge 0 -sharededge 4635
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.08716146716 -avg 0.0002025375566]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6395 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 252 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 685 -shape 10601 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 685 -freewire 0 -freeedge 0 -sharededge 4635 -max_solid 0 -max_shell 0 -max_face 685 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.03464832644 -avg 0.0001792027306 -max_tol ${max_tol_res_1}
+
index af83f0656368fd03673d93f5af04e0e3bc4bfb25..65cce4fa87dd94db7d1845b2850cac843ef3d162 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename USA60023-2.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 1 )  Warnings = 0  ( 0 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 1 )  Warnings = 0  ( 16 )  Summary  = 0  ( 17 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 14893  ( 15168 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 16  ( 16 )   FreeEdge  = 5288 ( 5288 )   SharedEdge = 5288  ( 5288 )
-TOLERANCE   : MaxTol   =          1e-07  (          1e-07 )  AvgTol   =           1e-07  (           1e-07 )
-LABELS      : N0Labels = 4160  ( 4160 )  N1Labels = 286  ( 562 )  N2Labels = 0  ( 0 )   TotalLabels = 4446  ( 4722 )   NameLabels = 4160  ( 4160 )   ColorLabels = 3040  ( 3061 )   LayerLabels = 4382  ( 4402 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 6  ( 6 )
-COLORS      : Colors   = BLUE1 CYAN1 GREEN MAGENTA1 RED YELLOW  ( BLUE1 CYAN1 GREEN MAGENTA1 RED YELLOW )
-NLAYERS     : NLayers  = 36  ( 36 )
-LAYERS      : Layers   = 1 10 104 106 107 11 12 14 17 2 20 200 21 22 24 3 30 31 4 41 44 5 50 52 60 61 62 64 7 70 71 72 80 81 82 9  ( 1 10 104 106 107 11 12 14 17 2 20 200 21 22 24 3 30 31 4 41 44 5 50 52 60 61 62 64 7 70 71 72 80 81 82 9 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 16 -max_faults 1
+checkxstat D_First -n0 4160 -n1 562 -n2 0 -total 4722 -withname 4160 -withcolor 3061 -withlayer 4402 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 RED YELLOW } -nbcolors 6 -layers { 1 10 104 106 107 11 12 14 17 2 20 200 21 22 24 3 30 31 4 41 44 5 50 52 60 61 62 64 7 70 71 72 80 81 82 9 } -nblayers 36
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 15168
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 16 -freeedge 5288 -sharededge 5288
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-07 -avg 1e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 16 -max_faults 1
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4160 -n1 562 -n2 0 -total 4722 -withname 4160 -withcolor 3061 -withlayer 4402 -centroid 0 -volume 0 -area 0 -nbcolors 6 -nblayers 36
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4160 -n1 286 -n2 0 -total 4446 -withname 4160 -withcolor 3040 -withlayer 4382 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 RED YELLOW  } -nbcolors 6 -layers { 1 10 104 106 107 11 12 14 17 2 20 200 21 22 24 3 30 31 4 41 44 5 50 52 60 61 62 64 7 70 71 72 80 81 82 9  } -nblayers 36
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 14893 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 16 -freeedge 5288 -sharededge 5288 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 16 -max_freeedge 5288
+checkmaxtol res_2 -tol 1e-07 -avg 1e-07 -max_tol ${max_tol_res_1}
+
index a5832da16aa5994c49699488a24d1c11c8ed35ab..d5e409737deda14f4b0c14d8b0f5b6a60b9e9ef4 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename USA60023-3.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 2 )  Warnings = 0  ( 0 )  Summary  = 0  ( 2 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 68 )  Summary  = 0  ( 68 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 12439  ( 12441 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 68  ( 68 )   FreeEdge  = 4391 ( 4391 )   SharedEdge = 4391  ( 4391 )
-TOLERANCE   : MaxTol   =          1e-07  (          1e-07 )  AvgTol   =           1e-07  (           1e-07 )
-LABELS      : N0Labels = 3170  ( 3170 )  N1Labels = 524  ( 526 )  N2Labels = 0  ( 0 )   TotalLabels = 3694  ( 3696 )   NameLabels = 3170  ( 3170 )   ColorLabels = 2514  ( 2564 )   LayerLabels = 3596  ( 3662 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 6  ( 6 )
-COLORS      : Colors   = BLUE1 CYAN1 GREEN MAGENTA1 RED YELLOW  ( BLUE1 CYAN1 GREEN MAGENTA1 RED YELLOW )
-NLAYERS     : NLayers  = 31  ( 31 )
-LAYERS      : Layers   = 1 10 100 106 107 11 12 14 17 19 2 20 21 22 24 3 30 31 32 4 5 50 6 60 7 70 72 74 80 81 82  ( 1 10 100 106 107 11 12 14 17 19 2 20 21 22 24 3 30 31 32 4 5 50 6 60 7 70 72 74 80 81 82 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 68 -max_faults 0
+checkxstat D_First -n0 3170 -n1 526 -n2 0 -total 3696 -withname 3170 -withcolor 2564 -withlayer 3662 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 RED YELLOW } -nbcolors 6 -layers { 1 10 100 106 107 11 12 14 17 19 2 20 21 22 24 3 30 31 32 4 5 50 6 60 7 70 72 74 80 81 82 } -nblayers 31
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 12441
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 68 -freeedge 4391 -sharededge 4391
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-07 -avg 1e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 68 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3170 -n1 526 -n2 0 -total 3696 -withname 3170 -withcolor 2564 -withlayer 3662 -centroid 0 -volume 0 -area 0 -nbcolors 6 -nblayers 31
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3170 -n1 524 -n2 0 -total 3694 -withname 3170 -withcolor 2514 -withlayer 3596 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 RED YELLOW  } -nbcolors 6 -layers { 1 10 100 106 107 11 12 14 17 19 2 20 21 22 24 3 30 31 32 4 5 50 6 60 7 70 72 74 80 81 82  } -nblayers 31
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 12439 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 68 -freeedge 4391 -sharededge 4391 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 68 -max_freeedge 4391
+checkmaxtol res_2 -tol 1e-07 -avg 1e-07 -max_tol ${max_tol_res_1}
+
index f7865f9397303ed699428fc195c60f964c1bdfc3..0104e3e23722ab156427c1e92c482fc9eb8ca999 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename USA60023-4.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 2 )  Warnings = 0  ( 0 )  Summary  = 0  ( 2 )
-TPSTAT      : Faulties = 0  ( 39 )  Warnings = 0  ( 12 )  Summary  = 0  ( 51 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 14914  ( 15469 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 9  ( 9 )   FreeEdge  = 5039 ( 5039 )   SharedEdge = 5039  ( 5039 )
-TOLERANCE   : MaxTol   =          1e-07  (          1e-07 )  AvgTol   =           1e-07  (           1e-07 )
-LABELS      : N0Labels = 4555  ( 4555 )  N1Labels = 328  ( 884 )  N2Labels = 0  ( 0 )   TotalLabels = 4883  ( 5439 )   NameLabels = 4555  ( 4555 )   ColorLabels = 3752  ( 4340 )   LayerLabels = 4851  ( 4868 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 6  ( 6 )
-COLORS      : Colors   = BLUE1 CYAN1 GREEN MAGENTA1 RED YELLOW  ( BLUE1 CYAN1 GREEN MAGENTA1 RED YELLOW )
-NLAYERS     : NLayers  = 38  ( 38 )
-LAYERS      : Layers   = 1 10 100 102 106 107 11 12 14 15 2 20 21 22 24 25 3 30 31 32 34 4 40 41 5 50 51 52 6 60 61 62 7 70 71 80 81 82  ( 1 10 100 102 106 107 11 12 14 15 2 20 21 22 24 25 3 30 31 32 34 4 40 41 5 50 51 52 6 60 61 62 7 70 71 80 81 82 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 12 -max_faults 39
+checkxstat D_First -n0 4555 -n1 884 -n2 0 -total 5439 -withname 4555 -withcolor 4340 -withlayer 4868 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 RED YELLOW } -nbcolors 6 -layers { 1 10 100 102 106 107 11 12 14 15 2 20 21 22 24 25 3 30 31 32 34 4 40 41 5 50 51 52 6 60 61 62 7 70 71 80 81 82 } -nblayers 38
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 15469
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 9 -freeedge 5039 -sharededge 5039
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-07 -avg 1e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 12 -max_faults 39
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4555 -n1 884 -n2 0 -total 5439 -withname 4555 -withcolor 4340 -withlayer 4868 -centroid 0 -volume 0 -area 0 -nbcolors 6 -nblayers 38
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4555 -n1 328 -n2 0 -total 4883 -withname 4555 -withcolor 3752 -withlayer 4851 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 RED YELLOW  } -nbcolors 6 -layers { 1 10 100 102 106 107 11 12 14 15 2 20 21 22 24 25 3 30 31 32 34 4 40 41 5 50 51 52 6 60 61 62 7 70 71 80 81 82  } -nblayers 38
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 14914 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 9 -freeedge 5039 -sharededge 5039 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 9 -max_freeedge 5039
+checkmaxtol res_2 -tol 1e-07 -avg 1e-07 -max_tol ${max_tol_res_1}
+
index 4ac1f5a8670dc5170176c2f69c4fa58afbd66454..00d3be90df1281675436b037647e2f429a021065 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename USA60023-5.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 2 )  Warnings = 0  ( 0 )  Summary  = 0  ( 2 )
-TPSTAT      : Faulties = 0  ( 34 )  Warnings = 0  ( 14 )  Summary  = 0  ( 48 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 10899  ( 10899 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 13  ( 13 )   FreeEdge  = 3713 ( 3713 )   SharedEdge = 3713  ( 3713 )
-TOLERANCE   : MaxTol   =          1e-07  (          1e-07 )  AvgTol   =           1e-07  (           1e-07 )
-LABELS      : N0Labels = 3397  ( 3397 )  N1Labels = 134  ( 134 )  N2Labels = 0  ( 0 )   TotalLabels = 3531  ( 3531 )   NameLabels = 3397  ( 3397 )   ColorLabels = 2538  ( 2578 )   LayerLabels = 3467  ( 3500 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 6  ( 6 )
-COLORS      : Colors   = BLUE1 CYAN1 GREEN MAGENTA1 RED YELLOW  ( BLUE1 CYAN1 GREEN MAGENTA1 RED YELLOW )
-NLAYERS     : NLayers  = 29  ( 29 )
-LAYERS      : Layers   = 1 10 100 102 104 106 107 11 12 14 2 20 21 22 24 3 30 31 32 4 40 5 50 52 7 70 71 74 80  ( 1 10 100 102 104 106 107 11 12 14 2 20 21 22 24 3 30 31 32 4 40 5 50 52 7 70 71 74 80 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 14 -max_faults 34
+checkxstat D_First -n0 3397 -n1 134 -n2 0 -total 3531 -withname 3397 -withcolor 2578 -withlayer 3500 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 RED YELLOW } -nbcolors 6 -layers { 1 10 100 102 104 106 107 11 12 14 2 20 21 22 24 3 30 31 32 4 40 5 50 52 7 70 71 74 80 } -nblayers 29
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 10899
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 13 -freeedge 3713 -sharededge 3713
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-07 -avg 1e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 14 -max_faults 34
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3397 -n1 134 -n2 0 -total 3531 -withname 3397 -withcolor 2578 -withlayer 3500 -centroid 0 -volume 0 -area 0 -nbcolors 6 -nblayers 29
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3397 -n1 134 -n2 0 -total 3531 -withname 3397 -withcolor 2538 -withlayer 3467 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 RED YELLOW  } -nbcolors 6 -layers { 1 10 100 102 104 106 107 11 12 14 2 20 21 22 24 3 30 31 32 4 40 5 50 52 7 70 71 74 80  } -nblayers 29
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 10899 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 13 -freeedge 3713 -sharededge 3713 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 13 -max_freeedge 3713
+checkmaxtol res_2 -tol 1e-07 -avg 1e-07 -max_tol ${max_tol_res_1}
+
index 1f4bc874d0c894b0f2ecfdc673e1d67203924f2f..5a1dcf6350b8516e47f38876b87b82a40351c3af 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename USA60023-6.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 1 )  Warnings = 0  ( 0 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 44 )  Warnings = 0  ( 24 )  Summary  = 0  ( 68 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 9878  ( 9879 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 17  ( 17 )   FreeEdge  = 3356 ( 3356 )   SharedEdge = 3356  ( 3356 )
-TOLERANCE   : MaxTol   =          1e-07  (          1e-07 )  AvgTol   =           1e-07  (           1e-07 )
-LABELS      : N0Labels = 2998  ( 2998 )  N1Labels = 195  ( 202 )  N2Labels = 0  ( 0 )   TotalLabels = 3193  ( 3200 )   NameLabels = 2998  ( 2998 )   ColorLabels = 2187  ( 2225 )   LayerLabels = 3162  ( 3184 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 6  ( 6 )
-COLORS      : Colors   = BLUE1 CYAN1 GREEN MAGENTA1 RED YELLOW  ( BLUE1 CYAN1 GREEN MAGENTA1 RED YELLOW )
-NLAYERS     : NLayers  = 34  ( 34 )
-LAYERS      : Layers   = 1 10 100 106 107 11 12 14 2 20 21 22 24 25 250 3 30 31 4 40 42 5 50 51 52 54 6 60 62 7 70 71 80 81  ( 1 10 100 106 107 11 12 14 2 20 21 22 24 25 250 3 30 31 4 40 42 5 50 51 52 54 6 60 62 7 70 71 80 81 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 24 -max_faults 44
+checkxstat D_First -n0 2998 -n1 202 -n2 0 -total 3200 -withname 2998 -withcolor 2225 -withlayer 3184 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 RED YELLOW } -nbcolors 6 -layers { 1 10 100 106 107 11 12 14 2 20 21 22 24 25 250 3 30 31 4 40 42 5 50 51 52 54 6 60 62 7 70 71 80 81 } -nblayers 34
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 9879
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 17 -freeedge 3356 -sharededge 3356
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-07 -avg 1e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 24 -max_faults 44
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2998 -n1 202 -n2 0 -total 3200 -withname 2998 -withcolor 2225 -withlayer 3184 -centroid 0 -volume 0 -area 0 -nbcolors 6 -nblayers 34
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2998 -n1 195 -n2 0 -total 3193 -withname 2998 -withcolor 2187 -withlayer 3162 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 RED YELLOW  } -nbcolors 6 -layers { 1 10 100 106 107 11 12 14 2 20 21 22 24 25 250 3 30 31 4 40 42 5 50 51 52 54 6 60 62 7 70 71 80 81  } -nblayers 34
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 9878 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 17 -freeedge 3356 -sharededge 3356 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 17 -max_freeedge 3356
+checkmaxtol res_2 -tol 1e-07 -avg 1e-07 -max_tol ${max_tol_res_1}
+
index b5055e2666aabb594333dfe4de36f4763885dad9..60efcb5945b3c053b75bb508feb4acf92a1fc2f1 100644 (file)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename USA60293.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 86  ( 56 )  Summary  = 86  ( 56 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 793  ( 793 )   Summary  = 9249  ( 9251 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 793  ( 793 )   FreeWire = 0  ( 0 )   FreeEdge  = 8 ( 8 )   SharedEdge = 3847  ( 3848 )
-TOLERANCE   : MaxTol   =   0.9292857408  (   0.9292857413 )  AvgTol   =   0.05474076147  (   0.05472794112 )
-LABELS      : N0Labels = 800  ( 800 )  N1Labels = 2  ( 1047 )  N2Labels = 0  ( 0 )   TotalLabels = 802  ( 1847 )   NameLabels = 800  ( 800 )   ColorLabels = 801  ( 1847 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 9  ( 9 )
-COLORS      : Colors   = BLUE1 BURLYWOOD2 CYAN1 GREEN LIGHTSTEELBLUE ORCHID2 RED SEAGREEN2 YELLOW  ( BLUE1 BURLYWOOD2 CYAN1 GREEN LIGHTSTEELBLUE ORCHID2 RED SEAGREEN2 YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 56 -max_faults 0
+checkxstat D_First -n0 800 -n1 1047 -n2 0 -total 1847 -withname 800 -withcolor 1847 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 BURLYWOOD2 CYAN1 GREEN LIGHTSTEELBLUE ORCHID2 RED SEAGREEN2 YELLOW } -nbcolors 9 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 793 -shape 9251
+checkstatshape res_1 -solid 0 -shell 0 -face 793 -freewire 0 -freeedge 8 -sharededge 3848
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9292857413 -avg 0.05472794112]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 56 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 92 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 800 -n1 1047 -n2 0 -total 1847 -withname 800 -withcolor 1847 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 9 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 800 -n1 2 -n2 0 -total 802 -withname 800 -withcolor 801 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 BURLYWOOD2 CYAN1 GREEN LIGHTSTEELBLUE ORCHID2 RED SEAGREEN2 YELLOW  } -nbcolors 9 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 793 -shape 9249 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 793 -freewire 0 -freeedge 8 -sharededge 3847 -max_solid 0 -max_shell 0 -max_face 793 -max_freewire 0 -max_freeedge 8
+checkmaxtol res_2 -tol 0.9292857408 -avg 0.05474076147 -max_tol ${max_tol_res_1}
+
index a7ee20df0b92258a014a5b95806fd42f10205d22..c70e76c6bf1e5538f02956695b544b373f0092f2 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename bad_header.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1  ( 1 )   Summary  = 10  ( 10 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 4  ( 4 )
-TOLERANCE   : MaxTol   = 6.579626611e-006  (         1e-005 )  AvgTol   =  3.112972221e-006  (  9.238461538e-006 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 1 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 2 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 2 )   LayerLabels = 1  ( 2 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 1 -n2 0 -total 2 -withname 1 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -colors { GREEN } -nbcolors 1 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1 -shape 10
+checkstatshape res_1 -solid 0 -shell 0 -face 1 -freewire 0 -freeedge 0 -sharededge 4
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 9.238461538e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 1 -n2 0 -total 2 -withname 1 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { GREEN  } -nbcolors 1 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1 -shape 10 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1 -freewire 0 -freeedge 0 -sharededge 4 -max_solid 0 -max_shell 0 -max_face 1 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 6.579626611e-006 -avg 3.112972221e-006 -max_tol ${max_tol_res_1}
+
index 6d7a423011688d7e153bda952a369399131635a7..cd6bf39c81cf5a0a9a05cec8bb5a9a96ce15993e 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename bague.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 88  ( 75 )  Summary  = 88  ( 75 )
-CHECKSHAPE  : Wires    = 1  ( 1 )  Faces    = 1  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 1 )  Shell    = 0  ( 1 )  Face     = 320  ( 320 )   Summary  = 4995  ( 4896 )
-STATSHAPE   : Solid    = 0  ( 1 )  Shell    = 0  ( 1 )  Face     = 320  ( 320 )   FreeWire = 0  ( 0 )   FreeEdge  = 218 ( 218 )   SharedEdge = 2066  ( 2024 )
-TOLERANCE   : MaxTol   =   0.9408369253  (    1.136317349 )  AvgTol   =   0.03468777686  (   0.04030133427 )
-LABELS      : N0Labels = 521  ( 521 )  N1Labels = 18  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 539  ( 521 )   NameLabels = 521  ( 521 )   ColorLabels = 537  ( 521 )   LayerLabels = 455  ( 439 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = LEMONCHIFFON1 LIGHTSTEELBLUE2 RED WHITE  ( LEMONCHIFFON1 LIGHTSTEELBLUE2 RED WHITE )
-NLAYERS     : NLayers  = 5  ( 5 )
-LAYERS      : Layers   = 10 126 130 26 60  ( 10 126 130 26 60 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 80 -max_faults 0
+checkxstat D_First -n0 521 -n1 0 -n2 0 -total 521 -withname 521 -withcolor 521 -withlayer 439 -centroid 0 -volume 0 -area 0 -colors { LEMONCHIFFON1 LIGHTSTEELBLUE2 RED WHITE } -nbcolors 4 -layers { 10 126 130 26 60 } -nblayers 5
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 320 -shape 4896
+checkstatshape res_1 -solid 1 -shell 1 -face 320 -freewire 0 -freeedge 218 -sharededge 2024
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.136317349 -avg 0.04030133427]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 80 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 89 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 521 -n1 0 -n2 0 -total 521 -withname 521 -withcolor 521 -withlayer 439 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 5
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 521 -n1 18 -n2 0 -total 539 -withname 521 -withcolor 537 -withlayer 455 -centroid 0 -volume 0 -area 0 -colors { LEMONCHIFFON1 LIGHTSTEELBLUE2 RED WHITE  } -nbcolors 4 -layers { 10 126 130 26 60  } -nblayers 5
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 320 -shape 4995 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 320 -freewire 0 -freeedge 218 -sharededge 2066 -max_solid 1 -max_shell 1 -max_face 320 -max_freewire 0 -max_freeedge 218
+checkmaxtol res_2 -tol 0.9408369253 -avg 0.03468777686 -max_tol ${max_tol_res_1}
+
index c61de8f33722f1aea8d775d64e9bb6e0552425e2..5080a83e715a7e846cf63e646248d3e89c851d4d 100755 (executable)
@@ -1,22 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
-puts "TODO CR23096 ALL: Error : 3 differences with reference data found" 
+puts "TODO CR23096 ALL: Error :  is WRONG because number of SHAPE entities in shape " 
+puts "TODO CR23096 ALL: STATSHAPE : Faulty ref number of shared edges in command statshape"
 
-set LinuxDiff 2
 set filename brazo1.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 2 )  Warnings = 0  ( 0 )  Summary  = 0  ( 2 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 139  ( 454 )  Summary  = 139  ( 454 )
-CHECKSHAPE  : Wires    = 6  ( 8 )  Faces    = 6  ( 8 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 223  ( 223 )   Summary  = 4710  ( 4574 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 223  ( 223 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 2166  ( 2092 )
-TOLERANCE   : MaxTol   =    0.991254355  (    0.991254355 )  AvgTol   =   0.01133191355  (   0.01225911215 )
-LABELS      : N0Labels = 223  ( 223 )  N1Labels = 0  ( 222 )  N2Labels = 0  ( 0 )   TotalLabels = 223  ( 445 )   NameLabels = 223  ( 389 )   ColorLabels = 223  ( 445 )   LayerLabels = 223  ( 445 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 MAGENTA1 YELLOW  ( BLUE1 MAGENTA1 YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 4  ( 4 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 478 -max_faults 0
+checkxstat D_First -n0 223 -n1 222 -n2 0 -total 445 -withname 389 -withcolor 445 -withlayer 445 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA1 YELLOW } -nbcolors 3 -layers { 4 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 8 -max_faces 8 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 223 -shape 4574
+checkstatshape res_1 -solid 0 -shell 0 -face 223 -freewire 0 -freeedge 0 -sharededge 2092
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.991254355 -avg 0.01225911215]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 478 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 154 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 223 -n1 222 -n2 0 -total 445 -withname 389 -withcolor 445 -withlayer 445 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 223 -n1 0 -n2 0 -total 223 -withname 223 -withcolor 223 -withlayer 223 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA1 YELLOW  } -nbcolors 3 -layers { 4  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 8 -max_faces 8 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 6 -max_faces 6 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 223 -shape 4710 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 223 -freewire 0 -freeedge 0 -sharededge 2166 -max_solid 0 -max_shell 0 -max_face 223 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.991254355 -avg 0.01133191355 -max_tol ${max_tol_res_1}
+
index 8eabdcbf158fca890c917c4bc947fe5809e67360..adf6d9f23365074fb10a340d03d32ff2c330a4aa 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename igsBF6.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 4 )  Warnings = 122  ( 2490 )  Summary  = 122  ( 2494 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 478  ( 478 )   Summary  = 9620  ( 9620 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 478  ( 478 )   FreeWire = 11  ( 11 )   FreeEdge  = 679 ( 679 )   SharedEdge = 4098  ( 4098 )
-TOLERANCE   : MaxTol   =   0.7255001399  (   0.7254994252 )  AvgTol   =   0.00150384607  (  0.001491267872 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 856  ( 1636 )  N2Labels = 0  ( 0 )   TotalLabels = 857  ( 1637 )   NameLabels = 857  ( 1390 )   ColorLabels = 856  ( 1636 )   LayerLabels = 856  ( 1636 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 10  ( 10 )
-COLORS      : Colors   = BLUE1 CYAN1 GREEN MAGENTA1 MAGENTA3 RED TURQUOISE4 WHITE YELLOW YELLOW4  ( BLUE1 CYAN1 GREEN MAGENTA1 MAGENTA3 RED TURQUOISE4 WHITE YELLOW YELLOW4 )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = 1 141 71  ( 1 141 71 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2490 -max_faults 4
+checkxstat D_First -n0 1 -n1 1636 -n2 0 -total 1637 -withname 1390 -withcolor 1636 -withlayer 1636 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 MAGENTA3 RED TURQUOISE4 WHITE YELLOW YELLOW4 } -nbcolors 10 -layers { 1 141 71 } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 478 -shape 9620
+checkstatshape res_1 -solid 0 -shell 0 -face 478 -freewire 11 -freeedge 679 -sharededge 4098
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.7254994252 -avg 0.001491267872]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2490 -max_faults 4
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 122 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 1636 -n2 0 -total 1637 -withname 1390 -withcolor 1636 -withlayer 1636 -centroid 0 -volume 0 -area 0 -nbcolors 10 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 856 -n2 0 -total 857 -withname 857 -withcolor 856 -withlayer 856 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 MAGENTA3 RED TURQUOISE4 WHITE YELLOW YELLOW4  } -nbcolors 10 -layers { 1 141 71  } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 478 -shape 9620 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 478 -freewire 11 -freeedge 679 -sharededge 4098 -max_solid 0 -max_shell 0 -max_face 478 -max_freewire 11 -max_freeedge 679
+checkmaxtol res_2 -tol 0.7255001399 -avg 0.00150384607 -max_tol ${max_tol_res_1}
+
index ad4d31d775a71f9583023bec8e2c442adb1ad9a2..315776d73305784c1ba8f51d751371ff14c09489 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-set LinuxDiff 1
 set filename igsFB2.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 97  ( 771 )  Summary  = 97  ( 771 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 770  ( 770 )   Summary  = 12751  ( 12759 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 770  ( 770 )   FreeWire = 36  ( 36 )   FreeEdge  = 232 ( 232 )   SharedEdge = 5541  ( 5545 )
-TOLERANCE   : MaxTol   =   0.9845041621  (   0.9845038147 )  AvgTol   =   0.00992720939  (  0.009919874447 )
-LABELS      : N0Labels = 880  ( 880 )  N1Labels = 0  ( 620 )  N2Labels = 0  ( 0 )   TotalLabels = 880  ( 1500 )   NameLabels = 880  ( 1500 )   ColorLabels = 844  ( 1500 )   LayerLabels = 844  ( 1500 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = BLACK  ( BLACK )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 771 -max_faults 0
+checkxstat D_First -n0 880 -n1 620 -n2 0 -total 1500 -withname 1500 -withcolor 1500 -withlayer 1500 -centroid 0 -volume 0 -area 0 -colors { BLACK } -nbcolors 1 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 770 -shape 12759
+checkstatshape res_1 -solid 0 -shell 0 -face 770 -freewire 36 -freeedge 232 -sharededge 5545
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9845038147 -avg 0.009919874447]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 771 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 97 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 880 -n1 620 -n2 0 -total 1500 -withname 1500 -withcolor 1500 -withlayer 1500 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 880 -n1 0 -n2 0 -total 880 -withname 880 -withcolor 844 -withlayer 844 -centroid 0 -volume 0 -area 0 -colors { BLACK  } -nbcolors 1 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 770 -shape 12751 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 770 -freewire 36 -freeedge 232 -sharededge 5541 -max_solid 0 -max_shell 0 -max_face 770 -max_freewire 36 -max_freeedge 232
+checkmaxtol res_2 -tol 0.9845041621 -avg 0.00992720939 -max_tol ${max_tol_res_1}
+
index ce568899c4fffe6166a6fc0504530de89e1290b3..02b114141ca81ccfbfc7a3ac8585df330406d563 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-set LinuxDiff 2
 set filename ims001.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 11  ( 2 )  Summary  = 11  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 1  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 190  ( 190 )   Summary  = 2158  ( 2158 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 190  ( 190 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 887  ( 887 )
-TOLERANCE   : MaxTol   =   0.6881447912  (   0.6881447942 )  AvgTol   =   0.02957229252  (   0.02969463719 )
-LABELS      : N0Labels = 190  ( 190 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 190  ( 190 )   NameLabels = 190  ( 190 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 190 -n1 0 -n2 0 -total 190 -withname 190 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 190 -shape 2158
+checkstatshape res_1 -solid 0 -shell 0 -face 190 -freewire 0 -freeedge 0 -sharededge 887
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.6881447942 -avg 0.02969463719]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 190 -n1 0 -n2 0 -total 190 -withname 190 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 190 -n1 0 -n2 0 -total 190 -withname 190 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 190 -shape 2158 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 190 -freewire 0 -freeedge 0 -sharededge 887 -max_solid 0 -max_shell 0 -max_face 190 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.6881447912 -avg 0.02957229252 -max_tol ${max_tol_res_1}
+
index 90c9522db5a19f1f3b292d05e8781abd2b883455..61cd25501d5b86660308b85baa58af2c64b7ddc2 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-set LinuxDiff 1
 set filename ims003.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 38  ( 183 )  Summary  = 38  ( 183 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 114  ( 114 )   Summary  = 2511  ( 2510 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 114  ( 114 )   FreeWire = 23  ( 23 )   FreeEdge  = 331 ( 331 )   SharedEdge = 983  ( 983 )
-TOLERANCE   : MaxTol   =   0.1830141575  (   0.1830141765 )  AvgTol   =  0.003295423033  (  0.003364815075 )
-LABELS      : N0Labels = 412  ( 412 )  N1Labels = 2  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 414  ( 412 )   NameLabels = 412  ( 412 )   ColorLabels = 389  ( 410 )   LayerLabels = 389  ( 410 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = DARKORANGE DARKVIOLET GRAY57 GREEN WHITE  ( DARKORANGE DARKVIOLET GRAY57 GREEN WHITE )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = 1 24 25  ( 1 24 25 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 188 -max_faults 0
+checkxstat D_First -n0 412 -n1 0 -n2 0 -total 412 -withname 412 -withcolor 410 -withlayer 410 -centroid 0 -volume 0 -area 0 -colors { DARKORANGE DARKVIOLET GRAY57 GREEN WHITE } -nbcolors 5 -layers { 1 24 25 } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 114 -shape 2510
+checkstatshape res_1 -solid 0 -shell 0 -face 114 -freewire 23 -freeedge 331 -sharededge 983
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1830141765 -avg 0.003364815075]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 188 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 37 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 412 -n1 0 -n2 0 -total 412 -withname 412 -withcolor 410 -withlayer 410 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 412 -n1 2 -n2 0 -total 414 -withname 412 -withcolor 389 -withlayer 389 -centroid 0 -volume 0 -area 0 -colors { DARKORANGE DARKVIOLET GRAY57 GREEN WHITE  } -nbcolors 5 -layers { 1 24 25  } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 114 -shape 2511 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 114 -freewire 23 -freeedge 331 -sharededge 983 -max_solid 0 -max_shell 0 -max_face 114 -max_freewire 23 -max_freeedge 331
+checkmaxtol res_2 -tol 0.1830141575 -avg 0.003295423033 -max_tol ${max_tol_res_1}
+
index e94f2031dc9544ba5082b5409b4d886f08b43d95..2c744fccf9a2a716d6221d0832d86e6040d03f13 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 
-
 set filename ims006.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 82  ( 1042 )  Summary  = 82  ( 1042 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 152  ( 152 )   Summary  = 11105  ( 11105 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 152  ( 152 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 5400  ( 5400 )
-TOLERANCE   : MaxTol   = 1.340794119e-005  (         1e-005 )  AvgTol   =  3.186484805e-006  (  9.90797456e-006 )
-LABELS      : N0Labels = 152  ( 152 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 152  ( 152 )   NameLabels = 152  ( 152 )   ColorLabels = 152  ( 152 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1042 -max_faults 0
+checkxstat D_First -n0 152 -n1 0 -n2 0 -total 152 -withname 152 -withcolor 152 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 152 -shape 11105
+checkstatshape res_1 -solid 0 -shell 0 -face 152 -freewire 0 -freeedge 0 -sharededge 5400
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 9.90797456e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1042 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 82 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 152 -n1 0 -n2 0 -total 152 -withname 152 -withcolor 152 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 152 -n1 0 -n2 0 -total 152 -withname 152 -withcolor 152 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 152 -shape 11105 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 152 -freewire 0 -freeedge 0 -sharededge 5400 -max_solid 0 -max_shell 0 -max_face 152 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.340794119e-005 -avg 3.186484805e-006 -max_tol ${max_tol_res_1}
+
index 307f22dbd68a2eaf0165cb6de5b851019b3bfb32..650ef324bac4a46a9f09680e5b8f62d10aaca0c7 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename ims014.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 1096 )  Warnings = 0  ( 0 )  Summary  = 0  ( 1096 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 15 )  Summary  = 0  ( 15 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 106  ( 106 )   Summary  = 2199  ( 2199 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 106  ( 106 )   FreeWire = 0  ( 0 )   FreeEdge  = 272 ( 272 )   SharedEdge = 864  ( 864 )
-TOLERANCE   : MaxTol   =   0.2569678523  (   0.2569678511 )  AvgTol   =  0.002441727474  (  0.002442511333 )
-LABELS      : N0Labels = 378  ( 378 )  N1Labels = 0  ( 74 )  N2Labels = 0  ( 0 )   TotalLabels = 378  ( 452 )   NameLabels = 378  ( 378 )   ColorLabels = 374  ( 452 )   LayerLabels = 374  ( 452 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = GREEN YELLOW  ( GREEN YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 50  ( 50 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 1096
+checkdoc "tpstat c" -max_warns 15 -max_faults 0
+checkxstat D_First -n0 378 -n1 74 -n2 0 -total 452 -withname 378 -withcolor 452 -withlayer 452 -centroid 0 -volume 0 -area 0 -colors { GREEN YELLOW } -nbcolors 2 -layers { 50 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 106 -shape 2199
+checkstatshape res_1 -solid 0 -shell 0 -face 106 -freewire 0 -freeedge 272 -sharededge 864
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.2569678511 -avg 0.002442511333]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 1096
+checkdoc "tpstat c" -max_warns 15 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 378 -n1 74 -n2 0 -total 452 -withname 378 -withcolor 452 -withlayer 452 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 378 -n1 0 -n2 0 -total 378 -withname 378 -withcolor 374 -withlayer 374 -centroid 0 -volume 0 -area 0 -colors { GREEN YELLOW  } -nbcolors 2 -layers { 50  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 106 -shape 2199 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 106 -freewire 0 -freeedge 272 -sharededge 864 -max_solid 0 -max_shell 0 -max_face 106 -max_freewire 0 -max_freeedge 272
+checkmaxtol res_2 -tol 0.2569678523 -avg 0.002441727474 -max_tol ${max_tol_res_1}
+
index 622bb233881191b1ba626e1521d5bcec53aadf45..362975911bfda919f41edbe3b015f1977cfa6af4 100644 (file)
@@ -1,24 +1,55 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" 
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-
 set filename 919-001-T02-04-CP-VL.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 101  ( 1433 )  Summary  = 101  ( 1433 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 1  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 899  ( 899 )   Summary  = 24030  ( 24038 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 899  ( 899 )   FreeWire = 366  ( 366 )   FreeEdge  = 3783 ( 3783 )   SharedEdge = 9384  ( 9388 )
-TOLERANCE   : MaxTol   =   0.3151652209  (   0.3151652209 )  AvgTol   =  0.0007056494899  (  0.0007458034854 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 3581  ( 7900 )  N2Labels = 0  ( 0 )   TotalLabels = 3582  ( 7901 )   NameLabels = 3582  ( 4454 )   ColorLabels = 3581  ( 7900 )   LayerLabels = 3581  ( 7900 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 2 )
-COLORS      : Colors   = TURQUOISE  ( TURQUOISE WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1430 -max_faults 0
+checkxstat D_First -n0 1 -n1 7900 -n2 0 -total 7901 -withname 4454 -withcolor 7900 -withlayer 7900 -centroid 0 -volume 0 -area 0 -colors { TURQUOISE WHITE } -nbcolors 2 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 899 -shape 24038
+checkstatshape res_1 -solid 0 -shell 0 -face 899 -freewire 366 -freeedge 3783 -sharededge 9388
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.3151652209 -avg 0.0007458034854]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1430 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 101 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 7900 -n2 0 -total 7901 -withname 4454 -withcolor 7900 -withlayer 7900 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 3581 -n2 0 -total 3582 -withname 3582 -withcolor 3581 -withlayer 3581 -centroid 0 -volume 0 -area 0 -colors { TURQUOISE  } -nbcolors 1 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 899 -shape 24030 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 899 -freewire 366 -freeedge 3783 -sharededge 9384 -max_solid 0 -max_shell 0 -max_face 899 -max_freewire 366 -max_freeedge 3783
+checkmaxtol res_2 -tol 0.3151652209 -avg 0.0007056494899 -max_tol ${max_tol_res_1}
+
index b204464bfb8ff1182179dd952b78aaaf5e3f7753..1a964881e7688ca40b5240a26908a5f3a7949985 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-
 set filename 919-001-T02-04-FT-VL.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 129  ( 798 )  Summary  = 129  ( 798 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 426  ( 426 )   Summary  = 14321  ( 14321 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 426  ( 426 )   FreeWire = 265  ( 265 )   FreeEdge  = 2465 ( 2465 )   SharedEdge = 5781  ( 5781 )
-TOLERANCE   : MaxTol   =  0.09805261731  (  0.09805261731 )  AvgTol   =  0.0005286623368  (  0.0005262647535 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 1739  ( 4511 )  N2Labels = 0  ( 0 )   TotalLabels = 1740  ( 4512 )   NameLabels = 1740  ( 2237 )   ColorLabels = 1739  ( 4511 )   LayerLabels = 1739  ( 4511 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 2 )
-COLORS      : Colors   = TURQUOISE  ( TURQUOISE WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 797 -max_faults 0
+checkxstat D_First -n0 1 -n1 4511 -n2 0 -total 4512 -withname 2237 -withcolor 4511 -withlayer 4511 -centroid 0 -volume 0 -area 0 -colors { TURQUOISE WHITE } -nbcolors 2 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 426 -shape 14321
+checkstatshape res_1 -solid 0 -shell 0 -face 426 -freewire 265 -freeedge 2465 -sharededge 5781
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.09805261731 -avg 0.0005262647535]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 797 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 129 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 4511 -n2 0 -total 4512 -withname 2237 -withcolor 4511 -withlayer 4511 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 1739 -n2 0 -total 1740 -withname 1740 -withcolor 1739 -withlayer 1739 -centroid 0 -volume 0 -area 0 -colors { TURQUOISE  } -nbcolors 1 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 426 -shape 14321 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 426 -freewire 265 -freeedge 2465 -sharededge 5781 -max_solid 0 -max_shell 0 -max_face 426 -max_freewire 265 -max_freeedge 2465
+checkmaxtol res_2 -tol 0.09805261731 -avg 0.0005286623368 -max_tol ${max_tol_res_1}
+
index 80350498dcd4dcddd745a9d5d225a9adc5fd92d7..ba50696ed2a6d54f52fb16f07452c45939e4a4bf 100644 (file)
@@ -1,23 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
-puts "TODO CR26656 Linux: Error : 1 differences with reference data found" 
-
 
 set filename 919-004-T02-01-FT-VL.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 116  ( 825 )  Summary  = 116  ( 825 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 406  ( 406 )   Summary  = 13718  ( 13718 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 406  ( 406 )   FreeWire = 275  ( 275 )   FreeEdge  = 2361 ( 2361 )   SharedEdge = 5553  ( 5553 )
-TOLERANCE   : MaxTol   =  0.08309604195  (  0.08309604195 )  AvgTol   =  0.0004559007514  (  0.0004699758829 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 1614  ( 4301 )  N2Labels = 0  ( 0 )   TotalLabels = 1616  ( 4303 )   NameLabels = 1614  ( 2096 )   ColorLabels = 1614  ( 4302 )   LayerLabels = 1614  ( 4302 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 2 )
-COLORS      : Colors   = TURQUOISE  ( TURQUOISE WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 825 -max_faults 0
+checkxstat D_First -n0 2 -n1 4301 -n2 0 -total 4303 -withname 2096 -withcolor 4302 -withlayer 4302 -centroid 0 -volume 0 -area 0 -colors { TURQUOISE WHITE } -nbcolors 2 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 406 -shape 13718
+checkstatshape res_1 -solid 0 -shell 0 -face 406 -freewire 275 -freeedge 2361 -sharededge 5553
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.08309604195 -avg 0.0004699758829]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 825 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 117 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 4301 -n2 0 -total 4303 -withname 2096 -withcolor 4302 -withlayer 4302 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 1614 -n2 0 -total 1616 -withname 1614 -withcolor 1614 -withlayer 1614 -centroid 0 -volume 0 -area 0 -colors { TURQUOISE  } -nbcolors 1 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 406 -shape 13718 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 406 -freewire 275 -freeedge 2361 -sharededge 5553 -max_solid 0 -max_shell 0 -max_face 406 -max_freewire 275 -max_freeedge 2361
+checkmaxtol res_2 -tol 0.08309604195 -avg 0.0004559007514 -max_tol ${max_tol_res_1}
+
index 4eae79d09a5856bb50c19fe4ac3593c2d73386f4..aba829caa1b933fc3b1e5c7c36e7088db344dca7 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-
 set filename Amino_komatsu.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 2 )  Warnings = 0  ( 1 )  Summary  = 0  ( 3 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 21 )  Summary  = 0  ( 21 )
-CHECKSHAPE  : Wires    = 1  ( 1 )  Faces    = 1  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 181  ( 181 )   Summary  = 2235  ( 2235 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 181  ( 181 )   FreeWire = 3  ( 3 )   FreeEdge  = 16 ( 16 )   SharedEdge = 934  ( 934 )
-TOLERANCE   : MaxTol   =   0.1814235482  (   0.1814235485 )  AvgTol   =  0.003745633978  (  0.003756752925 )
-LABELS      : N0Labels = 184  ( 359 )  N1Labels = 0  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 184  ( 362 )   NameLabels = 184  ( 360 )   ColorLabels = 181  ( 187 )   LayerLabels = 181  ( 187 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 3 )
-COLORS      : Colors   = WHITE  ( BLACK WHITE YELLOW )
-NLAYERS     : NLayers  = 4  ( 4 )
-LAYERS      : Layers   = 241 5 6 8  ( 241 5 6 8 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 2
+checkdoc "tpstat c" -max_warns 22 -max_faults 0
+checkxstat D_First -n0 359 -n1 3 -n2 0 -total 362 -withname 360 -withcolor 187 -withlayer 187 -centroid 0 -volume 0 -area 0 -colors { BLACK WHITE YELLOW } -nbcolors 3 -layers { 241 5 6 8 } -nblayers 4
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 181 -shape 2235
+checkstatshape res_1 -solid 0 -shell 0 -face 181 -freewire 3 -freeedge 16 -sharededge 934
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1814235485 -avg 0.003756752925]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 2
+checkdoc "tpstat c" -max_warns 22 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 359 -n1 3 -n2 0 -total 362 -withname 360 -withcolor 187 -withlayer 187 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 4
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 184 -n1 0 -n2 0 -total 184 -withname 184 -withcolor 181 -withlayer 181 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 241 5 6 8  } -nblayers 4
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 181 -shape 2235 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 181 -freewire 3 -freeedge 16 -sharededge 934 -max_solid 0 -max_shell 0 -max_face 181 -max_freewire 3 -max_freeedge 16
+checkmaxtol res_2 -tol 0.1814235482 -avg 0.003745633978 -max_tol ${max_tol_res_1}
+
index 587a8b11ef159138d53ba1c79c918b72c1e4aba5..76854b111ec0159815be84cedc2d87292737cee2 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-
 set filename BUC40128.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 124 )  Summary  = 0  ( 124 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 236  ( 236 )   Summary  = 2780  ( 2780 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 236  ( 236 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 1152  ( 1152 )
-TOLERANCE   : MaxTol   =   0.9002295152  (   0.9002295152 )  AvgTol   =   0.05182126866  (   0.05181958953 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 237  ( 584 )  N2Labels = 0  ( 0 )   TotalLabels = 238  ( 585 )   NameLabels = 238  ( 284 )   ColorLabels = 237  ( 584 )   LayerLabels = 234  ( 581 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 8  ( 11 )
-COLORS      : Colors   = CYAN1 GREEN GREEN4 MAGENTA1 MAGENTA3 RED3 TURQUOISE3 WHITE  ( BLUE1 CYAN1 GREEN GREEN4 MAGENTA1 MAGENTA3 RED RED3 TURQUOISE3 WHITE YELLOW )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = 1 3  ( 1 3 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 127 -max_faults 0
+checkxstat D_First -n0 1 -n1 584 -n2 0 -total 585 -withname 284 -withcolor 584 -withlayer 581 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN GREEN4 MAGENTA1 MAGENTA3 RED RED3 TURQUOISE3 WHITE YELLOW } -nbcolors 11 -layers { 1 3 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 236 -shape 2780
+checkstatshape res_1 -solid 0 -shell 0 -face 236 -freewire 0 -freeedge 1 -sharededge 1152
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9002295152 -avg 0.05181958953]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 127 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 584 -n2 0 -total 585 -withname 284 -withcolor 584 -withlayer 581 -centroid 0 -volume 0 -area 0 -nbcolors 11 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 237 -n2 0 -total 238 -withname 238 -withcolor 237 -withlayer 234 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN GREEN4 MAGENTA1 MAGENTA3 RED3 TURQUOISE3 WHITE  } -nbcolors 8 -layers { 1 3  } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 236 -shape 2780 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 236 -freewire 0 -freeedge 1 -sharededge 1152 -max_solid 0 -max_shell 0 -max_face 236 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 0.9002295152 -avg 0.05182126866 -max_tol ${max_tol_res_1}
+
index da3306dd403b63045ebb7706991e87eb5b359065..5547440b833c20edb06662c1ef2818909453d4b2 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename BUC40247.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 3 )  Warnings = 0  ( 5 )  Summary  = 0  ( 8 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 24  ( 24 )   Summary  = 255  ( 238 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 24  ( 24 )   FreeWire = 5  ( 5 )   FreeEdge  = 21 ( 21 )   SharedEdge = 117  ( 100 )
-TOLERANCE   : MaxTol   =         1e-005  ( 1.000102274e-007 )  AvgTol   =  4.58800119e-006  (  1.000007038e-007 )
-LABELS      : N0Labels = 30  ( 36 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 30  ( 36 )   NameLabels = 30  ( 36 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 3
+checkxstat D_First -n0 36 -n1 0 -n2 0 -total 36 -withname 36 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 24 -shape 238
+checkstatshape res_1 -solid 0 -shell 0 -face 24 -freewire 5 -freeedge 21 -sharededge 100
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000102274e-007 -avg 1.000007038e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 3
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 36 -n1 0 -n2 0 -total 36 -withname 36 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 30 -n1 0 -n2 0 -total 30 -withname 30 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 24 -shape 255 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 24 -freewire 5 -freeedge 21 -sharededge 117 -max_solid 0 -max_shell 0 -max_face 24 -max_freewire 5 -max_freeedge 21
+checkmaxtol res_2 -tol 1e-005 -avg 4.58800119e-006 -max_tol ${max_tol_res_1}
+
index a5b8f5b3ee2a2d45c9b5d9273e8a589e97bcc0d2..967c78a913c05e4e346aafad6acea8d1bccccbf5 100644 (file)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename BUC50001.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 3  ( 3 )  Summary  = 3  ( 3 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 1 )  Shell    = 0  ( 1 )  Face     = 106  ( 106 )   Summary  = 1297  ( 652 )
-STATSHAPE   : Solid    = 0  ( 1 )  Shell    = 0  ( 1 )  Face     = 106  ( 106 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 542  ( 271 )
-TOLERANCE   : MaxTol   = 0.009362458835  ( 0.009359156996 )  AvgTol   =  0.0001377417806  (  0.0002960765184 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 1 )
-LAYERS      : Layers   =   ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 106 -shape 652
+checkstatshape res_1 -solid 1 -shell 1 -face 106 -freewire 0 -freeedge 0 -sharededge 271
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009359156996 -avg 0.0002960765184]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 106 -shape 1297 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 106 -freewire 0 -freeedge 0 -sharededge 542 -max_solid 1 -max_shell 1 -max_face 106 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.009362458835 -avg 0.0001377417806 -max_tol ${max_tol_res_1}
+
index 7f5f0933ca7b654cc9512a65343f92616820e574..919fd1535e1ad4dd79e89a275e5cc1d001cf05d8 100755 (executable)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: DATA : Faulty" 
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename BUC50003.igs
 
-set ref_data {
-DATA        : Faulties = 1  ( 0 )  Warnings = 0  ( 0 )  Summary  = 1  ( 0 )
-TPSTAT      : Faulties = 2  ( 0 )  Warnings = 18  ( 320 )  Summary  = 20  ( 320 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 135  ( 135 )   Summary  = 2223  ( 2223 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 135  ( 135 )   FreeWire = 0  ( 0 )   FreeEdge  = 3 ( 3 )   SharedEdge = 974  ( 974 )
-TOLERANCE   : MaxTol   =   0.9794163281  (    12.54323842 )  AvgTol   =   0.02080508938  (    0.1727731057 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 138  ( 758 )  N2Labels = 0  ( 0 )   TotalLabels = 139  ( 759 )   NameLabels = 139  ( 205 )   ColorLabels = 138  ( 758 )   LayerLabels = 138  ( 758 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = GOLD3 MAGENTA4 PLUM1 YELLOW2  ( GOLD3 MAGENTA4 PLUM1 YELLOW2 )
-NLAYERS     : NLayers  = 4  ( 4 )
-LAYERS      : Layers   = 100 50 60 70  ( 100 50 60 70 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 329 -max_faults 0
+checkxstat D_First -n0 1 -n1 758 -n2 0 -total 759 -withname 205 -withcolor 758 -withlayer 758 -centroid 0 -volume 0 -area 0 -colors { GOLD3 MAGENTA4 PLUM1 YELLOW2 } -nbcolors 4 -layers { 100 50 60 70 } -nblayers 4
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 135 -shape 2223
+checkstatshape res_1 -solid 0 -shell 0 -face 135 -freewire 0 -freeedge 3 -sharededge 974
+set max_tol_res_1 [checkmaxtol res_1 -tol 12.54323842 -avg 0.1727731057]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 329 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 21 -max_faults 2
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 758 -n2 0 -total 759 -withname 205 -withcolor 758 -withlayer 758 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 4
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 138 -n2 0 -total 139 -withname 139 -withcolor 138 -withlayer 138 -centroid 0 -volume 0 -area 0 -colors { GOLD3 MAGENTA4 PLUM1 YELLOW2  } -nbcolors 4 -layers { 100 50 60 70  } -nblayers 4
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 135 -shape 2223 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 135 -freewire 0 -freeedge 3 -sharededge 974 -max_solid 0 -max_shell 0 -max_face 135 -max_freewire 0 -max_freeedge 3
+checkmaxtol res_2 -tol 0.9794163281 -avg 0.02080508938 -max_tol ${max_tol_res_1}
+
index b35730a097857bd2d5f59c81005d1ee59e0d43dc..618b8c1ae1b7c48715e9c796d2037d3726c2303c 100644 (file)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename BUC50027.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 3  ( 3 )  Summary  = 3  ( 3 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 1 )  Shell    = 0  ( 1 )  Face     = 106  ( 106 )   Summary  = 1297  ( 652 )
-STATSHAPE   : Solid    = 0  ( 1 )  Shell    = 0  ( 1 )  Face     = 106  ( 106 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 542  ( 271 )
-TOLERANCE   : MaxTol   =  0.00938336572  ( 0.009380052786 )  AvgTol   =  0.000138166271  (  0.0002969872299 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 1 )
-LAYERS      : Layers   =   ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 106 -shape 652
+checkstatshape res_1 -solid 1 -shell 1 -face 106 -freewire 0 -freeedge 0 -sharededge 271
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009380052786 -avg 0.0002969872299]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 106 -shape 1297 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 106 -freewire 0 -freeedge 0 -sharededge 542 -max_solid 1 -max_shell 1 -max_face 106 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.00938336572 -avg 0.000138166271 -max_tol ${max_tol_res_1}
+
index d50b3c16c8fba1b039a6a097d6d1bf016bc47f99..75b5b712c58b8568552ed5c52177fdd1a15c02e5 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-
 set filename BUC50028.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 211  ( 2186 )  Summary  = 211  ( 2186 )
-CHECKSHAPE  : Wires    = 0  ( 1 )  Faces    = 0  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 872  ( 872 )   Summary  = 30411  ( 30408 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 872  ( 872 )   FreeWire = 39  ( 39 )   FreeEdge  = 979 ( 979 )   SharedEdge = 14223  ( 14222 )
-TOLERANCE   : MaxTol   =   0.9989623361  (   0.9989623361 )  AvgTol   =   0.00936440041  (  0.009365667686 )
-LABELS      : N0Labels = 1063  ( 1063 )  N1Labels = 0  ( 1675 )  N2Labels = 0  ( 0 )   TotalLabels = 1063  ( 2738 )   NameLabels = 1063  ( 1644 )   ColorLabels = 1024  ( 2738 )   LayerLabels = 1024  ( 2738 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 5 )
-COLORS      : Colors   = BLUE1 MAGENTA1 RED WHITE  ( BLUE1 GREEN MAGENTA1 RED WHITE )
-NLAYERS     : NLayers  = 5  ( 5 )
-LAYERS      : Layers   = 1 10 12 2 4  ( 1 10 12 2 4 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2206 -max_faults 0
+checkxstat D_First -n0 1063 -n1 1675 -n2 0 -total 2738 -withname 1644 -withcolor 2738 -withlayer 2738 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN MAGENTA1 RED WHITE } -nbcolors 5 -layers { 1 10 12 2 4 } -nblayers 5
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 872 -shape 30408
+checkstatshape res_1 -solid 0 -shell 0 -face 872 -freewire 39 -freeedge 979 -sharededge 14222
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9989623361 -avg 0.009365667686]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2206 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 215 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1063 -n1 1675 -n2 0 -total 2738 -withname 1644 -withcolor 2738 -withlayer 2738 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 5
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1063 -n1 0 -n2 0 -total 1063 -withname 1063 -withcolor 1024 -withlayer 1024 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA1 RED WHITE  } -nbcolors 4 -layers { 1 10 12 2 4  } -nblayers 5
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 872 -shape 30411 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 872 -freewire 39 -freeedge 979 -sharededge 14223 -max_solid 0 -max_shell 0 -max_face 872 -max_freewire 39 -max_freeedge 979
+checkmaxtol res_2 -tol 0.9989623361 -avg 0.00936440041 -max_tol ${max_tol_res_1}
+
index 22a717c6b2318f180152f248102f8a1607659f8b..9d831f8c59e5e16b78095d0b7d61c0adcef16abc 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-
 set filename BUC50030.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 19  ( 394 )  Summary  = 19  ( 394 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 771  ( 771 )   Summary  = 15422  ( 15404 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 771  ( 771 )   FreeWire = 0  ( 0 )   FreeEdge  = 1291 ( 1291 )   SharedEdge = 6301  ( 6303 )
-TOLERANCE   : MaxTol   =   0.9439922085  (    0.944086605 )  AvgTol   =  0.005963915093  (  0.005983396104 )
-LABELS      : N0Labels = 2062  ( 2062 )  N1Labels = 6  ( 1047 )  N2Labels = 0  ( 0 )   TotalLabels = 2068  ( 3109 )   NameLabels = 2062  ( 2062 )   ColorLabels = 2037  ( 3109 )   LayerLabels = 2037  ( 3109 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 4 )
-COLORS      : Colors   = BLACK MAGENTA1 RED  ( BLACK MAGENTA1 RED WHITE )
-NLAYERS     : NLayers  = 6  ( 6 )
-LAYERS      : Layers   = 101 151 152 154 156 230  ( 101 151 152 154 156 230 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 389 -max_faults 0
+checkxstat D_First -n0 2062 -n1 1047 -n2 0 -total 3109 -withname 2062 -withcolor 3109 -withlayer 3109 -centroid 0 -volume 0 -area 0 -colors { BLACK MAGENTA1 RED WHITE } -nbcolors 4 -layers { 101 151 152 154 156 230 } -nblayers 6
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 771 -shape 15404
+checkstatshape res_1 -solid 0 -shell 0 -face 771 -freewire 0 -freeedge 1291 -sharededge 6303
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.944086605 -avg 0.005983396104]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 389 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 22 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2062 -n1 1047 -n2 0 -total 3109 -withname 2062 -withcolor 3109 -withlayer 3109 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 6
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2062 -n1 6 -n2 0 -total 2068 -withname 2062 -withcolor 2037 -withlayer 2037 -centroid 0 -volume 0 -area 0 -colors { BLACK MAGENTA1 RED  } -nbcolors 3 -layers { 101 151 152 154 156 230  } -nblayers 6
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 771 -shape 15422 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 771 -freewire 0 -freeedge 1291 -sharededge 6301 -max_solid 0 -max_shell 0 -max_face 771 -max_freewire 0 -max_freeedge 1291
+checkmaxtol res_2 -tol 0.9439922085 -avg 0.005963915093 -max_tol ${max_tol_res_1}
+
index 6e8db28e2af0af38e9d005871988a861dc2f2133..80abb0fbb05d20ab44fcba5d31b85a4432a8454a 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename BUC50048.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 290 )  Summary  = 1  ( 290 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 328  ( 328 )   Summary  = 8546  ( 8546 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 328  ( 328 )   FreeWire = 53  ( 53 )   FreeEdge  = 1431 ( 1431 )   SharedEdge = 3217  ( 3217 )
-TOLERANCE   : MaxTol   =   0.4274072109  (   0.4274072101 )  AvgTol   =  0.001821024602  (  0.001852637256 )
-LABELS      : N0Labels = 10  ( 10 )  N1Labels = 1565  ( 2565 )  N2Labels = 0  ( 0 )   TotalLabels = 1575  ( 2575 )   NameLabels = 1575  ( 1851 )   ColorLabels = 1570  ( 2570 )   LayerLabels = 1570  ( 2570 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 8  ( 8 )
-COLORS      : Colors   = BLUE1 GREEN GREEN4 MEDIUMORCHID RED TURQUOISE1 WHITE YELLOW  ( BLUE1 GREEN GREEN4 MEDIUMORCHID RED TURQUOISE1 WHITE YELLOW )
-NLAYERS     : NLayers  = 18  ( 19 )
-LAYERS      : Layers   = 101 110 115 116 117 118 119 120 130 135 136 137 138 181 40 41 43 44  ( 101 110 115 116 117 118 119 120 130 135 136 137 138 181 185 40 41 43 44 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 2 -max_faults 0
+checkdoc "tpstat c" -max_warns 314 -max_faults 0
+checkxstat D_First -n0 10 -n1 2565 -n2 0 -total 2575 -withname 1851 -withcolor 2570 -withlayer 2570 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN GREEN4 MEDIUMORCHID RED TURQUOISE1 WHITE YELLOW } -nbcolors 8 -layers { 101 110 115 116 117 118 119 120 130 135 136 137 138 181 185 40 41 43 44 } -nblayers 19
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 328 -shape 8546
+checkstatshape res_1 -solid 0 -shell 0 -face 328 -freewire 53 -freeedge 1431 -sharededge 3217
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.4274072101 -avg 0.001852637256]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 2 -max_faults 0
+checkdoc "tpstat c" -max_warns 314 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 10 -n1 2565 -n2 0 -total 2575 -withname 1851 -withcolor 2570 -withlayer 2570 -centroid 0 -volume 0 -area 0 -nbcolors 8 -nblayers 19
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 10 -n1 1565 -n2 0 -total 1575 -withname 1575 -withcolor 1570 -withlayer 1570 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN GREEN4 MEDIUMORCHID RED TURQUOISE1 WHITE YELLOW  } -nbcolors 8 -layers { 101 110 115 116 117 118 119 120 130 135 136 137 138 181 40 41 43 44  } -nblayers 18
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 328 -shape 8546 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 328 -freewire 53 -freeedge 1431 -sharededge 3217 -max_solid 0 -max_shell 0 -max_face 328 -max_freewire 53 -max_freeedge 1431
+checkmaxtol res_2 -tol 0.4274072109 -avg 0.001821024602 -max_tol ${max_tol_res_1}
+
index 279c9591e1715f314b9ca375a0f55ddbdc04bb88..f20f93ba16016b46d11a65c4829081c43ed6095f 100755 (executable)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: DATA : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename polyrepro_13juin.igs
 
-set ref_data {
-DATA        : Faulties = 20  ( 0 )  Warnings = 0  ( 0 )  Summary  = 20  ( 0 )
-TPSTAT      : Faulties = 40  ( 181 )  Warnings = 83  ( 1136 )  Summary  = 123  ( 1317 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 527  ( 527 )   Summary  = 10204  ( 10203 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 527  ( 527 )   FreeWire = 57  ( 57 )   FreeEdge  = 1172 ( 1172 )   SharedEdge = 4009  ( 4009 )
-TOLERANCE   : MaxTol   =   0.5505691323  (   0.5505691341 )  AvgTol   =  0.008350628685  (  0.008366976269 )
-LABELS      : N0Labels = 8  ( 8 )  N1Labels = 1544  ( 3130 )  N2Labels = 0  ( 0 )   TotalLabels = 1552  ( 3138 )   NameLabels = 1552  ( 1918 )   ColorLabels = 1544  ( 3130 )   LayerLabels = 1544  ( 3128 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 10  ( 10 )
-COLORS      : Colors   = BLUE1 CYAN1 GREEN MAGENTA1 MAGENTA3 MEDIUMPURPLE1 RED WHITE YELLOW YELLOW3  ( BLUE1 CYAN1 GREEN MAGENTA1 MAGENTA3 MEDIUMPURPLE1 RED WHITE YELLOW YELLOW3 )
-NLAYERS     : NLayers  = 35  ( 36 )
-LAYERS      : Layers   = 100 101 102 110 111 120 121 122 123 125 126 127 128 130 131 132 133 134 135 136 137 138 140 141 142 150 20 21 254 31 5 50 51 52 53  ( 100 101 102 110 111 120 121 122 123 125 126 127 128 130 131 132 133 134 135 136 137 138 140 141 142 150 20 21 254 30 31 5 50 51 52 53 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1168 -max_faults 181
+checkxstat D_First -n0 8 -n1 3130 -n2 0 -total 3138 -withname 1918 -withcolor 3130 -withlayer 3128 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 MAGENTA3 MEDIUMPURPLE1 RED WHITE YELLOW YELLOW3 } -nbcolors 10 -layers { 100 101 102 110 111 120 121 122 123 125 126 127 128 130 131 132 133 134 135 136 137 138 140 141 142 150 20 21 254 30 31 5 50 51 52 53 } -nblayers 36
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 527 -shape 10203
+checkstatshape res_1 -solid 0 -shell 0 -face 527 -freewire 57 -freeedge 1172 -sharededge 4009
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.5505691341 -avg 0.008366976269]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1168 -max_faults 181
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 20
+checkdoc "tpstat c" -max_warns 83 -max_faults 40
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 8 -n1 3130 -n2 0 -total 3138 -withname 1918 -withcolor 3130 -withlayer 3128 -centroid 0 -volume 0 -area 0 -nbcolors 10 -nblayers 36
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 8 -n1 1544 -n2 0 -total 1552 -withname 1552 -withcolor 1544 -withlayer 1544 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 MAGENTA3 MEDIUMPURPLE1 RED WHITE YELLOW YELLOW3  } -nbcolors 10 -layers { 100 101 102 110 111 120 121 122 123 125 126 127 128 130 131 132 133 134 135 136 137 138 140 141 142 150 20 21 254 31 5 50 51 52 53  } -nblayers 35
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 527 -shape 10204 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 527 -freewire 57 -freeedge 1172 -sharededge 4009 -max_solid 0 -max_shell 0 -max_face 527 -max_freewire 57 -max_freeedge 1172
+checkmaxtol res_2 -tol 0.5505691323 -avg 0.008350628685 -max_tol ${max_tol_res_1}
+
index 45915f35166771be10d6c07121c2e82025f91f35..fb5c62e0f7d27c86e8a984bfc0b82ff1e1d0e787 100644 (file)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-
 set filename BUC60625-1.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 1 )  Warnings = 0  ( 83 )  Summary  = 0  ( 84 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 6  ( 63 )  Summary  = 6  ( 63 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 120  ( 120 )   Summary  = 5872  ( 5876 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 120  ( 120 )   FreeWire = 31  ( 31 )   FreeEdge  = 1039 ( 1039 )   SharedEdge = 2356  ( 2356 )
-TOLERANCE   : MaxTol   = 1.421161348e-06  (          1e-05 )  AvgTol   =  1.219850877e-07  (  3.646635427e-06 )
-LABELS      : N0Labels = 1051  ( 1051 )  N1Labels = 0  ( 448 )  N2Labels = 0  ( 0 )   TotalLabels = 1051  ( 1499 )   NameLabels = 1051  ( 1051 )   ColorLabels = 822  ( 1300 )   LayerLabels = 971  ( 1499 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 3 )
-COLORS      : Colors   = CYAN1 WHITE  ( CYAN1 RED WHITE )
-NLAYERS     : NLayers  = 7  ( 7 )
-LAYERS      : Layers   = 1 100 63 70 97 98 99  ( 1 100 63 70 97 98 99 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 83 -max_faults 1
+checkdoc "tpstat c" -max_warns 63 -max_faults 0
+checkxstat D_First -n0 1051 -n1 448 -n2 0 -total 1499 -withname 1051 -withcolor 1300 -withlayer 1499 -centroid 0 -volume 0 -area 0 -colors { CYAN1 RED WHITE } -nbcolors 3 -layers { 1 100 63 70 97 98 99 } -nblayers 7
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 120 -shape 5876
+checkstatshape res_1 -solid 0 -shell 0 -face 120 -freewire 31 -freeedge 1039 -sharededge 2356
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-05 -avg 3.646635427e-06]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 83 -max_faults 1
+checkdoc "tpstat c" -max_warns 63 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1051 -n1 448 -n2 0 -total 1499 -withname 1051 -withcolor 1300 -withlayer 1499 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 7
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1051 -n1 0 -n2 0 -total 1051 -withname 1051 -withcolor 822 -withlayer 971 -centroid 0 -volume 0 -area 0 -colors { CYAN1 WHITE  } -nbcolors 2 -layers { 1 100 63 70 97 98 99  } -nblayers 7
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 120 -shape 5872 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 120 -freewire 31 -freeedge 1039 -sharededge 2356 -max_solid 0 -max_shell 0 -max_face 120 -max_freewire 31 -max_freeedge 1039
+checkmaxtol res_2 -tol 1.421161348e-06 -avg 1.219850877e-07 -max_tol ${max_tol_res_1}
+
index a5e3c297956855ea852c4dbf35ccde09a4c3b068..776582959fa1c2c695c8c15aa7c22917698f00c8 100755 (executable)
@@ -1,23 +1,56 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
-puts "TODO CR23096 ALL: Error : 3 differences with reference data found" 
+puts "TODO CR23096 ALL: Error :  is WRONG because number of SHAPE entities in shape" 
+puts "TODO CR23096 ALL: Error :  is WRONG because number of FACE entities in shape"
+
 
-set LinuxDiff 5
 set filename BUC60743.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 2 )  Warnings = 0  ( 0 )  Summary  = 0  ( 2 )
-TPSTAT      : Faulties = 3  ( 59 )  Warnings = 2203  ( 4655 )  Summary  = 2206  ( 4714 )
-CHECKSHAPE  : Wires    = 7  ( 17 )  Faces    = 7  ( 12 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 3349  ( 2837 )   Summary  = 45927  ( 39202 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 3349  ( 3349 )   FreeWire = 6  ( 6 )   FreeEdge  = 67 ( 67 )   SharedEdge = 19607  ( 16774 )
-TOLERANCE   : MaxTol   =    4.854604894  (    5.769095076 )  AvgTol   =   0.01628658326  (   0.01747356296 )
-LABELS      : N0Labels = 11  ( 11 )  N1Labels = 2891  ( 6327 )  N2Labels = 0  ( 0 )   TotalLabels = 2902  ( 6338 )   NameLabels = 2900  ( 5879 )   ColorLabels = 2891  ( 6327 )   LayerLabels = 2411  ( 5258 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = BLACK BLUE1 RED YELLOW  ( BLACK BLUE1 RED YELLOW )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = 200 3 4  ( 200 3 4 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 4736 -max_faults 59
+checkxstat D_First -n0 11 -n1 6327 -n2 0 -total 6338 -withname 5879 -withcolor 6327 -withlayer 5258 -centroid 0 -volume 0 -area 0 -colors { BLACK BLUE1 RED YELLOW } -nbcolors 4 -layers { 200 3 4 } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 17 -max_faces 12 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 2837 -shape 39202
+checkstatshape res_1 -solid 0 -shell 0 -face 3349 -freewire 6 -freeedge 67 -sharededge 16774
+set max_tol_res_1 [checkmaxtol res_1 -tol 5.769095076 -avg 0.01747356296]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 4736 -max_faults 59
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2206 -max_faults 3
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 11 -n1 6327 -n2 0 -total 6338 -withname 5879 -withcolor 6327 -withlayer 5258 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 11 -n1 2891 -n2 0 -total 2902 -withname 2900 -withcolor 2891 -withlayer 2411 -centroid 0 -volume 0 -area 0 -colors { BLACK BLUE1 RED YELLOW  } -nbcolors 4 -layers { 200 3 4  } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 17 -max_faces 12 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 7 -max_faces 7 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 3349 -shape 45927 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 3349 -freewire 6 -freeedge 67 -sharededge 19607 -max_solid 0 -max_shell 0 -max_face 3349 -max_freewire 6 -max_freeedge 67
+checkmaxtol res_2 -tol 4.854604894 -avg 0.01628658326 -max_tol ${max_tol_res_1}
+
index b158a18dcc8bae85b2ff65f8b1f46daa867829fa..8c2e50e911d54de14bcfd15c62b27013ca0457e5 100644 (file)
@@ -1,20 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
 set filename CCI60011.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 5  ( 11 )  Summary  = 5  ( 11 )
-CHECKSHAPE  : Wires    = 1  ( 3 )  Faces    = 1  ( 3 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1147  ( 1145 )   Summary  = 14655  ( 14650 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1147  ( 1145 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 6190  ( 6189 )
-TOLERANCE   : MaxTol   =   0.9825787092  (   0.9825787092 )  AvgTol   =   0.04100800214  (   0.04103795487 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 3 -max_faces 3 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1145 -shape 14650
+checkstatshape res_1 -solid 0 -shell 0 -face 1145 -freewire 0 -freeedge 0 -sharededge 6189
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9825787092 -avg 0.04103795487]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 3 -max_faces 3 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1147 -shape 14655 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1147 -freewire 0 -freeedge 0 -sharededge 6190 -max_solid 0 -max_shell 0 -max_face 1145 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9825787092 -avg 0.04100800214 -max_tol ${max_tol_res_1}
+
index 70231b197ca6b9b4c37ad9ddfec18e6edbba3215..b2173700dabaeca959f52d5253d9fb77837c0772 100755 (executable)
@@ -1,24 +1,55 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: DATA : Faulty" 
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename CTS17804.igs
 
-set ref_data {
-DATA        : Faulties = 1  ( 0 )  Warnings = 0  ( 450 )  Summary  = 1  ( 450 )
-TPSTAT      : Faulties = 2  ( 0 )  Warnings = 38  ( 278 )  Summary  = 40  ( 278 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 218  ( 218 )   Summary  = 2957  ( 2963 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 218  ( 218 )   FreeWire = 0  ( 0 )   FreeEdge  = 12 ( 12 )   SharedEdge = 1254  ( 1260 )
-TOLERANCE   : MaxTol   =  0.07760384877  (  0.07760384877 )  AvgTol   =  0.001773555557  (  0.001789792746 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 230  ( 883 )  N2Labels = 0  ( 0 )   TotalLabels = 231  ( 884 )   NameLabels = 231  ( 369 )   ColorLabels = 230  ( 883 )   LayerLabels = 230  ( 883 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = YELLOW  ( YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 20  ( 20 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 450 -max_faults 0
+checkdoc "tpstat c" -max_warns 280 -max_faults 0
+checkxstat D_First -n0 1 -n1 883 -n2 0 -total 884 -withname 369 -withcolor 883 -withlayer 883 -centroid 0 -volume 0 -area 0 -colors { YELLOW } -nbcolors 1 -layers { 20 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 218 -shape 2963
+checkstatshape res_1 -solid 0 -shell 0 -face 218 -freewire 0 -freeedge 12 -sharededge 1260
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.07760384877 -avg 0.001789792746]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 450 -max_faults 0
+checkdoc "tpstat c" -max_warns 280 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 38 -max_faults 2
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 883 -n2 0 -total 884 -withname 369 -withcolor 883 -withlayer 883 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 230 -n2 0 -total 231 -withname 231 -withcolor 230 -withlayer 230 -centroid 0 -volume 0 -area 0 -colors { YELLOW  } -nbcolors 1 -layers { 20  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 218 -shape 2957 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 218 -freewire 0 -freeedge 12 -sharededge 1254 -max_solid 0 -max_shell 0 -max_face 218 -max_freewire 0 -max_freeedge 12
+checkmaxtol res_2 -tol 0.07760384877 -avg 0.001773555557 -max_tol ${max_tol_res_1}
+
index ef62898c344bac243e2eab14ed072163b57330af..b1598a27491e08ea03ba09a491378ca935b175d2 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-
 set filename CTS17805.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 19 )  Warnings = 34  ( 193 )  Summary  = 34  ( 212 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 56  ( 56 )   Summary  = 2106  ( 2106 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 56  ( 56 )   FreeWire = 38  ( 38 )   FreeEdge  = 418 ( 418 )   SharedEdge = 856  ( 856 )
-TOLERANCE   : MaxTol   =   0.4238514896  (   0.4238514534 )  AvgTol   =  0.006092761948  (  0.006092400782 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 252  ( 542 )  N2Labels = 0  ( 0 )   TotalLabels = 253  ( 543 )   NameLabels = 253  ( 331 )   ColorLabels = 252  ( 542 )   LayerLabels = 178  ( 206 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 5 )
-COLORS      : Colors   = BLUE1 MAGENTA1 RED WHITE  ( BLUE1 MAGENTA1 RED WHITE YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 10  ( 10 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 203 -max_faults 19
+checkxstat D_First -n0 1 -n1 542 -n2 0 -total 543 -withname 331 -withcolor 542 -withlayer 206 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA1 RED WHITE YELLOW } -nbcolors 5 -layers { 10 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 56 -shape 2106
+checkstatshape res_1 -solid 0 -shell 0 -face 56 -freewire 38 -freeedge 418 -sharededge 856
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.4238514534 -avg 0.006092400782]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 203 -max_faults 19
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 34 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 542 -n2 0 -total 543 -withname 331 -withcolor 542 -withlayer 206 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 252 -n2 0 -total 253 -withname 253 -withcolor 252 -withlayer 178 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA1 RED WHITE  } -nbcolors 4 -layers { 10  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 56 -shape 2106 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 56 -freewire 38 -freeedge 418 -sharededge 856 -max_solid 0 -max_shell 0 -max_face 56 -max_freewire 38 -max_freeedge 418
+checkmaxtol res_2 -tol 0.4238514896 -avg 0.006092761948 -max_tol ${max_tol_res_1}
+
index 1f2685ec8ad54545e51930c00e368b8052dba0e9..744b5a65c79eea1d690351b99bd8cd1656922263 100644 (file)
@@ -1,22 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
-puts "TODO CR25013 ALL: Error : 1 differences with reference data found" 
+puts "TODO CR25013 ALL: Error :  is WRONG because number of FACE entities in shape" 
+puts "TODO CR25013 ALL: Error :  is WRONG because number of SHAPE entities in shape"
 
-set LinuxDiff 1
 set filename pro5101.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 1 )  Warnings = 0  ( 1 )  Summary  = 0  ( 2 )
-TPSTAT      : Faulties = 0  ( 9 )  Warnings = 110  ( 1040 )  Summary  = 110  ( 1049 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 622  ( 311 )   Summary  = 23710  ( 11832 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 622  ( 622 )   FreeWire = 816  ( 816 )   FreeEdge  = 4824 ( 4824 )   SharedEdge = 10126  ( 5051 )
-TOLERANCE   : MaxTol   =   0.6427268663  (    4.452116544 )  AvgTol   =   0.01239717192  (   0.01380706073 )
-LABELS      : N0Labels = 7  ( 7 )  N1Labels = 379  ( 1004 )  N2Labels = 0  ( 0 )   TotalLabels = 386  ( 1011 )   NameLabels = 386  ( 1010 )   ColorLabels = 381  ( 1006 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 1
+checkdoc "tpstat c" -max_warns 1087 -max_faults 9
+checkxstat D_First -n0 7 -n1 1004 -n2 0 -total 1011 -withname 1010 -withcolor 1006 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 311 -shape 11832
+checkstatshape res_1 -solid 0 -shell 0 -face 622 -freewire 816 -freeedge 4824 -sharededge 5051
+set max_tol_res_1 [checkmaxtol res_1 -tol 4.452116544 -avg 0.01380706073]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 1
+checkdoc "tpstat c" -max_warns 1087 -max_faults 9
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 110 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 7 -n1 1004 -n2 0 -total 1011 -withname 1010 -withcolor 1006 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 7 -n1 379 -n2 0 -total 386 -withname 386 -withcolor 381 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 622 -shape 23710 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 622 -freewire 816 -freeedge 4824 -sharededge 10126 -max_solid 0 -max_shell 0 -max_face 622 -max_freewire 816 -max_freeedge 4824
+checkmaxtol res_2 -tol 0.6427268663 -avg 0.01239717192 -max_tol ${max_tol_res_1}
+
index 273d1b935b00c1034aad3da6c971e3a3644b0a8c..6f1a465d6f0e851d3eace6eb5ed73d39cd80c094 100644 (file)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename t_cat_424_002_sgi_hybdrw_vw_tuer_standard.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 733 )  Warnings = 64  ( 4345 )  Summary  = 64  ( 5078 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 2263  ( 2263 )   Summary  = 81570  ( 81625 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 2263  ( 2263 )   FreeWire = 2854  ( 2907 )   FreeEdge  = 19507 ( 19507 )   SharedEdge = 29768  ( 29768 )
-TOLERANCE   : MaxTol   =   0.7925892163  (   0.7925891552 )  AvgTol   =  0.001587410529  (  0.001648822728 )
-LABELS      : N0Labels = 28  ( 28 )  N1Labels = 13487  ( 17629 )  N2Labels = 0  ( 0 )   TotalLabels = 13515  ( 17657 )   NameLabels = 13515  ( 17494 )   ColorLabels = 13489  ( 17629 )   LayerLabels = 13438  ( 17573 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 18  ( 18 )
-COLORS      : Colors   = BLUE1 CYAN1 DARKKHAKI DARKSEAGREEN2 DEEPSKYBLUE2 DODGERBLUE2 GOLD3 GREEN GREEN4 KHAKI1 LIGHTPINK1 LIGHTSEAGREEN ORANGE PALEVIOLETRED4 PLUM1 RED WHITE YELLOW  ( BLUE1 CYAN1 DARKKHAKI DARKSEAGREEN2 DEEPSKYBLUE2 DODGERBLUE2 GOLD3 GREEN GREEN4 KHAKI1 LIGHTPINK1 LIGHTSEAGREEN ORANGE PALEVIOLETRED4 PLUM1 RED WHITE YELLOW )
-NLAYERS     : NLayers  = 45  ( 46 )
-LAYERS      : Layers   = 1 11 12 121 122 123 124 125 127 128 129 13 131 136 137 139 14 140 141 142 144 145 146 147 148 149 150 151 16 17 181 2 238 239 240 241 242 252 254 3 4 5 7 8 9  ( 1 11 12 121 122 123 124 125 127 128 129 13 131 136 137 139 14 140 141 142 144 145 146 147 148 149 150 151 16 17 181 2 238 239 240 241 242 250 252 254 3 4 5 7 8 9 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4336 -max_faults 733
+checkxstat D_First -n0 28 -n1 17629 -n2 0 -total 17657 -withname 17494 -withcolor 17629 -withlayer 17573 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 DARKKHAKI DARKSEAGREEN2 DEEPSKYBLUE2 DODGERBLUE2 GOLD3 GREEN GREEN4 KHAKI1 LIGHTPINK1 LIGHTSEAGREEN ORANGE PALEVIOLETRED4 PLUM1 RED WHITE YELLOW } -nbcolors 18 -layers { 1 11 12 121 122 123 124 125 127 128 129 13 131 136 137 139 14 140 141 142 144 145 146 147 148 149 150 151 16 17 181 2 238 239 240 241 242 250 252 254 3 4 5 7 8 9 } -nblayers 46
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 2263 -shape 81625
+checkstatshape res_1 -solid 0 -shell 0 -face 2263 -freewire 2907 -freeedge 19507 -sharededge 29768
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.7925891552 -avg 0.001648822728]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4336 -max_faults 733
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 68 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 28 -n1 17629 -n2 0 -total 17657 -withname 17494 -withcolor 17629 -withlayer 17573 -centroid 0 -volume 0 -area 0 -nbcolors 18 -nblayers 46
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 28 -n1 13487 -n2 0 -total 13515 -withname 13515 -withcolor 13489 -withlayer 13438 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 DARKKHAKI DARKSEAGREEN2 DEEPSKYBLUE2 DODGERBLUE2 GOLD3 GREEN GREEN4 KHAKI1 LIGHTPINK1 LIGHTSEAGREEN ORANGE PALEVIOLETRED4 PLUM1 RED WHITE YELLOW  } -nbcolors 18 -layers { 1 11 12 121 122 123 124 125 127 128 129 13 131 136 137 139 14 140 141 142 144 145 146 147 148 149 150 151 16 17 181 2 238 239 240 241 242 252 254 3 4 5 7 8 9  } -nblayers 45
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 2263 -shape 81570 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 2263 -freewire 2854 -freeedge 19507 -sharededge 29768 -max_solid 0 -max_shell 0 -max_face 2263 -max_freewire 2907 -max_freeedge 19507
+checkmaxtol res_2 -tol 0.7925892163 -avg 0.001587410529 -max_tol ${max_tol_res_1}
+
index 8f7f306faf72ea3fd03ed91aaf2e65e2d13de596..0acd1c181c29b5185fae128011931fdd5092411b 100755 (executable)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-
 set filename CTS18545.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 565  ( 57 )  Summary  = 565  ( 57 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 5 )  Shell    = 0  ( 5 )  Face     = 93  ( 93 )   Summary  = 5965  ( 574 )
-STATSHAPE   : Solid    = 0  ( 5 )  Shell    = 0  ( 5 )  Face     = 93  ( 93 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 2876  ( 211 )
-TOLERANCE   : MaxTol   =         1e-005  (   0.9051733624 )  AvgTol   =  9.894427245e-006  (     0.243781117 )
-LABELS      : N0Labels = 1  ( 8 )  N1Labels = 93  ( 11 )  N2Labels = 0  ( 0 )   TotalLabels = 94  ( 19 )   NameLabels = 1  ( 14 )   ColorLabels = 93  ( 12 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 6 )
-COLORS      : Colors   = BLUE1 GREEN MAGENTA1 RED YELLOW  ( BLUE1 GREEN MAGENTA1 RED WHITE YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 57 -max_faults 0
+checkxstat D_First -n0 8 -n1 11 -n2 0 -total 19 -withname 14 -withcolor 12 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN MAGENTA1 RED WHITE YELLOW } -nbcolors 6 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 93 -shape 574
+checkstatshape res_1 -solid 5 -shell 5 -face 93 -freewire 0 -freeedge 0 -sharededge 211
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9051733624 -avg 0.243781117]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 57 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 565 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 8 -n1 11 -n2 0 -total 19 -withname 14 -withcolor 12 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 6 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 93 -n2 0 -total 94 -withname 1 -withcolor 93 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN MAGENTA1 RED YELLOW  } -nbcolors 5 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 93 -shape 5965 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 93 -freewire 0 -freeedge 0 -sharededge 2876 -max_solid 5 -max_shell 5 -max_face 93 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-005 -avg 9.894427245e-006 -max_tol ${max_tol_res_1}
+
index 8b4bff45d8cf36d579b34c69a1a5b58438a339c5..f6b910d2e637591ab7b29e640971f58ae843af0d 100644 (file)
@@ -1,26 +1,56 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 puts "TODO CR23096 ALL: NBSHAPES : Faulty"
-puts "TODO CR25013 ALL: Error : 1 differences with reference data found" 
+puts "TODO CR25013 ALL: Error: Avg tolerance of res_1"
 
-set LinuxDiff 2
-set LinuxFaulties {NBSHAPES}
 set filename CTS18547.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 49 )  Warnings = 41  ( 1012 )  Summary  = 41  ( 1061 )
-CHECKSHAPE  : Wires    = 1  ( 1 )  Faces    = 1  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 539  ( 539 )   Summary  = 12798  ( 12800 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 539  ( 539 )   FreeWire = 19  ( 21 )   FreeEdge  = 1864 ( 1864 )   SharedEdge = 4957  ( 4957 )
-TOLERANCE   : MaxTol   =   0.7510769849  (   0.7510769849 )  AvgTol   =  0.006853010548  (  0.007168795519 )
-LABELS      : N0Labels = 65  ( 65 )  N1Labels = 2112  ( 4067 )  N2Labels = 0  ( 0 )   TotalLabels = 2177  ( 4132 )   NameLabels = 2177  ( 2778 )   ColorLabels = 2123  ( 4082 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 4 )
-COLORS      : Colors   = BLUE1 WHITE YELLOW  ( BLUE1 GREEN WHITE YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1060 -max_faults 49
+checkxstat D_First -n0 65 -n1 4067 -n2 0 -total 4132 -withname 2778 -withcolor 4082 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN WHITE YELLOW } -nbcolors 4 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 539 -shape 12800
+checkstatshape res_1 -solid 0 -shell 0 -face 539 -freewire 21 -freeedge 1864 -sharededge 4957
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.7510769849 -avg 0.007168795519]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1060 -max_faults 49
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 45 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 65 -n1 4067 -n2 0 -total 4132 -withname 2778 -withcolor 4082 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 65 -n1 2112 -n2 0 -total 2177 -withname 2177 -withcolor 2123 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 WHITE YELLOW  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 539 -shape 12798 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 539 -freewire 19 -freeedge 1864 -sharededge 4957 -max_solid 0 -max_shell 0 -max_face 539 -max_freewire 21 -max_freeedge 1864
+checkmaxtol res_2 -tol 0.7510769849 -avg 0.006853010548 -max_tol ${max_tol_res_1}
+
index f15eaa5cc5cc5f307f3eacac372ec226db49a9cd..2f173f903b1d4faf5f59e916850ab1690a530628 100644 (file)
@@ -1,23 +1,55 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
-puts "TODO CR25013 ALL: Error : 2 differences with reference data found
-
+puts "TODO CR25013 ALL: Error :  is WRONG because number of SHAPE entities in shape
+puts "TODO CR25013 ALL: STATSHAPE : Faulty ref number of shared edges in command statshape"
 
 set filename kegel.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 25  ( 330 )  Summary  = 25  ( 330 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 157  ( 157 )   Summary  = 3724  ( 3723 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 157  ( 157 )   FreeWire = 34  ( 34 )   FreeEdge  = 473 ( 473 )   SharedEdge = 1477  ( 1477 )
-TOLERANCE   : MaxTol   =   0.9504514132  (    1.074871981 )  AvgTol   =    0.0174083983  (   0.01757881129 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 545  ( 1285 )  N2Labels = 0  ( 0 )   TotalLabels = 546  ( 1286 )   NameLabels = 546  ( 645 )   ColorLabels = 545  ( 1285 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 6  ( 7 )
-COLORS      : Colors   = GREEN GREEN4 MAGENTA1 WHITE YELLOW YELLOW3  ( BLUE1 GREEN GREEN4 MAGENTA1 WHITE YELLOW YELLOW3 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 339 -max_faults 0
+checkxstat D_First -n0 1 -n1 1285 -n2 0 -total 1286 -withname 645 -withcolor 1285 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN GREEN4 MAGENTA1 WHITE YELLOW YELLOW3 } -nbcolors 7 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 157 -shape 3723
+checkstatshape res_1 -solid 0 -shell 0 -face 157 -freewire 34 -freeedge 473 -sharededge 1477
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.074871981 -avg 0.01757881129]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 339 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 25 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 1285 -n2 0 -total 1286 -withname 645 -withcolor 1285 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 7 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 545 -n2 0 -total 546 -withname 546 -withcolor 545 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN GREEN4 MAGENTA1 WHITE YELLOW YELLOW3  } -nbcolors 6 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 157 -shape 3724 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 157 -freewire 34 -freeedge 473 -sharededge 1477 -max_solid 0 -max_shell 0 -max_face 157 -max_freewire 34 -max_freeedge 473
+checkmaxtol res_2 -tol 0.9504514132 -avg 0.0174083983 -max_tol ${max_tol_res_1}
+
index a3e526705e3d9509cc63918a43bb34c8d0fa2c56..40536820c01a2ff17f57db7ea44135592c4c33cb 100755 (executable)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO 0025623 ALL: CHECKSHAPE : Faulty" 
 
-set LinuxDiff 3
 set filename Amino_172448-65210.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 56  ( 12 )  Summary  = 56  ( 12 )
-CHECKSHAPE  : Wires    = 2  ( 1 )  Faces    = 2  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 2342  ( 1106 )   Summary  = 59777  ( 25981 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 2342  ( 2342 )   FreeWire = 2328  ( 2328 )   FreeEdge  = 14016 ( 14016 )   SharedEdge = 24558  ( 10692 )
-TOLERANCE   : MaxTol   =   0.9711309062  (   0.9711309063 )  AvgTol   =   0.01916076754  (   0.01948753951 )
-LABELS      : N0Labels = 250  ( 250 )  N1Labels = 2268  ( 3202 )  N2Labels = 0  ( 0 )   TotalLabels = 2518  ( 3452 )   NameLabels = 2518  ( 3452 )   ColorLabels = 2512  ( 3446 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = CYAN1 LIGHTPINK PALEGOLDENROD ROSYBROWN  ( CYAN1 LIGHTPINK PALEGOLDENROD ROSYBROWN )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 15 -max_faults 0
+checkxstat D_First -n0 250 -n1 3202 -n2 0 -total 3452 -withname 3452 -withcolor 3446 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { CYAN1 LIGHTPINK PALEGOLDENROD ROSYBROWN } -nbcolors 4 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1106 -shape 25981
+checkstatshape res_1 -solid 0 -shell 0 -face 2342 -freewire 2328 -freeedge 14016 -sharededge 10692
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9711309063 -avg 0.01948753951]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 15 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 75 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 250 -n1 3202 -n2 0 -total 3452 -withname 3452 -withcolor 3446 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 250 -n1 2268 -n2 0 -total 2518 -withname 2518 -withcolor 2512 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { CYAN1 LIGHTPINK PALEGOLDENROD ROSYBROWN  } -nbcolors 4 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 2342 -shape 59777 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 2342 -freewire 2328 -freeedge 14016 -sharededge 24558 -max_solid 0 -max_shell 0 -max_face 2342 -max_freewire 2328 -max_freeedge 14016
+checkmaxtol res_2 -tol 0.9711309062 -avg 0.01916076754 -max_tol ${max_tol_res_1}
+
index e3c6b4dfa131fc84d1c84c584de11a56a31286a6..37f8a1a6269558fba0d58af5514f63a804953be3 100755 (executable)
@@ -1,24 +1,56 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
-puts "TODO CR25013 ALL: Error : 3 differences with reference data found
-
+puts "TODO CR25013 ALL: Error :  is WRONG because number of SHAPE entities in shape
+puts "TODO CR25013 ALL: STATSHAPE : Faulty ref number of shared edges in command statshape" 
 
 set filename CATIA01.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 480 )  Warnings = 322  ( 4629 )  Summary  = 322  ( 5109 )
-CHECKSHAPE  : Wires    = 1  ( 0 )  Faces    = 1  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 732  ( 732 )   Summary  = 60876  ( 60888 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 732  ( 732 )   FreeWire = 1612  ( 1613 )   FreeEdge  = 16359 ( 16359 )   SharedEdge = 22927  ( 22933 )
-TOLERANCE   : MaxTol   =   0.6032674714  (   0.6032674714 )  AvgTol   =  0.001483351096  (   0.00148733059 )
-LABELS      : N0Labels = 4  ( 7 )  N1Labels = 11017  ( 17868 )  N2Labels = 0  ( 0 )   TotalLabels = 11021  ( 17875 )   NameLabels = 10620  ( 13085 )   ColorLabels = 11018  ( 17867 )   LayerLabels = 10517  ( 17715 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 17  ( 17 )
-COLORS      : Colors   = BLUE1 CYAN1 DARKGOLDENROD1 DARKSLATEGRAY1 GREEN GREEN4 LIGHTPINK1 MAGENTA1 MEDIUMPURPLE1 MEDIUMSPRINGGREEN PURPLE RED RED3 ROYALBLUE2 SEAGREEN2 WHITE YELLOW  ( BLUE1 CYAN1 DARKGOLDENROD1 DARKSLATEGRAY1 GREEN GREEN4 LIGHTPINK1 MAGENTA1 MEDIUMPURPLE1 MEDIUMSPRINGGREEN PURPLE RED RED3 ROYALBLUE2 SEAGREEN2 WHITE YELLOW )
-NLAYERS     : NLayers  = 16  ( 17 )
-LAYERS      : Layers   = 1 101 102 104 106 107 108 152 154 156 158 2 240 255 6 7  ( 1 101 102 104 106 107 108 152 154 156 158 2 239 240 255 6 7 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4693 -max_faults 480
+checkxstat D_First -n0 7 -n1 17868 -n2 0 -total 17875 -withname 13085 -withcolor 17867 -withlayer 17715 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 DARKGOLDENROD1 DARKSLATEGRAY1 GREEN GREEN4 LIGHTPINK1 MAGENTA1 MEDIUMPURPLE1 MEDIUMSPRINGGREEN PURPLE RED RED3 ROYALBLUE2 SEAGREEN2 WHITE YELLOW } -nbcolors 17 -layers { 1 101 102 104 106 107 108 152 154 156 158 2 239 240 255 6 7 } -nblayers 17
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 732 -shape 60888
+checkstatshape res_1 -solid 0 -shell 0 -face 732 -freewire 1613 -freeedge 16359 -sharededge 22933
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.6032674714 -avg 0.00148733059]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4693 -max_faults 480
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 321 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 7 -n1 17868 -n2 0 -total 17875 -withname 13085 -withcolor 17867 -withlayer 17715 -centroid 0 -volume 0 -area 0 -nbcolors 17 -nblayers 17
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 11017 -n2 0 -total 11021 -withname 10620 -withcolor 11018 -withlayer 10517 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 DARKGOLDENROD1 DARKSLATEGRAY1 GREEN GREEN4 LIGHTPINK1 MAGENTA1 MEDIUMPURPLE1 MEDIUMSPRINGGREEN PURPLE RED RED3 ROYALBLUE2 SEAGREEN2 WHITE YELLOW  } -nbcolors 17 -layers { 1 101 102 104 106 107 108 152 154 156 158 2 240 255 6 7  } -nblayers 16
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 732 -shape 60876 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 732 -freewire 1612 -freeedge 16359 -sharededge 22927 -max_solid 0 -max_shell 0 -max_face 732 -max_freewire 1613 -max_freeedge 16359
+checkmaxtol res_2 -tol 0.6032674714 -avg 0.001483351096 -max_tol ${max_tol_res_1}
+
index 10e5fc4875318e8f1a37caca1a78be6bfa06cb2a..74115f82a8134faea9ffcd2f4eba721da4ffbd20 100644 (file)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-
 set filename CTS18548.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 56  ( 423 )  Summary  = 56  ( 423 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1892  ( 1892 )   Summary  = 20543  ( 20544 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1892  ( 1892 )   FreeWire = 54  ( 54 )   FreeEdge  = 266 ( 266 )   SharedEdge = 8300  ( 8300 )
-TOLERANCE   : MaxTol   =   0.5322014093  (   0.5322014093 )  AvgTol   =  0.002295480513  (  0.002300302351 )
-LABELS      : N0Labels = 7  ( 7 )  N1Labels = 1982  ( 2455 )  N2Labels = 0  ( 0 )   TotalLabels = 1989  ( 2462 )   NameLabels = 1989  ( 2062 )   ColorLabels = 1982  ( 2455 )   LayerLabels = 1982  ( 2455 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 4 )
-COLORS      : Colors   = GRAY67 GREEN YELLOW  ( GRAY67 GREEN MAGENTA1 YELLOW )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = 100 110 120  ( 100 110 120 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 425 -max_faults 0
+checkxstat D_First -n0 7 -n1 2455 -n2 0 -total 2462 -withname 2062 -withcolor 2455 -withlayer 2455 -centroid 0 -volume 0 -area 0 -colors { GRAY67 GREEN MAGENTA1 YELLOW } -nbcolors 4 -layers { 100 110 120 } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1892 -shape 20544
+checkstatshape res_1 -solid 0 -shell 0 -face 1892 -freewire 54 -freeedge 266 -sharededge 8300
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.5322014093 -avg 0.002300302351]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 425 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 56 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 7 -n1 2455 -n2 0 -total 2462 -withname 2062 -withcolor 2455 -withlayer 2455 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 7 -n1 1982 -n2 0 -total 1989 -withname 1989 -withcolor 1982 -withlayer 1982 -centroid 0 -volume 0 -area 0 -colors { GRAY67 GREEN YELLOW  } -nbcolors 3 -layers { 100 110 120  } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1892 -shape 20543 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1892 -freewire 54 -freeedge 266 -sharededge 8300 -max_solid 0 -max_shell 0 -max_face 1892 -max_freewire 54 -max_freeedge 266
+checkmaxtol res_2 -tol 0.5322014093 -avg 0.002295480513 -max_tol ${max_tol_res_1}
+
index c0fedb111c5eaa6b3086a7bab0482c682ad96636..7bd10fd8faf42cf784a53aef9345d0602b3a024a 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename CTS18644.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 212 )  Summary  = 2  ( 212 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 4004  ( 4004 )   Summary  = 46702  ( 46701 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 4004  ( 4004 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 19350  ( 19350 )
-TOLERANCE   : MaxTol   =  0.01077402956  ( 0.005387073003 )  AvgTol   =  4.979806751e-006  (  9.076797721e-006 )
-LABELS      : N0Labels = 4004  ( 4004 )  N1Labels = 0  ( 647 )  N2Labels = 0  ( 0 )   TotalLabels = 4004  ( 4651 )   NameLabels = 4004  ( 4004 )   ColorLabels = 248  ( 895 )   LayerLabels = 3366  ( 4013 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLACK RED YELLOW  ( BLACK RED YELLOW )
-NLAYERS     : NLayers  = 4  ( 4 )
-LAYERS      : Layers   = 10 2 254 50  ( 10 2 254 50 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 219 -max_faults 0
+checkxstat D_First -n0 4004 -n1 647 -n2 0 -total 4651 -withname 4004 -withcolor 895 -withlayer 4013 -centroid 0 -volume 0 -area 0 -colors { BLACK RED YELLOW } -nbcolors 3 -layers { 10 2 254 50 } -nblayers 4
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 4004 -shape 46701
+checkstatshape res_1 -solid 0 -shell 0 -face 4004 -freewire 0 -freeedge 0 -sharededge 19350
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.005387073003 -avg 9.076797721e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 219 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4004 -n1 647 -n2 0 -total 4651 -withname 4004 -withcolor 895 -withlayer 4013 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 4
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4004 -n1 0 -n2 0 -total 4004 -withname 4004 -withcolor 248 -withlayer 3366 -centroid 0 -volume 0 -area 0 -colors { BLACK RED YELLOW  } -nbcolors 3 -layers { 10 2 254 50  } -nblayers 4
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 4004 -shape 46702 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 4004 -freewire 0 -freeedge 0 -sharededge 19350 -max_solid 0 -max_shell 0 -max_face 4004 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01077402956 -avg 4.979806751e-006 -max_tol ${max_tol_res_1}
+
index 0021fd1ceea78620d91823a1cdc7b15af1249e47..d1ce197b6909b399f2faa7626c5f5487004de05d 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-set LinuxDiff 3
 set filename Case.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 267  ( 552 )  Summary  = 267  ( 552 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 208  ( 208 )   Summary  = 2995  ( 2995 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 208  ( 208 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1276  ( 1276 )
-TOLERANCE   : MaxTol   =   0.7043468651  (   0.7043466394 )  AvgTol   =  0.006003971975  (  0.006001251564 )
-LABELS      : N0Labels = 1  ( 2 )  N1Labels = 208  ( 208 )  N2Labels = 0  ( 0 )   TotalLabels = 209  ( 210 )   NameLabels = 1  ( 2 )   ColorLabels = 208  ( 209 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 2 )
-COLORS      : Colors   = DEEPSKYBLUE1  ( DEEPSKYBLUE1 WHITE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 552 -max_faults 0
+checkxstat D_First -n0 2 -n1 208 -n2 0 -total 210 -withname 2 -withcolor 209 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE1 WHITE } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 208 -shape 2995
+checkstatshape res_1 -solid 0 -shell 0 -face 208 -freewire 0 -freeedge 0 -sharededge 1276
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.7043466394 -avg 0.006001251564]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 552 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 268 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 208 -n2 0 -total 210 -withname 2 -withcolor 209 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 208 -n2 0 -total 209 -withname 1 -withcolor 208 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE1  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 208 -shape 2995 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 208 -freewire 0 -freeedge 0 -sharededge 1276 -max_solid 0 -max_shell 0 -max_face 208 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.7043468651 -avg 0.006003971975 -max_tol ${max_tol_res_1}
+
index 65031260abcb8f0c1a19c2fbe906b4933232a1c8..d1d0dda7cb7a31121337618e68d165ed788008e6 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename Cover.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 13 )  Warnings = 290  ( 688 )  Summary  = 290  ( 701 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 200  ( 200 )   Summary  = 3064  ( 3072 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 200  ( 200 )   FreeWire = 0  ( 0 )   FreeEdge  = 89 ( 89 )   SharedEdge = 1277  ( 1277 )
-TOLERANCE   : MaxTol   = 4.399371441e-006  ( 1.000227342e-007 )  AvgTol   =  8.44425398e-007  (  1.000018754e-007 )
-LABELS      : N0Labels = 22  ( 23 )  N1Labels = 271  ( 279 )  N2Labels = 0  ( 0 )   TotalLabels = 293  ( 302 )   NameLabels = 22  ( 23 )   ColorLabels = 289  ( 290 )   LayerLabels = 89  ( 290 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = RED WHITE  ( RED WHITE )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = 10 4 5  ( 10 4 5 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 688 -max_faults 13
+checkxstat D_First -n0 23 -n1 279 -n2 0 -total 302 -withname 23 -withcolor 290 -withlayer 290 -centroid 0 -volume 0 -area 0 -colors { RED WHITE } -nbcolors 2 -layers { 10 4 5 } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 200 -shape 3072
+checkstatshape res_1 -solid 0 -shell 0 -face 200 -freewire 0 -freeedge 89 -sharededge 1277
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000227342e-007 -avg 1.000018754e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 688 -max_faults 13
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 290 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 23 -n1 279 -n2 0 -total 302 -withname 23 -withcolor 290 -withlayer 290 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 22 -n1 271 -n2 0 -total 293 -withname 22 -withcolor 289 -withlayer 89 -centroid 0 -volume 0 -area 0 -colors { RED WHITE  } -nbcolors 2 -layers { 10 4 5  } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 200 -shape 3064 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 200 -freewire 0 -freeedge 89 -sharededge 1277 -max_solid 0 -max_shell 0 -max_face 200 -max_freewire 0 -max_freeedge 89
+checkmaxtol res_2 -tol 4.399371441e-006 -avg 8.44425398e-007 -max_tol ${max_tol_res_1}
+
index f4cd421a8c43746c55b9e7bc33bd9328884cb7c6..549a201cab5e932ad1176bbece531a6fe55cdaf8 100755 (executable)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename D44-11325-6a.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 88  ( 191 )  Summary  = 88  ( 191 )
-CHECKSHAPE  : Wires    = 2  ( 2 )  Faces    = 2  ( 2 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 569  ( 569 )   Summary  = 7842  ( 7833 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 569  ( 569 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 3353  ( 3348 )
-TOLERANCE   : MaxTol   =   0.7161069967  (   0.7585238415 )  AvgTol   =  0.006717667602  (  0.006937200018 )
-LABELS      : N0Labels = 568  ( 568 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 570  ( 570 )   NameLabels = 568  ( 568 )   ColorLabels = 569  ( 569 )   LayerLabels = 569  ( 569 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = LIGHTGOLDENROD1  ( LIGHTGOLDENROD1 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 190 -max_faults 0
+checkxstat D_First -n0 568 -n1 2 -n2 0 -total 570 -withname 568 -withcolor 569 -withlayer 569 -centroid 0 -volume 0 -area 0 -colors { LIGHTGOLDENROD1 } -nbcolors 1 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 569 -shape 7833
+checkstatshape res_1 -solid 0 -shell 0 -face 569 -freewire 0 -freeedge 0 -sharededge 3348
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.7585238415 -avg 0.006937200018]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 190 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 96 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 568 -n1 2 -n2 0 -total 570 -withname 568 -withcolor 569 -withlayer 569 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 568 -n1 2 -n2 0 -total 570 -withname 568 -withcolor 569 -withlayer 569 -centroid 0 -volume 0 -area 0 -colors { LIGHTGOLDENROD1  } -nbcolors 1 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 569 -shape 7842 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 569 -freewire 0 -freeedge 0 -sharededge 3353 -max_solid 0 -max_shell 0 -max_face 569 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.7161069967 -avg 0.006717667602 -max_tol ${max_tol_res_1}
+
index 4af23228b165391206428ac2f7a7a972549ffb5d..d8fe51c451d7412ce3a16a95d5e0c2419ca3f8ff 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-set LinuxDiff 1
 set filename FRA10072.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 178  ( 440 )  Summary  = 178  ( 440 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 304  ( 304 )   Summary  = 3791  ( 3791 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 304  ( 304 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1599  ( 1599 )
-TOLERANCE   : MaxTol   =   0.4659394289  (   0.4659394289 )  AvgTol   =   0.01079423666  (   0.01079517963 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 304  ( 1400 )  N2Labels = 0  ( 0 )   TotalLabels = 305  ( 1401 )   NameLabels = 305  ( 429 )   ColorLabels = 304  ( 1400 )   LayerLabels = 304  ( 1400 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 3 )
-COLORS      : Colors   = RED WHITE  ( RED WHITE YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 200  ( 200 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 454 -max_faults 0
+checkxstat D_First -n0 1 -n1 1400 -n2 0 -total 1401 -withname 429 -withcolor 1400 -withlayer 1400 -centroid 0 -volume 0 -area 0 -colors { RED WHITE YELLOW } -nbcolors 3 -layers { 200 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 304 -shape 3791
+checkstatshape res_1 -solid 0 -shell 0 -face 304 -freewire 0 -freeedge 0 -sharededge 1599
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.4659394289 -avg 0.01079517963]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 454 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 178 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 1400 -n2 0 -total 1401 -withname 429 -withcolor 1400 -withlayer 1400 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 304 -n2 0 -total 305 -withname 305 -withcolor 304 -withlayer 304 -centroid 0 -volume 0 -area 0 -colors { RED WHITE  } -nbcolors 2 -layers { 200  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 304 -shape 3791 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 304 -freewire 0 -freeedge 0 -sharededge 1599 -max_solid 0 -max_shell 0 -max_face 304 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.4659394289 -avg 0.01079423666 -max_tol ${max_tol_res_1}
+
index e5aec2575d4769e2716bac732662996b5d4a0712..3007c614e1f41a573ad40791e63a617f40b7aa63 100644 (file)
@@ -1,24 +1,56 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
-puts "TODO CR23096 ALL: Error : 2 differences with reference data found" 
+puts "TODO CR23096 ALL: STATSHAPE : Faulty ref number of shared edges in command statshape"
+puts "TODO CR23096 ALL: Error :  is WRONG because number of SHAPE entities in shape"
 
-set LinuxDiff 1
 set filename FRA62468-2.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 253  ( 4993 )  Summary  = 253  ( 4993 )
-CHECKSHAPE  : Wires    = 8  ( 11 )  Faces    = 8  ( 7 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 4729  ( 4729 )   Summary  = 63158  ( 63146 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 4729  ( 4729 )   FreeWire = 18  ( 18 )   FreeEdge  = 452 ( 452 )   SharedEdge = 26798  ( 26797 )
-TOLERANCE   : MaxTol   =   0.9804479161  (   0.9805459497 )  AvgTol   =   0.01153089031  (   0.01154870945 )
-LABELS      : N0Labels = 5089  ( 5165 )  N1Labels = 26  ( 3688 )  N2Labels = 0  ( 0 )   TotalLabels = 5115  ( 8853 )   NameLabels = 5089  ( 5165 )   ColorLabels = 5086  ( 8777 )   LayerLabels = 5086  ( 8777 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 CYAN1 GREEN  ( BLUE1 CYAN1 GREEN )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = 1 200 51  ( 1 200 51 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5002 -max_faults 0
+checkxstat D_First -n0 5165 -n1 3688 -n2 0 -total 8853 -withname 5165 -withcolor 8777 -withlayer 8777 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN } -nbcolors 3 -layers { 1 200 51 } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 11 -max_faces 7 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 4729 -shape 63146
+checkstatshape res_1 -solid 0 -shell 0 -face 4729 -freewire 18 -freeedge 452 -sharededge 26797
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9805459497 -avg 0.01154870945]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5002 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 349 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5165 -n1 3688 -n2 0 -total 8853 -withname 5165 -withcolor 8777 -withlayer 8777 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5089 -n1 26 -n2 0 -total 5115 -withname 5089 -withcolor 5086 -withlayer 5086 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN  } -nbcolors 3 -layers { 1 200 51  } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 11 -max_faces 7 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 8 -max_faces 8 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 4729 -shape 63158 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 4729 -freewire 18 -freeedge 452 -sharededge 26798 -max_solid 0 -max_shell 0 -max_face 4729 -max_freewire 18 -max_freeedge 452
+checkmaxtol res_2 -tol 0.9804479161 -avg 0.01153089031 -max_tol ${max_tol_res_1}
+
index bcc2feb6ae89739c76c035bfa9203d6ed66d7c4c..81af5ac12bea49cf14a53c99f84e41e619960e19 100644 (file)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-
 set filename totale.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 7 )  Warnings = 0  ( 1 )  Summary  = 0  ( 8 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 357  ( 599 )  Summary  = 357  ( 599 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 926  ( 926 )   Summary  = 11269  ( 11272 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 926  ( 926 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 4708  ( 4710 )
-TOLERANCE   : MaxTol   =  0.09919926743  (  0.09919926743 )  AvgTol   =  0.002465923979  (  0.002468707531 )
-LABELS      : N0Labels = 926  ( 926 )  N1Labels = 0  ( 638 )  N2Labels = 0  ( 0 )   TotalLabels = 926  ( 1564 )   NameLabels = 926  ( 1035 )   ColorLabels = 926  ( 1564 )   LayerLabels = 19  ( 19 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 4 )
-COLORS      : Colors   = BLUE1 RED  ( BLUE1 GREEN RED YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 40  ( 40 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 7
+checkdoc "tpstat c" -max_warns 603 -max_faults 0
+checkxstat D_First -n0 926 -n1 638 -n2 0 -total 1564 -withname 1035 -withcolor 1564 -withlayer 19 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED YELLOW } -nbcolors 4 -layers { 40 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 926 -shape 11272
+checkstatshape res_1 -solid 0 -shell 0 -face 926 -freewire 0 -freeedge 0 -sharededge 4710
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.09919926743 -avg 0.002468707531]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 7
+checkdoc "tpstat c" -max_warns 603 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 357 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 926 -n1 638 -n2 0 -total 1564 -withname 1035 -withcolor 1564 -withlayer 19 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 926 -n1 0 -n2 0 -total 926 -withname 926 -withcolor 926 -withlayer 19 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED  } -nbcolors 2 -layers { 40  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 926 -shape 11269 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 926 -freewire 0 -freeedge 0 -sharededge 4708 -max_solid 0 -max_shell 0 -max_face 926 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.09919926743 -avg 0.002465923979 -max_tol ${max_tol_res_1}
+
index bbe6b8ccc19050cd06e467210bc77e1dc8908030..95cb834b6000153d70dbfa6fa3257410d1983a09 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-
 set filename OPEL5.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 7 )  Warnings = 10  ( 139 )  Summary  = 10  ( 146 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 28  ( 28 )   Summary  = 4089  ( 4089 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 28  ( 28 )   FreeWire = 20  ( 20 )   FreeEdge  = 1183 ( 1183 )   SharedEdge = 1433  ( 1433 )
-TOLERANCE   : MaxTol   =  0.09192532719  (  0.09192532719 )  AvgTol   =  0.0005521202206  (  0.0005525790618 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 1153  ( 1298 )  N2Labels = 0  ( 0 )   TotalLabels = 1154  ( 1299 )   NameLabels = 1154  ( 1195 )   ColorLabels = 1153  ( 1298 )   LayerLabels = 1153  ( 1298 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 6 )
-COLORS      : Colors   = BLUE1 CYAN1 GOLDENROD2 GREEN YELLOW  ( BLUE1 CYAN1 GOLDENROD2 GREEN RED YELLOW )
-NLAYERS     : NLayers  = 5  ( 5 )
-LAYERS      : Layers   = 14 3 4 5 7  ( 14 3 4 5 7 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 142 -max_faults 7
+checkxstat D_First -n0 1 -n1 1298 -n2 0 -total 1299 -withname 1195 -withcolor 1298 -withlayer 1298 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GOLDENROD2 GREEN RED YELLOW } -nbcolors 6 -layers { 14 3 4 5 7 } -nblayers 5
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 28 -shape 4089
+checkstatshape res_1 -solid 0 -shell 0 -face 28 -freewire 20 -freeedge 1183 -sharededge 1433
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.09192532719 -avg 0.0005525790618]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 142 -max_faults 7
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 1298 -n2 0 -total 1299 -withname 1195 -withcolor 1298 -withlayer 1298 -centroid 0 -volume 0 -area 0 -nbcolors 6 -nblayers 5
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 1153 -n2 0 -total 1154 -withname 1154 -withcolor 1153 -withlayer 1153 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GOLDENROD2 GREEN YELLOW  } -nbcolors 5 -layers { 14 3 4 5 7  } -nblayers 5
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 28 -shape 4089 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 28 -freewire 20 -freeedge 1183 -sharededge 1433 -max_solid 0 -max_shell 0 -max_face 28 -max_freewire 20 -max_freeedge 1183
+checkmaxtol res_2 -tol 0.09192532719 -avg 0.0005521202206 -max_tol ${max_tol_res_1}
+
index c3cdd97e6b91fd5cc5388bcbc651e6761b742d03..fba909d62d3911b238ccaf9a9c3a5eb9c8ee6dc4 100644 (file)
@@ -1,24 +1,58 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
-puts "TODO CR23096 ALL: Error : 3 differences with reference data found" 
+puts "TODO CR23096 ALL: CHECKSHAPE : Faulty ref number of wires in command checkshape ff with max possible number"
+puts "TODO CR23096 ALL: Error :  is WRONG because number of SHAPE entities in shape"
+puts "TODO CR23096 ALL: STATSHAPE : Faulty ref number of shared edges in command statshape"
 
 set filename PRO10626.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 2  ( 0 )  Warnings = 85  ( 295 )  Summary  = 87  ( 295 )
-CHECKSHAPE  : Wires    = 8  ( 13 )  Faces    = 8  ( 13 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 419  ( 419 )   Summary  = 5328  ( 5349 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 419  ( 419 )   FreeWire = 4  ( 4 )   FreeEdge  = 42 ( 42 )   SharedEdge = 2220  ( 2226 )
-TOLERANCE   : MaxTol   =    4.547932063  (    4.543567878 )  AvgTol   =   0.03466358537  (   0.03659099671 )
-LABELS      : N0Labels = 457  ( 457 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 457  ( 457 )   NameLabels = 457  ( 457 )   ColorLabels = 451  ( 455 )   LayerLabels = 453  ( 457 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = RED WHITE  ( RED WHITE )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = 101 111 254  ( 101 111 254 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 292 -max_faults 0
+checkxstat D_First -n0 457 -n1 0 -n2 0 -total 457 -withname 457 -withcolor 455 -withlayer 457 -centroid 0 -volume 0 -area 0 -colors { RED WHITE } -nbcolors 2 -layers { 101 111 254 } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 13 -max_faces 13 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 419 -shape 5349
+checkstatshape res_1 -solid 0 -shell 0 -face 419 -freewire 4 -freeedge 42 -sharededge 2226
+set max_tol_res_1 [checkmaxtol res_1 -tol 4.543567878 -avg 0.03659099671]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 292 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 91 -max_faults 2
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 457 -n1 0 -n2 0 -total 457 -withname 457 -withcolor 455 -withlayer 457 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 457 -n1 0 -n2 0 -total 457 -withname 457 -withcolor 451 -withlayer 453 -centroid 0 -volume 0 -area 0 -colors { RED WHITE  } -nbcolors 2 -layers { 101 111 254  } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 13 -max_faces 13 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 8 -max_faces 8 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 419 -shape 5328 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 419 -freewire 4 -freeedge 42 -sharededge 2220 -max_solid 0 -max_shell 0 -max_face 419 -max_freewire 4 -max_freeedge 42
+checkmaxtol res_2 -tol 4.547932063 -avg 0.03466358537 -max_tol ${max_tol_res_1}
+
index 05475e2524a7c2cb773059522c3e1301db11f573..0dd374859f8855a7a92c3b9d04072645ef60a87a 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename PRO11414-1.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 7  ( 190 )  Summary  = 7  ( 190 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 309  ( 309 )   Summary  = 14820  ( 14815 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 309  ( 309 )   FreeWire = 22  ( 22 )   FreeEdge  = 1789 ( 1789 )   SharedEdge = 6249  ( 6249 )
-TOLERANCE   : MaxTol   =     0.75178756  (   0.7517875657 )  AvgTol   =  0.001674556495  (  0.001679070069 )
-LABELS      : N0Labels = 2030  ( 2204 )  N1Labels = 8  ( 341 )  N2Labels = 0  ( 0 )   TotalLabels = 2038  ( 2545 )   NameLabels = 2030  ( 2204 )   ColorLabels = 2006  ( 2371 )   LayerLabels = 2006  ( 2371 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 12  ( 12 )
-COLORS      : Colors   = GRAY61 GREEN LIGHTSALMON2 MAGENTA1 MAGENTA3 RED ROSYBROWN SPRINGGREEN4 TURQUOISE TURQUOISE2 WHITE YELLOW  ( GRAY61 GREEN LIGHTSALMON2 MAGENTA1 MAGENTA3 RED ROSYBROWN SPRINGGREEN4 TURQUOISE TURQUOISE2 WHITE YELLOW )
-NLAYERS     : NLayers  = 5  ( 5 )
-LAYERS      : Layers   = 107 109 152 155 156  ( 107 109 152 155 156 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 190 -max_faults 0
+checkxstat D_First -n0 2204 -n1 341 -n2 0 -total 2545 -withname 2204 -withcolor 2371 -withlayer 2371 -centroid 0 -volume 0 -area 0 -colors { GRAY61 GREEN LIGHTSALMON2 MAGENTA1 MAGENTA3 RED ROSYBROWN SPRINGGREEN4 TURQUOISE TURQUOISE2 WHITE YELLOW } -nbcolors 12 -layers { 107 109 152 155 156 } -nblayers 5
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 309 -shape 14815
+checkstatshape res_1 -solid 0 -shell 0 -face 309 -freewire 22 -freeedge 1789 -sharededge 6249
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.7517875657 -avg 0.001679070069]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 190 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2204 -n1 341 -n2 0 -total 2545 -withname 2204 -withcolor 2371 -withlayer 2371 -centroid 0 -volume 0 -area 0 -nbcolors 12 -nblayers 5
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2030 -n1 8 -n2 0 -total 2038 -withname 2030 -withcolor 2006 -withlayer 2006 -centroid 0 -volume 0 -area 0 -colors { GRAY61 GREEN LIGHTSALMON2 MAGENTA1 MAGENTA3 RED ROSYBROWN SPRINGGREEN4 TURQUOISE TURQUOISE2 WHITE YELLOW  } -nbcolors 12 -layers { 107 109 152 155 156  } -nblayers 5
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 309 -shape 14820 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 309 -freewire 22 -freeedge 1789 -sharededge 6249 -max_solid 0 -max_shell 0 -max_face 309 -max_freewire 22 -max_freeedge 1789
+checkmaxtol res_2 -tol 0.75178756 -avg 0.001674556495 -max_tol ${max_tol_res_1}
+
index d6f43c74ca6c349a0266d7a200338280386d7596..ef3d8a6ef75d2a968006be6fed9e45bffe24609b 100644 (file)
@@ -1,24 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
-puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" 
 
-set LinuxDiff 1
 set filename PRO14323.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 29  ( 233 )  Summary  = 29  ( 233 )
-CHECKSHAPE  : Wires    = 1  ( 1 )  Faces    = 1  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 153  ( 153 )   Summary  = 3497  ( 3504 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 153  ( 153 )   FreeWire = 21  ( 21 )   FreeEdge  = 435 ( 435 )   SharedEdge = 1380  ( 1384 )
-TOLERANCE   : MaxTol   =   0.9672552763  (   0.9530871146 )  AvgTol   =   0.01866948774  (   0.01940759381 )
-LABELS      : N0Labels = 564  ( 564 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 564  ( 564 )   NameLabels = 564  ( 564 )   ColorLabels = 543  ( 564 )   LayerLabels = 543  ( 564 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = CYAN1 GRAY57  ( CYAN1 GRAY57 )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = 1 25  ( 1 25 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 319 -max_faults 0
+checkxstat D_First -n0 564 -n1 0 -n2 0 -total 564 -withname 564 -withcolor 564 -withlayer 564 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GRAY57 } -nbcolors 2 -layers { 1 25 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 153 -shape 3504
+checkstatshape res_1 -solid 0 -shell 0 -face 153 -freewire 21 -freeedge 435 -sharededge 1384
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9530871146 -avg 0.01940759381]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 319 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 32 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 564 -n1 0 -n2 0 -total 564 -withname 564 -withcolor 564 -withlayer 564 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 564 -n1 0 -n2 0 -total 564 -withname 564 -withcolor 543 -withlayer 543 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GRAY57  } -nbcolors 2 -layers { 1 25  } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 153 -shape 3497 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 153 -freewire 21 -freeedge 435 -sharededge 1380 -max_solid 0 -max_shell 0 -max_face 153 -max_freewire 21 -max_freeedge 435
+checkmaxtol res_2 -tol 0.9672552763 -avg 0.01866948774 -max_tol ${max_tol_res_1}
+
index 70184aba9f6c6a9a9ad26ee268bf4f7d20ea1e85..c612127f5fe6382d5a6b2af960d014dabe059b1b 100644 (file)
@@ -1,22 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
 set filename sim6049.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 7  ( 2820 )  Summary  = 7  ( 2820 )
-CHECKSHAPE  : Wires    = 4  ( 6 )  Faces    = 4  ( 6 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 3786  ( 3786 )   Summary  = 69468  ( 69491 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 3786  ( 3786 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 30984  ( 30999 )
-TOLERANCE   : MaxTol   =  0.08172710091  (  0.05040240237 )  AvgTol   =  0.0006058177695  (  0.0006024184165 )
-LABELS      : N0Labels = 3785  ( 3785 )  N1Labels = 2  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 3787  ( 3785 )   NameLabels = 3785  ( 3785 )   ColorLabels = 3786  ( 3785 )   LayerLabels = 3786  ( 3785 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 6  ( 6 )
-COLORS      : Colors   = BLUE1 CYAN1 GREEN MAGENTA1 RED YELLOW  ( BLUE1 CYAN1 GREEN MAGENTA1 RED YELLOW )
-NLAYERS     : NLayers  = 5  ( 5 )
-LAYERS      : Layers   = 1 100 3 4 5  ( 1 100 3 4 5 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2820 -max_faults 0
+checkxstat D_First -n0 3785 -n1 0 -n2 0 -total 3785 -withname 3785 -withcolor 3785 -withlayer 3785 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 RED YELLOW } -nbcolors 6 -layers { 1 100 3 4 5 } -nblayers 5
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 6 -max_faces 6 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 3786 -shape 69491
+checkstatshape res_1 -solid 0 -shell 0 -face 3786 -freewire 0 -freeedge 0 -sharededge 30999
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.05040240237 -avg 0.0006024184165]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2820 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3785 -n1 0 -n2 0 -total 3785 -withname 3785 -withcolor 3785 -withlayer 3785 -centroid 0 -volume 0 -area 0 -nbcolors 6 -nblayers 5
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3785 -n1 2 -n2 0 -total 3787 -withname 3785 -withcolor 3786 -withlayer 3786 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 RED YELLOW  } -nbcolors 6 -layers { 1 100 3 4 5  } -nblayers 5
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 6 -max_faces 6 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 4 -max_faces 4 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 3786 -shape 69468 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 3786 -freewire 0 -freeedge 0 -sharededge 30984 -max_solid 0 -max_shell 0 -max_face 3786 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.08172710091 -avg 0.0006058177695 -max_tol ${max_tol_res_1}
+
index f6ab2f02237654ac831e1f4e8fc74099d926a031..18fcf2a616111bdfe7273c531006e95304d91ace 100644 (file)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 puts "TODO 0025623 ALL: CHECKSHAPE : Faulty" 
 
-
 set filename PRO19800.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 1  ( 0 )  Faces    = 1  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1  ( 1 )   Summary  = 13  ( 11 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 6  ( 5 )
-TOLERANCE   : MaxTol   =  0.04476902169  (  0.04476636368 )  AvgTol   =   0.02402039477  (   0.02401933664 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 5 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 6 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 6 )   LayerLabels = 1  ( 6 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 2 )
-COLORS      : Colors   = WHITE  ( CYAN1 WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 31  ( 31 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 5 -n2 0 -total 6 -withname 1 -withcolor 6 -withlayer 6 -centroid 0 -volume 0 -area 0 -colors { CYAN1 WHITE } -nbcolors 2 -layers { 31 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1 -shape 11
+checkstatshape res_1 -solid 0 -shell 0 -face 1 -freewire 0 -freeedge 0 -sharededge 5
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.04476636368 -avg 0.02401933664]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 5 -n2 0 -total 6 -withname 1 -withcolor 6 -withlayer 6 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 31  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1 -shape 13 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1 -freewire 0 -freeedge 0 -sharededge 6 -max_solid 0 -max_shell 0 -max_face 1 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.04476902169 -avg 0.02402039477 -max_tol ${max_tol_res_1}
+
index db3bfe01543f7411ed51f85460972c67caec05dd..e1f30eaaad8df43cd4ac8f0756bf448889b3cb13 100755 (executable)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename Rich.igs
 
-set ref_data {
-DATA        : Faulties = 1  ( 126 )  Warnings = 0  ( 7 )  Summary  = 1  ( 133 )
-TPSTAT      : Faulties = 2  ( 212 )  Warnings = 6  ( 559 )  Summary  = 8  ( 771 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 9  ( 9 )   Summary  = 20802  ( 16067 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 9  ( 9 )   FreeWire = 477  ( 477 )   FreeEdge  = 9018 ( 9018 )   SharedEdge = 9072  ( 6875 )
-TOLERANCE   : MaxTol   = 0.002386883227  ( 0.002386886993 )  AvgTol   =  1.573805359e-06  (  1.573804854e-06 )
-LABELS      : N0Labels = 2053  ( 2148 )  N1Labels = 381  ( 253 )  N2Labels = 0  ( 0 )   TotalLabels = 2434  ( 2401 )   NameLabels = 2053  ( 2148 )   ColorLabels = 1932  ( 2306 )   LayerLabels = 1559  ( 2306 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 13  ( 13 )
-COLORS      : Colors   = BLUE1 CYAN1 CYAN3 DARKORANGE2 DEEPPINK4 GREEN GREEN4 LIGHTPINK2 MAGENTA1 MATRAGRAY RED SIENNA3 YELLOW  ( BLUE1 CYAN1 CYAN3 DARKORANGE2 DEEPPINK4 GREEN GREEN4 LIGHTPINK2 MAGENTA1 MATRAGRAY RED SIENNA3 YELLOW )
-NLAYERS     : NLayers  = 21  ( 22 )
-LAYERS      : Layers   = 501 510 511 512 513 515 550 560 651 700 701 702 703 704 705 706 707 708 801 851 894  ( 1000 501 510 511 512 513 515 550 560 651 700 701 702 703 704 705 706 707 708 801 851 894 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 7 -max_faults 126
+checkdoc "tpstat c" -max_warns 559 -max_faults 212
+checkxstat D_First -n0 2148 -n1 253 -n2 0 -total 2401 -withname 2148 -withcolor 2306 -withlayer 2306 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 CYAN3 DARKORANGE2 DEEPPINK4 GREEN GREEN4 LIGHTPINK2 MAGENTA1 MATRAGRAY RED SIENNA3 YELLOW } -nbcolors 13 -layers { 1000 501 510 511 512 513 515 550 560 651 700 701 702 703 704 705 706 707 708 801 851 894 } -nblayers 22
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 9 -shape 16067
+checkstatshape res_1 -solid 0 -shell 0 -face 9 -freewire 477 -freeedge 9018 -sharededge 6875
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.002386886993 -avg 1.573804854e-06]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 7 -max_faults 126
+checkdoc "tpstat c" -max_warns 559 -max_faults 212
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 6 -max_faults 2
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2148 -n1 253 -n2 0 -total 2401 -withname 2148 -withcolor 2306 -withlayer 2306 -centroid 0 -volume 0 -area 0 -nbcolors 13 -nblayers 22
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2053 -n1 381 -n2 0 -total 2434 -withname 2053 -withcolor 1932 -withlayer 1559 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 CYAN3 DARKORANGE2 DEEPPINK4 GREEN GREEN4 LIGHTPINK2 MAGENTA1 MATRAGRAY RED SIENNA3 YELLOW  } -nbcolors 13 -layers { 501 510 511 512 513 515 550 560 651 700 701 702 703 704 705 706 707 708 801 851 894  } -nblayers 21
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 9 -shape 20802 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 9 -freewire 477 -freeedge 9018 -sharededge 9072 -max_solid 0 -max_shell 0 -max_face 9 -max_freewire 477 -max_freeedge 9018
+checkmaxtol res_2 -tol 0.002386883227 -avg 1.573805359e-06 -max_tol ${max_tol_res_1}
+
index b7ca63b323f5be94cfae531c9bf37b1fc16c8cdc..4cda8fba1274c92169980577e9bba3695bf2317d 100755 (executable)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename Disc.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 125  ( 126 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 0  ( 0 )   FreeEdge  = 46 ( 46 )   SharedEdge = 46  ( 46 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 3 )  N1Labels = 46  ( 47 )  N2Labels = 0  ( 0 )   TotalLabels = 47  ( 50 )   NameLabels = 1  ( 50 )   ColorLabels = 46  ( 46 )   LayerLabels = 0  ( 47 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = WHITE YELLOW  ( WHITE YELLOW )
-NLAYERS     : NLayers  = 0  ( 2 )
-LAYERS      : Layers   =   ( 1 2 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 3 -n1 47 -n2 0 -total 50 -withname 50 -withcolor 46 -withlayer 47 -centroid 0 -volume 0 -area 0 -colors { WHITE YELLOW } -nbcolors 2 -layers { 1 2 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 126
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 46 -sharededge 46
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 47 -n2 0 -total 50 -withname 50 -withcolor 46 -withlayer 47 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 46 -n2 0 -total 47 -withname 1 -withcolor 46 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE YELLOW  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 125 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 46 -sharededge 46 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 0 -max_freeedge 46
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index cb284fa2b9589ee0f8ad1279b5c355fd5d4cb4c1..6718857ceda799dfbb47a356d71f98c09aac65fa 100755 (executable)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: DATA : Faulty" 
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename ball_bearing.igs
 
-set ref_data {
-DATA        : Faulties = 2  ( 0 )  Warnings = 0  ( 0 )  Summary  = 2  ( 0 )
-TPSTAT      : Faulties = 4  ( 0 )  Warnings = 0  ( 3 )  Summary  = 4  ( 3 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 15  ( 15 )   Summary  = 320  ( 320 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 15  ( 15 )   FreeWire = 1  ( 1 )   FreeEdge  = 55 ( 55 )   SharedEdge = 117  ( 117 )
-TOLERANCE   : MaxTol   = 0.0006252983686  ( 0.0006252359927 )  AvgTol   =  2.234812266e-05  (  1.469671889e-05 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 68  ( 137 )  N2Labels = 0  ( 0 )   TotalLabels = 69  ( 138 )   NameLabels = 69  ( 76 )   ColorLabels = 68  ( 137 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 1 -n1 137 -n2 0 -total 138 -withname 76 -withcolor 137 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 15 -shape 320
+checkstatshape res_1 -solid 0 -shell 0 -face 15 -freewire 1 -freeedge 55 -sharededge 117
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0006252359927 -avg 1.469671889e-05]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 0 -max_faults 4
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 137 -n2 0 -total 138 -withname 76 -withcolor 137 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 68 -n2 0 -total 69 -withname 69 -withcolor 68 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 15 -shape 320 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 15 -freewire 1 -freeedge 55 -sharededge 117 -max_solid 0 -max_shell 0 -max_face 15 -max_freewire 1 -max_freeedge 55
+checkmaxtol res_2 -tol 0.0006252983686 -avg 2.234812266e-05 -max_tol ${max_tol_res_1}
+
index 8f6beac884edd8d972c72f7959ddab46bdb77f97..38f119ab4eead7b9ae3ca25de8b4f988b3d29046 100755 (executable)
@@ -1,24 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: DATA : Faulty" 
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
-puts "TODO CR26656 Linux: Error : 1 differences with reference data found" 
-
 
 set filename support_rampe.igs
 
-set ref_data {
-DATA        : Faulties = 2  ( 0 )  Warnings = 0  ( 0 )  Summary  = 2  ( 0 )
-TPSTAT      : Faulties = 4  ( 2 )  Warnings = 0  ( 170 )  Summary  = 4  ( 172 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 169  ( 169 )   Summary  = 5348  ( 5348 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 169  ( 169 )   FreeWire = 49  ( 49 )   FreeEdge  = 945 ( 945 )   SharedEdge = 2041  ( 2041 )
-TOLERANCE   : MaxTol   =   0.1765497108  (   0.1765497101 )  AvgTol   =  0.0004116969813  (  0.0004153236787 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 981  ( 2033 )  N2Labels = 0  ( 0 )   TotalLabels = 982  ( 2034 )   NameLabels = 982  ( 1142 )   ColorLabels = 981  ( 2033 )   LayerLabels = 981  ( 2033 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 6  ( 6 )
-COLORS      : Colors   = BLUE1 CYAN1 GREEN MAGENTA1 WHITE YELLOW  ( BLUE1 CYAN1 GREEN MAGENTA1 WHITE YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 200  ( 200 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 173 -max_faults 2
+checkxstat D_First -n0 1 -n1 2033 -n2 0 -total 2034 -withname 1142 -withcolor 2033 -withlayer 2033 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 WHITE YELLOW } -nbcolors 6 -layers { 200 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 169 -shape 5348
+checkstatshape res_1 -solid 0 -shell 0 -face 169 -freewire 49 -freeedge 945 -sharededge 2041
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1765497101 -avg 0.0004153236787]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 173 -max_faults 2
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 0 -max_faults 4
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 2033 -n2 0 -total 2034 -withname 1142 -withcolor 2033 -withlayer 2033 -centroid 0 -volume 0 -area 0 -nbcolors 6 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 981 -n2 0 -total 982 -withname 982 -withcolor 981 -withlayer 981 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 WHITE YELLOW  } -nbcolors 6 -layers { 200  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 169 -shape 5348 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 169 -freewire 49 -freeedge 945 -sharededge 2041 -max_solid 0 -max_shell 0 -max_face 169 -max_freewire 49 -max_freeedge 945
+checkmaxtol res_2 -tol 0.1765497108 -avg 0.0004116969813 -max_tol ${max_tol_res_1}
+
index 4194b439cc4e9c47fc6dc84dce67a692c1df453c..01e8627d8c60955809d8044dfec37337eda6f977 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename UK4.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 128  ( 696 )  Summary  = 128  ( 696 )
-CHECKSHAPE  : Wires    = 0  ( 1 )  Faces    = 0  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 272  ( 271 )   Summary  = 8087  ( 8085 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 272  ( 271 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 3767  ( 3768 )
-TOLERANCE   : MaxTol   =   0.7291364407  (   0.7291361907 )  AvgTol   =   0.01261526315  (   0.01261915338 )
-LABELS      : N0Labels = 271  ( 271 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 271  ( 271 )   NameLabels = 271  ( 271 )   ColorLabels = 0  ( 0 )   LayerLabels = 271  ( 271 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 695 -max_faults 0
+checkxstat D_First -n0 271 -n1 0 -n2 0 -total 271 -withname 271 -withcolor 0 -withlayer 271 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 271 -shape 8085
+checkstatshape res_1 -solid 0 -shell 0 -face 271 -freewire 0 -freeedge 0 -sharededge 3768
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.7291361907 -avg 0.01261915338]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 695 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 136 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 271 -n1 0 -n2 0 -total 271 -withname 271 -withcolor 0 -withlayer 271 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 271 -n1 0 -n2 0 -total 271 -withname 271 -withcolor 0 -withlayer 271 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 272 -shape 8087 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 272 -freewire 0 -freeedge 0 -sharededge 3767 -max_solid 0 -max_shell 0 -max_face 271 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.7291364407 -avg 0.01261526315 -max_tol ${max_tol_res_1}
+
index 713b80ffd7b6987ad382a64fb41ebc4382ec30f4..7cc9a5f4eb7fc713860f8108c161d27941f41f92 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename UKI60107-5.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 12 )  Warnings = 0  ( 0 )  Summary  = 0  ( 12 )
-TPSTAT      : Faulties = 2  ( 0 )  Warnings = 64  ( 134 )  Summary  = 66  ( 134 )
-CHECKSHAPE  : Wires    = 1  ( 1 )  Faces    = 1  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 93  ( 93 )   Summary  = 16847  ( 16847 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 93  ( 93 )   FreeWire = 2  ( 2 )   FreeEdge  = 419 ( 419 )   SharedEdge = 8137  ( 8137 )
-TOLERANCE   : MaxTol   = 7.725102137e-06  (          1e-05 )  AvgTol   =  2.262722986e-07  (  9.344523316e-06 )
-LABELS      : N0Labels = 513  ( 513 )  N1Labels = 0  ( 15 )  N2Labels = 0  ( 0 )   TotalLabels = 513  ( 528 )   NameLabels = 513  ( 513 )   ColorLabels = 402  ( 422 )   LayerLabels = 508  ( 528 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = GREEN MAGENTA1 RED WHITE YELLOW  ( GREEN MAGENTA1 RED WHITE YELLOW )
-NLAYERS     : NLayers  = 4  ( 4 )
-LAYERS      : Layers   = 50 51 7 9  ( 50 51 7 9 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 12
+checkdoc "tpstat c" -max_warns 134 -max_faults 0
+checkxstat D_First -n0 513 -n1 15 -n2 0 -total 528 -withname 513 -withcolor 422 -withlayer 528 -centroid 0 -volume 0 -area 0 -colors { GREEN MAGENTA1 RED WHITE YELLOW } -nbcolors 5 -layers { 50 51 7 9 } -nblayers 4
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 93 -shape 16847
+checkstatshape res_1 -solid 0 -shell 0 -face 93 -freewire 2 -freeedge 419 -sharededge 8137
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-05 -avg 9.344523316e-06]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 12
+checkdoc "tpstat c" -max_warns 134 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 64 -max_faults 2
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 513 -n1 15 -n2 0 -total 528 -withname 513 -withcolor 422 -withlayer 528 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 4
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 513 -n1 0 -n2 0 -total 513 -withname 513 -withcolor 402 -withlayer 508 -centroid 0 -volume 0 -area 0 -colors { GREEN MAGENTA1 RED WHITE YELLOW  } -nbcolors 5 -layers { 50 51 7 9  } -nblayers 4
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 93 -shape 16847 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 93 -freewire 2 -freeedge 419 -sharededge 8137 -max_solid 0 -max_shell 0 -max_face 93 -max_freewire 2 -max_freeedge 419
+checkmaxtol res_2 -tol 7.725102137e-06 -avg 2.262722986e-07 -max_tol ${max_tol_res_1}
+
index 2104ab9eca8182049f455d00df152a086b6f6874..d2bcd5bc3d9d3fdae256b5c8aa244a0cad80ef8a 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-
 set filename UKI60878.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 4 )  Summary  = 0  ( 4 )
-TPSTAT      : Faulties = 0  ( 2 )  Warnings = 37  ( 380 )  Summary  = 37  ( 382 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 1 )  Face     = 136  ( 136 )   Summary  = 4613  ( 4610 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 1 )  Face     = 136  ( 136 )   FreeWire = 169  ( 169 )   FreeEdge  = 1360 ( 1360 )   SharedEdge = 1945  ( 1944 )
-TOLERANCE   : MaxTol   =   0.8737801249  (    0.873776131 )  AvgTol   =   0.01399299235  (   0.01399262795 )
-LABELS      : N0Labels = 416  ( 416 )  N1Labels = 2  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 418  ( 416 )   NameLabels = 416  ( 416 )   ColorLabels = 247  ( 416 )   LayerLabels = 247  ( 416 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 5 )
-COLORS      : Colors   = CYAN1 GRAY33 GRAY6 YELLOW  ( CYAN1 GRAY33 GRAY6 WHITE YELLOW )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = 10 2  ( 10 2 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 4 -max_faults 0
+checkdoc "tpstat c" -max_warns 380 -max_faults 2
+checkxstat D_First -n0 416 -n1 0 -n2 0 -total 416 -withname 416 -withcolor 416 -withlayer 416 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GRAY33 GRAY6 WHITE YELLOW } -nbcolors 5 -layers { 10 2 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 136 -shape 4610
+checkstatshape res_1 -solid 0 -shell 1 -face 136 -freewire 169 -freeedge 1360 -sharededge 1944
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.873776131 -avg 0.01399262795]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 4 -max_faults 0
+checkdoc "tpstat c" -max_warns 380 -max_faults 2
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 37 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 416 -n1 0 -n2 0 -total 416 -withname 416 -withcolor 416 -withlayer 416 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 416 -n1 2 -n2 0 -total 418 -withname 416 -withcolor 247 -withlayer 247 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GRAY33 GRAY6 YELLOW  } -nbcolors 4 -layers { 10 2  } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 136 -shape 4613 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 136 -freewire 169 -freeedge 1360 -sharededge 1945 -max_solid 0 -max_shell 1 -max_face 136 -max_freewire 169 -max_freeedge 1360
+checkmaxtol res_2 -tol 0.8737801249 -avg 0.01399299235 -max_tol ${max_tol_res_1}
+
index ae0b7911cedfd8a772f22be93d2abf957fa6076f..0788a3d34e741aba8f74ecb39f3e19894331f7f8 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-
 set filename UKI60997.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 44  ( 72 )  Summary  = 44  ( 72 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 25  ( 25 )   Summary  = 279  ( 278 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 25  ( 25 )   FreeWire = 1  ( 1 )   FreeEdge  = 3 ( 3 )   SharedEdge = 121  ( 121 )
-TOLERANCE   : MaxTol   =   0.5931853741  (   0.5931853741 )  AvgTol   =   0.01696817505  (   0.01696911529 )
-LABELS      : N0Labels = 26  ( 26 )  N1Labels = 0  ( 31 )  N2Labels = 0  ( 0 )   TotalLabels = 26  ( 57 )   NameLabels = 26  ( 57 )   ColorLabels = 25  ( 57 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 4 )
-COLORS      : Colors   = ORANGE ORANGERED RED  ( GREEN ORANGE ORANGERED RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 72 -max_faults 0
+checkxstat D_First -n0 26 -n1 31 -n2 0 -total 57 -withname 57 -withcolor 57 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN ORANGE ORANGERED RED } -nbcolors 4 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 25 -shape 278
+checkstatshape res_1 -solid 0 -shell 0 -face 25 -freewire 1 -freeedge 3 -sharededge 121
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.5931853741 -avg 0.01696911529]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 72 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 44 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 26 -n1 31 -n2 0 -total 57 -withname 57 -withcolor 57 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 26 -n1 0 -n2 0 -total 26 -withname 26 -withcolor 25 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { ORANGE ORANGERED RED  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 25 -shape 279 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 25 -freewire 1 -freeedge 3 -sharededge 121 -max_solid 0 -max_shell 0 -max_face 25 -max_freewire 1 -max_freeedge 3
+checkmaxtol res_2 -tol 0.5931853741 -avg 0.01696817505 -max_tol ${max_tol_res_1}
+
index 7154a65936ae32de413cc5b20745be11ef34357a..66edda1e96d22092d8c71cd52f0fa4c75ffefec6 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename UKI60998.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 11 )  Summary  = 0  ( 11 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 11  ( 11 )   Summary  = 105  ( 105 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 11  ( 11 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 42  ( 42 )
-TOLERANCE   : MaxTol   =         1e-005  ( 1.210776757e-007 )  AvgTol   =  1.545259562e-006  (  1.010754665e-007 )
-LABELS      : N0Labels = 11  ( 11 )  N1Labels = 0  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 11  ( 24 )   NameLabels = 11  ( 24 )   ColorLabels = 11  ( 24 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = ORANGERED  ( ORANGERED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+checkxstat D_First -n0 11 -n1 13 -n2 0 -total 24 -withname 24 -withcolor 24 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { ORANGERED } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 11 -shape 105
+checkstatshape res_1 -solid 0 -shell 0 -face 11 -freewire 0 -freeedge 0 -sharededge 42
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.210776757e-007 -avg 1.010754665e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 11 -n1 13 -n2 0 -total 24 -withname 24 -withcolor 24 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 11 -n1 0 -n2 0 -total 11 -withname 11 -withcolor 11 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { ORANGERED  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 11 -shape 105 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 11 -freewire 0 -freeedge 0 -sharededge 42 -max_solid 0 -max_shell 0 -max_face 11 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-005 -avg 1.545259562e-006 -max_tol ${max_tol_res_1}
+
index 13557bbaa394dfb323cc1004139e002ac4d72b11..e26ed6b264a3dc6ca68e1aa925c746d130ed5d4f 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename USA60023-1.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 3 )  Warnings = 0  ( 0 )  Summary  = 0  ( 3 )
-TPSTAT      : Faulties = 0  ( 90 )  Warnings = 0  ( 67 )  Summary  = 0  ( 157 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 10500  ( 10502 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 22  ( 22 )   FreeEdge  = 3530 ( 3530 )   SharedEdge = 3530  ( 3530 )
-TOLERANCE   : MaxTol   =          1e-07  (          1e-07 )  AvgTol   =           1e-07  (           1e-07 )
-LABELS      : N0Labels = 2969  ( 2969 )  N1Labels = 535  ( 419 )  N2Labels = 0  ( 0 )   TotalLabels = 3504  ( 3388 )   NameLabels = 2969  ( 2969 )   ColorLabels = 2305  ( 2287 )   LayerLabels = 3288  ( 3308 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 6  ( 6 )
-COLORS      : Colors   = BLUE1 CYAN1 GREEN MAGENTA1 RED YELLOW  ( BLUE1 CYAN1 GREEN MAGENTA1 RED YELLOW )
-NLAYERS     : NLayers  = 28  ( 29 )
-LAYERS      : Layers   = 10 106 107 11 12 13 14 2 20 21 22 24 250 3 30 31 32 4 40 5 52 6 60 61 7 70 72 9  ( 10 106 107 11 12 13 14 199 2 20 21 22 24 250 3 30 31 32 4 40 5 52 6 60 61 7 70 72 9 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 3
+checkdoc "tpstat c" -max_warns 67 -max_faults 90
+checkxstat D_First -n0 2969 -n1 419 -n2 0 -total 3388 -withname 2969 -withcolor 2287 -withlayer 3308 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 RED YELLOW } -nbcolors 6 -layers { 10 106 107 11 12 13 14 199 2 20 21 22 24 250 3 30 31 32 4 40 5 52 6 60 61 7 70 72 9 } -nblayers 29
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 10502
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 22 -freeedge 3530 -sharededge 3530
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-07 -avg 1e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 3
+checkdoc "tpstat c" -max_warns 67 -max_faults 90
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2969 -n1 419 -n2 0 -total 3388 -withname 2969 -withcolor 2287 -withlayer 3308 -centroid 0 -volume 0 -area 0 -nbcolors 6 -nblayers 29
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2969 -n1 535 -n2 0 -total 3504 -withname 2969 -withcolor 2305 -withlayer 3288 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 RED YELLOW  } -nbcolors 6 -layers { 10 106 107 11 12 13 14 2 20 21 22 24 250 3 30 31 32 4 40 5 52 6 60 61 7 70 72 9  } -nblayers 28
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 10500 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 22 -freeedge 3530 -sharededge 3530 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 22 -max_freeedge 3530
+checkmaxtol res_2 -tol 1e-07 -avg 1e-07 -max_tol ${max_tol_res_1}
+
index 35264837441f568701517c1151720fa0525193f0..cc931d5855481409bcf003f3208e2dc53df8735d 100644 (file)
@@ -1,23 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-set LinuxDiff 3
-set LinuxFaulties {NBSHAPES}
 set filename USA60231.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 1 )  Warnings = 0  ( 0 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 650  ( 1843 )  Summary  = 650  ( 1843 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 692  ( 692 )   Summary  = 17131  ( 17126 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 692  ( 692 )   FreeWire = 5  ( 5 )   FreeEdge  = 36 ( 36 )   SharedEdge = 7867  ( 7867 )
-TOLERANCE   : MaxTol   = 1.089725986e-005  ( 1.089659651e-005 )  AvgTol   =  1.975835144e-006  (  9.652818162e-006 )
-LABELS      : N0Labels = 693  ( 693 )  N1Labels = 10  ( 1399 )  N2Labels = 0  ( 0 )   TotalLabels = 703  ( 2092 )   NameLabels = 693  ( 1341 )   ColorLabels = 692  ( 2092 )   LayerLabels = 692  ( 2092 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 4 )
-COLORS      : Colors   = CYAN1 WHITE YELLOW  ( CYAN1 GREEN3 WHITE YELLOW )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = 10 3  ( 10 3 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 1843 -max_faults 0
+checkxstat D_First -n0 693 -n1 1399 -n2 0 -total 2092 -withname 1341 -withcolor 2092 -withlayer 2092 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN3 WHITE YELLOW } -nbcolors 4 -layers { 10 3 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 692 -shape 17126
+checkstatshape res_1 -solid 0 -shell 0 -face 692 -freewire 5 -freeedge 36 -sharededge 7867
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.089659651e-005 -avg 9.652818162e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 1843 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 650 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 693 -n1 1399 -n2 0 -total 2092 -withname 1341 -withcolor 2092 -withlayer 2092 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 693 -n1 10 -n2 0 -total 703 -withname 693 -withcolor 692 -withlayer 692 -centroid 0 -volume 0 -area 0 -colors { CYAN1 WHITE YELLOW  } -nbcolors 3 -layers { 10 3  } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 692 -shape 17131 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 692 -freewire 5 -freeedge 36 -sharededge 7867 -max_solid 0 -max_shell 0 -max_face 692 -max_freewire 5 -max_freeedge 36
+checkmaxtol res_2 -tol 1.089725986e-005 -avg 1.975835144e-006 -max_tol ${max_tol_res_1}
+
index f765bd0e1d50109c779e2df44c5e604603991497..580ff46747677ab6a96807a9bda54997403ff51c 100644 (file)
@@ -1,23 +1,55 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
-puts "TODO CR25013 ALL: Error : 2 differences with reference data found" 
-
+puts "TODO CR25013 ALL: Error :  is WRONG because number of SHAPE entities in shape"
+puts "TODO CR25013 ALL: STATSHAPE : Faulty ref number of shared edges in command statshape"
 
 set filename bmarkmdl.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 121  ( 4199 )  Summary  = 121  ( 4199 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 440  ( 440 )   Summary  = 9077  ( 9077 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 440  ( 440 )   FreeWire = 20  ( 20 )   FreeEdge  = 220 ( 220 )   SharedEdge = 4083  ( 4083 )
-TOLERANCE   : MaxTol   =  0.07954526757  (  0.04419037521 )  AvgTol   =  0.0008428584881  (  0.0007103047948 )
-LABELS      : N0Labels = 47  ( 47 )  N1Labels = 426  ( 426 )  N2Labels = 0  ( 0 )   TotalLabels = 473  ( 473 )   NameLabels = 473  ( 473 )   ColorLabels = 439  ( 439 )   LayerLabels = 452  ( 472 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = BLUE1 GREEN RED WHITE YELLOW  ( BLUE1 GREEN RED WHITE YELLOW )
-NLAYERS     : NLayers  = 5  ( 5 )
-LAYERS      : Layers   = 1 12 2 3 6  ( 1 12 2 3 6 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4244 -max_faults 0
+checkxstat D_First -n0 47 -n1 426 -n2 0 -total 473 -withname 473 -withcolor 439 -withlayer 472 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED WHITE YELLOW } -nbcolors 5 -layers { 1 12 2 3 6 } -nblayers 5
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 440 -shape 9077
+checkstatshape res_1 -solid 0 -shell 0 -face 440 -freewire 20 -freeedge 220 -sharededge 4083
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.04419037521 -avg 0.0007103047948]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4244 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 127 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 47 -n1 426 -n2 0 -total 473 -withname 473 -withcolor 439 -withlayer 472 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 5
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 47 -n1 426 -n2 0 -total 473 -withname 473 -withcolor 439 -withlayer 452 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED WHITE YELLOW  } -nbcolors 5 -layers { 1 12 2 3 6  } -nblayers 5
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 440 -shape 9077 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 440 -freewire 20 -freeedge 220 -sharededge 4083 -max_solid 0 -max_shell 0 -max_face 440 -max_freewire 20 -max_freeedge 220
+checkmaxtol res_2 -tol 0.07954526757 -avg 0.0008428584881 -max_tol ${max_tol_res_1}
+
index 384968f9e043c2a1ba890ca6abda217916e20fb6..2dc8115151ef055a6a2e48bde46c44508f5c51c4 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename carenage.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 2 )  Warnings = 0  ( 48 )  Summary  = 0  ( 50 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 12  ( 6 )   Summary  = 743  ( 624 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 12  ( 12 )   FreeWire = 40  ( 40 )   FreeEdge  = 188 ( 188 )   SharedEdge = 296  ( 242 )
-TOLERANCE   : MaxTol   =   0.2600681266  (    7.241630725 )  AvgTol   =   0.03297721346  (    0.4073375928 )
-LABELS      : N0Labels = 7  ( 7 )  N1Labels = 44  ( 90 )  N2Labels = 0  ( 0 )   TotalLabels = 51  ( 97 )   NameLabels = 51  ( 97 )   ColorLabels = 50  ( 96 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = RED WHITE  ( RED WHITE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 20 -max_faults 0
+checkdoc "tpstat c" -max_warns 50 -max_faults 2
+checkxstat D_First -n0 7 -n1 90 -n2 0 -total 97 -withname 97 -withcolor 96 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { RED WHITE } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 6 -shape 624
+checkstatshape res_1 -solid 0 -shell 0 -face 12 -freewire 40 -freeedge 188 -sharededge 242
+set max_tol_res_1 [checkmaxtol res_1 -tol 7.241630725 -avg 0.4073375928]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 20 -max_faults 0
+checkdoc "tpstat c" -max_warns 50 -max_faults 2
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 7 -n1 90 -n2 0 -total 97 -withname 97 -withcolor 96 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 7 -n1 44 -n2 0 -total 51 -withname 51 -withcolor 50 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { RED WHITE  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 12 -shape 743 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 12 -freewire 40 -freeedge 188 -sharededge 296 -max_solid 0 -max_shell 0 -max_face 12 -max_freewire 40 -max_freeedge 188
+checkmaxtol res_2 -tol 0.2600681266 -avg 0.03297721346 -max_tol ${max_tol_res_1}
+
index 86580fb15240e2a973c43db0a5377a99349468b3..0cbfee37830603d70ff1b69046da2902bd42243b 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename ctadtrim.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 32  ( 2370 )  Summary  = 32  ( 2370 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 27  ( 27 )   Summary  = 3490  ( 3490 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 27  ( 27 )   FreeWire = 99  ( 99 )   FreeEdge  = 997 ( 997 )   SharedEdge = 1585  ( 1585 )
-TOLERANCE   : MaxTol   =   0.5378466765  (   0.5378466739 )  AvgTol   =  0.002037884253  (  0.002048016175 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 72  ( 171 )  N2Labels = 0  ( 0 )   TotalLabels = 73  ( 172 )   NameLabels = 73  ( 172 )   ColorLabels = 72  ( 171 )   LayerLabels = 72  ( 171 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = GREEN RED YELLOW  ( GREEN RED YELLOW )
-NLAYERS     : NLayers  = 29  ( 32 )
-LAYERS      : Layers   = 1 102 103 104 105 106 107 108 109 12 13 14 16 18 19 20 21 22 23 24 4 42 43 7 72 73 74 75 76  ( 1 102 103 104 105 106 107 108 109 12 13 14 15 16 17 18 19 20 21 22 23 24 4 42 43 7 72 73 74 75 76 77 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2377 -max_faults 0
+checkxstat D_First -n0 1 -n1 171 -n2 0 -total 172 -withname 172 -withcolor 171 -withlayer 171 -centroid 0 -volume 0 -area 0 -colors { GREEN RED YELLOW } -nbcolors 3 -layers { 1 102 103 104 105 106 107 108 109 12 13 14 15 16 17 18 19 20 21 22 23 24 4 42 43 7 72 73 74 75 76 77 } -nblayers 32
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 27 -shape 3490
+checkstatshape res_1 -solid 0 -shell 0 -face 27 -freewire 99 -freeedge 997 -sharededge 1585
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.5378466739 -avg 0.002048016175]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2377 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 32 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 171 -n2 0 -total 172 -withname 172 -withcolor 171 -withlayer 171 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 32
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 72 -n2 0 -total 73 -withname 73 -withcolor 72 -withlayer 72 -centroid 0 -volume 0 -area 0 -colors { GREEN RED YELLOW  } -nbcolors 3 -layers { 1 102 103 104 105 106 107 108 109 12 13 14 16 18 19 20 21 22 23 24 4 42 43 7 72 73 74 75 76  } -nblayers 29
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 27 -shape 3490 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 27 -freewire 99 -freeedge 997 -sharededge 1585 -max_solid 0 -max_shell 0 -max_face 27 -max_freewire 99 -max_freeedge 997
+checkmaxtol res_2 -tol 0.5378466765 -avg 0.002037884253 -max_tol ${max_tol_res_1}
+
index 158d435c0e54b54ec021040d648c47c89832b1ef..495a0f5f46c566c9202e5e48322293675d9b9282 100644 (file)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
-puts "TODO CR25013 ALL: Error : 1 differences with reference data found" 
-
+puts "TODO CR25013 ALL: Error: Avg tolerance of res_"
 
 set filename cts17801.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 374 )  Summary  = 4  ( 374 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 208  ( 208 )   Summary  = 2504  ( 2504 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 208  ( 208 )   FreeWire = 0  ( 0 )   FreeEdge  = 6 ( 6 )   SharedEdge = 1038  ( 1038 )
-TOLERANCE   : MaxTol   =  0.08198937243  (  0.08606507237 )  AvgTol   =  0.003492787826  (  0.004037916818 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 214  ( 912 )  N2Labels = 0  ( 0 )   TotalLabels = 215  ( 913 )   NameLabels = 215  ( 311 )   ColorLabels = 214  ( 912 )   LayerLabels = 214  ( 912 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 5 )
-COLORS      : Colors   = BLUE1 GRAY73 WHITE YELLOW  ( BLUE1 GRAY73 GREEN WHITE YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 2  ( 2 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 419 -max_faults 0
+checkxstat D_First -n0 1 -n1 912 -n2 0 -total 913 -withname 311 -withcolor 912 -withlayer 912 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GRAY73 GREEN WHITE YELLOW } -nbcolors 5 -layers { 2 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 208 -shape 2504
+checkstatshape res_1 -solid 0 -shell 0 -face 208 -freewire 0 -freeedge 6 -sharededge 1038
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.08606507237 -avg 0.004037916818]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 419 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 912 -n2 0 -total 913 -withname 311 -withcolor 912 -withlayer 912 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 214 -n2 0 -total 215 -withname 215 -withcolor 214 -withlayer 214 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GRAY73 WHITE YELLOW  } -nbcolors 4 -layers { 2  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 208 -shape 2504 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 208 -freewire 0 -freeedge 6 -sharededge 1038 -max_solid 0 -max_shell 0 -max_face 208 -max_freewire 0 -max_freeedge 6
+checkmaxtol res_2 -tol 0.08198937243 -avg 0.003492787826 -max_tol ${max_tol_res_1}
+
index 2304e4711c5f50211e0e1becb592c29a56c7604e..df675936a5aa7ff842c9319846ef5169ca25c343 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-set LinuxDiff 1
 set filename igsBF5.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 17  ( 247 )  Summary  = 17  ( 247 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 47  ( 47 )   Summary  = 1536  ( 1536 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 47  ( 47 )   FreeWire = 1  ( 1 )   FreeEdge  = 2 ( 2 )   SharedEdge = 719  ( 719 )
-TOLERANCE   : MaxTol   =   0.4901518209  (   0.4901518209 )  AvgTol   =   0.01740968658  (   0.01741670629 )
-LABELS      : N0Labels = 48  ( 48 )  N1Labels = 0  ( 284 )  N2Labels = 0  ( 0 )   TotalLabels = 48  ( 332 )   NameLabels = 48  ( 77 )   ColorLabels = 47  ( 332 )   LayerLabels = 47  ( 332 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 2 )
-COLORS      : Colors   = MAGENTA1  ( MAGENTA1 YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 2  ( 2 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 249 -max_faults 0
+checkxstat D_First -n0 48 -n1 284 -n2 0 -total 332 -withname 77 -withcolor 332 -withlayer 332 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1 YELLOW } -nbcolors 2 -layers { 2 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 47 -shape 1536
+checkstatshape res_1 -solid 0 -shell 0 -face 47 -freewire 1 -freeedge 2 -sharededge 719
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.4901518209 -avg 0.01741670629]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 249 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 17 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 48 -n1 284 -n2 0 -total 332 -withname 77 -withcolor 332 -withlayer 332 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 48 -n1 0 -n2 0 -total 48 -withname 48 -withcolor 47 -withlayer 47 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1  } -nbcolors 1 -layers { 2  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 47 -shape 1536 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 47 -freewire 1 -freeedge 2 -sharededge 719 -max_solid 0 -max_shell 0 -max_face 47 -max_freewire 1 -max_freeedge 2
+checkmaxtol res_2 -tol 0.4901518209 -avg 0.01740968658 -max_tol ${max_tol_res_1}
+
index 7b90b92dfa64c61010245d44b0fd192cdcc8ce78..7400f046ac36060c139910fe5822e1d51e5a9a92 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-
 set filename ims007.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1381  ( 3523 )  Summary  = 1381  ( 3523 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1193  ( 1193 )   Summary  = 33427  ( 33404 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1193  ( 1193 )   FreeWire = 614  ( 614 )   FreeEdge  = 4178 ( 4178 )   SharedEdge = 12915  ( 12915 )
-TOLERANCE   : MaxTol   =   0.9901746983  (   0.9902737158 )  AvgTol   =  0.009634592427  (  0.009635093954 )
-LABELS      : N0Labels = 6194  ( 6194 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 6194  ( 6194 )   NameLabels = 6194  ( 6194 )   ColorLabels = 0  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 1 )
-COLORS      : Colors   =   ( YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 3541 -max_faults 0
+checkxstat D_First -n0 6194 -n1 0 -n2 0 -total 6194 -withname 6194 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { YELLOW } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1193 -shape 33404
+checkstatshape res_1 -solid 0 -shell 0 -face 1193 -freewire 614 -freeedge 4178 -sharededge 12915
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9902737158 -avg 0.009635093954]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 3541 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1381 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 6194 -n1 0 -n2 0 -total 6194 -withname 6194 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 6194 -n1 0 -n2 0 -total 6194 -withname 6194 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1193 -shape 33427 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1193 -freewire 614 -freeedge 4178 -sharededge 12915 -max_solid 0 -max_shell 0 -max_face 1193 -max_freewire 614 -max_freeedge 4178
+checkmaxtol res_2 -tol 0.9901746983 -avg 0.009634592427 -max_tol ${max_tol_res_1}
+
index fb5c6b3f1db6938d4200fd064bc9355d6dc77eff..e2bf0f61bdf1b5d13fe46febef531628602d976a 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-set LinuxDiff 1
 set filename ims010.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 15  ( 524 )  Summary  = 15  ( 524 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1177  ( 1177 )   Summary  = 18232  ( 18230 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1177  ( 1177 )   FreeWire = 5  ( 5 )   FreeEdge  = 714 ( 714 )   SharedEdge = 7614  ( 7614 )
-TOLERANCE   : MaxTol   =   0.8261873294  (   0.8261873283 )  AvgTol   =   0.01075755448  (   0.01076339213 )
-LABELS      : N0Labels = 1884  ( 1885 )  N1Labels = 0  ( 986 )  N2Labels = 0  ( 0 )   TotalLabels = 1884  ( 2871 )   NameLabels = 1884  ( 1885 )   ColorLabels = 1873  ( 2870 )   LayerLabels = 1873  ( 2870 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 7  ( 7 )
-COLORS      : Colors   = BLACK BLUE1 CYAN1 GREEN RED WHITE YELLOW  ( BLACK BLUE1 CYAN1 GREEN RED WHITE YELLOW )
-NLAYERS     : NLayers  = 28  ( 28 )
-LAYERS      : Layers   = 1 101 103 104 107 108 114 12 121 122 124 125 126 127 128 13 14 15 2 20 3 30 31 33 48 49 50 51  ( 1 101 103 104 107 108 114 12 121 122 124 125 126 127 128 13 14 15 2 20 3 30 31 33 48 49 50 51 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 524 -max_faults 0
+checkxstat D_First -n0 1885 -n1 986 -n2 0 -total 2871 -withname 1885 -withcolor 2870 -withlayer 2870 -centroid 0 -volume 0 -area 0 -colors { BLACK BLUE1 CYAN1 GREEN RED WHITE YELLOW } -nbcolors 7 -layers { 1 101 103 104 107 108 114 12 121 122 124 125 126 127 128 13 14 15 2 20 3 30 31 33 48 49 50 51 } -nblayers 28
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1177 -shape 18230
+checkstatshape res_1 -solid 0 -shell 0 -face 1177 -freewire 5 -freeedge 714 -sharededge 7614
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.8261873283 -avg 0.01076339213]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 524 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1885 -n1 986 -n2 0 -total 2871 -withname 1885 -withcolor 2870 -withlayer 2870 -centroid 0 -volume 0 -area 0 -nbcolors 7 -nblayers 28
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1884 -n1 0 -n2 0 -total 1884 -withname 1884 -withcolor 1873 -withlayer 1873 -centroid 0 -volume 0 -area 0 -colors { BLACK BLUE1 CYAN1 GREEN RED WHITE YELLOW  } -nbcolors 7 -layers { 1 101 103 104 107 108 114 12 121 122 124 125 126 127 128 13 14 15 2 20 3 30 31 33 48 49 50 51  } -nblayers 28
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1177 -shape 18232 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1177 -freewire 5 -freeedge 714 -sharededge 7614 -max_solid 0 -max_shell 0 -max_face 1177 -max_freewire 5 -max_freeedge 714
+checkmaxtol res_2 -tol 0.8261873294 -avg 0.01075755448 -max_tol ${max_tol_res_1}
+
index 025d6a0311638a0568bcf8a945d1388b40b02c09..de99fe4509af050f274039bc933d5e1b97f1615c 100644 (file)
@@ -1,24 +1,55 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR22923 ALL: NBSHAPES : Faulty"
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename 1stdraw.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 72  ( 1085 )  Summary  = 72  ( 1085 )
-CHECKSHAPE  : Wires    = 0  ( 1 )  Faces    = 1  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1628  ( 1628 )   Summary  = 21878  ( 21886 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1628  ( 1628 )   FreeWire = 16  ( 17 )   FreeEdge  = 625 ( 625 )   SharedEdge = 9294  ( 9298 )
-TOLERANCE   : MaxTol   =   0.9993613167  (   0.9993613167 )  AvgTol   =   0.01637966588  (   0.01644116474 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 1632  ( 3592 )  N2Labels = 0  ( 0 )   TotalLabels = 1635  ( 3595 )   NameLabels = 1635  ( 2037 )   ColorLabels = 1632  ( 3594 )   LayerLabels = 1632  ( 3594 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 4 )
-COLORS      : Colors   = BLUE1 GREEN MAGENTA1  ( BLUE1 GREEN MAGENTA1 RED )
-NLAYERS     : NLayers  = 6  ( 7 )
-LAYERS      : Layers   = 1 10 15 18 20 30  ( 1 10 13 15 18 20 30 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1081 -max_faults 0
+checkxstat D_First -n0 3 -n1 3592 -n2 0 -total 3595 -withname 2037 -withcolor 3594 -withlayer 3594 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN MAGENTA1 RED } -nbcolors 4 -layers { 1 10 13 15 18 20 30 } -nblayers 7
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1628 -shape 21886
+checkstatshape res_1 -solid 0 -shell 0 -face 1628 -freewire 17 -freeedge 625 -sharededge 9298
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9993613167 -avg 0.01644116474]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1081 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 72 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 3592 -n2 0 -total 3595 -withname 2037 -withcolor 3594 -withlayer 3594 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 7
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 1632 -n2 0 -total 1635 -withname 1635 -withcolor 1632 -withlayer 1632 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN MAGENTA1  } -nbcolors 3 -layers { 1 10 15 18 20 30  } -nblayers 6
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1628 -shape 21878 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1628 -freewire 16 -freeedge 625 -sharededge 9294 -max_solid 0 -max_shell 0 -max_face 1628 -max_freewire 17 -max_freeedge 625
+checkmaxtol res_2 -tol 0.9993613167 -avg 0.01637966588 -max_tol ${max_tol_res_1}
+
index 1f1b0da7bf37e0a9f7e76e2d78d02789a3974192..7d7e0345b2118b62df9c14398e69beb225fc7fc8 100644 (file)
@@ -1,24 +1,55 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename BUC40135.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 37  ( 552 )  Summary  = 37  ( 552 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 105  ( 105 )   Summary  = 4420  ( 4546 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 105  ( 105 )   FreeWire = 138  ( 262 )   FreeEdge  = 899 ( 899 )   SharedEdge = 1755  ( 1756 )
-TOLERANCE   : MaxTol   =   0.7848432514  (   0.7848432514 )  AvgTol   =   0.01536876498  (   0.01704046179 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 530  ( 1068 )  N2Labels = 0  ( 0 )   TotalLabels = 531  ( 1069 )   NameLabels = 531  ( 738 )   ColorLabels = 530  ( 1068 )   LayerLabels = 494  ( 1010 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 6  ( 7 )
-COLORS      : Colors   = BLUE1 CYAN1 GREEN MAGENTA1 WHITE YELLOW  ( BLUE1 CYAN1 GREEN MAGENTA1 RED WHITE YELLOW )
-NLAYERS     : NLayers  = 11  ( 12 )
-LAYERS      : Layers   = 10 110 111 121 131 2 3 5 51 7 9  ( 10 110 111 121 131 2 3 5 51 6 7 9 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 556 -max_faults 0
+checkxstat D_First -n0 1 -n1 1068 -n2 0 -total 1069 -withname 738 -withcolor 1068 -withlayer 1010 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 RED WHITE YELLOW } -nbcolors 7 -layers { 10 110 111 121 131 2 3 5 51 6 7 9 } -nblayers 12
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 105 -shape 4546
+checkstatshape res_1 -solid 0 -shell 0 -face 105 -freewire 262 -freeedge 899 -sharededge 1756
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.7848432514 -avg 0.01704046179]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 556 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 37 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 1068 -n2 0 -total 1069 -withname 738 -withcolor 1068 -withlayer 1010 -centroid 0 -volume 0 -area 0 -nbcolors 7 -nblayers 12
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 530 -n2 0 -total 531 -withname 531 -withcolor 530 -withlayer 494 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 WHITE YELLOW  } -nbcolors 6 -layers { 10 110 111 121 131 2 3 5 51 7 9  } -nblayers 11
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 105 -shape 4420 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 105 -freewire 138 -freeedge 899 -sharededge 1755 -max_solid 0 -max_shell 0 -max_face 105 -max_freewire 262 -max_freeedge 899
+checkmaxtol res_2 -tol 0.7848432514 -avg 0.01536876498 -max_tol ${max_tol_res_1}
+
index 892320bcefc3943900b2841d3503dc7316844dea..33de1b409c963956072d6e0142be25055e521321 100644 (file)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR25923 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename modelinf.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 5 )  Summary  = 2  ( 5 )
-CHECKSHAPE  : Wires    = 1  ( 0 )  Faces    = 1  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1480  ( 1479 )   Summary  = 18285  ( 18278 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1480  ( 1479 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 7706  ( 7703 )
-TOLERANCE   : MaxTol   =   0.9794963919  (   0.9794963919 )  AvgTol   =   0.04036580167  (   0.04037199234 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1479 -shape 18278
+checkstatshape res_1 -solid 0 -shell 0 -face 1479 -freewire 0 -freeedge 0 -sharededge 7703
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9794963919 -avg 0.04037199234]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1480 -shape 18285 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1480 -freewire 0 -freeedge 0 -sharededge 7706 -max_solid 0 -max_shell 0 -max_face 1479 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9794963919 -avg 0.04036580167 -max_tol ${max_tol_res_1}
+
index 51367769ed3a0db6cb25c6166f5d5711a49f4462..6c9f4658d1604b9e20900985bcc513be59e7e2fd 100755 (executable)
@@ -1,25 +1,56 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: DATA : Faulty" 
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename BUC50029.igs
 
-set ref_data {
-DATA        : Faulties = 22  ( 0 )  Warnings = 0  ( 0 )  Summary  = 22  ( 0 )
-TPSTAT      : Faulties = 44  ( 0 )  Warnings = 169  ( 1291 )  Summary  = 213  ( 1291 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 1  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 270  ( 270 )   Summary  = 8171  ( 8283 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 270  ( 270 )   FreeWire = 108  ( 108 )   FreeEdge  = 606 ( 606 )   SharedEdge = 3685  ( 3689 )
-TOLERANCE   : MaxTol   = 2.113937626e+17  ( 2.113937968e+17 )  AvgTol   =  9.737589861e+13  (  9.762248147e+13 )
-LABELS      : N0Labels = 7  ( 7 )  N1Labels = 450  ( 2042 )  N2Labels = 0  ( 0 )   TotalLabels = 457  ( 2049 )   NameLabels = 457  ( 698 )   ColorLabels = 450  ( 2043 )   LayerLabels = 449  ( 2042 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 7  ( 7 )
-COLORS      : Colors   = BLUE1 GREEN MAGENTA1 RED RED3 WHITE YELLOW  ( BLUE1 GREEN MAGENTA1 RED RED3 WHITE YELLOW )
-NLAYERS     : NLayers  = 27  ( 29 )
-LAYERS      : Layers   = 10 11 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 180 4 5 6 7 8  ( 1 10 11 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 4 5 6 7 8 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1296 -max_faults 0
+checkxstat D_First -n0 7 -n1 2042 -n2 0 -total 2049 -withname 698 -withcolor 2043 -withlayer 2042 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN MAGENTA1 RED RED3 WHITE YELLOW } -nbcolors 7 -layers { 1 10 11 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 4 5 6 7 8 } -nblayers 29
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 270 -shape 8283
+checkstatshape res_1 -solid 0 -shell 0 -face 270 -freewire 108 -freeedge 606 -sharededge 3689
+set max_tol_res_1 [checkmaxtol res_1 -tol 2.113937968e+17 -avg 9.762248147e+13]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1296 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 22
+checkdoc "tpstat c" -max_warns 405 -max_faults 44
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 7 -n1 2042 -n2 0 -total 2049 -withname 698 -withcolor 2043 -withlayer 2042 -centroid 0 -volume 0 -area 0 -nbcolors 7 -nblayers 29
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 7 -n1 450 -n2 0 -total 457 -withname 457 -withcolor 450 -withlayer 449 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN MAGENTA1 RED RED3 WHITE YELLOW  } -nbcolors 7 -layers { 10 11 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 180 4 5 6 7 8  } -nblayers 27
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 270 -shape 8171 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 270 -freewire 108 -freeedge 606 -sharededge 3685 -max_solid 0 -max_shell 0 -max_face 270 -max_freewire 108 -max_freeedge 606
+checkmaxtol res_2 -tol 2.113937626e+17 -avg 9.737589861e+13 -max_tol ${max_tol_res_1}
+
index f073fbce6d63a03a98f92d0c61997b9b8988f51d..2a69c7e41ab9afabef7bb25021a8b0d53c43c913 100755 (executable)
@@ -1,24 +1,55 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename BUC60192.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 369 )  Warnings = 22  ( 979 )  Summary  = 22  ( 1348 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 73  ( 73 )   Summary  = 13303  ( 13312 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 73  ( 73 )   FreeWire = 409  ( 414 )   FreeEdge  = 4891 ( 4891 )   SharedEdge = 5892  ( 5893 )
-TOLERANCE   : MaxTol   =   0.6679845366  (   0.6679845366 )  AvgTol   =  0.004666698119  (  0.004573791805 )
-LABELS      : N0Labels = 4  ( 7 )  N1Labels = 804  ( 1805 )  N2Labels = 0  ( 0 )   TotalLabels = 808  ( 1812 )   NameLabels = 744  ( 1292 )   ColorLabels = 804  ( 1802 )   LayerLabels = 208  ( 884 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 6  ( 7 )
-COLORS      : Colors   = CYAN1 GREEN MAGENTA1 MAGENTA4 RED WHITE  ( BLUE1 CYAN1 GREEN MAGENTA1 MAGENTA4 RED WHITE )
-NLAYERS     : NLayers  = 6  ( 10 )
-LAYERS      : Layers   = 200 214 240 4 51 7  ( 192 200 214 221 239 240 255 4 51 7 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 983 -max_faults 369
+checkxstat D_First -n0 7 -n1 1805 -n2 0 -total 1812 -withname 1292 -withcolor 1802 -withlayer 884 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 MAGENTA4 RED WHITE } -nbcolors 7 -layers { 192 200 214 221 239 240 255 4 51 7 } -nblayers 10
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 73 -shape 13312
+checkstatshape res_1 -solid 0 -shell 0 -face 73 -freewire 414 -freeedge 4891 -sharededge 5893
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.6679845366 -avg 0.004573791805]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 983 -max_faults 369
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 24 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 7 -n1 1805 -n2 0 -total 1812 -withname 1292 -withcolor 1802 -withlayer 884 -centroid 0 -volume 0 -area 0 -nbcolors 7 -nblayers 10
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 804 -n2 0 -total 808 -withname 744 -withcolor 804 -withlayer 208 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN MAGENTA1 MAGENTA4 RED WHITE  } -nbcolors 6 -layers { 200 214 240 4 51 7  } -nblayers 6
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 73 -shape 13303 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 73 -freewire 409 -freeedge 4891 -sharededge 5892 -max_solid 0 -max_shell 0 -max_face 73 -max_freewire 414 -max_freeedge 4891
+checkmaxtol res_2 -tol 0.6679845366 -avg 0.004666698119 -max_tol ${max_tol_res_1}
+
index 2859a3424461c2e41d7506ee684a7f3df6250b9c..5b8933b75d19ccb5ee033eb8b00b718524c08caa 100755 (executable)
@@ -1,24 +1,55 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename BUC60195.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 367 )  Warnings = 57  ( 1205 )  Summary  = 57  ( 1572 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 211  ( 211 )   Summary  = 12556  ( 12569 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 211  ( 211 )   FreeWire = 255  ( 267 )   FreeEdge  = 3643 ( 3643 )   SharedEdge = 5784  ( 5784 )
-TOLERANCE   : MaxTol   =   0.9498862984  (   0.9498862984 )  AvgTol   =  0.008210118978  (  0.008216800661 )
-LABELS      : N0Labels = 3  ( 6 )  N1Labels = 454  ( 1912 )  N2Labels = 0  ( 0 )   TotalLabels = 457  ( 1918 )   NameLabels = 393  ( 870 )   ColorLabels = 454  ( 1909 )   LayerLabels = 386  ( 1892 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 7 )
-COLORS      : Colors   = CYAN1 GREEN MAGENTA1 RED WHITE  ( BLUE1 CYAN1 GREEN MAGENTA1 RED WHITE YELLOW )
-NLAYERS     : NLayers  = 3  ( 6 )
-LAYERS      : Layers   = 200 240 4  ( 192 200 239 240 255 4 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1209 -max_faults 367
+checkxstat D_First -n0 6 -n1 1912 -n2 0 -total 1918 -withname 870 -withcolor 1909 -withlayer 1892 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 RED WHITE YELLOW } -nbcolors 7 -layers { 192 200 239 240 255 4 } -nblayers 6
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 211 -shape 12569
+checkstatshape res_1 -solid 0 -shell 0 -face 211 -freewire 267 -freeedge 3643 -sharededge 5784
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9498862984 -avg 0.008216800661]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1209 -max_faults 367
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 64 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 6 -n1 1912 -n2 0 -total 1918 -withname 870 -withcolor 1909 -withlayer 1892 -centroid 0 -volume 0 -area 0 -nbcolors 7 -nblayers 6
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 454 -n2 0 -total 457 -withname 393 -withcolor 454 -withlayer 386 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN MAGENTA1 RED WHITE  } -nbcolors 5 -layers { 200 240 4  } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 211 -shape 12556 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 211 -freewire 255 -freeedge 3643 -sharededge 5784 -max_solid 0 -max_shell 0 -max_face 211 -max_freewire 267 -max_freeedge 3643
+checkmaxtol res_2 -tol 0.9498862984 -avg 0.008210118978 -max_tol ${max_tol_res_1}
+
index 050bacf8f201760e081f4fd196a9e1f5a203d662..efd3cb9c21beff48e8a65ab01767f9463a5d7899 100755 (executable)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: DATA : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-set LinuxDiff 2
 set filename buc60894.igs
 
-set ref_data {
-DATA        : Faulties = 15  ( 0 )  Warnings = 0  ( 0 )  Summary  = 15  ( 0 )
-TPSTAT      : Faulties = 30  ( 36 )  Warnings = 559  ( 1854 )  Summary  = 589  ( 1890 )
-CHECKSHAPE  : Wires    = 5  ( 6 )  Faces    = 5  ( 6 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 3499  ( 3499 )   Summary  = 43148  ( 43109 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 3499  ( 3499 )   FreeWire = 0  ( 0 )   FreeEdge  = 164 ( 164 )   SharedEdge = 18139  ( 18117 )
-TOLERANCE   : MaxTol   =   0.9816000285  (    5.284023931 )  AvgTol   =   0.02460215735  (   0.02803309188 )
-LABELS      : N0Labels = 12  ( 30 )  N1Labels = 3661  ( 3664 )  N2Labels = 0  ( 0 )   TotalLabels = 3673  ( 3694 )   NameLabels = 1379  ( 3694 )   ColorLabels = 3661  ( 3660 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 10  ( 11 )
-COLORS      : Colors   = BLUE1 DEEPSKYBLUE2 DODGERBLUE2 GREEN MAGENTA1 ORANGE ORANGERED RED TURQUOISE4 WHITE  ( BLUE1 DEEPSKYBLUE2 DODGERBLUE2 GREEN MAGENTA1 ORANGE ORANGERED RED TURQUOISE4 WHITE YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1854 -max_faults 36
+checkxstat D_First -n0 30 -n1 3664 -n2 0 -total 3694 -withname 3694 -withcolor 3660 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 DEEPSKYBLUE2 DODGERBLUE2 GREEN MAGENTA1 ORANGE ORANGERED RED TURQUOISE4 WHITE YELLOW } -nbcolors 11 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 6 -max_faces 6 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 3499 -shape 43109
+checkstatshape res_1 -solid 0 -shell 0 -face 3499 -freewire 0 -freeedge 164 -sharededge 18117
+set max_tol_res_1 [checkmaxtol res_1 -tol 5.284023931 -avg 0.02803309188]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1854 -max_faults 36
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 15
+checkdoc "tpstat c" -max_warns 599 -max_faults 30
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 30 -n1 3664 -n2 0 -total 3694 -withname 3694 -withcolor 3660 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 11 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 12 -n1 3661 -n2 0 -total 3673 -withname 1379 -withcolor 3661 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 DEEPSKYBLUE2 DODGERBLUE2 GREEN MAGENTA1 ORANGE ORANGERED RED TURQUOISE4 WHITE  } -nbcolors 10 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 6 -max_faces 6 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 5 -max_faces 5 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 3499 -shape 43148 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 3499 -freewire 0 -freeedge 164 -sharededge 18139 -max_solid 0 -max_shell 0 -max_face 3499 -max_freewire 0 -max_freeedge 164
+checkmaxtol res_2 -tol 0.9816000285 -avg 0.02460215735 -max_tol ${max_tol_res_1}
+
index 1f04e654a23d0ded9dbe0e5d5c062e47e1988cb0..78ada591707a730d2527408b033b500c3a593c2b 100755 (executable)
@@ -1,24 +1,55 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: DATA : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename BUC60898.igs
 
-set ref_data {
-DATA        : Faulties = 3  ( 0 )  Warnings = 0  ( 0 )  Summary  = 3  ( 0 )
-TPSTAT      : Faulties = 6  ( 126 )  Warnings = 18  ( 675 )  Summary  = 24  ( 801 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 91  ( 91 )   Summary  = 24023  ( 23781 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 91  ( 91 )   FreeWire = 304  ( 372 )   FreeEdge  = 7210 ( 7210 )   SharedEdge = 10377  ( 10271 )
-TOLERANCE   : MaxTol   =   0.0779303086  (  0.07793030858 )  AvgTol   =  6.701253429e-05  (  0.0001033335359 )
-LABELS      : N0Labels = 4  ( 38 )  N1Labels = 2509  ( 4250 )  N2Labels = 0  ( 0 )   TotalLabels = 2513  ( 4288 )   NameLabels = 2357  ( 2884 )   ColorLabels = 2509  ( 4215 )   LayerLabels = 249  ( 515 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 6  ( 7 )
-COLORS      : Colors   = BLUE1 GREEN MAGENTA1 RED WHITE YELLOW  ( BLUE1 CYAN1 GREEN MAGENTA1 RED WHITE YELLOW )
-NLAYERS     : NLayers  = 3  ( 4 )
-LAYERS      : Layers   = 255 30 50  ( 255 30 5 50 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 676 -max_faults 126
+checkxstat D_First -n0 38 -n1 4250 -n2 0 -total 4288 -withname 2884 -withcolor 4215 -withlayer 515 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 RED WHITE YELLOW } -nbcolors 7 -layers { 255 30 5 50 } -nblayers 4
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 91 -shape 23781
+checkstatshape res_1 -solid 0 -shell 0 -face 91 -freewire 372 -freeedge 7210 -sharededge 10271
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.07793030858 -avg 0.0001033335359]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 676 -max_faults 126
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 3
+checkdoc "tpstat c" -max_warns 18 -max_faults 6
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 38 -n1 4250 -n2 0 -total 4288 -withname 2884 -withcolor 4215 -withlayer 515 -centroid 0 -volume 0 -area 0 -nbcolors 7 -nblayers 4
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 2509 -n2 0 -total 2513 -withname 2357 -withcolor 2509 -withlayer 249 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN MAGENTA1 RED WHITE YELLOW  } -nbcolors 6 -layers { 255 30 50  } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 91 -shape 24023 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 91 -freewire 304 -freeedge 7210 -sharededge 10377 -max_solid 0 -max_shell 0 -max_face 91 -max_freewire 372 -max_freeedge 7210
+checkmaxtol res_2 -tol 0.0779303086 -avg 6.701253429e-05 -max_tol ${max_tol_res_1}
+
index 901ed32ec065e45f7a941beae3f75ee764083f95..8eda7cdf0c2b84348b20e0533bfd15d873c226a4 100755 (executable)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename BUC61004-4.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 2 )  Warnings = 0  ( 0 )  Summary  = 0  ( 2 )
-TPSTAT      : Faulties = 0  ( 146 )  Warnings = 0  ( 153 )  Summary  = 0  ( 299 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 923  ( 934 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 7  ( 7 )   FreeEdge  = 315 ( 315 )   SharedEdge = 315  ( 315 )
-TOLERANCE   : MaxTol   =          1e-07  (          1e-07 )  AvgTol   =           1e-07  (           1e-07 )
-LABELS      : N0Labels = 5  ( 16 )  N1Labels = 284  ( 298 )  N2Labels = 0  ( 0 )   TotalLabels = 289  ( 314 )   NameLabels = 5  ( 27 )   ColorLabels = 284  ( 309 )   LayerLabels = 124  ( 309 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 5 )
-COLORS      : Colors   = RED WHITE  ( CYAN1 GREEN RED WHITE YELLOW )
-NLAYERS     : NLayers  = 3  ( 4 )
-LAYERS      : Layers   = 1 2 3  ( 1 11 2 3 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 153 -max_faults 146
+checkxstat D_First -n0 16 -n1 298 -n2 0 -total 314 -withname 27 -withcolor 309 -withlayer 309 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN RED WHITE YELLOW } -nbcolors 5 -layers { 1 11 2 3 } -nblayers 4
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 934
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 7 -freeedge 315 -sharededge 315
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-07 -avg 1e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 153 -max_faults 146
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 16 -n1 298 -n2 0 -total 314 -withname 27 -withcolor 309 -withlayer 309 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 4
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 284 -n2 0 -total 289 -withname 5 -withcolor 284 -withlayer 124 -centroid 0 -volume 0 -area 0 -colors { RED WHITE  } -nbcolors 2 -layers { 1 2 3  } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 923 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 7 -freeedge 315 -sharededge 315 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 7 -max_freeedge 315
+checkmaxtol res_2 -tol 1e-07 -avg 1e-07 -max_tol ${max_tol_res_1}
+
index 128f0278fe9fdf07cb0d1aa58194b4c0e487d0ac..75abaf70611e3e302f73143014b764f4df146a3c 100644 (file)
@@ -1,24 +1,55 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" 
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-set LinuxDiff 1
 set filename CEA_cuve-V5.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 6 )  Warnings = 0  ( 6 )  Summary  = 0  ( 12 )
-CHECKSHAPE  : Wires    = 6  ( 3 )  Faces    = 6  ( 3 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 114  ( 114 )   Summary  = 1231  ( 1240 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 114  ( 114 )   FreeWire = 2  ( 2 )   FreeEdge  = 17 ( 17 )   SharedEdge = 493  ( 496 )
-TOLERANCE   : MaxTol   =    1380.000139  ( 0.0004988991066 )  AvgTol   =     2.598883884  (  1.625255099e-005 )
-LABELS      : N0Labels = 122  ( 122 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 122  ( 122 )   NameLabels = 122  ( 122 )   ColorLabels = 120  ( 122 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = BLACK LIGHTSTEELBLUE1 PALEGOLDENROD WHITE  ( BLACK LIGHTSTEELBLUE1 PALEGOLDENROD WHITE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 6
+checkxstat D_First -n0 122 -n1 0 -n2 0 -total 122 -withname 122 -withcolor 122 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLACK LIGHTSTEELBLUE1 PALEGOLDENROD WHITE } -nbcolors 4 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 3 -max_faces 3 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 114 -shape 1240
+checkstatshape res_1 -solid 0 -shell 0 -face 114 -freewire 2 -freeedge 17 -sharededge 496
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0004988991066 -avg 1.625255099e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 6
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 122 -n1 0 -n2 0 -total 122 -withname 122 -withcolor 122 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 122 -n1 0 -n2 0 -total 122 -withname 122 -withcolor 120 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLACK LIGHTSTEELBLUE1 PALEGOLDENROD WHITE  } -nbcolors 4 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 3 -max_faces 3 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 6 -max_faces 6 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 114 -shape 1231 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 114 -freewire 2 -freeedge 17 -sharededge 493 -max_solid 0 -max_shell 0 -max_face 114 -max_freewire 2 -max_freeedge 17
+checkmaxtol res_2 -tol 1380.000139 -avg 2.598883884 -max_tol ${max_tol_res_1}
+
index 29b9ce4ebcf4aad8a2c0af783758a50c9b175097..3d98ed86b31b60c8a783bcbb7c06277c25ec0647 100755 (executable)
@@ -1,25 +1,56 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: DATA : Faulty" 
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-
 set filename CTS17802.igs
 
-set ref_data {
-DATA        : Faulties = 5  ( 0 )  Warnings = 0  ( 194 )  Summary  = 5  ( 194 )
-TPSTAT      : Faulties = 10  ( 1 )  Warnings = 27  ( 137 )  Summary  = 37  ( 138 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 107  ( 107 )   Summary  = 2280  ( 2286 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 107  ( 107 )   FreeWire = 9  ( 9 )   FreeEdge  = 282 ( 282 )   SharedEdge = 902  ( 908 )
-TOLERANCE   : MaxTol   =  0.07760384877  (  0.07760384877 )  AvgTol   =  0.001993343793  (  0.002045377633 )
-LABELS      : N0Labels = 19  ( 19 )  N1Labels = 347  ( 612 )  N2Labels = 0  ( 0 )   TotalLabels = 366  ( 631 )   NameLabels = 366  ( 433 )   ColorLabels = 357  ( 629 )   LayerLabels = 357  ( 629 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 6 )
-COLORS      : Colors   = BLUE1 GREEN MAGENTA2 WHITE YELLOW  ( BLUE1 GREEN MAGENTA2 RED WHITE YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 20  ( 20 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 194 -max_faults 0
+checkdoc "tpstat c" -max_warns 139 -max_faults 1
+checkxstat D_First -n0 19 -n1 612 -n2 0 -total 631 -withname 433 -withcolor 629 -withlayer 629 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN MAGENTA2 RED WHITE YELLOW } -nbcolors 6 -layers { 20 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 107 -shape 2286
+checkstatshape res_1 -solid 0 -shell 0 -face 107 -freewire 9 -freeedge 282 -sharededge 908
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.07760384877 -avg 0.002045377633]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 194 -max_faults 0
+checkdoc "tpstat c" -max_warns 139 -max_faults 1
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 5
+checkdoc "tpstat c" -max_warns 27 -max_faults 10
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 19 -n1 612 -n2 0 -total 631 -withname 433 -withcolor 629 -withlayer 629 -centroid 0 -volume 0 -area 0 -nbcolors 6 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 19 -n1 347 -n2 0 -total 366 -withname 366 -withcolor 357 -withlayer 357 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN MAGENTA2 WHITE YELLOW  } -nbcolors 5 -layers { 20  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 107 -shape 2280 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 107 -freewire 9 -freeedge 282 -sharededge 902 -max_solid 0 -max_shell 0 -max_face 107 -max_freewire 9 -max_freeedge 282
+checkmaxtol res_2 -tol 0.07760384877 -avg 0.001993343793 -max_tol ${max_tol_res_1}
+
index c3059282ab6f3edce4b7cd13db8e4002558a544b..6b636522374fb2ecb9dde325988b6c8e19aa10cc 100644 (file)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-set LinuxDiff 1
 set filename 919-004-T03-04-CP-VL.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 2 )  Warnings = 312  ( 2188 )  Summary  = 312  ( 2190 )
-CHECKSHAPE  : Wires    = 0  ( 3 )  Faces    = 0  ( 3 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1457  ( 1455 )   Summary  = 38832  ( 38834 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1457  ( 1455 )   FreeWire = 516  ( 528 )   FreeEdge  = 6208 ( 6208 )   SharedEdge = 15307  ( 15304 )
-TOLERANCE   : MaxTol   =   0.3053256329  (   0.4653265763 )  AvgTol   =  0.0008083573819  (  0.0008563940583 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 5689  ( 12405 )  N2Labels = 0  ( 0 )   TotalLabels = 5694  ( 12410 )   NameLabels = 5694  ( 7040 )   ColorLabels = 5689  ( 12409 )   LayerLabels = 5689  ( 12409 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = TURQUOISE WHITE  ( TURQUOISE WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2180 -max_faults 2
+checkxstat D_First -n0 5 -n1 12405 -n2 0 -total 12410 -withname 7040 -withcolor 12409 -withlayer 12409 -centroid 0 -volume 0 -area 0 -colors { TURQUOISE WHITE } -nbcolors 2 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 3 -max_faces 3 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1455 -shape 38834
+checkstatshape res_1 -solid 0 -shell 0 -face 1455 -freewire 528 -freeedge 6208 -sharededge 15304
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.4653265763 -avg 0.0008563940583]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2180 -max_faults 2
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 310 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 12405 -n2 0 -total 12410 -withname 7040 -withcolor 12409 -withlayer 12409 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 5689 -n2 0 -total 5694 -withname 5694 -withcolor 5689 -withlayer 5689 -centroid 0 -volume 0 -area 0 -colors { TURQUOISE WHITE  } -nbcolors 2 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 3 -max_faces 3 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1457 -shape 38832 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1457 -freewire 516 -freeedge 6208 -sharededge 15307 -max_solid 0 -max_shell 0 -max_face 1455 -max_freewire 528 -max_freeedge 6208
+checkmaxtol res_2 -tol 0.3053256329 -avg 0.0008083573819 -max_tol ${max_tol_res_1}
+
index 2b510dd1f4540b602385a97c365f603dee7ffa90..e52934d73729991fd499503db90cf0082a880c2e 100755 (executable)
@@ -1,26 +1,56 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 #puts "TODO CR23096 ALL: STATSHAPE : Faulty " 
 #puts "TODO CR23096 ALL: Error : 2 differences with reference data found :" 
 
-set LinuxDiff 2
-set LinuxFaulties {STATSHAPE}
 set filename Henri.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 69  ( 41 )  Summary  = 69  ( 41 )
-CHECKSHAPE  : Wires    = 8  ( 5 )  Faces    = 8  ( 5 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 3592  ( 2314 )   Summary  = 112057  ( 71781 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 3592  ( 3592 )   FreeWire = 4024  ( 4024 )   FreeEdge  = 28849 ( 28849 )   SharedEdge = 44964  ( 28799 )
-TOLERANCE   : MaxTol   =   0.9133007093  (   0.9133008813 )  AvgTol   =  0.005629101837  (  0.005904201197 )
-LABELS      : N0Labels = 24  ( 24 )  N1Labels = 5153  ( 6559 )  N2Labels = 0  ( 0 )   TotalLabels = 5177  ( 6583 )   NameLabels = 5177  ( 6583 )   ColorLabels = 5153  ( 6559 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 6  ( 6 )
-COLORS      : Colors   = ANTIQUEWHITE4 CHARTREUSE DARKORANGE2 GREENYELLOW STEELBLUE2 WHEAT3  ( ANTIQUEWHITE4 CHARTREUSE DARKORANGE2 GREENYELLOW STEELBLUE2 WHEAT3 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 54 -max_faults 0
+checkxstat D_First -n0 24 -n1 6559 -n2 0 -total 6583 -withname 6583 -withcolor 6559 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { ANTIQUEWHITE4 CHARTREUSE DARKORANGE2 GREENYELLOW STEELBLUE2 WHEAT3 } -nbcolors 6 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 5 -max_faces 5 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 2314 -shape 71781
+checkstatshape res_1 -solid 0 -shell 0 -face 3592 -freewire 4024 -freeedge 28849 -sharededge 28799
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9133008813 -avg 0.005904201197]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 54 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 78 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 24 -n1 6559 -n2 0 -total 6583 -withname 6583 -withcolor 6559 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 6 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 24 -n1 5153 -n2 0 -total 5177 -withname 5177 -withcolor 5153 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { ANTIQUEWHITE4 CHARTREUSE DARKORANGE2 GREENYELLOW STEELBLUE2 WHEAT3  } -nbcolors 6 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 5 -max_faces 5 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 8 -max_faces 8 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 3592 -shape 112057 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 3592 -freewire 4024 -freeedge 28849 -sharededge 44964 -max_solid 0 -max_shell 0 -max_face 3592 -max_freewire 4024 -max_freeedge 28849
+checkmaxtol res_2 -tol 0.9133007093 -avg 0.005629101837 -max_tol ${max_tol_res_1}
+
index 0c4096152a58d35e856e7978a55b998c8c9b0b9e..ed0bc19ef0800b4cabb8d7b825dbeaf96b533836 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename PRO7978.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 2  ( 0 )  Warnings = 174  ( 940 )  Summary  = 176  ( 940 )
-CHECKSHAPE  : Wires    = 8  ( 8 )  Faces    = 5  ( 5 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 346  ( 346 )   Summary  = 25253  ( 25254 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 346  ( 346 )   FreeWire = 84  ( 84 )   FreeEdge  = 1563 ( 1563 )   SharedEdge = 12102  ( 12103 )
-TOLERANCE   : MaxTol   =  0.08971322527  (   0.2157335194 )  AvgTol   =  0.001218977908  (   0.00125488316 )
-LABELS      : N0Labels = 560  ( 560 )  N1Labels = 94  ( 90 )  N2Labels = 0  ( 0 )   TotalLabels = 654  ( 650 )   NameLabels = 648  ( 650 )   ColorLabels = 554  ( 640 )   LayerLabels = 554  ( 640 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = CYAN1 GREEN RED  ( CYAN1 GREEN RED )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = 1 10 20  ( 1 10 20 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 940 -max_faults 0
+checkxstat D_First -n0 560 -n1 90 -n2 0 -total 650 -withname 650 -withcolor 640 -withlayer 640 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN RED } -nbcolors 3 -layers { 1 10 20 } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 8 -max_faces 5 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 346 -shape 25254
+checkstatshape res_1 -solid 0 -shell 0 -face 346 -freewire 84 -freeedge 1563 -sharededge 12103
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.2157335194 -avg 0.00125488316]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 940 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 172 -max_faults 2
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 560 -n1 90 -n2 0 -total 650 -withname 650 -withcolor 640 -withlayer 640 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 560 -n1 94 -n2 0 -total 654 -withname 648 -withcolor 554 -withlayer 554 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN RED  } -nbcolors 3 -layers { 1 10 20  } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 8 -max_faces 5 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 8 -max_faces 5 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 346 -shape 25253 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 346 -freewire 84 -freeedge 1563 -sharededge 12102 -max_solid 0 -max_shell 0 -max_face 346 -max_freewire 84 -max_freeedge 1563
+checkmaxtol res_2 -tol 0.08971322527 -avg 0.001218977908 -max_tol ${max_tol_res_1}
+
index 0b9c2faae7fe142d7a24d811a764a97b6739ee5b..5e0366aced514bf70469a54c09a8fb843504a6ff 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-
 set filename matrice.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 58  ( 135 )  Summary  = 58  ( 135 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 783  ( 783 )   Summary  = 7819  ( 7819 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 783  ( 783 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 3132  ( 3132 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 784  ( 784 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 784  ( 784 )   NameLabels = 784  ( 784 )   ColorLabels = 783  ( 784 )   LayerLabels = 783  ( 784 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 2 )
-COLORS      : Colors   = YELLOW  ( MAGENTA1 YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 5  ( 5 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 135 -max_faults 0
+checkxstat D_First -n0 784 -n1 0 -n2 0 -total 784 -withname 784 -withcolor 784 -withlayer 784 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1 YELLOW } -nbcolors 2 -layers { 5 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 783 -shape 7819
+checkstatshape res_1 -solid 0 -shell 0 -face 783 -freewire 0 -freeedge 0 -sharededge 3132
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 135 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 58 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 784 -n1 0 -n2 0 -total 784 -withname 784 -withcolor 784 -withlayer 784 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 784 -n1 0 -n2 0 -total 784 -withname 784 -withcolor 783 -withlayer 783 -centroid 0 -volume 0 -area 0 -colors { YELLOW  } -nbcolors 1 -layers { 5  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 783 -shape 7819 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 783 -freewire 0 -freeedge 0 -sharededge 3132 -max_solid 0 -max_shell 0 -max_face 783 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index f5a4a6726b765b4e898158b2bc45aad8fb03b9f2..fa580e068fdbd1f547f30335955dd0086e0bcdb4 100755 (executable)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-set LinuxDiff 4
 set filename y306351f.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 160  ( 1955 )  Summary  = 160  ( 1955 )
-CHECKSHAPE  : Wires    = 0  ( 1 )  Faces    = 0  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 392  ( 390 )   Summary  = 57070  ( 57068 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 392  ( 390 )   FreeWire = 0  ( 0 )   FreeEdge  = 1134 ( 1134 )   SharedEdge = 27576  ( 27576 )
-TOLERANCE   : MaxTol   =  0.01225276587  (  0.01225276466 )  AvgTol   =  0.0001845815979  (  0.0001846530408 )
-LABELS      : N0Labels = 1524  ( 1524 )  N1Labels = 0  ( 26428 )  N2Labels = 0  ( 0 )   TotalLabels = 1524  ( 27952 )   NameLabels = 1524  ( 1530 )   ColorLabels = 1497  ( 27952 )   LayerLabels = 1107  ( 1134 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = CYAN1 WHITE  ( CYAN1 WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 1955 -max_faults 0
+checkxstat D_First -n0 1524 -n1 26428 -n2 0 -total 27952 -withname 1530 -withcolor 27952 -withlayer 1134 -centroid 0 -volume 0 -area 0 -colors { CYAN1 WHITE } -nbcolors 2 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 390 -shape 57068
+checkstatshape res_1 -solid 0 -shell 0 -face 390 -freewire 0 -freeedge 1134 -sharededge 27576
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01225276466 -avg 0.0001846530408]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 1955 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 160 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1524 -n1 26428 -n2 0 -total 27952 -withname 1530 -withcolor 27952 -withlayer 1134 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1524 -n1 0 -n2 0 -total 1524 -withname 1524 -withcolor 1497 -withlayer 1107 -centroid 0 -volume 0 -area 0 -colors { CYAN1 WHITE  } -nbcolors 2 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 392 -shape 57070 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 392 -freewire 0 -freeedge 1134 -sharededge 27576 -max_solid 0 -max_shell 0 -max_face 390 -max_freewire 0 -max_freeedge 1134
+checkmaxtol res_2 -tol 0.01225276587 -avg 0.0001845815979 -max_tol ${max_tol_res_1}
+
index a10990beb228d11668e34fa127baa3137a4b3b03..88cd3fd5b6c8923d66b2042f5335abe44ae1a0d1 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-set LinuxDiff 4
 set filename PRO11641.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 43  ( 1750 )  Summary  = 43  ( 1750 )
-CHECKSHAPE  : Wires    = 7  ( 7 )  Faces    = 7  ( 7 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1424  ( 1424 )   Summary  = 23704  ( 23704 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1424  ( 1424 )   FreeWire = 23  ( 23 )   FreeEdge  = 461 ( 461 )   SharedEdge = 10206  ( 10206 )
-TOLERANCE   : MaxTol   =  0.01698924283  (  0.03769875288 )  AvgTol   =  0.0002746484976  (  0.0003801335989 )
-LABELS      : N0Labels = 1784  ( 1784 )  N1Labels = 0  ( 1660 )  N2Labels = 0  ( 0 )   TotalLabels = 1784  ( 3444 )   NameLabels = 1784  ( 1784 )   ColorLabels = 1761  ( 3444 )   LayerLabels = 1761  ( 1784 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 7  ( 8 )
-COLORS      : Colors   = BLUE1 CYAN1 GREEN MAGENTA1 RED WHITE YELLOW  ( BLACK BLUE1 CYAN1 GREEN MAGENTA1 RED WHITE YELLOW )
-NLAYERS     : NLayers  = 5  ( 5 )
-LAYERS      : Layers   = 1 11 214 239 4  ( 1 11 214 239 4 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1740 -max_faults 0
+checkxstat D_First -n0 1784 -n1 1660 -n2 0 -total 3444 -withname 1784 -withcolor 3444 -withlayer 1784 -centroid 0 -volume 0 -area 0 -colors { BLACK BLUE1 CYAN1 GREEN MAGENTA1 RED WHITE YELLOW } -nbcolors 8 -layers { 1 11 214 239 4 } -nblayers 5
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 7 -max_faces 7 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1424 -shape 23704
+checkstatshape res_1 -solid 0 -shell 0 -face 1424 -freewire 23 -freeedge 461 -sharededge 10206
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.03769875288 -avg 0.0003801335989]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1740 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 43 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1784 -n1 1660 -n2 0 -total 3444 -withname 1784 -withcolor 3444 -withlayer 1784 -centroid 0 -volume 0 -area 0 -nbcolors 8 -nblayers 5
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1784 -n1 0 -n2 0 -total 1784 -withname 1784 -withcolor 1761 -withlayer 1761 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 RED WHITE YELLOW  } -nbcolors 7 -layers { 1 11 214 239 4  } -nblayers 5
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 7 -max_faces 7 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 7 -max_faces 7 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1424 -shape 23704 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1424 -freewire 23 -freeedge 461 -sharededge 10206 -max_solid 0 -max_shell 0 -max_face 1424 -max_freewire 23 -max_freeedge 461
+checkmaxtol res_2 -tol 0.01698924283 -avg 0.0002746484976 -max_tol ${max_tol_res_1}
+
index 62c5e25bf33c7c5717260876bbcbb47ebba51d92..a5cc9907983cae79ccf5ce37f7be8f79760e90ba 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename PRO11713.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 33  ( 8228 )  Summary  = 33  ( 8228 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 127  ( 127 )   Summary  = 238094  ( 238094 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 127  ( 127 )   FreeWire = 8189  ( 8189 )   FreeEdge  = 93645 ( 93645 )   SharedEdge = 94153  ( 94153 )
-TOLERANCE   : MaxTol   = 1.000100036e-007  ( 1.000100071e-007 )  AvgTol   =  1.000000246e-007  (  1.000000046e-007 )
-LABELS      : N0Labels = 42695  ( 42695 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 42695  ( 42695 )   NameLabels = 42695  ( 42695 )   ColorLabels = 0  ( 0 )   LayerLabels = 33059  ( 42695 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 87  ( 91 )
-LAYERS      : Layers   = 1 101 106 111 131 132 141 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 163 164 165 166 167 168 169 170 171 176 177 180 181 182 183 184 185 187 188 189 190 192 193 194 195 196 197 207 21 211 212 22 228 229 230 231 235 236 254 3 31 32 36 37 4 51 52 53 56 61 62 63 71 72 73 74 76 77 78 79 81 82 91  ( 1 101 106 111 131 132 141 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 163 164 165 166 167 168 169 170 171 176 177 180 181 182 183 184 185 187 188 189 190 191 192 193 194 195 196 197 199 207 21 211 212 22 228 229 230 231 235 236 254 3 31 32 36 37 4 51 52 53 56 6 61 62 63 7 71 72 73 74 76 77 78 79 81 82 91 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8228 -max_faults 0
+checkxstat D_First -n0 42695 -n1 0 -n2 0 -total 42695 -withname 42695 -withcolor 0 -withlayer 42695 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers { 1 101 106 111 131 132 141 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 163 164 165 166 167 168 169 170 171 176 177 180 181 182 183 184 185 187 188 189 190 191 192 193 194 195 196 197 199 207 21 211 212 22 228 229 230 231 235 236 254 3 31 32 36 37 4 51 52 53 56 6 61 62 63 7 71 72 73 74 76 77 78 79 81 82 91 } -nblayers 91
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 127 -shape 238094
+checkstatshape res_1 -solid 0 -shell 0 -face 127 -freewire 8189 -freeedge 93645 -sharededge 94153
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100071e-007 -avg 1.000000046e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8228 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 33 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 42695 -n1 0 -n2 0 -total 42695 -withname 42695 -withcolor 0 -withlayer 42695 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 91
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 42695 -n1 0 -n2 0 -total 42695 -withname 42695 -withcolor 0 -withlayer 33059 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers { 1 101 106 111 131 132 141 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 163 164 165 166 167 168 169 170 171 176 177 180 181 182 183 184 185 187 188 189 190 192 193 194 195 196 197 207 21 211 212 22 228 229 230 231 235 236 254 3 31 32 36 37 4 51 52 53 56 61 62 63 71 72 73 74 76 77 78 79 81 82 91  } -nblayers 87
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 127 -shape 238094 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 127 -freewire 8189 -freeedge 93645 -sharededge 94153 -max_solid 0 -max_shell 0 -max_face 127 -max_freewire 8189 -max_freeedge 93645
+checkmaxtol res_2 -tol 1.000100036e-007 -avg 1.000000246e-007 -max_tol ${max_tol_res_1}
+
index 3308375cd8fb04f2268629ac8b4086847c6c69d9..abe553a6f41b8d0b738edec826e09b9ab8ede9b3 100644 (file)
@@ -1,25 +1,57 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" 
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
-puts "TODO CR25013 ALL: Error : 3 differences with reference data found
-
+puts "TODO CR25013 ALL: Error :  is WRONG because number of SHAPE entities in shape
+puts "TODO CR25013 ALL: STATSHAPE : Faulty ref number of shared edges in command statshape"
 
 set filename PRO18777-3.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 75  ( 1414 )  Summary  = 75  ( 1414 )
-CHECKSHAPE  : Wires    = 1  ( 0 )  Faces    = 2  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1568  ( 1568 )   Summary  = 19289  ( 19302 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1568  ( 1568 )   FreeWire = 0  ( 14 )   FreeEdge  = 28 ( 28 )   SharedEdge = 8150  ( 8149 )
-TOLERANCE   : MaxTol   =   0.9978911708  (   0.9978911666 )  AvgTol   =   0.01219320525  (    0.0121152761 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 1596  ( 5152 )  N2Labels = 0  ( 0 )   TotalLabels = 1597  ( 5153 )   NameLabels = 1597  ( 2712 )   ColorLabels = 1596  ( 5152 )   LayerLabels = 1596  ( 5152 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 7 )
-COLORS      : Colors   = BLUE1 WHITE  ( BLUE1 CYAN1 GREEN MAGENTA1 RED WHITE YELLOW )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = 1 254  ( 1 254 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1468 -max_faults 0
+checkxstat D_First -n0 1 -n1 5152 -n2 0 -total 5153 -withname 2712 -withcolor 5152 -withlayer 5152 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 RED WHITE YELLOW } -nbcolors 7 -layers { 1 254 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1568 -shape 19302
+checkstatshape res_1 -solid 0 -shell 0 -face 1568 -freewire 14 -freeedge 28 -sharededge 8149
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9978911666 -avg 0.0121152761]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1468 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 83 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 5152 -n2 0 -total 5153 -withname 2712 -withcolor 5152 -withlayer 5152 -centroid 0 -volume 0 -area 0 -nbcolors 7 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 1596 -n2 0 -total 1597 -withname 1597 -withcolor 1596 -withlayer 1596 -centroid 0 -volume 0 -area 0 -colors { BLUE1 WHITE  } -nbcolors 2 -layers { 1 254  } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 2 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1568 -shape 19289 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1568 -freewire 0 -freeedge 28 -sharededge 8150 -max_solid 0 -max_shell 0 -max_face 1568 -max_freewire 14 -max_freeedge 28
+checkmaxtol res_2 -tol 0.9978911708 -avg 0.01219320525 -max_tol ${max_tol_res_1}
+
index 52c800390e5252ac86a1fa89de2d6aa3326c3b3a..978e51182bdcd606e54c90bfc2fae7b3319c233f 100644 (file)
@@ -1,24 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
-puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-
 set filename PRO5236.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 2 )  Warnings = 145  ( 1619 )  Summary  = 145  ( 1621 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 253  ( 253 )   Summary  = 5359  ( 5363 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 253  ( 253 )   FreeWire = 7  ( 10 )   FreeEdge  = 78 ( 78 )   SharedEdge = 2412  ( 2412 )
-TOLERANCE   : MaxTol   =  0.04838312754  (   0.0483782783 )  AvgTol   =  0.002925020972  (  0.002891060102 )
-LABELS      : N0Labels = 8  ( 8 )  N1Labels = 269  ( 2591 )  N2Labels = 0  ( 0 )   TotalLabels = 277  ( 2599 )   NameLabels = 277  ( 384 )   ColorLabels = 272  ( 2597 )   LayerLabels = 272  ( 2597 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 4 )
-COLORS      : Colors   = BLUE1 WHITE YELLOW  ( BLUE1 GREEN WHITE YELLOW )
-NLAYERS     : NLayers  = 4  ( 4 )
-LAYERS      : Layers   = 101 201 51 61  ( 101 201 51 61 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 1661 -max_faults 2
+checkxstat D_First -n0 8 -n1 2591 -n2 0 -total 2599 -withname 384 -withcolor 2597 -withlayer 2597 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN WHITE YELLOW } -nbcolors 4 -layers { 101 201 51 61 } -nblayers 4
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 253 -shape 5363
+checkstatshape res_1 -solid 0 -shell 0 -face 253 -freewire 10 -freeedge 78 -sharededge 2412
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0483782783 -avg 0.002891060102]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 1661 -max_faults 2
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 128 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 8 -n1 2591 -n2 0 -total 2599 -withname 384 -withcolor 2597 -withlayer 259704 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 4
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 8 -n1 269 -n2 0 -total 277 -withname 277 -withcolor 272 -withlayer 272 -centroid 0 -volume 0 -area 0 -colors { BLUE1 WHITE YELLOW  } -nbcolors 3 -layers { 101 201 51 61  } -nblayers 4
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 253 -shape 5359 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 253 -freewire 7 -freeedge 78 -sharededge 2412 -max_solid 0 -max_shell 0 -max_face 253 -max_freewire 10 -max_freeedge 78
+checkmaxtol res_2 -tol 0.04838312754 -avg 0.002925020972 -max_tol ${max_tol_res_1}
+
index f80542702579237fcf4811be62f74d1f8d427041..07260a32a8d893a1812a966b092df3bf124c272e 100755 (executable)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: DATA : Faulty" 
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename sabena.igs
 
-set ref_data {
-DATA        : Faulties = 14  ( 0 )  Warnings = 0  ( 0 )  Summary  = 14  ( 0 )
-TPSTAT      : Faulties = 28  ( 16 )  Warnings = 44  ( 2964 )  Summary  = 72  ( 2980 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 2639  ( 2634 )   Summary  = 64362  ( 64317 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 2639  ( 2639 )   FreeWire = 1027  ( 1027 )   FreeEdge  = 10489 ( 10489 )   SharedEdge = 24209  ( 24190 )
-TOLERANCE   : MaxTol   =  0.05705560511  (  0.05705560511 )  AvgTol   =  0.0002545958154  (  0.0002529561285 )
-LABELS      : N0Labels = 54  ( 54 )  N1Labels = 10590  ( 24663 )  N2Labels = 0  ( 0 )   TotalLabels = 10644  ( 24717 )   NameLabels = 10644  ( 13414 )   ColorLabels = 10590  ( 24715 )   LayerLabels = 7  ( 15 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 8  ( 8 )
-COLORS      : Colors   = BLUE1 CYAN1 GREEN GREEN3 MAGENTA1 RED WHITE YELLOW  ( BLUE1 CYAN1 GREEN GREEN3 MAGENTA1 RED WHITE YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 204  ( 204 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3039 -max_faults 16
+checkxstat D_First -n0 54 -n1 24663 -n2 0 -total 24717 -withname 13414 -withcolor 24715 -withlayer 15 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN GREEN3 MAGENTA1 RED WHITE YELLOW } -nbcolors 8 -layers { 204 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 2634 -shape 64317
+checkstatshape res_1 -solid 0 -shell 0 -face 2639 -freewire 1027 -freeedge 10489 -sharededge 24190
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.05705560511 -avg 0.0002529561285]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3039 -max_faults 16
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 14
+checkdoc "tpstat c" -max_warns 44 -max_faults 28
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 54 -n1 24663 -n2 0 -total 24717 -withname 13414 -withcolor 24715 -withlayer 15 -centroid 0 -volume 0 -area 0 -nbcolors 8 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 54 -n1 10590 -n2 0 -total 10644 -withname 10644 -withcolor 10590 -withlayer 7 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN GREEN3 MAGENTA1 RED WHITE YELLOW  } -nbcolors 8 -layers { 204  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 2639 -shape 64362 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 2639 -freewire 1027 -freeedge 10489 -sharededge 24209 -max_solid 0 -max_shell 0 -max_face 2639 -max_freewire 1027 -max_freeedge 10489
+checkmaxtol res_2 -tol 0.05705560511 -avg 0.0002545958154 -max_tol ${max_tol_res_1}
+
index 68708f3066b822930cf9372761f274ab134cb9cf..16cd356ffb7c8925f6fa72ddf7a0b8122af23538 100755 (executable)
@@ -1,18 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename waaier_para.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 1 )  Warnings = 0  ( 1 )  Summary  = 0  ( 2 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 40  ( 617 )  Summary  = 40  ( 617 )
-CHECKSHAPE  : Wires    = 2  ( 2 )  Faces    = 3  ( 3 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 162  ( 162 )   Summary  = 4900  ( 4895 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 162  ( 162 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 2291  ( 2288 )
-TOLERANCE   : MaxTol   =   0.9221218176  (   0.9410156556 )  AvgTol   =   0.01501963159  (   0.01437988685 )
-LABELS      : N0Labels = 162  ( 162 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 162  ( 162 )   NameLabels = 162  ( 162 )   ColorLabels = 162  ( 162 )   LayerLabels = 162  ( 162 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MATRAGRAY  ( MATRAGRAY )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 1
+checkdoc "tpstat c" -max_warns 622 -max_faults 0
+checkxstat D_First -n0 162 -n1 0 -n2 0 -total 162 -withname 162 -withcolor 162 -withlayer 162 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY } -nbcolors 1 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 2 -max_faces 3 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 162 -shape 4895
+checkstatshape res_1 -solid 0 -shell 0 -face 162 -freewire 0 -freeedge 0 -sharededge 2288
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9410156556 -avg 0.01437988685]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 1
+checkdoc "tpstat c" -max_warns 622 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 40 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 162 -n1 0 -n2 0 -total 162 -withname 162 -withcolor 162 -withlayer 162 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 162 -n1 0 -n2 0 -total 162 -withname 162 -withcolor 162 -withlayer 162 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY  } -nbcolors 1 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 2 -max_faces 3 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 2 -max_faces 3 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 162 -shape 4900 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 162 -freewire 0 -freeedge 0 -sharededge 2291 -max_solid 0 -max_shell 0 -max_face 162 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9221218176 -avg 0.01501963159 -max_tol ${max_tol_res_1}
+
index 160e866477724678fcebf58fbf6781fb476d669c..5fa973dbcc0bfb12b9460f9b4ec8906149c802ec 100644 (file)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename So5571b.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 1 )  Warnings = 0  ( 0 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 139 )  Summary  = 0  ( 139 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 39929  ( 39929 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 139  ( 139 )   FreeEdge  = 19825 ( 19825 )   SharedEdge = 19825  ( 19825 )
-TOLERANCE   : MaxTol   = 1.000100004e-07  ( 1.000100004e-07 )  AvgTol   =  1.000000175e-07  (  1.000000178e-07 )
-LABELS      : N0Labels = 139  ( 139 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 139  ( 139 )   NameLabels = 139  ( 139 )   ColorLabels = 0  ( 139 )   LayerLabels = 0  ( 139 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 1 )
-COLORS      : Colors   =   ( CYAN1 )
-NLAYERS     : NLayers  = 0  ( 139 )
-LAYERS      : Layers   =   ( 10 100 101 102 103 104 105 106 107 108 109 11 110 111 112 113 114 115 116 117 118 119 12 120 121 122 123 124 125 126 127 128 129 13 130 131 132 133 134 135 136 137 138 139 14 140 15 16 17 18 19 2 20 21 22 23 24 25 26 27 28 29 3 30 31 32 33 34 35 36 37 38 39 4 40 41 42 43 44 45 46 47 48 49 5 50 51 52 53 54 55 56 57 58 59 6 60 61 62 63 64 65 66 67 68 69 7 70 71 72 73 74 75 76 77 78 79 8 80 81 82 83 84 85 86 87 88 89 9 90 91 92 93 94 95 96 97 98 99 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 139 -max_faults 0
+checkxstat D_First -n0 139 -n1 0 -n2 0 -total 139 -withname 139 -withcolor 139 -withlayer 139 -centroid 0 -volume 0 -area 0 -colors { CYAN1 } -nbcolors 1 -layers { 10 100 101 102 103 104 105 106 107 108 109 11 110 111 112 113 114 115 116 117 118 119 12 120 121 122 123 124 125 126 127 128 129 13 130 131 132 133 134 135 136 137 138 139 14 140 15 16 17 18 19 2 20 21 22 23 24 25 26 27 28 29 3 30 31 32 33 34 35 36 37 38 39 4 40 41 42 43 44 45 46 47 48 49 5 50 51 52 53 54 55 56 57 58 59 6 60 61 62 63 64 65 66 67 68 69 7 70 71 72 73 74 75 76 77 78 79 8 80 81 82 83 84 85 86 87 88 89 9 90 91 92 93 94 95 96 97 98 99 } -nblayers 139
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 39929
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 139 -freeedge 19825 -sharededge 19825
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100004e-07 -avg 1.000000178e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 139 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 139 -n1 0 -n2 0 -total 139 -withname 139 -withcolor 139 -withlayer 139 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 139
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 139 -n1 0 -n2 0 -total 139 -withname 139 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 39929 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 139 -freeedge 19825 -sharededge 19825 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 139 -max_freeedge 19825
+checkmaxtol res_2 -tol 1.000100004e-07 -avg 1.000000175e-07 -max_tol ${max_tol_res_1}
+
index ab0abd2a16c67c643f48aeb0db86db98e731fb5b..c890bfe2274e4f01845c84f29b91ceaa4d62d732 100755 (executable)
@@ -1,25 +1,56 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: DATA : Faulty" 
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename UKI60028-1.igs
 
-set ref_data {
-DATA        : Faulties = 4  ( 0 )  Warnings = 0  ( 0 )  Summary  = 4  ( 0 )
-TPSTAT      : Faulties = 8  ( 150 )  Warnings = 42  ( 788 )  Summary  = 50  ( 938 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 159  ( 159 )   Summary  = 7579  ( 7684 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 159  ( 159 )   FreeWire = 189  ( 284 )   FreeEdge  = 1726 ( 1726 )   SharedEdge = 3033  ( 3035 )
-TOLERANCE   : MaxTol   =   0.6023944505  (   0.6023945025 )  AvgTol   =  0.007298261126  (  0.008822197287 )
-LABELS      : N0Labels = 8  ( 11 )  N1Labels = 949  ( 1809 )  N2Labels = 0  ( 0 )   TotalLabels = 957  ( 1820 )   NameLabels = 955  ( 1263 )   ColorLabels = 949  ( 1807 )   LayerLabels = 917  ( 1774 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 12  ( 14 )
-COLORS      : Colors   = BLUE1 CHOCOLATE2 DARKGOLDENROD4 DEEPSKYBLUE2 GOLD4 GREEN KHAKI1 KHAKI2 LEMONCHIFFON1 RED WHITE YELLOW  ( BLUE1 CHOCOLATE2 DARKGOLDENROD4 DEEPSKYBLUE2 FIREBRICK4 GOLD4 GREEN KHAKI1 KHAKI2 LEMONCHIFFON1 RED TURQUOISE4 WHITE YELLOW )
-NLAYERS     : NLayers  = 10  ( 13 )
-LAYERS      : Layers   = 12 13 23 249 252 50 52 54 60 71  ( 12 13 23 244 246 249 252 50 52 54 60 70 71 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 787 -max_faults 150
+checkxstat D_First -n0 11 -n1 1809 -n2 0 -total 1820 -withname 1263 -withcolor 1807 -withlayer 1774 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CHOCOLATE2 DARKGOLDENROD4 DEEPSKYBLUE2 FIREBRICK4 GOLD4 GREEN KHAKI1 KHAKI2 LEMONCHIFFON1 RED TURQUOISE4 WHITE YELLOW } -nbcolors 14 -layers { 12 13 23 244 246 249 252 50 52 54 60 70 71 } -nblayers 13
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 159 -shape 7684
+checkstatshape res_1 -solid 0 -shell 0 -face 159 -freewire 284 -freeedge 1726 -sharededge 3035
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.6023945025 -avg 0.008822197287]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 787 -max_faults 150
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 4
+checkdoc "tpstat c" -max_warns 43 -max_faults 8
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 11 -n1 1809 -n2 0 -total 1820 -withname 1263 -withcolor 1807 -withlayer 1774 -centroid 0 -volume 0 -area 0 -nbcolors 14 -nblayers 13
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 8 -n1 949 -n2 0 -total 957 -withname 955 -withcolor 949 -withlayer 917 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CHOCOLATE2 DARKGOLDENROD4 DEEPSKYBLUE2 GOLD4 GREEN KHAKI1 KHAKI2 LEMONCHIFFON1 RED WHITE YELLOW  } -nbcolors 12 -layers { 12 13 23 249 252 50 52 54 60 71  } -nblayers 10
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 159 -shape 7579 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 159 -freewire 189 -freeedge 1726 -sharededge 3033 -max_solid 0 -max_shell 0 -max_face 159 -max_freewire 284 -max_freeedge 1726
+checkmaxtol res_2 -tol 0.6023944505 -avg 0.007298261126 -max_tol ${max_tol_res_1}
+
index 7c5d220f178419bd173ee8f764fb881a861b642d..daf9ea9eb89b72a26ee404b39f8f931fd21fdcae 100755 (executable)
@@ -1,25 +1,56 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: DATA : Faulty" 
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename UKI60028-2.igs
 
-set ref_data {
-DATA        : Faulties = 8  ( 0 )  Warnings = 0  ( 0 )  Summary  = 8  ( 0 )
-TPSTAT      : Faulties = 16  ( 149 )  Warnings = 60  ( 1010 )  Summary  = 76  ( 1159 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 124  ( 124 )   Summary  = 7690  ( 7735 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 124  ( 124 )   FreeWire = 219  ( 254 )   FreeEdge  = 1870 ( 1870 )   SharedEdge = 3105  ( 3108 )
-TOLERANCE   : MaxTol   =   0.9970503224  (   0.9970502696 )  AvgTol   =   0.01722883731  (   0.02186287201 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 896  ( 1691 )  N2Labels = 0  ( 0 )   TotalLabels = 905  ( 1700 )   NameLabels = 905  ( 1233 )   ColorLabels = 896  ( 1692 )   LayerLabels = 864  ( 1659 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 6  ( 7 )
-COLORS      : Colors   = BLUE1 LEMONCHIFFON1 RED RED4 WHITE YELLOW  ( BLUE1 GREEN LEMONCHIFFON1 RED RED4 WHITE YELLOW )
-NLAYERS     : NLayers  = 12  ( 16 )
-LAYERS      : Layers   = 11 12 13 20 249 252 50 52 54 55 60 71  ( 10 11 12 13 20 246 249 252 50 52 54 55 60 65 70 71 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1010 -max_faults 149
+checkxstat D_First -n0 9 -n1 1691 -n2 0 -total 1700 -withname 1233 -withcolor 1692 -withlayer 1659 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN LEMONCHIFFON1 RED RED4 WHITE YELLOW } -nbcolors 7 -layers { 10 11 12 13 20 246 249 252 50 52 54 55 60 65 70 71 } -nblayers 16
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 124 -shape 7735
+checkstatshape res_1 -solid 0 -shell 0 -face 124 -freewire 254 -freeedge 1870 -sharededge 3108
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9970502696 -avg 0.02186287201]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1010 -max_faults 149
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 8
+checkdoc "tpstat c" -max_warns 60 -max_faults 16
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 1691 -n2 0 -total 1700 -withname 1233 -withcolor 1692 -withlayer 1659 -centroid 0 -volume 0 -area 0 -nbcolors 7 -nblayers 16
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 896 -n2 0 -total 905 -withname 905 -withcolor 896 -withlayer 864 -centroid 0 -volume 0 -area 0 -colors { BLUE1 LEMONCHIFFON1 RED RED4 WHITE YELLOW  } -nbcolors 6 -layers { 11 12 13 20 249 252 50 52 54 55 60 71  } -nblayers 12
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 124 -shape 7690 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 124 -freewire 219 -freeedge 1870 -sharededge 3105 -max_solid 0 -max_shell 0 -max_face 124 -max_freewire 254 -max_freeedge 1870
+checkmaxtol res_2 -tol 0.9970503224 -avg 0.01722883731 -max_tol ${max_tol_res_1}
+
index 17c77f3c857d9118c9fd574bd9ff103c4b5b0e61..f0c8e63058996e5fe5d33e74042f17f851a6f81e 100755 (executable)
@@ -1,25 +1,56 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: DATA : Faulty" 
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-set LinuxDiff 1
 set filename UKI60107-3.igs
 
-set ref_data {
-DATA        : Faulties = 1  ( 0 )  Warnings = 0  ( 0 )  Summary  = 1  ( 0 )
-TPSTAT      : Faulties = 2  ( 0 )  Warnings = 20  ( 331 )  Summary  = 22  ( 331 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 149  ( 149 )   Summary  = 2607  ( 2609 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 149  ( 149 )   FreeWire = 14  ( 14 )   FreeEdge  = 63 ( 63 )   SharedEdge = 1138  ( 1140 )
-TOLERANCE   : MaxTol   =   0.7457094468  (   0.7457094468 )  AvgTol   =   0.02275001022  (   0.02285180898 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 164  ( 766 )  N2Labels = 0  ( 0 )   TotalLabels = 166  ( 768 )   NameLabels = 164  ( 259 )   ColorLabels = 164  ( 766 )   LayerLabels = 162  ( 764 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 3 )
-COLORS      : Colors   = MAGENTA1 WHITE  ( CYAN1 MAGENTA1 WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 4  ( 4 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 335 -max_faults 0
+checkxstat D_First -n0 2 -n1 766 -n2 0 -total 768 -withname 259 -withcolor 766 -withlayer 764 -centroid 0 -volume 0 -area 0 -colors { CYAN1 MAGENTA1 WHITE } -nbcolors 3 -layers { 4 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 149 -shape 2609
+checkstatshape res_1 -solid 0 -shell 0 -face 149 -freewire 14 -freeedge 63 -sharededge 1140
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.7457094468 -avg 0.02285180898]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 335 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 20 -max_faults 2
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 766 -n2 0 -total 768 -withname 259 -withcolor 766 -withlayer 764 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 164 -n2 0 -total 166 -withname 164 -withcolor 164 -withlayer 162 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1 WHITE  } -nbcolors 2 -layers { 4  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 149 -shape 2607 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 149 -freewire 14 -freeedge 63 -sharededge 1138 -max_solid 0 -max_shell 0 -max_face 149 -max_freewire 14 -max_freeedge 63
+checkmaxtol res_2 -tol 0.7457094468 -avg 0.02275001022 -max_tol ${max_tol_res_1}
+
index 5b0ab0a0ae9478323c9856157a0fafe0f58e31ce..ed7ab7fbcf927d9dded8847fd5a2327839bb2f04 100755 (executable)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-
 set filename UKI60302.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 93 )  Warnings = 4  ( 129 )  Summary  = 4  ( 222 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 4  ( 4 )   Summary  = 438  ( 240 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 4  ( 4 )   FreeWire = 7  ( 7 )   FreeEdge  = 135 ( 135 )   SharedEdge = 151  ( 84 )
-TOLERANCE   : MaxTol   =         1e-007  ( 1.000100002e-007 )  AvgTol   =          1e-007  (  1.00000086e-007 )
-LABELS      : N0Labels = 5  ( 12 )  N1Labels = 106  ( 70 )  N2Labels = 0  ( 0 )   TotalLabels = 111  ( 82 )   NameLabels = 28  ( 82 )   ColorLabels = 106  ( 50 )   LayerLabels = 106  ( 49 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 5 )
-COLORS      : Colors   = GOLD3 GREEN LIGHTSEAGREEN YELLOW  ( GOLD3 GREEN LIGHTSEAGREEN RED YELLOW )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = 201 254 255  ( 201 254 255 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 129 -max_faults 93
+checkxstat D_First -n0 12 -n1 70 -n2 0 -total 82 -withname 82 -withcolor 50 -withlayer 49 -centroid 0 -volume 0 -area 0 -colors { GOLD3 GREEN LIGHTSEAGREEN RED YELLOW } -nbcolors 5 -layers { 201 254 255 } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 4 -shape 240
+checkstatshape res_1 -solid 0 -shell 0 -face 4 -freewire 7 -freeedge 135 -sharededge 84
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100002e-007 -avg 1.00000086e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 129 -max_faults 93
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 12 -n1 70 -n2 0 -total 82 -withname 82 -withcolor 50 -withlayer 49 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 106 -n2 0 -total 111 -withname 28 -withcolor 106 -withlayer 106 -centroid 0 -volume 0 -area 0 -colors { GOLD3 GREEN LIGHTSEAGREEN YELLOW  } -nbcolors 4 -layers { 201 254 255  } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 4 -shape 438 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 4 -freewire 7 -freeedge 135 -sharededge 151 -max_solid 0 -max_shell 0 -max_face 4 -max_freewire 7 -max_freeedge 135
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 9ce9535a6ab0dcccf482134ac81ce598255a6850..fa2f89873b82cde3430603e43a4c0d91c826fec2 100644 (file)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename UKI60876.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 7 )  Warnings = 0  ( 0 )  Summary  = 0  ( 7 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 128  ( 287 )  Summary  = 128  ( 287 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 373  ( 373 )   Summary  = 8508  ( 8508 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 373  ( 373 )   FreeWire = 1  ( 1 )   FreeEdge  = 1211 ( 1211 )   SharedEdge = 3267  ( 3267 )
-TOLERANCE   : MaxTol   =   0.5291749398  (   0.5291749268 )  AvgTol   =  0.008496038363  (  0.008496053622 )
-LABELS      : N0Labels = 1597  ( 1597 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1597  ( 1597 )   NameLabels = 1597  ( 1597 )   ColorLabels = 1580  ( 1597 )   LayerLabels = 1580  ( 1597 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 11  ( 12 )
-COLORS      : Colors   = BURLYWOOD1 CHARTREUSE CYAN1 DARKORANGE GREEN KHAKI1 LIGHTSALMON1 LIGHTSTEELBLUE2 ORCHID1 WHITE YELLOW  ( BURLYWOOD1 CHARTREUSE CYAN1 DARKORANGE DEEPSKYBLUE1 GREEN KHAKI1 LIGHTSALMON1 LIGHTSTEELBLUE2 ORCHID1 WHITE YELLOW )
-NLAYERS     : NLayers  = 17  ( 19 )
-LAYERS      : Layers   = 11 12 130 14 15 16 17 18 19 21 62 63 65 66 68 69 75  ( 11 12 130 14 15 16 17 18 19 21 61 62 63 64 65 66 68 69 75 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 7
+checkdoc "tpstat c" -max_warns 287 -max_faults 0
+checkxstat D_First -n0 1597 -n1 0 -n2 0 -total 1597 -withname 1597 -withcolor 1597 -withlayer 1597 -centroid 0 -volume 0 -area 0 -colors { BURLYWOOD1 CHARTREUSE CYAN1 DARKORANGE DEEPSKYBLUE1 GREEN KHAKI1 LIGHTSALMON1 LIGHTSTEELBLUE2 ORCHID1 WHITE YELLOW } -nbcolors 12 -layers { 11 12 130 14 15 16 17 18 19 21 61 62 63 64 65 66 68 69 75 } -nblayers 19
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 373 -shape 8508
+checkstatshape res_1 -solid 0 -shell 0 -face 373 -freewire 1 -freeedge 1211 -sharededge 3267
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.5291749268 -avg 0.008496053622]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 7
+checkdoc "tpstat c" -max_warns 287 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 128 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1597 -n1 0 -n2 0 -total 1597 -withname 1597 -withcolor 1597 -withlayer 1597 -centroid 0 -volume 0 -area 0 -nbcolors 12 -nblayers 19
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1597 -n1 0 -n2 0 -total 1597 -withname 1597 -withcolor 1580 -withlayer 1580 -centroid 0 -volume 0 -area 0 -colors { BURLYWOOD1 CHARTREUSE CYAN1 DARKORANGE GREEN KHAKI1 LIGHTSALMON1 LIGHTSTEELBLUE2 ORCHID1 WHITE YELLOW  } -nbcolors 11 -layers { 11 12 130 14 15 16 17 18 19 21 62 63 65 66 68 69 75  } -nblayers 17
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 373 -shape 8508 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 373 -freewire 1 -freeedge 1211 -sharededge 3267 -max_solid 0 -max_shell 0 -max_face 373 -max_freewire 1 -max_freeedge 1211
+checkmaxtol res_2 -tol 0.5291749398 -avg 0.008496038363 -max_tol ${max_tol_res_1}
+
index 7ce124fe07c73c02ac673046fb36923345e65290..2b9f43465457dca12d705403a1d1b13be749eb7d 100644 (file)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename WingPts.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1  ( 1 )   Summary  = 5721  ( 5721 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 3 ( 3 )   SharedEdge = 7  ( 7 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 5705  ( 5705 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 5705  ( 5705 )   NameLabels = 5705  ( 5705 )   ColorLabels = 4  ( 5705 )   LayerLabels = 0  ( 5700 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 3 )
-COLORS      : Colors   = BLUE1 GREEN  ( BLUE1 GREEN RED )
-NLAYERS     : NLayers  = 0  ( 1 )
-LAYERS      : Layers   =   ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 5705 -n1 0 -n2 0 -total 5705 -withname 5705 -withcolor 5705 -withlayer 5700 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED } -nbcolors 3 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1 -shape 5721
+checkstatshape res_1 -solid 0 -shell 0 -face 1 -freewire 0 -freeedge 3 -sharededge 7
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5705 -n1 0 -n2 0 -total 5705 -withname 5705 -withcolor 5705 -withlayer 5700 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5705 -n1 0 -n2 0 -total 5705 -withname 5705 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1 -shape 5721 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1 -freewire 0 -freeedge 3 -sharededge 7 -max_solid 0 -max_shell 0 -max_face 1 -max_freewire 0 -max_freeedge 3
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 8c0e68f860dc5d1bb8aed9875844def177be7fab..f5d96309d5721c119438d9c281946a56dc24ee59 100755 (executable)
@@ -1,26 +1,57 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
-puts "TODO CR25013 ALL: Error : 3 differences with reference data found" 
+puts "TODO CR25013 ALL: Error :  is WRONG because number of SHAPE entities in shape" 
+puts "TODO CR25013 ALL: STATSHAPE : Faulty ref number of shared edges in command statshape"
 
-set LinuxDiff 4
-set LinuxFaulties {STATSHAPE}
 set filename coque-sup.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 3 )  Warnings = 274  ( 4465 )  Summary  = 274  ( 4468 )
-CHECKSHAPE  : Wires    = 2  ( 2 )  Faces    = 3  ( 3 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1628  ( 1628 )   Summary  = 39231  ( 39275 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1628  ( 1628 )   FreeWire = 22  ( 26 )   FreeEdge  = 135 ( 135 )   SharedEdge = 17934  ( 17947 )
-TOLERANCE   : MaxTol   =   4.337400808e+088  (    8.082392835e+086 )  AvgTol   =  2.040579288e+085  (    5.099401401e+083 )
-LABELS      : N0Labels = 6  ( 6 )  N1Labels = 1643  ( 9621 )  N2Labels = 0  ( 0 )   TotalLabels = 1649  ( 9627 )   NameLabels = 1649  ( 2891 )   ColorLabels = 1645  ( 9626 )   LayerLabels = 489  ( 3997 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 5 )
-COLORS      : Colors   = BLUE1 CYAN1 GOLD3 GREEN  ( BLUE1 CYAN1 GOLD3 GREEN YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4570 -max_faults 2
+checkxstat D_First -n0 6 -n1 9621 -n2 0 -total 9627 -withname 2891 -withcolor 9626 -withlayer 3997 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GOLD3 GREEN YELLOW } -nbcolors 5 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 2 -max_faces 3 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1628 -shape 39275
+checkstatshape res_1 -solid 0 -shell 0 -face 1628 -freewire 26 -freeedge 135 -sharededge 17947
+set max_tol_res_1 [checkmaxtol res_1 -tol 8.082392835e+086 -avg 5.099401401e+083]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4570 -max_faults 2
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1956 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 6 -n1 9621 -n2 0 -total 9627 -withname 2891 -withcolor 9626 -withlayer 3997 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 6 -n1 1643 -n2 0 -total 1649 -withname 1649 -withcolor 1645 -withlayer 489 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GOLD3 GREEN  } -nbcolors 4 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 2 -max_faces 3 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 2 -max_faces 3 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1628 -shape 39231 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1628 -freewire 22 -freeedge 135 -sharededge 17934 -max_solid 0 -max_shell 0 -max_face 1628 -max_freewire 26 -max_freeedge 135
+checkmaxtol res_2 -tol 4.337400808e+088 -avg 2.040579288e+085 -max_tol ${max_tol_res_1}
+
index 2b18773db92951d394d8d09f33d2ff8e1c20c7cf..4bfab8348f0062edcc9fff8ec706b0af439cccaf 100644 (file)
@@ -1,25 +1,56 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename himm03.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 330  ( 1385 )  Summary  = 330  ( 1385 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 152  ( 152 )   Summary  = 11567  ( 11582 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 152  ( 152 )   FreeWire = 305  ( 441 )   FreeEdge  = 2665 ( 2588 )   SharedEdge = 5140  ( 5064 )
-TOLERANCE   : MaxTol   =   0.9892459055  (   0.9892459128 )  AvgTol   =  0.004744883571  (   0.01316570987 )
-LABELS      : N0Labels = 10  ( 10 )  N1Labels = 553  ( 1961 )  N2Labels = 0  ( 0 )   TotalLabels = 563  ( 1971 )   NameLabels = 563  ( 909 )   ColorLabels = 553  ( 1970 )   LayerLabels = 533  ( 1938 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 6  ( 8 )
-COLORS      : Colors   = BLACK BLUE1 GREEN RED WHITE YELLOW  ( BLACK BLUE1 CYAN1 GREEN MAGENTA1 RED WHITE YELLOW )
-NLAYERS     : NLayers  = 11  ( 13 )
-LAYERS      : Layers   = 1 101 103 2 3 32 4 52 61 70 77  ( 1 101 102 103 2 3 30 32 4 52 61 70 77 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 1392 -max_faults 0
+checkxstat D_First -n0 10 -n1 1961 -n2 0 -total 1971 -withname 909 -withcolor 1970 -withlayer 1938 -centroid 0 -volume 0 -area 0 -colors { BLACK BLUE1 CYAN1 GREEN MAGENTA1 RED WHITE YELLOW } -nbcolors 8 -layers { 1 101 102 103 2 3 30 32 4 52 61 70 77 } -nblayers 13
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 152 -shape 11582
+checkstatshape res_1 -solid 0 -shell 0 -face 152 -freewire 441 -freeedge 2588 -sharededge 5064
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9892459128 -avg 0.01316570987]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 1392 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 330 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 10 -n1 1961 -n2 0 -total 1971 -withname 909 -withcolor 1970 -withlayer 1938 -centroid 0 -volume 0 -area 0 -nbcolors 8 -nblayers 13
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 10 -n1 553 -n2 0 -total 563 -withname 563 -withcolor 553 -withlayer 533 -centroid 0 -volume 0 -area 0 -colors { BLACK BLUE1 GREEN RED WHITE YELLOW  } -nbcolors 6 -layers { 1 101 103 2 3 32 4 52 61 70 77  } -nblayers 11
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 152 -shape 11567 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 152 -freewire 305 -freeedge 2665 -sharededge 5140 -max_solid 0 -max_shell 0 -max_face 152 -max_freewire 441 -max_freeedge 2588
+checkmaxtol res_2 -tol 0.9892459055 -avg 0.004744883571 -max_tol ${max_tol_res_1}
+
index 7726376658792812115ff7a1f23c699135fffa7d..0bc812301b9717905a3e8c12f998cf4fe7c9b468 100644 (file)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename igsBF1.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 10  ( 24 )  Summary  = 10  ( 24 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 12  ( 12 )   Summary  = 1589  ( 1589 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 12  ( 12 )   FreeWire = 0  ( 0 )   FreeEdge  = 199 ( 199 )   SharedEdge = 687  ( 687 )
-TOLERANCE   : MaxTol   =         1e-005  (         1e-005 )  AvgTol   =  3.090240818e-007  (  4.295805207e-006 )
-LABELS      : N0Labels = 212  ( 212 )  N1Labels = 0  ( 72 )  N2Labels = 0  ( 0 )   TotalLabels = 212  ( 284 )   NameLabels = 212  ( 212 )   ColorLabels = 211  ( 284 )   LayerLabels = 211  ( 284 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 5 )
-COLORS      : Colors   = BLUE1 CYAN1 GREEN WHITE  ( BLUE1 CYAN1 GREEN MAGENTA1 WHITE )
-NLAYERS     : NLayers  = 1  ( 2 )
-LAYERS      : Layers   = 1  ( 1 220 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 24 -max_faults 0
+checkxstat D_First -n0 212 -n1 72 -n2 0 -total 284 -withname 212 -withcolor 284 -withlayer 284 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 WHITE } -nbcolors 5 -layers { 1 220 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 12 -shape 1589
+checkstatshape res_1 -solid 0 -shell 0 -face 12 -freewire 0 -freeedge 199 -sharededge 687
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 4.295805207e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 24 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 212 -n1 72 -n2 0 -total 284 -withname 212 -withcolor 284 -withlayer 284 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 212 -n1 0 -n2 0 -total 212 -withname 212 -withcolor 211 -withlayer 211 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN WHITE  } -nbcolors 4 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 12 -shape 1589 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 12 -freewire 0 -freeedge 199 -sharededge 687 -max_solid 0 -max_shell 0 -max_face 12 -max_freewire 0 -max_freeedge 199
+checkmaxtol res_2 -tol 1e-005 -avg 3.090240818e-007 -max_tol ${max_tol_res_1}
+
index 2a79b96ce19f71ec66b6141e56d04dc7400e12d7..4e955b2cdb6fbdfc36c8a61fead0e0dab766db79 100644 (file)
@@ -1,24 +1,55 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename ims002.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 20  ( 257 )  Summary  = 20  ( 257 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 78  ( 78 )   Summary  = 5036  ( 5295 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 78  ( 78 )   FreeWire = 75  ( 334 )   FreeEdge  = 1251 ( 1251 )   SharedEdge = 1965  ( 1965 )
-TOLERANCE   : MaxTol   =   0.2578298329  (   0.2578045038 )  AvgTol   =  0.001358353951  (   0.00164678188 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 880  ( 1446 )  N2Labels = 0  ( 0 )   TotalLabels = 881  ( 1447 )   NameLabels = 881  ( 1008 )   ColorLabels = 880  ( 1446 )   LayerLabels = 858  ( 1419 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 7 )
-COLORS      : Colors   = DODGERBLUE2 GREEN MAGENTA3 TURQUOISE2 WHITE  ( DODGERBLUE2 GRAY80 GREEN MAGENTA3 TURQUOISE2 WHITE YELLOW3 )
-NLAYERS     : NLayers  = 8  ( 10 )
-LAYERS      : Layers   = 1 10 12 13 16 19 4 5  ( 1 10 12 13 16 19 191 210 4 5 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 413 -max_faults 0
+checkdoc "tpstat c" -max_warns 268 -max_faults 0
+checkxstat D_First -n0 1 -n1 1446 -n2 0 -total 1447 -withname 1008 -withcolor 1446 -withlayer 1419 -centroid 0 -volume 0 -area 0 -colors { DODGERBLUE2 GRAY80 GREEN MAGENTA3 TURQUOISE2 WHITE YELLOW3 } -nbcolors 7 -layers { 1 10 12 13 16 19 191 210 4 5 } -nblayers 10
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 78 -shape 5295
+checkstatshape res_1 -solid 0 -shell 0 -face 78 -freewire 334 -freeedge 1251 -sharededge 1965
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.2578045038 -avg 0.00164678188]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 413 -max_faults 0
+checkdoc "tpstat c" -max_warns 268 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 19 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 1446 -n2 0 -total 1447 -withname 1008 -withcolor 1446 -withlayer 1419 -centroid 0 -volume 0 -area 0 -nbcolors 7 -nblayers 10
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 880 -n2 0 -total 881 -withname 881 -withcolor 880 -withlayer 858 -centroid 0 -volume 0 -area 0 -colors { DODGERBLUE2 GREEN MAGENTA3 TURQUOISE2 WHITE  } -nbcolors 5 -layers { 1 10 12 13 16 19 4 5  } -nblayers 8
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 78 -shape 5036 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 78 -freewire 75 -freeedge 1251 -sharededge 1965 -max_solid 0 -max_shell 0 -max_face 78 -max_freewire 334 -max_freeedge 1251
+checkmaxtol res_2 -tol 0.2578298329 -avg 0.001358353951 -max_tol ${max_tol_res_1}
+
index 1115de4280d0b576a5683d1e8484ce1cfc6d7395..84cfd6f75d8889d2f87e5f878a40116358ccca4d 100644 (file)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename ims004.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 95 )  Summary  = 0  ( 95 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 96  ( 96 )   Summary  = 2333  ( 2333 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 96  ( 96 )   FreeWire = 14  ( 14 )   FreeEdge  = 360 ( 360 )   SharedEdge = 871  ( 871 )
-TOLERANCE   : MaxTol   =   0.9808242672  (   0.9808242374 )  AvgTol   =  0.004966469755  (  0.004962254462 )
-LABELS      : N0Labels = 4  ( 4 )  N1Labels = 422  ( 732 )  N2Labels = 0  ( 0 )   TotalLabels = 426  ( 736 )   NameLabels = 426  ( 528 )   ColorLabels = 422  ( 732 )   LayerLabels = 422  ( 732 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 6  ( 8 )
-COLORS      : Colors   = BLUE1 GREEN3 RED TURQUOISE1 WHITE YELLOW  ( BLUE1 GREEN3 GREEN4 MEDIUMORCHID RED TURQUOISE1 WHITE YELLOW )
-NLAYERS     : NLayers  = 11  ( 12 )
-LAYERS      : Layers   = 101 102 103 104 110 130 190 40 41 42 43  ( 101 102 103 104 110 130 185 190 40 41 42 43 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 111 -max_faults 0
+checkxstat D_First -n0 4 -n1 732 -n2 0 -total 736 -withname 528 -withcolor 732 -withlayer 732 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN3 GREEN4 MEDIUMORCHID RED TURQUOISE1 WHITE YELLOW } -nbcolors 8 -layers { 101 102 103 104 110 130 185 190 40 41 42 43 } -nblayers 12
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 96 -shape 2333
+checkstatshape res_1 -solid 0 -shell 0 -face 96 -freewire 14 -freeedge 360 -sharededge 871
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9808242374 -avg 0.004962254462]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 111 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4 -n1 732 -n2 0 -total 736 -withname 528 -withcolor 732 -withlayer 732 -centroid 0 -volume 0 -area 0 -nbcolors 8 -nblayers 12
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 422 -n2 0 -total 426 -withname 426 -withcolor 422 -withlayer 422 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN3 RED TURQUOISE1 WHITE YELLOW  } -nbcolors 6 -layers { 101 102 103 104 110 130 190 40 41 42 43  } -nblayers 11
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 96 -shape 2333 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 96 -freewire 14 -freeedge 360 -sharededge 871 -max_solid 0 -max_shell 0 -max_face 96 -max_freewire 14 -max_freeedge 360
+checkmaxtol res_2 -tol 0.9808242672 -avg 0.004966469755 -max_tol ${max_tol_res_1}
+
index 96fa840e5fb50d200b23093ee6d6b3db64101157..1a5ff562c5e1a9405533ac99ae3b084f94237eb5 100755 (executable)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: DATA : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-
 set filename ims013.igs
 
-set ref_data {
-DATA        : Faulties = 19  ( 0 )  Warnings = 0  ( 0 )  Summary  = 19  ( 0 )
-TPSTAT      : Faulties = 38  ( 160 )  Warnings = 0  ( 780 )  Summary  = 38  ( 940 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 854  ( 702 )   Summary  = 25375  ( 23837 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 854  ( 854 )   FreeWire = 9  ( 31 )   FreeEdge  = 3865 ( 3865 )   SharedEdge = 9820  ( 9202 )
-TOLERANCE   : MaxTol   =   0.9589015104  (   0.9589015104 )  AvgTol   =   0.01827507861  (   0.01834335655 )
-LABELS      : N0Labels = 33  ( 33 )  N1Labels = 4502  ( 6687 )  N2Labels = 0  ( 0 )   TotalLabels = 4535  ( 6720 )   NameLabels = 4535  ( 4624 )   ColorLabels = 4522  ( 6707 )   LayerLabels = 4281  ( 6430 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 8  ( 9 )
-COLORS      : Colors   = BLUE1 CYAN1 GREEN GREEN3 MAGENTA1 RED WHITE YELLOW  ( BLUE1 CYAN1 GRAY80 GREEN GREEN3 MAGENTA1 RED WHITE YELLOW )
-NLAYERS     : NLayers  = 6  ( 6 )
-LAYERS      : Layers   = 10 200 201 3 40 45  ( 10 200 201 3 40 45 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 780 -max_faults 160
+checkxstat D_First -n0 33 -n1 6687 -n2 0 -total 6720 -withname 4624 -withcolor 6707 -withlayer 6430 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GRAY80 GREEN GREEN3 MAGENTA1 RED WHITE YELLOW } -nbcolors 9 -layers { 10 200 201 3 40 45 } -nblayers 6
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 702 -shape 23837
+checkstatshape res_1 -solid 0 -shell 0 -face 854 -freewire 31 -freeedge 3865 -sharededge 9202
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9589015104 -avg 0.01834335655]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 780 -max_faults 160
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 19
+checkdoc "tpstat c" -max_warns 24 -max_faults 38
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 33 -n1 6687 -n2 0 -total 6720 -withname 4624 -withcolor 6707 -withlayer 6430 -centroid 0 -volume 0 -area 0 -nbcolors 9 -nblayers 6
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 33 -n1 4502 -n2 0 -total 4535 -withname 4535 -withcolor 4522 -withlayer 4281 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN GREEN3 MAGENTA1 RED WHITE YELLOW  } -nbcolors 8 -layers { 10 200 201 3 40 45  } -nblayers 6
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 854 -shape 25375 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 854 -freewire 9 -freeedge 3865 -sharededge 9820 -max_solid 0 -max_shell 0 -max_face 854 -max_freewire 31 -max_freeedge 3865
+checkmaxtol res_2 -tol 0.9589015104 -avg 0.01827507861 -max_tol ${max_tol_res_1}
+
index 6f027d39ff52cf35bae004eb34701705114edfee..be0a856c82d0f46c41c0713ee862c5d63228fcda 100644 (file)
@@ -1,24 +1,55 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename ims015.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 197 )  Summary  = 0  ( 197 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 49  ( 49 )   Summary  = 14672  ( 14688 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 49  ( 49 )   FreeWire = 146  ( 146 )   FreeEdge  = 6582 ( 6582 )   SharedEdge = 7155  ( 7155 )
-TOLERANCE   : MaxTol   =  0.03734358068  (  0.03734358027 )  AvgTol   =  0.0003212231779  (  0.000320199395 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 158  ( 421 )  N2Labels = 0  ( 0 )   TotalLabels = 159  ( 422 )   NameLabels = 159  ( 334 )   ColorLabels = 158  ( 421 )   LayerLabels = 0  ( 96 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 4 )
-COLORS      : Colors   = MAGENTA1 YELLOW  ( BLUE1 MAGENTA1 RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 1 )
-LAYERS      : Layers   =   ( 60 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 99 -max_faults 0
+checkdoc "tpstat c" -max_warns 197 -max_faults 0
+checkxstat D_First -n0 1 -n1 421 -n2 0 -total 422 -withname 334 -withcolor 421 -withlayer 96 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA1 RED YELLOW } -nbcolors 4 -layers { 60 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 49 -shape 14688
+checkstatshape res_1 -solid 0 -shell 0 -face 49 -freewire 146 -freeedge 6582 -sharededge 7155
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.03734358027 -avg 0.000320199395]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 99 -max_faults 0
+checkdoc "tpstat c" -max_warns 197 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 421 -n2 0 -total 422 -withname 334 -withcolor 421 -withlayer 96 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 158 -n2 0 -total 159 -withname 159 -withcolor 158 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1 YELLOW  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 49 -shape 14672 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 49 -freewire 146 -freeedge 6582 -sharededge 7155 -max_solid 0 -max_shell 0 -max_face 49 -max_freewire 146 -max_freeedge 6582
+checkmaxtol res_2 -tol 0.03734358068 -avg 0.0003212231779 -max_tol ${max_tol_res_1}
+
index bef85b6642c6fac7ab0f1a94e25a5fc7e1276844..162ee4b1f3521aff6c488579a484d5a14edb9287 100644 (file)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" 
 
-
 set filename ims016.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 120  ( 402 )  Summary  = 120  ( 402 )
-CHECKSHAPE  : Wires    = 4  ( 0 )  Faces    = 2  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 138  ( 138 )   Summary  = 10599  ( 10569 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 138  ( 138 )   FreeWire = 6  ( 6 )   FreeEdge  = 353 ( 353 )   SharedEdge = 4953  ( 4953 )
-TOLERANCE   : MaxTol   =  0.2092687841  (  0.2092687804 )  AvgTol   =  0.0009010196362  (  0.0009882759183 )
-LABELS      : N0Labels = 503  ( 503 )  N1Labels = 0  ( 200 )  N2Labels = 0  ( 0 )   TotalLabels = 503  ( 703 )   NameLabels = 503  ( 503 )   ColorLabels = 470  ( 703 )   LayerLabels = 313  ( 344 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 6  ( 7 )
-COLORS      : Colors   = CYAN1 GREEN MAGENTA1 RED WHITE YELLOW  ( BLACK CYAN1 GREEN MAGENTA1 RED WHITE YELLOW )
-NLAYERS     : NLayers  = 8  ( 8 )
-LAYERS      : Layers   = 1 101 102 103 104 106 107 200  ( 1 101 102 103 104 106 107 200 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 402 -max_faults 0
+checkxstat D_First -n0 503 -n1 200 -n2 0 -total 703 -withname 503 -withcolor 703 -withlayer 344 -centroid 0 -volume 0 -area 0 -colors { BLACK CYAN1 GREEN MAGENTA1 RED WHITE YELLOW } -nbcolors 7 -layers { 1 101 102 103 104 106 107 200 } -nblayers 8
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 138 -shape 10569
+checkstatshape res_1 -solid 0 -shell 0 -face 138 -freewire 6 -freeedge 353 -sharededge 4953
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.2092687804 -avg 0.0009882759183]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 402 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 120 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 503 -n1 200 -n2 0 -total 703 -withname 503 -withcolor 703 -withlayer 344 -centroid 0 -volume 0 -area 0 -nbcolors 7 -nblayers 8
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 503 -n1 0 -n2 0 -total 503 -withname 503 -withcolor 470 -withlayer 313 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN MAGENTA1 RED WHITE YELLOW  } -nbcolors 6 -layers { 1 101 102 103 104 106 107 200  } -nblayers 8
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 4 -max_faces 2 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 138 -shape 10599 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 138 -freewire 6 -freeedge 353 -sharededge 4953 -max_solid 0 -max_shell 0 -max_face 138 -max_freewire 6 -max_freeedge 353
+checkmaxtol res_2 -tol 0.2092687841 -avg 0.0009010196362 -max_tol ${max_tol_res_1}
+
index 78316b7a5d1e64f46a4ea0ac06a4d1b90e78de13..4a8ebfa165578b6ccd678c44b276dc482276f324 100755 (executable)
@@ -1,4 +1,3 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: DATA : Faulty" 
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
@@ -6,21 +5,53 @@ puts "TODO CR23096 ALL: LABELS : Faulty"
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename BUC60000.igs
 
-set ref_data {
-DATA        : Faulties = 12  ( 0 )  Warnings = 0  ( 0 )  Summary  = 12  ( 0 )
-TPSTAT      : Faulties = 24  ( 0 )  Warnings = 24  ( 558 )  Summary  = 48  ( 558 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 186  ( 186 )   Summary  = 9601  ( 9691 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 186  ( 186 )   FreeWire = 200  ( 290 )   FreeEdge  = 2010 ( 2010 )   SharedEdge = 4167  ( 4167 )
-TOLERANCE   : MaxTol   =   0.5957823778  (   0.5957823778 )  AvgTol   =  0.002462709632  (  0.002802777852 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 657  ( 1422 )  N2Labels = 0  ( 0 )   TotalLabels = 659  ( 1424 )   NameLabels = 659  ( 1008 )   ColorLabels = 657  ( 1422 )   LayerLabels = 440  ( 1100 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 9  ( 10 )
-COLORS      : Colors   = BLUE1 BURLYWOOD1 CYAN1 DEEPSKYBLUE1 GREEN MAGENTA1 RED WHITE YELLOW  ( BLUE1 BURLYWOOD1 CYAN1 DEEPSKYBLUE1 GREEN LEMONCHIFFON1 MAGENTA1 RED WHITE YELLOW )
-NLAYERS     : NLayers  = 10  ( 11 )
-LAYERS      : Layers   = 10 100 11 2 24 25 27 3 4 66  ( 1 10 100 11 2 24 25 27 3 4 66 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 558 -max_faults 0
+checkxstat D_First -n0 2 -n1 1422 -n2 0 -total 1424 -withname 1008 -withcolor 1422 -withlayer 1100 -centroid 0 -volume 0 -area 0 -colors { BLUE1 BURLYWOOD1 CYAN1 DEEPSKYBLUE1 GREEN LEMONCHIFFON1 MAGENTA1 RED WHITE YELLOW } -nbcolors 10 -layers { 1 10 100 11 2 24 25 27 3 4 66 } -nblayers 11
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 186 -shape 9691
+checkstatshape res_1 -solid 0 -shell 0 -face 186 -freewire 290 -freeedge 2010 -sharededge 4167
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.5957823778 -avg 0.002802777852]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 558 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 12
+checkdoc "tpstat c" -max_warns 24 -max_faults 24
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 1422 -n2 0 -total 1424 -withname 1008 -withcolor 1422 -withlayer 1100 -centroid 0 -volume 0 -area 0 -nbcolors 10 -nblayers 11
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 657 -n2 0 -total 659 -withname 659 -withcolor 657 -withlayer 440 -centroid 0 -volume 0 -area 0 -colors { BLUE1 BURLYWOOD1 CYAN1 DEEPSKYBLUE1 GREEN MAGENTA1 RED WHITE YELLOW  } -nbcolors 9 -layers { 10 100 11 2 24 25 27 3 4 66  } -nblayers 10
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 186 -shape 9601 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 186 -freewire 200 -freeedge 2010 -sharededge 4167 -max_solid 0 -max_shell 0 -max_face 186 -max_freewire 290 -max_freeedge 2010
+checkmaxtol res_2 -tol 0.5957823778 -avg 0.002462709632 -max_tol ${max_tol_res_1}
+
index a7292a25a4ff9b8e181568d6e10ae6f35aed1d1d..a06e81856ee1dfcad0b209cab83bf0c5c3aab7ff 100644 (file)
@@ -1,26 +1,57 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" 
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
-puts "TODO CR25013 ALL: Error : 1 differences with reference data found" 
-
+puts "TODO CR25013 ALL: Error: Avg tolerance of res_1" 
 
 set filename BUC60215.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 201 )  Warnings = 12  ( 487 )  Summary  = 12  ( 688 )
-CHECKSHAPE  : Wires    = 1  ( 0 )  Faces    = 1  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 117  ( 117 )   Summary  = 9970  ( 10003 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 117  ( 117 )   FreeWire = 60  ( 93 )   FreeEdge  = 2720 ( 2720 )   SharedEdge = 3521  ( 3521 )
-TOLERANCE   : MaxTol   =   0.7859817704  (   0.7859817704 )  AvgTol   =  0.005733330289  (  0.006491446419 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 2639  ( 3216 )  N2Labels = 0  ( 0 )   TotalLabels = 2641  ( 3218 )   NameLabels = 2641  ( 2850 )   ColorLabels = 2639  ( 3216 )   LayerLabels = 2607  ( 3179 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 7  ( 9 )
-COLORS      : Colors   = CYAN1 DARKOLIVEGREEN2 GRAY67 LIGHTSKYBLUE1 MAGENTA3 MEDIUMPURPLE1 TAN1  ( CYAN1 DARKOLIVEGREEN2 GRAY67 HONEYDEW LIGHTSKYBLUE1 MAGENTA3 MEDIUMPURPLE1 PALETURQUOISE1 TAN1 )
-NLAYERS     : NLayers  = 6  ( 7 )
-LAYERS      : Layers   = 120 130 131 70 71 73  ( 120 121 130 131 70 71 73 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 506 -max_faults 201
+checkxstat D_First -n0 2 -n1 3216 -n2 0 -total 3218 -withname 2850 -withcolor 3216 -withlayer 3179 -centroid 0 -volume 0 -area 0 -colors { CYAN1 DARKOLIVEGREEN2 GRAY67 HONEYDEW LIGHTSKYBLUE1 MAGENTA3 MEDIUMPURPLE1 PALETURQUOISE1 TAN1 } -nbcolors 9 -layers { 120 121 130 131 70 71 73 } -nblayers 7
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 117 -shape 10003
+checkstatshape res_1 -solid 0 -shell 0 -face 117 -freewire 93 -freeedge 2720 -sharededge 3521
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.7859817704 -avg 0.006491446419]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 506 -max_faults 201
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 3216 -n2 0 -total 3218 -withname 2850 -withcolor 3216 -withlayer 3179 -centroid 0 -volume 0 -area 0 -nbcolors 9 -nblayers 7
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 2639 -n2 0 -total 2641 -withname 2641 -withcolor 2639 -withlayer 2607 -centroid 0 -volume 0 -area 0 -colors { CYAN1 DARKOLIVEGREEN2 GRAY67 LIGHTSKYBLUE1 MAGENTA3 MEDIUMPURPLE1 TAN1  } -nbcolors 7 -layers { 120 130 131 70 71 73  } -nblayers 6
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 117 -shape 9970 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 117 -freewire 60 -freeedge 2720 -sharededge 3521 -max_solid 0 -max_shell 0 -max_face 117 -max_freewire 93 -max_freeedge 2720
+checkmaxtol res_2 -tol 0.7859817704 -avg 0.005733330289 -max_tol ${max_tol_res_1}
+
index 34b275f690944669fe15f95d1c1970701d0e681b..8fbdab7c2f8ea0acc1ca15b3d6911c9f683d1c82 100644 (file)
@@ -1,24 +1,55 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-
 set filename Hutablage.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 515  ( 3435 )  Summary  = 515  ( 3435 )
-CHECKSHAPE  : Wires    = 0  ( 2 )  Faces    = 0  ( 2 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 636  ( 628 )   Summary  = 25749  ( 25764 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 636  ( 628 )   FreeWire = 51  ( 87 )   FreeEdge  = 297 ( 297 )   SharedEdge = 12155  ( 12155 )
-TOLERANCE   : MaxTol   =   0.9940193324  (   0.9940193324 )  AvgTol   =   0.01619162554  (   0.01618254197 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 711  ( 11812 )  N2Labels = 0  ( 0 )   TotalLabels = 712  ( 11813 )   NameLabels = 708  ( 765 )   ColorLabels = 711  ( 11812 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 5 )
-COLORS      : Colors   = BLUE1 RED WHITE  ( BLUE1 GREEN RED TURQUOISE2 WHITE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3435 -max_faults 0
+checkxstat D_First -n0 1 -n1 11812 -n2 0 -total 11813 -withname 765 -withcolor 11812 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED TURQUOISE2 WHITE } -nbcolors 5 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 628 -shape 25764
+checkstatshape res_1 -solid 0 -shell 0 -face 628 -freewire 87 -freeedge 297 -sharededge 12155
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9940193324 -avg 0.01618254197]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3435 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 515 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 11812 -n2 0 -total 11813 -withname 765 -withcolor 11812 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 711 -n2 0 -total 712 -withname 708 -withcolor 711 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED WHITE  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 636 -shape 25749 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 636 -freewire 51 -freeedge 297 -sharededge 12155 -max_solid 0 -max_shell 0 -max_face 628 -max_freewire 87 -max_freeedge 297
+checkmaxtol res_2 -tol 0.9940193324 -avg 0.01619162554 -max_tol ${max_tol_res_1}
+
index bbbc0f7f6499c656199c9830cee028c6d833f2b0..cd4808a99d2f71212136ba67f3a9a444f10ae024 100644 (file)
@@ -1,24 +1,55 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-
 set filename PUNZONE.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 7 )  Warnings = 0  ( 1 )  Summary  = 0  ( 8 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1002  ( 2775 )  Summary  = 1002  ( 2775 )
-CHECKSHAPE  : Wires    = 2  ( 2 )  Faces    = 4  ( 4 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1127  ( 1125 )   Summary  = 44243  ( 44244 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1127  ( 1125 )   FreeWire = 26  ( 26 )   FreeEdge  = 1197 ( 1197 )   SharedEdge = 20961  ( 20961 )
-TOLERANCE   : MaxTol   =  0.08512566596  (  0.08512566591 )  AvgTol   =  0.005308553687  (   0.00530936624 )
-LABELS      : N0Labels = 1155  ( 1155 )  N1Labels = 0  ( 1498 )  N2Labels = 0  ( 0 )   TotalLabels = 1155  ( 2653 )   NameLabels = 1155  ( 2265 )   ColorLabels = 1125  ( 2653 )   LayerLabels = 1125  ( 1125 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 4 )
-COLORS      : Colors   = GREEN  ( GREEN MAGENTA1 RED YELLOW )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = 16 18  ( 16 18 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 7
+checkdoc "tpstat c" -max_warns 2775 -max_faults 0
+checkxstat D_First -n0 1155 -n1 1498 -n2 0 -total 2653 -withname 2265 -withcolor 2653 -withlayer 1125 -centroid 0 -volume 0 -area 0 -colors { GREEN MAGENTA1 RED YELLOW } -nbcolors 4 -layers { 16 18 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 2 -max_faces 4 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1125 -shape 44244
+checkstatshape res_1 -solid 0 -shell 0 -face 1125 -freewire 26 -freeedge 1197 -sharededge 20961
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.08512566591 -avg 0.00530936624]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 7
+checkdoc "tpstat c" -max_warns 2775 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1002 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1155 -n1 1498 -n2 0 -total 2653 -withname 2265 -withcolor 2653 -withlayer 1125 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1155 -n1 0 -n2 0 -total 1155 -withname 1155 -withcolor 1125 -withlayer 1125 -centroid 0 -volume 0 -area 0 -colors { GREEN  } -nbcolors 1 -layers { 16 18  } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 2 -max_faces 4 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 2 -max_faces 4 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1127 -shape 44243 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1127 -freewire 26 -freeedge 1197 -sharededge 20961 -max_solid 0 -max_shell 0 -max_face 1125 -max_freewire 26 -max_freeedge 1197
+checkmaxtol res_2 -tol 0.08512566596 -avg 0.005308553687 -max_tol ${max_tol_res_1}
+
index c2d2884c17c43648f0b896dfa79cc497721ec00a..6bc6f638fe110f409800bc3a1ca8d71d4137780a 100755 (executable)
@@ -1,4 +1,3 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: DATA : Faulty"
 puts "TODO CR25923 ALL: TPSTAT : Faulty"  
 puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" 
@@ -7,21 +6,53 @@ puts "TODO CR23096 ALL: LABELS : Faulty"
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-set LinuxDiff 5
 set filename UKI60094.igs
 
-set ref_data {
-DATA        : Faulties = 2  ( 0 )  Warnings = 0  ( 0 )  Summary  = 2  ( 0 )
-TPSTAT      : Faulties = 4  ( 33 )  Warnings = 125  ( 319 )  Summary  = 129  ( 352 )
-CHECKSHAPE  : Wires    = 1  ( 1 )  Faces    = 3  ( 2 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 421  ( 159 )   Summary  = 7850  ( 4452 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 421  ( 419 )   FreeWire = 66  ( 114 )   FreeEdge  = 430 ( 430 )   SharedEdge = 3347  ( 1892 )
-TOLERANCE   : MaxTol   =    3.181671051  (    2716.882548 )  AvgTol   =  0.008547757257  (     3.678737151 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 325  ( 1665 )  N2Labels = 0  ( 0 )   TotalLabels = 328  ( 1668 )   NameLabels = 328  ( 425 )   ColorLabels = 325  ( 1665 )   LayerLabels = 193  ( 1453 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 6  ( 7 )
-COLORS      : Colors   = GREEN MATRABLUE RED RED4 WHITE YELLOW  ( GREEN MAGENTA1 MATRABLUE RED RED4 WHITE YELLOW )
-NLAYERS     : NLayers  = 2  ( 3 )
-LAYERS      : Layers   = 1 253  ( 1 2 253 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 319 -max_faults 33
+checkxstat D_First -n0 3 -n1 1665 -n2 0 -total 1668 -withname 425 -withcolor 1665 -withlayer 1453 -centroid 0 -volume 0 -area 0 -colors { GREEN MAGENTA1 MATRABLUE RED RED4 WHITE YELLOW } -nbcolors 7 -layers { 1 2 253 } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 2 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 159 -shape 4452
+checkstatshape res_1 -solid 0 -shell 0 -face 419 -freewire 114 -freeedge 430 -sharededge 1892
+set max_tol_res_1 [checkmaxtol res_1 -tol 2716.882548 -avg 3.678737151]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 319 -max_faults 33
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 390 -max_faults 4
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 1665 -n2 0 -total 1668 -withname 425 -withcolor 1665 -withlayer 1453 -centroid 0 -volume 0 -area 0 -nbcolors 7 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 325 -n2 0 -total 328 -withname 328 -withcolor 325 -withlayer 193 -centroid 0 -volume 0 -area 0 -colors { GREEN MATRABLUE RED RED4 WHITE YELLOW  } -nbcolors 6 -layers { 1 253  } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 2 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 3 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 421 -shape 7850 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 421 -freewire 66 -freeedge 430 -sharededge 3347 -max_solid 0 -max_shell 0 -max_face 419 -max_freewire 114 -max_freeedge 430
+checkmaxtol res_2 -tol 3.181671051 -avg 0.008547757257 -max_tol ${max_tol_res_1}
+
index 9e6c600484a7888ffe1ae43501a46d90b69520ec..3b8fa38b06710262e99cd0673ef66a8ae2d9b334 100755 (executable)
@@ -1,4 +1,3 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: DATA : Faulty" 
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
@@ -6,21 +5,53 @@ puts "TODO CR23096 ALL: LABELS : Faulty"
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-set LinuxDiff 1
 set filename UKI60107-6.igs
 
-set ref_data {
-DATA        : Faulties = 1  ( 0 )  Warnings = 0  ( 239 )  Summary  = 1  ( 239 )
-TPSTAT      : Faulties = 2  ( 0 )  Warnings = 15  ( 316 )  Summary  = 17  ( 316 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 79  ( 79 )   Summary  = 3800  ( 3951 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 79  ( 79 )   FreeWire = 79  ( 230 )   FreeEdge  = 865 ( 865 )   SharedEdge = 1481  ( 1481 )
-TOLERANCE   : MaxTol   =  0.06847151261  (   0.8635005927 )  AvgTol   =   0.00133710651  (  0.003525405269 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 596  ( 1004 )  N2Labels = 0  ( 0 )   TotalLabels = 597  ( 1005 )   NameLabels = 597  ( 745 )   ColorLabels = 596  ( 1004 )   LayerLabels = 577  ( 985 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 7 )
-COLORS      : Colors   = DODGERBLUE2 GREEN MAGENTA3 TURQUOISE2 WHITE  ( DODGERBLUE2 GRAY80 GREEN MAGENTA3 TURQUOISE2 WHITE YELLOW3 )
-NLAYERS     : NLayers  = 8  ( 10 )
-LAYERS      : Layers   = 1 10 13 16 19 31 4 5  ( 1 10 13 16 19 191 210 31 4 5 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 239 -max_faults 0
+checkdoc "tpstat c" -max_warns 318 -max_faults 0
+checkxstat D_First -n0 1 -n1 1004 -n2 0 -total 1005 -withname 745 -withcolor 1004 -withlayer 985 -centroid 0 -volume 0 -area 0 -colors { DODGERBLUE2 GRAY80 GREEN MAGENTA3 TURQUOISE2 WHITE YELLOW3 } -nbcolors 7 -layers { 1 10 13 16 19 191 210 31 4 5 } -nblayers 10
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 79 -shape 3951
+checkstatshape res_1 -solid 0 -shell 0 -face 79 -freewire 230 -freeedge 865 -sharededge 1481
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.8635005927 -avg 0.003525405269]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 239 -max_faults 0
+checkdoc "tpstat c" -max_warns 318 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 15 -max_faults 2
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 1004 -n2 0 -total 1005 -withname 745 -withcolor 1004 -withlayer 985 -centroid 0 -volume 0 -area 0 -nbcolors 7 -nblayers 10
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 596 -n2 0 -total 597 -withname 597 -withcolor 596 -withlayer 577 -centroid 0 -volume 0 -area 0 -colors { DODGERBLUE2 GREEN MAGENTA3 TURQUOISE2 WHITE  } -nbcolors 5 -layers { 1 10 13 16 19 31 4 5  } -nblayers 8
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 79 -shape 3800 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 79 -freewire 79 -freeedge 865 -sharededge 1481 -max_solid 0 -max_shell 0 -max_face 79 -max_freewire 230 -max_freeedge 865
+checkmaxtol res_2 -tol 0.06847151261 -avg 0.00133710651 -max_tol ${max_tol_res_1}
+
index f3a4ba195208c0f8c2d0620d3c665d7e079ab0c1..c2de18d75f4d119f5fb8e7beeda573a586ea659f 100755 (executable)
@@ -1,4 +1,3 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: DATA : Faulty" 
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
@@ -6,21 +5,53 @@ puts "TODO CR23096 ALL: LABELS : Faulty"
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename BUC40132.igs
 
-set ref_data {
-DATA        : Faulties = 6  ( 0 )  Warnings = 0  ( 0 )  Summary  = 6  ( 0 )
-TPSTAT      : Faulties = 12  ( 238 )  Warnings = 473  ( 2623 )  Summary  = 485  ( 2861 )
-CHECKSHAPE  : Wires    = 4  ( 4 )  Faces    = 4  ( 4 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1346  ( 1345 )   Summary  = 22215  ( 22296 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1346  ( 1345 )   FreeWire = 96  ( 170 )   FreeEdge  = 1061 ( 1061 )   SharedEdge = 9271  ( 9280 )
-TOLERANCE   : MaxTol   =   0.8099726869  (    1.367966665 )  AvgTol   =  0.008043971398  (  0.008388581449 )
-LABELS      : N0Labels = 27  ( 27 )  N1Labels = 2100  ( 5101 )  N2Labels = 0  ( 0 )   TotalLabels = 2127  ( 5128 )   NameLabels = 2127  ( 2596 )   ColorLabels = 2114  ( 5127 )   LayerLabels = 2114  ( 5127 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 11  ( 12 )
-COLORS      : Colors   = BLUE1 CYAN1 CYAN2 DARKGOLDENROD GREEN MAGENTA1 PALEVIOLETRED1 RED TURQUOISE2 WHITE YELLOW  ( BLUE1 CYAN1 CYAN2 DARKGOLDENROD GRAY53 GREEN MAGENTA1 PALEVIOLETRED1 RED TURQUOISE2 WHITE YELLOW )
-NLAYERS     : NLayers  = 26  ( 27 )
-LAYERS      : Layers   = 10 101 102 104 105 106 11 13 200 201 21 23 25 250 29 32 38 50 53 61 63 73 74 75 83 9  ( 10 101 102 104 105 106 11 13 200 201 21 23 24 25 250 29 32 38 50 53 61 63 73 74 75 83 9 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2623 -max_faults 238
+checkxstat D_First -n0 27 -n1 5101 -n2 0 -total 5128 -withname 2596 -withcolor 5127 -withlayer 5127 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 CYAN2 DARKGOLDENROD GRAY53 GREEN MAGENTA1 PALEVIOLETRED1 RED TURQUOISE2 WHITE YELLOW } -nbcolors 12 -layers { 10 101 102 104 105 106 11 13 200 201 21 23 24 25 250 29 32 38 50 53 61 63 73 74 75 83 9 } -nblayers 27
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 4 -max_faces 4 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1345 -shape 22296
+checkstatshape res_1 -solid 0 -shell 0 -face 1345 -freewire 170 -freeedge 1061 -sharededge 9280
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.367966665 -avg 0.008388581449]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2623 -max_faults 238
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 6
+checkdoc "tpstat c" -max_warns 473 -max_faults 12
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 27 -n1 5101 -n2 0 -total 5128 -withname 2596 -withcolor 5127 -withlayer 5127 -centroid 0 -volume 0 -area 0 -nbcolors 12 -nblayers 27
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 27 -n1 2100 -n2 0 -total 2127 -withname 2127 -withcolor 2114 -withlayer 2114 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 CYAN2 DARKGOLDENROD GREEN MAGENTA1 PALEVIOLETRED1 RED TURQUOISE2 WHITE YELLOW  } -nbcolors 11 -layers { 10 101 102 104 105 106 11 13 200 201 21 23 25 250 29 32 38 50 53 61 63 73 74 75 83 9  } -nblayers 26
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 4 -max_faces 4 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 4 -max_faces 4 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1346 -shape 22215 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1346 -freewire 96 -freeedge 1061 -sharededge 9271 -max_solid 0 -max_shell 0 -max_face 1345 -max_freewire 170 -max_freeedge 1061
+checkmaxtol res_2 -tol 0.8099726869 -avg 0.008043971398 -max_tol ${max_tol_res_1}
+
index 8a6905719033f9214ebe491dc66eebc0d867024b..b0c180cb5f27fcdedf3aafafeff3f030250bde35 100644 (file)
@@ -1,24 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-set LinuxDiff 5
-set LinuxFaulties {CHECKSHAPE}
 set filename USA60022.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 157  ( 2003 )  Summary  = 157  ( 2003 )
-CHECKSHAPE  : Wires    = 7  ( 14 )  Faces    = 9  ( 15 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 666  ( 634 )   Summary  = 25078  ( 24995 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 666  ( 634 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 11901  ( 11872 )
-TOLERANCE   : MaxTol   =      6.4081268  (    1.331845935 )  AvgTol   =  0.002669852591  (   0.00229913384 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 634  ( 634 )  N2Labels = 0  ( 0 )   TotalLabels = 635  ( 635 )   NameLabels = 635  ( 635 )   ColorLabels = 634  ( 635 )   LayerLabels = 634  ( 635 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = GREEN RED  ( GREEN RED )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 10  ( 10 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 2003 -max_faults 0
+checkxstat D_First -n0 1 -n1 634 -n2 0 -total 635 -withname 635 -withcolor 635 -withlayer 635 -centroid 0 -volume 0 -area 0 -colors { GREEN RED } -nbcolors 2 -layers { 10 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 14 -max_faces 15 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 634 -shape 24995
+checkstatshape res_1 -solid 0 -shell 0 -face 634 -freewire 0 -freeedge 0 -sharededge 11872
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.331845935 -avg 0.00229913384]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 2003 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 154 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 634 -n2 0 -total 635 -withname 635 -withcolor 635 -withlayer 635 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 634 -n2 0 -total 635 -withname 635 -withcolor 634 -withlayer 634 -centroid 0 -volume 0 -area 0 -colors { GREEN RED  } -nbcolors 2 -layers { 10  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 14 -max_faces 15 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 7 -max_faces 9 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 666 -shape 25078 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 666 -freewire 0 -freeedge 0 -sharededge 11901 -max_solid 0 -max_shell 0 -max_face 634 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 6.4081268 -avg 0.002669852591 -max_tol ${max_tol_res_1}
+
index 0de91af8e315b7e48d941c1962bf090157d5577b..00498834f12170c42307ef6f8f49b16a8f68bf17 100755 (executable)
@@ -1,25 +1,56 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: DATA : Faulty" 
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename catia01_s.igs
 
-set ref_data {
-DATA        : Faulties = 8  ( 0 )  Warnings = 0  ( 0 )  Summary  = 8  ( 0 )
-TPSTAT      : Faulties = 16  ( 3 )  Warnings = 46  ( 305 )  Summary  = 62  ( 308 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 145  ( 145 )   Summary  = 3870  ( 3869 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 145  ( 145 )   FreeWire = 64  ( 64 )   FreeEdge  = 617 ( 617 )   SharedEdge = 1627  ( 1627 )
-TOLERANCE   : MaxTol   =  0.09719916174  (  0.09719915743 )  AvgTol   =  0.001636226349  (  0.001630578185 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 346  ( 756 )  N2Labels = 0  ( 0 )   TotalLabels = 348  ( 758 )   NameLabels = 348  ( 478 )   ColorLabels = 347  ( 757 )   LayerLabels = 336  ( 744 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 3 )
-COLORS      : Colors   = RED WHITE  ( RED WHITE YELLOW )
-NLAYERS     : NLayers  = 6  ( 7 )
-LAYERS      : Layers   = 1 2 242 243 244 3  ( 1 11 2 242 243 244 3 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 308 -max_faults 3
+checkxstat D_First -n0 2 -n1 756 -n2 0 -total 758 -withname 478 -withcolor 757 -withlayer 744 -centroid 0 -volume 0 -area 0 -colors { RED WHITE YELLOW } -nbcolors 3 -layers { 1 11 2 242 243 244 3 } -nblayers 7
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 145 -shape 3869
+checkstatshape res_1 -solid 0 -shell 0 -face 145 -freewire 64 -freeedge 617 -sharededge 1627
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.09719915743 -avg 0.001630578185]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 308 -max_faults 3
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 8
+checkdoc "tpstat c" -max_warns 46 -max_faults 16
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 756 -n2 0 -total 758 -withname 478 -withcolor 757 -withlayer 744 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 7
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 346 -n2 0 -total 348 -withname 348 -withcolor 347 -withlayer 336 -centroid 0 -volume 0 -area 0 -colors { RED WHITE  } -nbcolors 2 -layers { 1 2 242 243 244 3  } -nblayers 6
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 145 -shape 3870 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 145 -freewire 64 -freeedge 617 -sharededge 1627 -max_solid 0 -max_shell 0 -max_face 145 -max_freewire 64 -max_freeedge 617
+checkmaxtol res_2 -tol 0.09719916174 -avg 0.001636226349 -max_tol ${max_tol_res_1}
+
index 8a026f91dd450cc7b54c200e790d2c0af9aae8d4..44ffe860a2341be6c2149307b182e297370391ec 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename t_cat_424_002_sgi_hybdrw_vw_dosenhalter_standard.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 569 )  Warnings = 152  ( 8440 )  Summary  = 152  ( 9009 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 9171  ( 9171 )   Summary  = 288412  ( 288510 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 9171  ( 9171 )   FreeWire = 998  ( 1096 )   FreeEdge  = 28215 ( 28215 )   SharedEdge = 122275  ( 122275 )
-TOLERANCE   : MaxTol   =   0.6305328468  (   0.6305328468 )  AvgTol   =  0.0003777026264  (  0.0003780896454 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 31624  ( 37142 )  N2Labels = 0  ( 0 )   TotalLabels = 31625  ( 37143 )   NameLabels = 31621  ( 36777 )   ColorLabels = 31624  ( 37142 )   LayerLabels = 29174  ( 34054 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = GOLD3 MAGENTA1 WHITE YELLOW  ( GOLD3 MAGENTA1 WHITE YELLOW )
-NLAYERS     : NLayers  = 36  ( 36 )
-LAYERS      : Layers   = 1 101 102 103 104 105 106 107 108 110 111 112 113 116 117 118 123 190 192 2 200 22 229 241 253 3 34 50 51 52 54 55 56 57 58 59  ( 1 101 102 103 104 105 106 107 108 110 111 112 113 116 117 118 123 190 192 2 200 22 229 241 253 3 34 50 51 52 54 55 56 57 58 59 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8440 -max_faults 569
+checkxstat D_First -n0 1 -n1 37142 -n2 0 -total 37143 -withname 36777 -withcolor 37142 -withlayer 34054 -centroid 0 -volume 0 -area 0 -colors { GOLD3 MAGENTA1 WHITE YELLOW } -nbcolors 4 -layers { 1 101 102 103 104 105 106 107 108 110 111 112 113 116 117 118 123 190 192 2 200 22 229 241 253 3 34 50 51 52 54 55 56 57 58 59 } -nblayers 36
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 9171 -shape 288510
+checkstatshape res_1 -solid 0 -shell 0 -face 9171 -freewire 1096 -freeedge 28215 -sharededge 122275
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.6305328468 -avg 0.0003780896454]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8440 -max_faults 569
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 154 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 37142 -n2 0 -total 37143 -withname 36777 -withcolor 37142 -withlayer 34054 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 36
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 31624 -n2 0 -total 31625 -withname 31621 -withcolor 31624 -withlayer 29174 -centroid 0 -volume 0 -area 0 -colors { GOLD3 MAGENTA1 WHITE YELLOW  } -nbcolors 4 -layers { 1 101 102 103 104 105 106 107 108 110 111 112 113 116 117 118 123 190 192 2 200 22 229 241 253 3 34 50 51 52 54 55 56 57 58 59  } -nblayers 36
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 9171 -shape 288412 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 9171 -freewire 998 -freeedge 28215 -sharededge 122275 -max_solid 0 -max_shell 0 -max_face 9171 -max_freewire 1096 -max_freeedge 28215
+checkmaxtol res_2 -tol 0.6305328468 -avg 0.0003777026264 -max_tol ${max_tol_res_1}
+
index 54a4e0848286cd14ced13a60a549e42200b2b739..dc2b92f6e5f614b00f4eeb0f2522a65bdb6124a2 100755 (executable)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: DATA : Faulty" 
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename VERSEUSE.igs
 
-set ref_data {
-DATA        : Faulties = 1  ( 0 )  Warnings = 0  ( 0 )  Summary  = 1  ( 0 )
-TPSTAT      : Faulties = 2  ( 19 )  Warnings = 97  ( 1126 )  Summary  = 99  ( 1145 )
-CHECKSHAPE  : Wires    = 0  ( 1 )  Faces    = 0  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 436  ( 436 )   Summary  = 7823  ( 7826 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 436  ( 436 )   FreeWire = 15  ( 15 )   FreeEdge  = 208 ( 208 )   SharedEdge = 3430  ( 3431 )
-TOLERANCE   : MaxTol   =   0.8904045146  (   0.8904045345 )  AvgTol   =   0.01244625407  (   0.01247379594 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 501  ( 2306 )  N2Labels = 0  ( 0 )   TotalLabels = 502  ( 2307 )   NameLabels = 502  ( 770 )   ColorLabels = 501  ( 2306 )   LayerLabels = 443  ( 2228 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = BLUE1 GREEN RED WHITE  ( BLUE1 GREEN RED WHITE )
-NLAYERS     : NLayers  = 4  ( 4 )
-LAYERS      : Layers   = 10 20 30 50  ( 10 20 30 50 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1155 -max_faults 19
+checkxstat D_First -n0 1 -n1 2306 -n2 0 -total 2307 -withname 770 -withcolor 2306 -withlayer 2228 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED WHITE } -nbcolors 4 -layers { 10 20 30 50 } -nblayers 4
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 436 -shape 7826
+checkstatshape res_1 -solid 0 -shell 0 -face 436 -freewire 15 -freeedge 208 -sharededge 3431
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.8904045345 -avg 0.01247379594]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1155 -max_faults 19
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 97 -max_faults 2
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 2306 -n2 0 -total 2307 -withname 770 -withcolor 2306 -withlayer 2228 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 4
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 501 -n2 0 -total 502 -withname 502 -withcolor 501 -withlayer 443 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED WHITE  } -nbcolors 4 -layers { 10 20 30 50  } -nblayers 4
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 436 -shape 7823 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 436 -freewire 15 -freeedge 208 -sharededge 3430 -max_solid 0 -max_shell 0 -max_face 436 -max_freewire 15 -max_freeedge 208
+checkmaxtol res_2 -tol 0.8904045146 -avg 0.01244625407 -max_tol ${max_tol_res_1}
+
index 4610466ff4f4a98578eec22b07955f3d9ff672dd..4eb1da228bb5b805d2f0161516fd1e1348183829 100644 (file)
@@ -1,21 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename BUC60291.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 5745  ( 31066 )  Summary  = 5745  ( 31066 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 6500  ( 6500 )   Summary  = 158096  ( 158092 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 6500  ( 6500 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 72656  ( 72654 )
-TOLERANCE   : MaxTol   =   0.9560441943  (   0.9560441934 )  AvgTol   =  0.001956426418  (  0.001954522593 )
-LABELS      : N0Labels = 6500  ( 6500 )  N1Labels = 0  ( 25540 )  N2Labels = 0  ( 0 )   TotalLabels = 6500  ( 32040 )   NameLabels = 6500  ( 6500 )   ColorLabels = 6500  ( 32040 )   LayerLabels = 6500  ( 32040 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = YELLOW  ( YELLOW )
-NLAYERS     : NLayers  = 12  ( 12 )
-LAYERS      : Layers   = 10 12 13 14 15 31 32 5 6 7 8 9  ( 10 12 13 14 15 31 32 5 6 7 8 9 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 31179 -max_faults 0
+checkxstat D_First -n0 6500 -n1 25540 -n2 0 -total 32040 -withname 6500 -withcolor 32040 -withlayer 32040 -centroid 0 -volume 0 -area 0 -colors { YELLOW } -nbcolors 1 -layers { 10 12 13 14 15 31 32 5 6 7 8 9 } -nblayers 12
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 6500 -shape 158092
+checkstatshape res_1 -solid 0 -shell 0 -face 6500 -freewire 0 -freeedge 0 -sharededge 72654
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9560441934 -avg 0.001954522593]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 31179 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5748 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 6500 -n1 25540 -n2 0 -total 32040 -withname 6500 -withcolor 32040 -withlayer 32040 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 12
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 6500 -n1 0 -n2 0 -total 6500 -withname 6500 -withcolor 6500 -withlayer 6500 -centroid 0 -volume 0 -area 0 -colors { YELLOW  } -nbcolors 1 -layers { 10 12 13 14 15 31 32 5 6 7 8 9  } -nblayers 12
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 6500 -shape 158096 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 6500 -freewire 0 -freeedge 0 -sharededge 72656 -max_solid 0 -max_shell 0 -max_face 6500 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9560441943 -avg 0.001956426418 -max_tol ${max_tol_res_1}
+
index ef86a2554e4146f70a6a7213f67c1182e9955301..59510386850aaa48076ccaeecd4e46d764e69f8f 100644 (file)
@@ -1,22 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename BUC60390.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 12  ( 1168 )  Summary  = 12  ( 1168 )
-CHECKSHAPE  : Wires    = 16  ( 16 )  Faces    = 24  ( 24 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 224  ( 224 )   Summary  = 73673  ( 73661 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 224  ( 224 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 36616  ( 36608 )
-TOLERANCE   : MaxTol   =   0.3297745494  (   0.0412874456 )  AvgTol   =  8.510529471e-005  (  3.712938892e-005 )
-LABELS      : N0Labels = 224  ( 224 )  N1Labels = 0  ( 21432 )  N2Labels = 0  ( 0 )   TotalLabels = 224  ( 21656 )   NameLabels = 224  ( 224 )   ColorLabels = 224  ( 21656 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = YELLOW  ( YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 1168 -max_faults 0
+checkxstat D_First -n0 224 -n1 21432 -n2 0 -total 21656 -withname 224 -withcolor 21656 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { YELLOW } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 16 -max_faces 24 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 224 -shape 73661
+checkstatshape res_1 -solid 0 -shell 0 -face 224 -freewire 0 -freeedge 0 -sharededge 36608
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0412874456 -avg 3.712938892e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 1168 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 224 -n1 21432 -n2 0 -total 21656 -withname 224 -withcolor 21656 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 224 -n1 0 -n2 0 -total 224 -withname 224 -withcolor 224 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { YELLOW  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 16 -max_faces 24 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 16 -max_faces 24 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 224 -shape 73673 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 224 -freewire 0 -freeedge 0 -sharededge 36616 -max_solid 0 -max_shell 0 -max_face 224 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.3297745494 -avg 8.510529471e-005 -max_tol ${max_tol_res_1}
+
index af95584da6e141f6822cf7766ca4511563939d15..27e262e6ea3975c012a50f2b26fc2c988552495c 100755 (executable)
@@ -1,23 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" 
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
+puts "TODO CR23096 ALL: CHECKSHAPE : Faulty ref number of wires in command checkshape ff with max possible number" 
 
-set LinuxDiff 3
 set filename 1stpunch-mcsrfs.igs
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 885  ( 1951 )  Summary  = 885  ( 1951 )
-CHECKSHAPE  : Wires    = 6  ( 4 )  Faces    = 3  ( 3 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1223  ( 1223 )   Summary  = 68996  ( 68971 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 1223  ( 1223 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 33290  ( 33278 )
-TOLERANCE   : MaxTol   = 0.002714431471  ( 0.001436622896 )  AvgTol   =  1.636929841e-006  (  9.67254762e-006 )
-LABELS      : N0Labels = 1215  ( 1215 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1215  ( 1215 )   NameLabels = 1215  ( 1215 )   ColorLabels = 0  ( 0 )   LayerLabels = 1207  ( 1215 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 30  ( 30 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 2792 -max_faults 0
+checkdoc "tpstat c" -max_warns 1953 -max_faults 0
+checkxstat D_First -n0 1215 -n1 0 -n2 0 -total 1215 -withname 1215 -withcolor 0 -withlayer 1215 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers { 30 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1223 -shape 68971
+checkstatshape res_1 -solid 0 -shell 0 -face 1223 -freewire 0 -freeedge 0 -sharededge 33278
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.001436622896 -avg 9.67254762e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 2792 -max_faults 0
+checkdoc "tpstat c" -max_warns 1953 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 883 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1215 -n1 0 -n2 0 -total 1215 -withname 1215 -withcolor 0 -withlayer 1215 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1215 -n1 0 -n2 0 -total 1215 -withname 1215 -withcolor 0 -withlayer 1207 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers { 30  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 4 -max_faces 2 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+regexp {COMPOUND +: +([-0-9.+eE]+)} ${nbshapes_res_1} full comp_res_1
+set shape_comp_res_1 [expr ${shape_res_1} - ${comp_res_1}]
+checknbshapes res_2 -solid 0 -shell 0 -face 1223 -shape 68996 -de_iges ${shape_comp_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 1223 -freewire 0 -freeedge 0 -sharededge 33290 -max_solid 0 -max_shell 0 -max_face 1223 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.002714431471 -avg 1.636929841e-006 -max_tol ${max_tol_res_1}
+
index ae3201d2d412e806e7f6d9e9b61dc45dbbb08aa8..fb02768603cd0db1a058c0f388eaabfe52802540 100644 (file)
@@ -1,22 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
-set ProductMode OFF
 set filename model_214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 1 )  Warnings = 0  ( 3 )  Summary  = 0  ( 4 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 3 )  Summary  = 2  ( 3 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 15  ( 0 )  Face     = 15  ( 15 )   Summary  = 187  ( 174 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 15  ( 0 )  Face     = 15  ( 15 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 71  ( 71 )
-TOLERANCE   : MaxTol   =          1e-07  (     1.0001e-07 )  AvgTol   =           1e-07  (  1.000029825e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 15  ( 15 )  N2Labels = 0  ( 0 )   TotalLabels = 16  ( 16 )   NameLabels = 1  ( 1 )   ColorLabels = 15  ( 15 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename} -productmode 0
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 3 -max_faults 1
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 1 -n1 15 -n2 0 -total 16 -withname 1 -withcolor 15 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 15 -shape 174
+checkstatshape res_1 -solid 0 -shell 0 -face 15 -freewire 0 -freeedge 0 -sharededge 71
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.0001e-07 -avg 1.000029825e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 3 -max_faults 1
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 15 -n2 0 -total 16 -withname 1 -withcolor 15 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 15 -n2 0 -total 16 -withname 1 -withcolor 15 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 15 -face 15 -shape 187 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 15 -face 15 -freewire 0 -freeedge 0 -sharededge 71 -max_solid 0 -max_shell 0 -max_face 15 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-07 -avg 1e-07 -max_tol ${max_tol_res_1}
+
index 8f1fac1461fc6823372f665bc6d2f7646a40d692..67b6cb2e414abee30464102ed554ac8dd2be964d 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename tr9_r0701-db.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 914 )  Warnings = 0  ( 0 )  Summary  = 0  ( 914 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 30  ( 30 )  Summary  = 30  ( 30 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 35  ( 35 )   Summary  = 223  ( 223 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 35  ( 35 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 82  ( 82 )
-TOLERANCE   : MaxTol   = 4.199313252e-05  ( 4.297107017e-05 )  AvgTol   =  1.375200154e-05  (  1.381138283e-05 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 2 )
-LAYERS      : Layers   = 2  ( {  0} {  2} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 914
+checkdoc "tpstat c" -max_warns 30 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers {  } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 35 -shape 223
+checkstatshape res_1 -solid 1 -shell 1 -face 35 -freewire 0 -freeedge 0 -sharededge 82
+set max_tol_res_1 [checkmaxtol res_1 -tol 4.297107017e-05 -avg 1.381138283e-05]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 914
+checkdoc "tpstat c" -max_warns 30 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 30 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers {   } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 35 -shape 223 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 35 -freewire 0 -freeedge 0 -sharededge 82 -max_solid 1 -max_shell 1 -max_face 35 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 4.199313252e-05 -avg 1.375200154e-05 -max_tol ${max_tol_res_1}
+
index c94a8788e0844ad107809a9907443f2eb90e35f0..34ee98917f78ae2eed1c552bdcd7621bd76597e2 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename id_turbine-C.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 42  ( 58 )  Summary  = 42  ( 58 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 49  ( 0 )  Face     = 49  ( 49 )   Summary  = 579  ( 529 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 49  ( 0 )  Face     = 49  ( 49 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 220  ( 218 )
-TOLERANCE   : MaxTol   = 0.003591433268  ( 0.006121716429 )  AvgTol   =  0.0002657130942  (  0.0004625449099 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 58 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 49 -shape 529
+checkstatshape res_1 -solid 0 -shell 0 -face 49 -freewire 0 -freeedge 0 -sharededge 218
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.006121716429 -avg 0.0004625449099]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 58 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 19 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 49 -face 49 -shape 579 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 49 -face 49 -freewire 0 -freeedge 0 -sharededge 220 -max_solid 0 -max_shell 0 -max_face 49 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003591433268 -avg 0.0002657130942 -max_tol ${max_tol_res_1}
+
index aec8d4975f2e99727406ff7dcb954f6064e9280e..932a16ff680ec2ad135e7b3abdf1768861e0bd8a 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename mat-b.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 25  ( 10 )  Summary  = 25  ( 10 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 2  ( 2 )  Shell    = 2  ( 2 )  Face     = 80  ( 80 )   Summary  = 674  ( 661 )
-STATSHAPE   : Solid    = 2  ( 2 )  Shell    = 2  ( 2 )  Face     = 80  ( 80 )   FreeWire = 0  ( 0 )   FreeEdge  = 12 ( 12 )   SharedEdge = 261  ( 261 )
-TOLERANCE   : MaxTol   = 0.0009825722198  ( 0.0009825722195 )  AvgTol   =  7.814613912e-005  (  7.722166107e-005 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 3 )  N2Labels = 0  ( 1 )   TotalLabels = 5  ( 7 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+checkxstat D_First -n0 3 -n1 3 -n2 1 -total 7 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 2 -shell 2 -face 80 -shape 661
+checkstatshape res_1 -solid 2 -shell 2 -face 80 -freewire 0 -freeedge 12 -sharededge 261
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0009825722195 -avg 7.722166107e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 25 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 3 -n2 1 -total 7 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 2 -shell 2 -face 80 -shape 674 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 2 -shell 2 -face 80 -freewire 0 -freeedge 12 -sharededge 261 -max_solid 2 -max_shell 2 -max_face 80 -max_freewire 0 -max_freeedge 12
+checkmaxtol res_2 -tol 0.0009825722198 -avg 7.814613912e-005 -max_tol ${max_tol_res_1}
+
index 721cd84f5ab2f8cc530ddcbd586ff863c1bf5ce5..0ef9d4a9d42944a3ab46f1385358083de0f2a1a2 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename tr8_pr3_al.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 10  ( 10 )  Summary  = 10  ( 10 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 16  ( 16 )   Summary  = 95  ( 95 )
-STATSHAPE   : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 16  ( 16 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 36  ( 36 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 4  ( 4 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 1  ( 1 )   ColorLabels = 4  ( 4 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = BLUE1 GREEN RED YELLOW  ( BLUE1 GREEN RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 1 )
-LAYERS      : Layers   =   ( LayerA )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+checkxstat D_First -n0 1 -n1 4 -n2 0 -total 5 -withname 1 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED YELLOW } -nbcolors 4 -layers { LayerA } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 4 -shell 4 -face 16 -shape 95
+checkstatshape res_1 -solid 4 -shell 4 -face 16 -freewire 0 -freeedge 0 -sharededge 36
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 4 -n2 0 -total 5 -withname 1 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 4 -n2 0 -total 5 -withname 1 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED YELLOW  } -nbcolors 4 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 4 -shell 4 -face 16 -shape 95 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 4 -shell 4 -face 16 -freewire 0 -freeedge 0 -sharededge 36 -max_solid 4 -max_shell 4 -max_face 16 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 98e334823d5db1f67141c28d3f64679275506f8b..43f395ca6e1daa18d3c4d586e1e9a14bdf542e09 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: PROPS : Faulty" 
 
-
 set filename trj12_pm10-ct-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 12  ( 12 )  Shell    = 12  ( 12 )  Face     = 61  ( 61 )   Summary  = 316  ( 316 )
-STATSHAPE   : Solid    = 17  ( 17 )  Shell    = 17  ( 17 )  Face     = 93  ( 93 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 98  ( 98 )
-TOLERANCE   : MaxTol   =   1.00005e-007  (   1.00005e-007 )  AvgTol   =  1.000038209e-007  (  1.000038209e-007 )
-LABELS      : N0Labels = 17  ( 17 )  N1Labels = 25  ( 25 )  N2Labels = 0  ( 0 )   TotalLabels = 42  ( 42 )   NameLabels = 42  ( 42 )   ColorLabels = 12  ( 12 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 17  ( 42 )  Volume   = 13  ( 13 )  Area     = 13  ( 13 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = CYAN1 GREEN LIGHTSKYBLUE3  ( CYAN1 GREEN LIGHTSKYBLUE3 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 17 -n1 25 -n2 0 -total 42 -withname 42 -withcolor 12 -withlayer 0 -centroid 42 -volume 13 -area 13 -colors { CYAN1 GREEN LIGHTSKYBLUE3 } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 12 -shell 12 -face 61 -shape 316
+checkstatshape res_1 -solid 17 -shell 17 -face 93 -freewire 0 -freeedge 0 -sharededge 98
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-007 -avg 1.000038209e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 17 -n1 25 -n2 0 -total 42 -withname 42 -withcolor 12 -withlayer 0 -centroid 42 -volume 13 -area 13 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 17 -n1 25 -n2 0 -total 42 -withname 42 -withcolor 12 -withlayer 0 -centroid 17 -volume 13 -area 13 -colors { CYAN1 GREEN LIGHTSKYBLUE3  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 12 -shell 12 -face 61 -shape 316 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 17 -shell 17 -face 93 -freewire 0 -freeedge 0 -sharededge 98 -max_solid 17 -max_shell 17 -max_face 93 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.00005e-007 -avg 1.000038209e-007 -max_tol ${max_tol_res_1}
+
index 934f2c3f45f3b51ce76f3a0b841a1adad8b3b638..6a95fd2a84396239cc38268f23eae14f6d944fd2 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj3_s1-id-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 33  ( 32 )  Summary  = 33  ( 32 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 8  ( 8 )  Shell    = 8  ( 8 )  Face     = 101  ( 101 )   Summary  = 604  ( 604 )
-STATSHAPE   : Solid    = 11  ( 11 )  Shell    = 11  ( 11 )  Face     = 134  ( 134 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 221  ( 221 )
-TOLERANCE   : MaxTol   = 0.0002663644062  ( 0.004247215546 )  AvgTol   =  6.0376793e-006  (  9.943585154e-005 )
-LABELS      : N0Labels = 13  ( 13 )  N1Labels = 18  ( 23 )  N2Labels = 0  ( 5 )   TotalLabels = 31  ( 41 )   NameLabels = 27  ( 27 )   ColorLabels = 12  ( 12 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 RED YELLOW  ( BLUE1 RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 32 -max_faults 0
+checkxstat D_First -n0 13 -n1 23 -n2 5 -total 41 -withname 27 -withcolor 12 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED YELLOW } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 8 -shell 8 -face 101 -shape 604
+checkstatshape res_1 -solid 11 -shell 11 -face 134 -freewire 0 -freeedge 0 -sharededge 221
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.004247215546 -avg 9.943585154e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 32 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 32 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 13 -n1 23 -n2 5 -total 41 -withname 27 -withcolor 12 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 13 -n1 18 -n2 0 -total 31 -withname 27 -withcolor 12 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED YELLOW  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 8 -shell 8 -face 101 -shape 604 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 11 -shell 11 -face 134 -freewire 0 -freeedge 0 -sharededge 221 -max_solid 11 -max_shell 11 -max_face 134 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0002663644062 -avg 6.0376793e-006 -max_tol ${max_tol_res_1}
+
index 4e135279f0d509ad3563d1da3cb7a13ed0966b2f..0fc44499505f9614c104619295c5f13e06fdcbe6 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: PROPS : Faulty" 
 
-
 set filename trj7_as1-id-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 14  ( 14 )  Summary  = 14  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 39  ( 39 )   Summary  = 301  ( 289 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 125  ( 125 )   FreeWire = 0  ( 0 )   FreeEdge  = 24 ( 24 )   SharedEdge = 96  ( 96 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 11  ( 11 )  N1Labels = 30  ( 30 )  N2Labels = 0  ( 0 )   TotalLabels = 41  ( 41 )   NameLabels = 26  ( 26 )   ColorLabels = 20  ( 20 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 14 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = BLUE1 DODGERBLUE2 GREEN RED  ( BLUE1 DODGERBLUE2 GREEN RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 11 -n1 30 -n2 0 -total 41 -withname 26 -withcolor 20 -withlayer 0 -centroid 14 -volume 1 -area 1 -colors { BLUE1 DODGERBLUE2 GREEN RED } -nbcolors 4 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 39 -shape 289
+checkstatshape res_1 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 24 -sharededge 96
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 11 -n1 30 -n2 0 -total 41 -withname 26 -withcolor 20 -withlayer 0 -centroid 14 -volume 1 -area 1 -nbcolors 4 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 11 -n1 30 -n2 0 -total 41 -withname 26 -withcolor 20 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { BLUE1 DODGERBLUE2 GREEN RED  } -nbcolors 4 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 39 -shape 301 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 24 -sharededge 96 -max_solid 18 -max_shell 18 -max_face 125 -max_freewire 0 -max_freeedge 24
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index f19d12c16bef0a9e604eafdeff5f163d9965e023..4cca10c5c239b979d383011f3d846b1ce8686d4a 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: PROPS : Faulty" 
 
-
 set filename trj7_as1-pe-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 353  ( 353 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000062348e-007  (  1.000062348e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 3  ( 3 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 9  ( 22 )  Volume   = 9  ( 9 )  Area     = 9  ( 9 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 3 -withlayer 0 -centroid 22 -volume 9 -area 9 -colors { GREEN } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 353
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000062348e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 3 -withlayer 0 -centroid 22 -volume 9 -area 9 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 3 -withlayer 0 -centroid 9 -volume 9 -area 9 -colors { GREEN  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 353 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000062348e-007 -max_tol ${max_tol_res_1}
+
index 6ce03098909defe69ce894cfc65d25f3cba67eb5..3e80f77fe968f40d1135c92d4e4b57574276e4d3 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename Box.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 26  ( 27 )  Summary  = 26  ( 27 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 226  ( 226 )   Summary  = 1367  ( 1365 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 226  ( 226 )   FreeWire = 0  ( 0 )   FreeEdge  = 2 ( 2 )   SharedEdge = 553  ( 553 )
-TOLERANCE   : MaxTol   = 0.004186274562  ( 0.004186316422 )  AvgTol   =  6.222296623e-005  (  6.16998157e-005 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 4 )  N2Labels = 0  ( 2 )   TotalLabels = 5  ( 9 )   NameLabels = 5  ( 6 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 26 -max_faults 0
+checkxstat D_First -n0 3 -n1 4 -n2 2 -total 9 -withname 6 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 226 -shape 1365
+checkstatshape res_1 -solid 1 -shell 1 -face 226 -freewire 0 -freeedge 2 -sharededge 553
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.004186316422 -avg 6.16998157e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 26 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 24 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 4 -n2 2 -total 9 -withname 6 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 226 -shape 1367 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 226 -freewire 0 -freeedge 2 -sharededge 553 -max_solid 1 -max_shell 1 -max_face 226 -max_freewire 0 -max_freeedge 2
+checkmaxtol res_2 -tol 0.004186274562 -avg 6.222296623e-005 -max_tol ${max_tol_res_1}
+
index 0e4d549d860d5a654faea87b8b461e30907a7701..1ea9a9dfb1425f822e3164329e6588addf308d4b 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: PROPS : Faulty" 
 
-
 set filename trj7_as1-pe-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 353  ( 353 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000062348e-007  (  1.000062348e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 3  ( 3 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 9  ( 22 )  Volume   = 9  ( 9 )  Area     = 9  ( 9 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 3 -withlayer 0 -centroid 22 -volume 9 -area 9 -colors { GREEN } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 353
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000062348e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 3 -withlayer 0 -centroid 22 -volume 9 -area 9 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 3 -withlayer 0 -centroid 9 -volume 9 -area 9 -colors { GREEN  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 353 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000062348e-007 -max_tol ${max_tol_res_1}
+
index 1e3e80078ef43c5f537ccbed5b3fbfeecaaabde5..b66e7289f3112b101f9b2b4d5e16eae8cfe8515f 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj10_ap209-eb.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 37 )  Summary  = 0  ( 37 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 38  ( 38 )  Face     = 115  ( 115 )   Summary  = 949  ( 949 )
-STATSHAPE   : Solid    = 2  ( 2 )  Shell    = 76  ( 76 )  Face     = 230  ( 230 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 376  ( 376 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000082513e-007  (  1.000082513e-007 )
-LABELS      : N0Labels = 41  ( 41 )  N1Labels = 41  ( 41 )  N2Labels = 0  ( 0 )   TotalLabels = 82  ( 82 )   NameLabels = 82  ( 81 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 37 -max_faults 0
+checkxstat D_First -n0 41 -n1 41 -n2 0 -total 82 -withname 81 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 38 -face 115 -shape 949
+checkstatshape res_1 -solid 2 -shell 76 -face 230 -freewire 0 -freeedge 0 -sharededge 376
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000082513e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 37 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 41 -n1 41 -n2 0 -total 82 -withname 81 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 41 -n1 41 -n2 0 -total 82 -withname 82 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 38 -face 115 -shape 949 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 2 -shell 76 -face 230 -freewire 0 -freeedge 0 -sharededge 376 -max_solid 2 -max_shell 76 -max_face 230 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000082513e-007 -max_tol ${max_tol_res_1}
+
index 439694b752cbf8a5f1b1529b9088d6eb2d2e6c2c..aba6e5591b752bab69d6cdcf99befab75ea7ca96 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename bm4_ug_punch_c.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 40 )  Summary  = 4  ( 40 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 36  ( 3 )  Face     = 186  ( 186 )   Summary  = 1404  ( 1371 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 36  ( 3 )  Face     = 186  ( 186 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 548  ( 548 )
-TOLERANCE   : MaxTol   = 0.007676795012  (  0.01770527621 )  AvgTol   =  0.0001484581256  (  0.0002068814634 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 37  ( 37 )  N2Labels = 0  ( 0 )   TotalLabels = 42  ( 42 )   NameLabels = 9  ( 9 )   ColorLabels = 36  ( 36 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = MAGENTA1 MEDIUMSEAGREEN RED4  ( MAGENTA1 MEDIUMSEAGREEN RED4 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 40 -max_faults 0
+checkxstat D_First -n0 5 -n1 37 -n2 0 -total 42 -withname 9 -withcolor 36 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1 MEDIUMSEAGREEN RED4 } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 186 -shape 1371
+checkstatshape res_1 -solid 3 -shell 3 -face 186 -freewire 0 -freeedge 0 -sharededge 548
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01770527621 -avg 0.0002068814634]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 40 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 37 -n2 0 -total 42 -withname 9 -withcolor 36 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 37 -n2 0 -total 42 -withname 9 -withcolor 36 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1 MEDIUMSEAGREEN RED4  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 36 -face 186 -shape 1404 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 36 -face 186 -freewire 0 -freeedge 0 -sharededge 548 -max_solid 3 -max_shell 3 -max_face 186 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.007676795012 -avg 0.0001484581256 -max_tol ${max_tol_res_1}
+
index 3c775aaff0ab9bc108f395e7171ee3b68bc6adb3..b85066c3214c7ec46ded53d0397cbf5d1f566ec2 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: PROPS : Faulty" 
 
-
 set filename trj8_as1-ec-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 353  ( 353 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000062348e-007  (  1.000062348e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 9  ( 22 )  Volume   = 9  ( 9 )  Area     = 9  ( 9 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 22 -volume 9 -area 9 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 353
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000062348e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 22 -volume 9 -area 9 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 9 -volume 9 -area 9 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 353 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000062348e-007 -max_tol ${max_tol_res_1}
+
index 951bf9489681db166b0e4431c2e9d3cf95dcf276..ba49962d75071d76acba3056e027b7901bb48caf 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj7_k1-id-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 15  ( 16 )  Summary  = 15  ( 16 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 46  ( 46 )   Summary  = 288  ( 288 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 46  ( 46 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 117  ( 117 )
-TOLERANCE   : MaxTol   =  0.01475036715  (  0.01475021965 )  AvgTol   =  0.0004055238368  (  0.0004055209364 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 59  ( 61 )  N2Labels = 0  ( 0 )   TotalLabels = 60  ( 62 )   NameLabels = 1  ( 1 )   ColorLabels = 60  ( 62 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = DEEPSKYBLUE2 MAGENTA1 ORANGE ORANGERED RED  ( DEEPSKYBLUE2 MAGENTA1 ORANGE ORANGERED RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 18 -max_faults 0
+checkxstat D_First -n0 1 -n1 61 -n2 0 -total 62 -withname 1 -withcolor 62 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE2 MAGENTA1 ORANGE ORANGERED RED } -nbcolors 5 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 46 -shape 288
+checkstatshape res_1 -solid 0 -shell 1 -face 46 -freewire 0 -freeedge 0 -sharededge 117
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01475021965 -avg 0.0004055209364]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 18 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 15 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 61 -n2 0 -total 62 -withname 1 -withcolor 62 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 59 -n2 0 -total 60 -withname 1 -withcolor 60 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE2 MAGENTA1 ORANGE ORANGERED RED  } -nbcolors 5 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 46 -shape 288 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 46 -freewire 0 -freeedge 0 -sharededge 117 -max_solid 0 -max_shell 1 -max_face 46 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01475036715 -avg 0.0004055238368 -max_tol ${max_tol_res_1}
+
index 61d341289380422c2a1df82fef16b1bdf78c404c..bb078c89d66c0e4bfe66f19a90e6eaa43e473e96 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename ug_turbine-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 0 )  Face     = 1  ( 1 )   Summary  = 11  ( 11 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 0 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 4  ( 4 )
-TOLERANCE   : MaxTol   =  0.01553531324  (  0.04002196131 )  AvgTol   =  0.009251748359  (   0.02246039438 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 1  ( 1 )  N2Labels = 0  ( 0 )   TotalLabels = 2  ( 2 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = CYAN1  ( CYAN1 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 1 -n2 0 -total 2 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { CYAN1 } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1 -shape 11
+checkstatshape res_1 -solid 0 -shell 0 -face 1 -freewire 0 -freeedge 0 -sharededge 4
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.04002196131 -avg 0.02246039438]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 1 -n2 0 -total 2 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 1 -n2 0 -total 2 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { CYAN1  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 11 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 0 -sharededge 4 -max_solid 0 -max_shell 0 -max_face 1 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01553531324 -avg 0.009251748359 -max_tol ${max_tol_res_1}
+
index 30b0f02f5b0140616bb093daa6576da14751b9e5..3c338b3b98d559e53a67d805192b82cff59146ef 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj7_pm5-ct-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 111  ( 111 )   Summary  = 732  ( 732 )
-STATSHAPE   : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 111  ( 111 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 278  ( 278 )
-TOLERANCE   : MaxTol   = 0.0004869373599  ( 0.0004869373599 )  AvgTol   =  2.610579264e-005  (  2.610579263e-005 )
-LABELS      : N0Labels = 6  ( 6 )  N1Labels = 5  ( 6 )  N2Labels = 0  ( 1 )   TotalLabels = 11  ( 13 )   NameLabels = 11  ( 11 )   ColorLabels = 5  ( 5 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = BLUE1 CHARTREUSE CYAN1 RED YELLOW  ( BLUE1 CHARTREUSE CYAN1 RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 6 -n1 6 -n2 1 -total 13 -withname 11 -withcolor 5 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CHARTREUSE CYAN1 RED YELLOW } -nbcolors 5 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 111 -shape 732
+checkstatshape res_1 -solid 5 -shell 5 -face 111 -freewire 0 -freeedge 0 -sharededge 278
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0004869373599 -avg 2.610579263e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 6 -n1 6 -n2 1 -total 13 -withname 11 -withcolor 5 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 6 -n1 5 -n2 0 -total 11 -withname 11 -withcolor 5 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CHARTREUSE CYAN1 RED YELLOW  } -nbcolors 5 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 111 -shape 732 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 5 -shell 5 -face 111 -freewire 0 -freeedge 0 -sharededge 278 -max_solid 5 -max_shell 5 -max_face 111 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0004869373599 -avg 2.610579264e-005 -max_tol ${max_tol_res_1}
+
index 0d93dc296671c1a13d3e982b86d1c50d1065c55a..0135b9252cb108e45af64cffc1ef846486ca2eb0 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename voilure.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 6 )  Summary  = 4  ( 6 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 52  ( 52 )   Summary  = 426  ( 404 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 52  ( 52 )   FreeWire = 0  ( 0 )   FreeEdge  = 21 ( 21 )   SharedEdge = 157  ( 157 )
-TOLERANCE   : MaxTol   = 0.0004859880213  ( 0.0004859879605 )  AvgTol   =  3.800436207e-005  (  3.800656244e-005 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 3 )  N2Labels = 0  ( 1 )   TotalLabels = 5  ( 7 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+checkxstat D_First -n0 3 -n1 3 -n2 1 -total 7 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 52 -shape 404
+checkstatshape res_1 -solid 1 -shell 1 -face 52 -freewire 0 -freeedge 21 -sharededge 157
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0004859879605 -avg 3.800656244e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 3 -n2 1 -total 7 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 52 -shape 426 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 52 -freewire 0 -freeedge 21 -sharededge 157 -max_solid 1 -max_shell 1 -max_face 52 -max_freewire 0 -max_freeedge 21
+checkmaxtol res_2 -tol 0.0004859880213 -avg 3.800436207e-005 -max_tol ${max_tol_res_1}
+
index 9199226c5477153070c62fbf768b8d330d075500..4ddc0267ddd65d67cecd30496df69d03a243db33 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: PROPS : Faulty" 
 
-
 set filename trj8_as1-tu-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 19 )  Summary  = 0  ( 19 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 353  ( 353 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000062348e-007  (  1.000062348e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 35  ( 35 )  N2Labels = 0  ( 0 )   TotalLabels = 44  ( 44 )   NameLabels = 22  ( 22 )   ColorLabels = 27  ( 27 )   LayerLabels = 5  ( 5 )
-PROPS       : Centroid = 9  ( 22 )  Volume   = 9  ( 9 )  Area     = 9  ( 9 )
-NCOLORS     : NColors  = 7  ( 7 )
-COLORS      : Colors   = BLUE1 DARKORANGE DARKORANGE GREEN RED YELLOW3 YELLOW3  ( BLUE1 DARKORANGE DARKORANGE GREEN RED YELLOW3 YELLOW3 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 256  ( 256 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 19 -max_faults 0
+checkxstat D_First -n0 9 -n1 35 -n2 0 -total 44 -withname 22 -withcolor 27 -withlayer 5 -centroid 22 -volume 9 -area 9 -colors { BLUE1 DARKORANGE DARKORANGE GREEN RED YELLOW3 YELLOW3 } -nbcolors 7 -layers { 256 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 353
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000062348e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 19 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 35 -n2 0 -total 44 -withname 22 -withcolor 27 -withlayer 5 -centroid 22 -volume 9 -area 9 -nbcolors 7 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 35 -n2 0 -total 44 -withname 22 -withcolor 27 -withlayer 5 -centroid 9 -volume 9 -area 9 -colors { BLUE1 DARKORANGE DARKORANGE GREEN RED YELLOW3 YELLOW3  } -nbcolors 7 -layers { 256  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 353 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000062348e-007 -max_tol ${max_tol_res_1}
+
index b2c76bc81719a2a57f49bd5ed11930b8161044cc..ed136a8a4fa0e99510080f3a83263a85e774dfdd 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename PRO12761.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 9  ( 3 )  Summary  = 9  ( 3 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 2  ( 2 )  Face     = 36  ( 36 )   Summary  = 281  ( 262 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 2  ( 2 )  Face     = 36  ( 36 )   FreeWire = 0  ( 2 )   FreeEdge  = 19 ( 19 )   SharedEdge = 107  ( 107 )
-TOLERANCE   : MaxTol   = 0.008665713529  (  0.01506194194 )  AvgTol   =  0.0006799119121  (  0.001501244216 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 2 -face 36 -shape 262
+checkstatshape res_1 -solid 0 -shell 2 -face 36 -freewire 2 -freeedge 19 -sharededge 107
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01506194194 -avg 0.001501244216]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 2 -face 36 -shape 281 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 2 -face 36 -freewire 0 -freeedge 19 -sharededge 107 -max_solid 0 -max_shell 2 -max_face 36 -max_freewire 2 -max_freeedge 19
+checkmaxtol res_2 -tol 0.008665713529 -avg 0.0006799119121 -max_tol ${max_tol_res_1}
+
index 36863c082ce52645737d35ea5f211c5a138c0353..ea8df5cb96e2f7b3680fdf694234ff4ced45db97 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename trj10_b2-id-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 1  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 221  ( 221 )   Summary  = 1398  ( 1397 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 221  ( 221 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 576  ( 576 )
-TOLERANCE   : MaxTol   = 0.009952224089  ( 0.009952224089 )  AvgTol   =  0.0007250477715  (  0.000901206859 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GRAY65  ( GRAY65 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { GRAY65 } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 221 -shape 1397
+checkstatshape res_1 -solid 1 -shell 1 -face 221 -freewire 0 -freeedge 0 -sharededge 576
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009952224089 -avg 0.000901206859]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { GRAY65  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 221 -shape 1398 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 221 -freewire 0 -freeedge 0 -sharededge 576 -max_solid 1 -max_shell 1 -max_face 221 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.009952224089 -avg 0.0007250477715 -max_tol ${max_tol_res_1}
+
index dd079b65d40ba9819709231ece1fa7e80f091afd..0cde9b7d2affaf751f54fa45b8633c272b2921ed 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename PRO20362.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 2 )  Summary  = 0  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 2  ( 0 )  Face     = 2  ( 2 )   Summary  = 23  ( 21 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 2  ( 0 )  Face     = 2  ( 2 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 8  ( 8 )
-TOLERANCE   : MaxTol   =         1e-007  ( 1.000123146e-007 )  AvgTol   =          1e-007  (  1.000053276e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 2 -shape 21
+checkstatshape res_1 -solid 0 -shell 0 -face 2 -freewire 0 -freeedge 0 -sharededge 8
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000123146e-007 -avg 1.000053276e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 2 -face 2 -shape 23 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 2 -face 2 -freewire 0 -freeedge 0 -sharededge 8 -max_solid 0 -max_shell 0 -max_face 2 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 9b4ce744302874191fe4e8646c6a04ca52f3921a..c49fcdf52b3b802da826671576503f651c7813bc 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj2_as1-id-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 14  ( 14 )  Summary  = 14  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 39  ( 39 )   Summary  = 255  ( 255 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 125  ( 125 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 84  ( 84 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 17 )  N2Labels = 0  ( 4 )   TotalLabels = 22  ( 30 )   NameLabels = 22  ( 22 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 6  ( 6 )  Volume   = 6  ( 6 )  Area     = 6  ( 6 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 9 -n1 17 -n2 4 -total 30 -withname 22 -withcolor 0 -withlayer 0 -centroid 6 -volume 6 -area 6 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 39 -shape 255
+checkstatshape res_1 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 84
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 17 -n2 4 -total 30 -withname 22 -withcolor 0 -withlayer 0 -centroid 6 -volume 6 -area 6 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 6 -volume 6 -area 6 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 39 -shape 255 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 84 -max_solid 18 -max_shell 18 -max_face 125 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 9e394c5b3594e88b1f56c60c9021fbb5c17c413f..bd1a22c4b3a221dfb5fc00ec16adf5a1d35c9501 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename PRO7755.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 1 )  Warnings = 0  ( 1 )  Summary  = 0  ( 2 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 1 )  Summary  = 1  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 14  ( 10 )  Face     = 14  ( 14 )   Summary  = 184  ( 155 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 14  ( 10 )  Face     = 14  ( 14 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 56  ( 50 )
-TOLERANCE   : MaxTol   = 0.0001957201735  ( 0.005490898223 )  AvgTol   =  3.286972717e-05  (  0.0004776973929 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 1
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 10 -face 14 -shape 155
+checkstatshape res_1 -solid 0 -shell 10 -face 14 -freewire 0 -freeedge 0 -sharededge 50
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.005490898223 -avg 0.0004776973929]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 1
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 14 -face 14 -shape 184 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 14 -face 14 -freewire 0 -freeedge 0 -sharededge 56 -max_solid 0 -max_shell 10 -max_face 14 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0001957201735 -avg 3.286972717e-05 -max_tol ${max_tol_res_1}
+
index a115adc49ac8355fd44912d52b7fc44b8af069ee..9e1e27e5d1928900f76ceda4ea79f75c82d60960 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj8_k1-hc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 2 )  Warnings = 0  ( 0 )  Summary  = 0  ( 2 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 6  ( 1 )  Summary  = 6  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 52  ( 52 )  Face     = 52  ( 52 )   Summary  = 1126  ( 942 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 52  ( 52 )  Face     = 52  ( 52 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 484  ( 484 )
-TOLERANCE   : MaxTol   = 0.002730674215  (   0.0116718272 )  AvgTol   =  0.000209395694  (  0.001020276868 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 105  ( 53 )  N2Labels = 0  ( 0 )   TotalLabels = 107  ( 55 )   NameLabels = 3  ( 3 )   ColorLabels = 104  ( 53 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 6 -max_faults 2
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 2 -n1 53 -n2 0 -total 55 -withname 3 -withcolor 53 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { WHITE } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 52 -face 52 -shape 942
+checkstatshape res_1 -solid 0 -shell 52 -face 52 -freewire 0 -freeedge 0 -sharededge 484
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0116718272 -avg 0.001020276868]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 6 -max_faults 2
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 53 -n2 0 -total 55 -withname 3 -withcolor 53 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 105 -n2 0 -total 107 -withname 3 -withcolor 104 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { WHITE  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 52 -face 52 -shape 1126 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 52 -face 52 -freewire 0 -freeedge 0 -sharededge 484 -max_solid 0 -max_shell 52 -max_face 52 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.002730674215 -avg 0.000209395694 -max_tol ${max_tol_res_1}
+
index 6372e0d25983eecd25765960b7feed7a085ac3f1..7a2d8c195455f8710dd022fd26a275155e83a183 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename tr10_r0701_db.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 918 )  Warnings = 0  ( 0 )  Summary  = 0  ( 918 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 30  ( 30 )  Summary  = 30  ( 30 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 35  ( 35 )   Summary  = 223  ( 223 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 35  ( 35 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 82  ( 82 )
-TOLERANCE   : MaxTol   = 4.199313252e-05  ( 4.297107017e-05 )  AvgTol   =  1.375200154e-05  (  1.381138283e-05 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 2 )
-LAYERS      : Layers   = 2  ( {  0} {  2} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 918
+checkdoc "tpstat c" -max_warns 30 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers {  } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 35 -shape 223
+checkstatshape res_1 -solid 1 -shell 1 -face 35 -freewire 0 -freeedge 0 -sharededge 82
+set max_tol_res_1 [checkmaxtol res_1 -tol 4.297107017e-05 -avg 1.381138283e-05]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 918
+checkdoc "tpstat c" -max_warns 30 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 30 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers {   } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 35 -shape 223 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 35 -freewire 0 -freeedge 0 -sharededge 82 -max_solid 1 -max_shell 1 -max_face 35 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 4.199313252e-05 -avg 1.375200154e-05 -max_tol ${max_tol_res_1}
+
index 4bb0d0c9afc79d0048a678a3764e8a1e9fc09aef..6aa01a32a30ee7a3a297672145d4e88c509346f7 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj3_as1-id-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 14  ( 14 )  Summary  = 14  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 39  ( 39 )   Summary  = 255  ( 255 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 125  ( 125 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 84  ( 84 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 17 )  N2Labels = 0  ( 4 )   TotalLabels = 22  ( 30 )   NameLabels = 22  ( 22 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 6  ( 6 )  Volume   = 6  ( 6 )  Area     = 6  ( 6 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 9 -n1 17 -n2 4 -total 30 -withname 22 -withcolor 0 -withlayer 0 -centroid 6 -volume 6 -area 6 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 39 -shape 255
+checkstatshape res_1 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 84
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 17 -n2 4 -total 30 -withname 22 -withcolor 0 -withlayer 0 -centroid 6 -volume 6 -area 6 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 6 -volume 6 -area 6 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 39 -shape 255 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 84 -max_solid 18 -max_shell 18 -max_face 125 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index a090a45344c23c8050f3c71104cadc83c7d9c51a..0d12fe61f724521ef48503d7ab5f25084e5a4fed 100644 (file)
@@ -1,19 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 
 set filename trj9_b2-ai-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 8  ( 38 )  Summary  = 8  ( 38 )
-CHECKSHAPE  : Wires    = 1  ( 1 )  Faces    = 1  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 221  ( 221 )   Summary  = 1465  ( 1463 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 221  ( 221 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 610  ( 610 )
-TOLERANCE   : MaxTol   = 0.004950186716  ( 0.004950186717 )  AvgTol   =  0.0003553188051  (  0.0003621212346 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = YELLOW  ( YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 38 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { YELLOW } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 221 -shape 1463
+checkstatshape res_1 -solid 1 -shell 1 -face 221 -freewire 0 -freeedge 0 -sharededge 610
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.004950186717 -avg 0.0003621212346]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 38 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { YELLOW  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 221 -shape 1465 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 221 -freewire 0 -freeedge 0 -sharededge 610 -max_solid 1 -max_shell 1 -max_face 221 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.004950186716 -avg 0.0003553188051 -max_tol ${max_tol_res_1}
+
index c13d655221274134eb770ff484f55e5393d90991..6f7c8a0c7f4ae14b09d28d84cc20b4493260be87 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj3_pm1-ac-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 7  ( 7 )  Shell    = 7  ( 7 )  Face     = 132  ( 132 )   Summary  = 839  ( 839 )
-STATSHAPE   : Solid    = 7  ( 7 )  Shell    = 7  ( 7 )  Face     = 132  ( 132 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 328  ( 328 )
-TOLERANCE   : MaxTol   = 0.0003598691586  ( 0.0003598691585 )  AvgTol   =  3.390213599e-005  (  3.390213595e-005 )
-LABELS      : N0Labels = 8  ( 8 )  N1Labels = 7  ( 8 )  N2Labels = 0  ( 1 )   TotalLabels = 15  ( 17 )   NameLabels = 15  ( 15 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 8 -n1 8 -n2 1 -total 17 -withname 15 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 7 -shell 7 -face 132 -shape 839
+checkstatshape res_1 -solid 7 -shell 7 -face 132 -freewire 0 -freeedge 0 -sharededge 328
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0003598691585 -avg 3.390213595e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 8 -n1 8 -n2 1 -total 17 -withname 15 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 8 -n1 7 -n2 0 -total 15 -withname 15 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 7 -shell 7 -face 132 -shape 839 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 7 -shell 7 -face 132 -freewire 0 -freeedge 0 -sharededge 328 -max_solid 7 -max_shell 7 -max_face 132 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0003598691586 -avg 3.390213599e-005 -max_tol ${max_tol_res_1}
+
index 59f9f00e598ef197df3fbcf2c0ecadccdc51f58c..934c764708a308b7f2eef2790bbf0c4b6b41614b 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename mat-a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 50  ( 20 )  Summary  = 50  ( 20 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 113  ( 113 )   Summary  = 903  ( 890 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 113  ( 113 )   FreeWire = 0  ( 0 )   FreeEdge  = 12 ( 12 )   SharedEdge = 354  ( 354 )
-TOLERANCE   : MaxTol   = 0.0009825722198  ( 0.0009825722195 )  AvgTol   =  0.0001141911607  (   0.00011283487 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 3 )  N2Labels = 0  ( 1 )   TotalLabels = 5  ( 7 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 20 -max_faults 0
+checkxstat D_First -n0 3 -n1 3 -n2 1 -total 7 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 113 -shape 890
+checkstatshape res_1 -solid 3 -shell 3 -face 113 -freewire 0 -freeedge 12 -sharededge 354
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0009825722195 -avg 0.00011283487]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 20 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 50 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 3 -n2 1 -total 7 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 3 -face 113 -shape 903 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 3 -face 113 -freewire 0 -freeedge 12 -sharededge 354 -max_solid 3 -max_shell 3 -max_face 113 -max_freewire 0 -max_freeedge 12
+checkmaxtol res_2 -tol 0.0009825722198 -avg 0.0001141911607 -max_tol ${max_tol_res_1}
+
index 20337e3f237b4babfd3fbfcd437872d7ee32b275..55e4e3bd1131c87b3306f3c1148791bcb3a3c0aa 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename mat-bas.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 50  ( 20 )  Summary  = 50  ( 20 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 127  ( 127 )   Summary  = 1022  ( 1008 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 127  ( 127 )   FreeWire = 0  ( 0 )   FreeEdge  = 13 ( 13 )   SharedEdge = 403  ( 403 )
-TOLERANCE   : MaxTol   = 0.0009825722198  ( 0.0009825722195 )  AvgTol   =  0.0001005178352  (  9.932550373e-005 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 3 )  N2Labels = 0  ( 1 )   TotalLabels = 5  ( 7 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 20 -max_faults 0
+checkxstat D_First -n0 3 -n1 3 -n2 1 -total 7 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 127 -shape 1008
+checkstatshape res_1 -solid 3 -shell 3 -face 127 -freewire 0 -freeedge 13 -sharededge 403
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0009825722195 -avg 9.932550373e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 20 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 50 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 3 -n2 1 -total 7 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 3 -face 127 -shape 1022 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 3 -face 127 -freewire 0 -freeedge 13 -sharededge 403 -max_solid 3 -max_shell 3 -max_face 127 -max_freewire 0 -max_freeedge 13
+checkmaxtol res_2 -tol 0.0009825722198 -avg 0.0001005178352 -max_tol ${max_tol_res_1}
+
index b99206a07a5e11cf93931523475f316ff0340a33..533b890f96f32391e987a262a8eeaf9fcc581613 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename attach-coupe.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 60  ( 0 )  Summary  = 60  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 101  ( 101 )   Summary  = 766  ( 766 )
-STATSHAPE   : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 101  ( 101 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 309  ( 309 )
-TOLERANCE   : MaxTol   = 6.488976221e-006  ( 6.488964752e-006 )  AvgTol   =  8.674639415e-007  (  8.674623235e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 1 )  N2Labels = 0  ( 1 )   TotalLabels = 1  ( 3 )   NameLabels = 1  ( 2 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 1 -n2 1 -total 3 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 4 -shell 4 -face 101 -shape 766
+checkstatshape res_1 -solid 4 -shell 4 -face 101 -freewire 0 -freeedge 0 -sharededge 309
+set max_tol_res_1 [checkmaxtol res_1 -tol 6.488964752e-006 -avg 8.674623235e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 60 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 1 -n2 1 -total 3 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 4 -shell 4 -face 101 -shape 766 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 4 -shell 4 -face 101 -freewire 0 -freeedge 0 -sharededge 309 -max_solid 4 -max_shell 4 -max_face 101 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 6.488976221e-006 -avg 8.674639415e-007 -max_tol ${max_tol_res_1}
+
index 6cad2c8f74d9057a9a5df00e833332538c065af2..e8892d25be6e042b16cc710e59d74eec53aa14fe 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename attache-av.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 48  ( 0 )  Summary  = 48  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 2  ( 2 )  Shell    = 2  ( 2 )  Face     = 76  ( 76 )   Summary  = 589  ( 589 )
-STATSHAPE   : Solid    = 2  ( 2 )  Shell    = 2  ( 2 )  Face     = 76  ( 76 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 240  ( 240 )
-TOLERANCE   : MaxTol   = 6.488976221e-006  ( 6.488964752e-006 )  AvgTol   =  8.918120201e-007  (  8.918103551e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 1 )  N2Labels = 0  ( 1 )   TotalLabels = 1  ( 3 )   NameLabels = 1  ( 2 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 1 -n2 1 -total 3 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 2 -shell 2 -face 76 -shape 589
+checkstatshape res_1 -solid 2 -shell 2 -face 76 -freewire 0 -freeedge 0 -sharededge 240
+set max_tol_res_1 [checkmaxtol res_1 -tol 6.488964752e-006 -avg 8.918103551e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 48 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 1 -n2 1 -total 3 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 2 -shell 2 -face 76 -shape 589 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 2 -shell 2 -face 76 -freewire 0 -freeedge 0 -sharededge 240 -max_solid 2 -max_shell 2 -max_face 76 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 6.488976221e-006 -avg 8.918120201e-007 -max_tol ${max_tol_res_1}
+
index 849156033fe7a119f802c039d2647f8702a0f4b4..47d298ced348268182b8aa716c7b2d75e44f0f77 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename obtu.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 21  ( 20 )  Summary  = 21  ( 20 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 72  ( 72 )   Summary  = 464  ( 464 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 72  ( 72 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 200  ( 200 )
-TOLERANCE   : MaxTol   =  0.09179894095  (    0.157293174 )  AvgTol   =   0.03046479329  (   0.04644836897 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 20 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 72 -shape 464
+checkstatshape res_1 -solid 0 -shell 1 -face 72 -freewire 0 -freeedge 0 -sharededge 200
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.157293174 -avg 0.04644836897]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 20 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 21 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 72 -shape 464 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 72 -freewire 0 -freeedge 0 -sharededge 200 -max_solid 0 -max_shell 1 -max_face 72 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.09179894095 -avg 0.03046479329 -max_tol ${max_tol_res_1}
+
index 32420e11b3ce35fd17295ef5e3ee384c30a934ff..960bd893b8bbc1deb11fa90a2b14345118ded172 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename bm1_db_fuel.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 1 )  Warnings = 0  ( 1 )  Summary  = 0  ( 2 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 5  ( 3 )  Summary  = 5  ( 3 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 10  ( 4 )  Face     = 10  ( 10 )   Summary  = 488  ( 391 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 10  ( 4 )  Face     = 10  ( 10 )   FreeWire = 0  ( 0 )   FreeEdge  = 76 ( 76 )   SharedEdge = 119  ( 114 )
-TOLERANCE   : MaxTol   =  0.02472973215  (  0.08317402537 )  AvgTol   =  0.0003248680422  (  0.002905657442 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 1
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 4 -face 10 -shape 391
+checkstatshape res_1 -solid 0 -shell 4 -face 10 -freewire 0 -freeedge 76 -sharededge 114
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.08317402537 -avg 0.002905657442]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 1
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 10 -face 10 -shape 488 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 10 -face 10 -freewire 0 -freeedge 76 -sharededge 119 -max_solid 0 -max_shell 4 -max_face 10 -max_freewire 0 -max_freeedge 76
+checkmaxtol res_2 -tol 0.02472973215 -avg 0.0003248680422 -max_tol ${max_tol_res_1}
+
index 26ab6a16594445d4f316a8654070a00a66deba97..480528e311846c330d5f577a3234a257088b6f36 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename trj4_k1_geo-md-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 6  ( 6 )  Summary  = 6  ( 6 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 39  ( 0 )  Face     = 39  ( 39 )   Summary  = 492  ( 455 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 39  ( 0 )  Face     = 39  ( 39 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 193  ( 192 )
-TOLERANCE   : MaxTol   = 0.003673630603  ( 0.003673630602 )  AvgTol   =  0.0002911716538  (  0.0002911716555 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 39 -shape 455
+checkstatshape res_1 -solid 0 -shell 0 -face 39 -freewire 0 -freeedge 0 -sharededge 192
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.003673630602 -avg 0.0002911716555]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 39 -face 39 -shape 492 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 39 -face 39 -freewire 0 -freeedge 0 -sharededge 193 -max_solid 0 -max_shell 0 -max_face 39 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003673630603 -avg 0.0002911716538 -max_tol ${max_tol_res_1}
+
index e3f3e2ac82290ac1b38073655f2b779ec416c721..da8cfe20de24d759e6b886c19fec1840f5df296d 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename trj4_k1_geo-pe-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 8 )  Summary  = 0  ( 8 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 52  ( 0 )  Face     = 52  ( 52 )   Summary  = 1228  ( 1045 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 52  ( 0 )  Face     = 52  ( 52 )   FreeWire = 0  ( 0 )   FreeEdge  = 131 ( 131 )   SharedEdge = 405  ( 405 )
-TOLERANCE   : MaxTol   = 0.007319568061  (  0.01121716749 )  AvgTol   =   0.00018368769  (  0.0003721357713 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 52 -shape 1045
+checkstatshape res_1 -solid 0 -shell 0 -face 52 -freewire 0 -freeedge 131 -sharededge 405
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01121716749 -avg 0.0003721357713]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 52 -face 52 -shape 1228 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 52 -face 52 -freewire 0 -freeedge 131 -sharededge 405 -max_solid 0 -max_shell 0 -max_face 52 -max_freewire 0 -max_freeedge 131
+checkmaxtol res_2 -tol 0.007319568061 -avg 0.00018368769 -max_tol ${max_tol_res_1}
+
index f9d7ebdbf9c9eb1aa388bac29907662433cb8907..3d94e5dd3fec9b3fa066732d8cd1f6841f27caf7 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename trj4_k1_geo-pe-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 8 )  Summary  = 0  ( 8 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 52  ( 0 )  Face     = 52  ( 52 )   Summary  = 1228  ( 1045 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 52  ( 0 )  Face     = 52  ( 52 )   FreeWire = 0  ( 0 )   FreeEdge  = 131 ( 131 )   SharedEdge = 405  ( 405 )
-TOLERANCE   : MaxTol   = 0.007319568061  (  0.01121716749 )  AvgTol   =   0.00018368769  (  0.0003721357713 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 1 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 52 -shape 1045
+checkstatshape res_1 -solid 0 -shell 0 -face 52 -freewire 0 -freeedge 131 -sharededge 405
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01121716749 -avg 0.0003721357713]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 1 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 1 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 52 -face 52 -shape 1228 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 52 -face 52 -freewire 0 -freeedge 131 -sharededge 405 -max_solid 0 -max_shell 0 -max_face 52 -max_freewire 0 -max_freeedge 131
+checkmaxtol res_2 -tol 0.007319568061 -avg 0.00018368769 -max_tol ${max_tol_res_1}
+
index 21885a7bc984869e514f21365229caba173cf113..1710549e8e7519ca51baa147fc800d1f58826e57 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" 
 
-set LinuxDiff 2
 set filename bm1_sy_exhaust.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 19 )  Warnings = 0  ( 2 )  Summary  = 0  ( 21 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 21  ( 12 )  Summary  = 21  ( 12 )
-CHECKSHAPE  : Wires    = 6  ( 1 )  Faces    = 6  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 35  ( 35 )   Summary  = 289  ( 266 )
-STATSHAPE   : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 35  ( 35 )   FreeWire = 0  ( 0 )   FreeEdge  = 24 ( 24 )   SharedEdge = 103  ( 103 )
-TOLERANCE   : MaxTol   = 6.104502198e-06  (          1e-05 )  AvgTol   =  9.28336616e-07  (  2.903661931e-06 )
-LABELS      : N0Labels = 4  ( 4 )  N1Labels = 31  ( 31 )  N2Labels = 0  ( 0 )   TotalLabels = 35  ( 35 )   NameLabels = 7  ( 7 )   ColorLabels = 28  ( 28 )   LayerLabels = 28  ( 28 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = CHOCOLATE1 RED  ( CHOCOLATE1 RED )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = {}  ( {} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 2 -max_faults 19
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+checkxstat D_First -n0 4 -n1 31 -n2 0 -total 35 -withname 7 -withcolor 28 -withlayer 28 -centroid 0 -volume 0 -area 0 -colors { CHOCOLATE1 RED } -nbcolors 2 -layers { "" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 4 -shell 4 -face 35 -shape 266
+checkstatshape res_1 -solid 4 -shell 4 -face 35 -freewire 0 -freeedge 24 -sharededge 103
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-05 -avg 2.903661931e-06]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 2 -max_faults 19
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 21 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4 -n1 31 -n2 0 -total 35 -withname 7 -withcolor 28 -withlayer 28 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 31 -n2 0 -total 35 -withname 7 -withcolor 28 -withlayer 28 -centroid 0 -volume 0 -area 0 -colors { CHOCOLATE1 RED  } -nbcolors 2 -layers { "" } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 6 -max_faces 6 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 4 -shell 4 -face 35 -shape 289 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 4 -shell 4 -face 35 -freewire 0 -freeedge 24 -sharededge 103 -max_solid 4 -max_shell 4 -max_face 35 -max_freewire 0 -max_freeedge 24
+checkmaxtol res_2 -tol 6.104502198e-06 -avg 9.28336616e-07 -max_tol ${max_tol_res_1}
+
index d756b405f68c023adfd8e59697f0d5380f9d6c79..c55a0e1b47fbb3304a192af039077f33a63415c7 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" 
 
-
 set filename r0701_ug.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 3  ( 20 )  Summary  = 3  ( 20 )
-CHECKSHAPE  : Wires    = 2  ( 0 )  Faces    = 2  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 26  ( 26 )   Summary  = 176  ( 176 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 26  ( 26 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 72  ( 71 )
-TOLERANCE   : MaxTol   = 1.497099698e-005  ( 1.497099622e-005 )  AvgTol   =  2.636598482e-006  (  7.760927924e-006 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MEDIUMSEAGREEN  ( MEDIUMSEAGREEN )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 20 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MEDIUMSEAGREEN } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 26 -shape 176
+checkstatshape res_1 -solid 1 -shell 1 -face 26 -freewire 0 -freeedge 0 -sharededge 71
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.497099622e-005 -avg 7.760927924e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 20 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MEDIUMSEAGREEN  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 26 -shape 176 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 26 -freewire 0 -freeedge 0 -sharededge 72 -max_solid 1 -max_shell 1 -max_face 26 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.497099698e-005 -avg 2.636598482e-006 -max_tol ${max_tol_res_1}
+
index 6f7306a93a34d42dbf10960779bd91fa9b41a644..0413f764ca6b10447191bb27e4fd5e17546385fe 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename bm2_ct_leverrod-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 6  ( 1 )  Summary  = 6  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 5  ( 1 )  Face     = 78  ( 78 )   Summary  = 510  ( 506 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 5  ( 1 )  Face     = 78  ( 78 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 206  ( 206 )
-TOLERANCE   : MaxTol   = 0.005871790092  (  0.01255641392 )  AvgTol   =  0.0001232801436  (  0.0004487678765 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 78 -shape 506
+checkstatshape res_1 -solid 1 -shell 1 -face 78 -freewire 0 -freeedge 0 -sharededge 206
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01255641392 -avg 0.0004487678765]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 5 -face 78 -shape 510 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 5 -face 78 -freewire 0 -freeedge 0 -sharededge 206 -max_solid 1 -max_shell 1 -max_face 78 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.005871790092 -avg 0.0001232801436 -max_tol ${max_tol_res_1}
+
index 8b628a77772ed9c53ea944998a94598e5ffe3daf..9fecaa7b5e08356c5bf49b1c7412d459cf26b8ca 100755 (executable)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj4_s1-ai-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 54 )  Warnings = 0  ( 0 )  Summary  = 0  ( 54 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 51 )  Summary  = 2  ( 51 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 8  ( 8 )  Shell    = 10  ( 10 )  Face     = 108  ( 108 )   Summary  = 603  ( 603 )
-STATSHAPE   : Solid    = 8  ( 8 )  Shell    = 10  ( 10 )  Face     = 108  ( 108 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 212  ( 212 )
-TOLERANCE   : MaxTol   = 0.0007308879226  ( 0.002238579085 )  AvgTol   =  1.588313862e-05  (  3.376786703e-05 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 8  ( 8 )  N2Labels = 0  ( 0 )   TotalLabels = 17  ( 17 )   NameLabels = 17  ( 17 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 54
+checkdoc "tpstat c" -max_warns 51 -max_faults 0
+checkxstat D_First -n0 9 -n1 8 -n2 0 -total 17 -withname 17 -withcolor 0 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 8 -shell 10 -face 108 -shape 603
+checkstatshape res_1 -solid 8 -shell 10 -face 108 -freewire 0 -freeedge 0 -sharededge 212
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.002238579085 -avg 3.376786703e-05]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 54
+checkdoc "tpstat c" -max_warns 51 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 8 -n2 0 -total 17 -withname 17 -withcolor 0 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 8 -n2 0 -total 17 -withname 17 -withcolor 0 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 8 -shell 10 -face 108 -shape 603 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 8 -shell 10 -face 108 -freewire 0 -freeedge 0 -sharededge 212 -max_solid 8 -max_shell 10 -max_face 108 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0007308879226 -avg 1.588313862e-05 -max_tol ${max_tol_res_1}
+
index 94174dcce775a2ccde92d9557a4322f30ba3ffef..87dce315269df47d22abf139ee66520803ab81a8 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj5_k1-ct-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 1 )  Summary  = 1  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 58  ( 58 )  Face     = 58  ( 58 )   Summary  = 837  ( 475 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 58  ( 58 )  Face     = 58  ( 58 )   FreeWire = 0  ( 16 )   FreeEdge  = 16 ( 16 )   SharedEdge = 312  ( 165 )
-TOLERANCE   : MaxTol   = 0.0008167207419  ( 0.0009782609385 )  AvgTol   =  5.20029758e-005  (  0.0001030777287 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 60  ( 76 )  N2Labels = 0  ( 0 )   TotalLabels = 63  ( 79 )   NameLabels = 5  ( 5 )   ColorLabels = 58  ( 74 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 3 -n1 76 -n2 0 -total 79 -withname 5 -withcolor 74 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 58 -face 58 -shape 475
+checkstatshape res_1 -solid 0 -shell 58 -face 58 -freewire 16 -freeedge 16 -sharededge 165
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0009782609385 -avg 0.0001030777287]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 76 -n2 0 -total 79 -withname 5 -withcolor 74 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 60 -n2 0 -total 63 -withname 5 -withcolor 58 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 58 -face 58 -shape 837 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 58 -face 58 -freewire 0 -freeedge 16 -sharededge 312 -max_solid 0 -max_shell 58 -max_face 58 -max_freewire 16 -max_freeedge 16
+checkmaxtol res_2 -tol 0.0008167207419 -avg 5.20029758e-005 -max_tol ${max_tol_res_1}
+
index 9f96f8b3caab4cf292e555a5a6d2ccb21cc93072..138cbe9254ea6c6841ac1494c49648c9ac738de8 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename bm2_id_t4-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 13  ( 0 )  Face     = 13  ( 13 )   Summary  = 142  ( 129 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 13  ( 0 )  Face     = 13  ( 13 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 50  ( 50 )
-TOLERANCE   : MaxTol   = 0.004158901542  ( 0.004158901545 )  AvgTol   =  0.000667854186  (   0.00066785418 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 13 -shape 129
+checkstatshape res_1 -solid 0 -shell 0 -face 13 -freewire 0 -freeedge 0 -sharededge 50
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.004158901545 -avg 0.00066785418]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 13 -face 13 -shape 142 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 13 -face 13 -freewire 0 -freeedge 0 -sharededge 50 -max_solid 0 -max_shell 0 -max_face 13 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.004158901542 -avg 0.000667854186 -max_tol ${max_tol_res_1}
+
index 5c8334535543f595740df61ba2f75bca15970ddf..e4e5bf704085d2c89ad6e7c946a267e12011bc64 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename spigot1.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 6 )  Summary  = 4  ( 6 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 68  ( 68 )   Summary  = 527  ( 503 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 68  ( 68 )   FreeWire = 0  ( 0 )   FreeEdge  = 23 ( 23 )   SharedEdge = 192  ( 192 )
-TOLERANCE   : MaxTol   = 0.0004859880214  ( 0.0004859879605 )  AvgTol   =  3.07679873e-005  (  3.076976385e-005 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 3 )  N2Labels = 0  ( 1 )   TotalLabels = 5  ( 7 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+checkxstat D_First -n0 3 -n1 3 -n2 1 -total 7 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 68 -shape 503
+checkstatshape res_1 -solid 3 -shell 3 -face 68 -freewire 0 -freeedge 23 -sharededge 192
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0004859879605 -avg 3.076976385e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 3 -n2 1 -total 7 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 3 -face 68 -shape 527 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 3 -face 68 -freewire 0 -freeedge 23 -sharededge 192 -max_solid 3 -max_shell 3 -max_face 68 -max_freewire 0 -max_freeedge 23
+checkmaxtol res_2 -tol 0.0004859880214 -avg 3.07679873e-005 -max_tol ${max_tol_res_1}
+
index 96996383b7900bf975af8fbcc2f7d322b9dfad59..cb4170724455fa51f30eb308f8befaa44cd69795 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: PROPS : Faulty" 
 
-
 set filename trj6_as1-ec-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 353  ( 353 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000062348e-007  (  1.000062348e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 9  ( 22 )  Volume   = 9  ( 9 )  Area     = 9  ( 9 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 22 -volume 9 -area 9 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 353
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000062348e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 22 -volume 9 -area 9 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 9 -volume 9 -area 9 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 353 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000062348e-007 -max_tol ${max_tol_res_1}
+
index e0724348336cf6d243f9fd8ad31a15e517939e22..3278103633ccd4e6fd7c89f7d93ce1b4a21ceb78 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: PROPS : Faulty" 
 
-
 set filename trj6_as1-id-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 14  ( 14 )  Summary  = 14  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 39  ( 39 )   Summary  = 301  ( 289 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 125  ( 125 )   FreeWire = 0  ( 0 )   FreeEdge  = 24 ( 24 )   SharedEdge = 96  ( 96 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 11  ( 11 )  N1Labels = 15  ( 15 )  N2Labels = 0  ( 0 )   TotalLabels = 26  ( 26 )   NameLabels = 26  ( 26 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 6  ( 19 )  Volume   = 6  ( 6 )  Area     = 6  ( 6 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 11 -n1 15 -n2 0 -total 26 -withname 26 -withcolor 0 -withlayer 0 -centroid 19 -volume 6 -area 6 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 39 -shape 289
+checkstatshape res_1 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 24 -sharededge 96
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 11 -n1 15 -n2 0 -total 26 -withname 26 -withcolor 0 -withlayer 0 -centroid 19 -volume 6 -area 6 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 11 -n1 15 -n2 0 -total 26 -withname 26 -withcolor 0 -withlayer 0 -centroid 6 -volume 6 -area 6 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 39 -shape 301 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 24 -sharededge 96 -max_solid 18 -max_shell 18 -max_face 125 -max_freewire 0 -max_freeedge 24
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 436c3486f02e8ab7419846a75bc2060d2513680e..853d0fc80ce55cdf0d3e05db4078a924ae630131 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: PROPS : Faulty" 
 
-
 set filename trj6_as1-pe-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 353  ( 353 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000062348e-007  (  1.000062348e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 9  ( 22 )  Volume   = 9  ( 9 )  Area     = 9  ( 9 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 22 -volume 9 -area 9 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 353
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000062348e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 22 -volume 9 -area 9 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 9 -volume 9 -area 9 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 353 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000062348e-007 -max_tol ${max_tol_res_1}
+
index 6a30997e548bede2d68ddb333af65962bd057bc6..e5f6567a0fc80c8de93b81608450cc99a81d2a2e 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: PROPS : Faulty" 
 
-
 set filename trj6_as1-pe-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 353  ( 353 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000062348e-007  (  1.000062348e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 9  ( 22 )  Volume   = 9  ( 9 )  Area     = 9  ( 9 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 22 -volume 9 -area 9 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 353
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000062348e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 22 -volume 9 -area 9 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 9 -volume 9 -area 9 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 353 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000062348e-007 -max_tol ${max_tol_res_1}
+
index 959f9b6ae6c4c7f02f62776c8348d044fb54266e..b255cb506337445778476d9de705018804ccf96d 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: PROPS : Faulty" 
 
-
 set filename trj6_as1-tc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 19 )  Summary  = 0  ( 19 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 353  ( 353 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000062348e-007  (  1.000062348e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 5  ( 5 )   LayerLabels = 5  ( 5 )
-PROPS       : Centroid = 9  ( 22 )  Volume   = 9  ( 9 )  Area     = 9  ( 9 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = BLUE1 DARKORANGE GREEN RED YELLOW3  ( BLUE1 DARKORANGE GREEN RED YELLOW3 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 000  ( 000 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 19 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 22 -volume 9 -area 9 -colors { BLUE1 DARKORANGE GREEN RED YELLOW3 } -nbcolors 5 -layers { 000 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 353
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000062348e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 19 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 22 -volume 9 -area 9 -nbcolors 5 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 9 -volume 9 -area 9 -colors { BLUE1 DARKORANGE GREEN RED YELLOW3  } -nbcolors 5 -layers { 000  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 353 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000062348e-007 -max_tol ${max_tol_res_1}
+
index 6d50fb1d18161b9481d78414ca68c1273f5efa91..4b0fc5c65fff11c8d48e2b0f03cbc447fdbf9ade 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: PROPS : Faulty" 
 
-
 set filename trj6_as1-td-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 28  ( 50 )  Summary  = 28  ( 50 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 57  ( 57 )   Summary  = 419  ( 414 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 172  ( 172 )   FreeWire = 0  ( 0 )   FreeEdge  = 4 ( 4 )   SharedEdge = 138  ( 138 )
-TOLERANCE   : MaxTol   = 7.163569395e-006  ( 7.163569395e-006 )  AvgTol   =  2.382828029e-006  (  2.382828029e-006 )
-LABELS      : N0Labels = 14  ( 14 )  N1Labels = 20  ( 20 )  N2Labels = 0  ( 0 )   TotalLabels = 34  ( 34 )   NameLabels = 32  ( 32 )   ColorLabels = 7  ( 7 )   LayerLabels = 5  ( 5 )
-PROPS       : Centroid = 11  ( 24 )  Volume   = 11  ( 11 )  Area     = 11  ( 11 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 000  ( 000 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 50 -max_faults 0
+checkxstat D_First -n0 14 -n1 20 -n2 0 -total 34 -withname 32 -withcolor 7 -withlayer 5 -centroid 24 -volume 11 -area 11 -colors { WHITE } -nbcolors 1 -layers { 000 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 57 -shape 414
+checkstatshape res_1 -solid 18 -shell 18 -face 172 -freewire 0 -freeedge 4 -sharededge 138
+set max_tol_res_1 [checkmaxtol res_1 -tol 7.163569395e-006 -avg 2.382828029e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 50 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 14 -n1 20 -n2 0 -total 34 -withname 32 -withcolor 7 -withlayer 5 -centroid 24 -volume 11 -area 11 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 14 -n1 20 -n2 0 -total 34 -withname 32 -withcolor 7 -withlayer 5 -centroid 11 -volume 11 -area 11 -colors { WHITE  } -nbcolors 1 -layers { 000  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 57 -shape 419 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 172 -freewire 0 -freeedge 4 -sharededge 138 -max_solid 18 -max_shell 18 -max_face 172 -max_freewire 0 -max_freeedge 4
+checkmaxtol res_2 -tol 7.163569395e-006 -avg 2.382828029e-006 -max_tol ${max_tol_res_1}
+
index 0a1a645dbf3efb9c0e11b2302c5dfacbd3982416..90a2faa1dc7dad4547198d714e1584c27f292c5c 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: PROPS : Faulty" 
 
-
 set filename trj6_as1-tu-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 19 )  Summary  = 0  ( 19 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 353  ( 353 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000062348e-007  (  1.000062348e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 35  ( 35 )  N2Labels = 0  ( 0 )   TotalLabels = 44  ( 44 )   NameLabels = 22  ( 22 )   ColorLabels = 27  ( 27 )   LayerLabels = 5  ( 5 )
-PROPS       : Centroid = 9  ( 22 )  Volume   = 9  ( 9 )  Area     = 9  ( 9 )
-NCOLORS     : NColors  = 7  ( 7 )
-COLORS      : Colors   = BLUE1 DARKORANGE DARKORANGE GREEN RED YELLOW3 YELLOW3  ( BLUE1 DARKORANGE DARKORANGE GREEN RED YELLOW3 YELLOW3 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 256  ( 256 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 19 -max_faults 0
+checkxstat D_First -n0 9 -n1 35 -n2 0 -total 44 -withname 22 -withcolor 27 -withlayer 5 -centroid 22 -volume 9 -area 9 -colors { BLUE1 DARKORANGE DARKORANGE GREEN RED YELLOW3 YELLOW3 } -nbcolors 7 -layers { 256 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 353
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000062348e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 19 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 35 -n2 0 -total 44 -withname 22 -withcolor 27 -withlayer 5 -centroid 22 -volume 9 -area 9 -nbcolors 7 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 35 -n2 0 -total 44 -withname 22 -withcolor 27 -withlayer 5 -centroid 9 -volume 9 -area 9 -colors { BLUE1 DARKORANGE DARKORANGE GREEN RED YELLOW3 YELLOW3  } -nbcolors 7 -layers { 256  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 353 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000062348e-007 -max_tol ${max_tol_res_1}
+
index 0e2fc99d7794ed134d8b94f882b9b59c302e9571..a54b5ce3452086c096b83feca3bcad1b80407fe7 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" 
 
-
 set filename tr10_r0301_ug.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 3  ( 20 )  Summary  = 3  ( 20 )
-CHECKSHAPE  : Wires    = 2  ( 0 )  Faces    = 2  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 26  ( 26 )   Summary  = 176  ( 176 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 26  ( 26 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 72  ( 71 )
-TOLERANCE   : MaxTol   = 5.560731313e-005  ( 5.560731145e-005 )  AvgTol   =  5.441976184e-006  (  1.058517578e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MEDIUMSEAGREEN  ( MEDIUMSEAGREEN )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 20 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MEDIUMSEAGREEN } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 26 -shape 176
+checkstatshape res_1 -solid 1 -shell 1 -face 26 -freewire 0 -freeedge 0 -sharededge 71
+set max_tol_res_1 [checkmaxtol res_1 -tol 5.560731145e-005 -avg 1.058517578e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 20 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MEDIUMSEAGREEN  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 26 -shape 176 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 26 -freewire 0 -freeedge 0 -sharededge 72 -max_solid 1 -max_shell 1 -max_face 26 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 5.560731313e-005 -avg 5.441976184e-006 -max_tol ${max_tol_res_1}
+
index e67b6d065942bdec6e05deb7c80fbc4831625855..4bac471210fd4e4f42fe6dccb70716cf12b5d595 100644 (file)
@@ -1,20 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
 set filename trj6_pm4-al-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 23  ( 0 )  Face     = 23  ( 23 )   Summary  = 242  ( 219 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 23  ( 0 )  Face     = 23  ( 23 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 86  ( 86 )
-TOLERANCE   : MaxTol   = 0.002671632586  (  0.07709825342 )  AvgTol   =  0.0002710505192  (  0.003694019644 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 23  ( 23 )  N2Labels = 0  ( 0 )   TotalLabels = 24  ( 24 )   NameLabels = 1  ( 1 )   ColorLabels = 23  ( 23 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = PALETURQUOISE4  ( PALETURQUOISE4 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 23 -n2 0 -total 24 -withname 1 -withcolor 23 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { PALETURQUOISE4 } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 23 -shape 219
+checkstatshape res_1 -solid 0 -shell 0 -face 23 -freewire 0 -freeedge 0 -sharededge 86
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.07709825342 -avg 0.003694019644]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 23 -n2 0 -total 24 -withname 1 -withcolor 23 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 23 -n2 0 -total 24 -withname 1 -withcolor 23 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { PALETURQUOISE4  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 23 -face 23 -shape 242 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 23 -face 23 -freewire 0 -freeedge 0 -sharededge 86 -max_solid 0 -max_shell 0 -max_face 23 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.002671632586 -avg 0.0002710505192 -max_tol ${max_tol_res_1}
+
index 46bdb07b78f3ade323af19173d1f5ef943acb4f3..986c7c7f518126768e9857cffb829bf196ce809e 100644 (file)
@@ -1,23 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" 
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 
-
 set filename trj7_pm5-ug-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 9  ( 184 )  Summary  = 9  ( 184 )
-CHECKSHAPE  : Wires    = 2  ( 0 )  Faces    = 2  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 236  ( 236 )   Summary  = 1654  ( 1655 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 236  ( 236 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 653  ( 653 )
-TOLERANCE   : MaxTol   =   0.9036712736  (  0.01854047103 )  AvgTol   =  0.002851128061  (  0.0005801792851 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 34  ( 34 )  N2Labels = 0  ( 0 )   TotalLabels = 35  ( 35 )   NameLabels = 1  ( 1 )   ColorLabels = 35  ( 35 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 11  ( 11 )
-COLORS      : Colors   = DARKORCHID FIREBRICK3 GRAY40 GRAY77 LIGHTPINK3 LIGHTSEAGREEN OLIVEDRAB OLIVEDRAB4 ROYALBLUE SIENNA3 TAN4  ( DARKORCHID FIREBRICK3 GRAY40 GRAY77 LIGHTPINK3 LIGHTSEAGREEN OLIVEDRAB OLIVEDRAB4 ROYALBLUE SIENNA3 TAN4 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 50  ( 50 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 184 -max_faults 0
+checkxstat D_First -n0 1 -n1 34 -n2 0 -total 35 -withname 1 -withcolor 35 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { DARKORCHID FIREBRICK3 GRAY40 GRAY77 LIGHTPINK3 LIGHTSEAGREEN OLIVEDRAB OLIVEDRAB4 ROYALBLUE SIENNA3 TAN4 } -nbcolors 11 -layers { 50 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 236 -shape 1655
+checkstatshape res_1 -solid 1 -shell 1 -face 236 -freewire 0 -freeedge 0 -sharededge 653
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01854047103 -avg 0.0005801792851]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 184 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 34 -n2 0 -total 35 -withname 1 -withcolor 35 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 11 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 34 -n2 0 -total 35 -withname 1 -withcolor 35 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { DARKORCHID FIREBRICK3 GRAY40 GRAY77 LIGHTPINK3 LIGHTSEAGREEN OLIVEDRAB OLIVEDRAB4 ROYALBLUE SIENNA3 TAN4  } -nbcolors 11 -layers { 50  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 236 -shape 1654 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 236 -freewire 0 -freeedge 0 -sharededge 653 -max_solid 1 -max_shell 1 -max_face 236 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9036712736 -avg 0.002851128061 -max_tol ${max_tol_res_1}
+
index 78df615eadcbab29a245e1341a06a293e47ec5bd..c9a944a646a9f9bb8aa812ce3d24f55fbb231324 100644 (file)
@@ -1,21 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
 set filename db_as1-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 350  ( 350 )
-STATSHAPE   : Solid    = 12  ( 12 )  Shell    = 12  ( 12 )  Face     = 112  ( 112 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000056424e-007  (  1.000056424e-007 )
-LABELS      : N0Labels = 6  ( 6 )  N1Labels = 12  ( 12 )  N2Labels = 0  ( 0 )   TotalLabels = 18  ( 18 )   NameLabels = 18  ( 18 )   ColorLabels = 5  ( 5 )   LayerLabels = 5  ( 17 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 2 )
-LAYERS      : Layers   = 1  ( {  1} 255 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 6 -n1 12 -n2 0 -total 18 -withname 18 -withcolor 5 -withlayer 17 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { 50 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 350
+checkstatshape res_1 -solid 12 -shell 12 -face 112 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000056424e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 6 -n1 12 -n2 0 -total 18 -withname 18 -withcolor 5 -withlayer 17 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 6 -n1 12 -n2 0 -total 18 -withname 18 -withcolor 5 -withlayer 5 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 50  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 350 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 12 -shell 12 -face 112 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 12 -max_shell 12 -max_face 112 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000056424e-007 -max_tol ${max_tol_res_1}
+
index da8cb28784516fb613fe36f56c30ac1896d16199..6c2bbd75a7efe2f45cd68aba19d3e2c18de88eba 100644 (file)
@@ -1,21 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
 set filename db_as1-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 28  ( 28 )  Summary  = 28  ( 28 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 350  ( 350 )
-STATSHAPE   : Solid    = 12  ( 12 )  Shell    = 12  ( 12 )  Face     = 112  ( 112 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 7.326842303e-006  ( 7.326840268e-006 )  AvgTol   =  3.154767954e-006  (  3.189428163e-006 )
-LABELS      : N0Labels = 6  ( 6 )  N1Labels = 12  ( 12 )  N2Labels = 0  ( 0 )   TotalLabels = 18  ( 18 )   NameLabels = 18  ( 18 )   ColorLabels = 5  ( 5 )   LayerLabels = 5  ( 17 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 2 )
-LAYERS      : Layers   = 1  ( {  1} 255 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+checkxstat D_First -n0 6 -n1 12 -n2 0 -total 18 -withname 18 -withcolor 5 -withlayer 17 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { 50 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 350
+checkstatshape res_1 -solid 12 -shell 12 -face 112 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 7.326840268e-006 -avg 3.189428163e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 6 -n1 12 -n2 0 -total 18 -withname 18 -withcolor 5 -withlayer 17 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 6 -n1 12 -n2 0 -total 18 -withname 18 -withcolor 5 -withlayer 5 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 50  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 350 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 12 -shell 12 -face 112 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 12 -max_shell 12 -max_face 112 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 7.326842303e-006 -avg 3.154767954e-006 -max_tol ${max_tol_res_1}
+
index 49c7f3fbe8e422829aa80756751bea1ff9e8fee6..9c89cbc32fd8fe6de2abf87914bc18dad7e42cf7 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename trj8_k1-pe-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 52  ( 52 )   Summary  = 369  ( 361 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 52  ( 52 )   FreeWire = 0  ( 0 )   FreeEdge  = 7 ( 7 )   SharedEdge = 145  ( 145 )
-TOLERANCE   : MaxTol   = 0.002782235243  ( 0.008046428382 )  AvgTol   =  0.0002755630596  (  0.0008383168463 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 7  ( 9 )  N2Labels = 0  ( 0 )   TotalLabels = 10  ( 12 )   NameLabels = 5  ( 5 )   ColorLabels = 5  ( 5 )   LayerLabels = 5  ( 7 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = YELLOW  ( YELLOW )
-NLAYERS     : NLayers  = 1  ( 2 )
-LAYERS      : Layers   = 02___PRT_ALL_AXES  ( 02___PRT_ALL_AXES 04___PRT_ALL_DTM_PNT )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 3 -n1 9 -n2 0 -total 12 -withname 5 -withcolor 5 -withlayer 7 -centroid 1 -volume 1 -area 1 -colors { YELLOW } -nbcolors 1 -layers { 50 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 52 -shape 361
+checkstatshape res_1 -solid 1 -shell 1 -face 52 -freewire 0 -freeedge 7 -sharededge 145
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.008046428382 -avg 0.0008383168463]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 9 -n2 0 -total 12 -withname 5 -withcolor 5 -withlayer 7 -centroid 1 -volume 1 -area 1 -nbcolors 1 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 7 -n2 0 -total 10 -withname 5 -withcolor 5 -withlayer 5 -centroid 1 -volume 1 -area 1 -colors { YELLOW  } -nbcolors 1 -layers { 50  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 52 -shape 369 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 52 -freewire 0 -freeedge 7 -sharededge 145 -max_solid 1 -max_shell 1 -max_face 52 -max_freewire 0 -max_freeedge 7
+checkmaxtol res_2 -tol 0.002782235243 -avg 0.0002755630596 -max_tol ${max_tol_res_1}
+
index 6ffa03e7f1d9025555c3a74b4ce44701e74f7cd8..780612ee903d438df792c2cb46b225ad56b49ce5 100644 (file)
@@ -1,23 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename trj3_s1-db-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 18 )  Warnings = 0  ( 0 )  Summary  = 0  ( 18 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 36  ( 12 )  Summary  = 36  ( 12 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 9  ( 9 )  Shell    = 9  ( 9 )  Face     = 152  ( 152 )   Summary  = 998  ( 998 )
-STATSHAPE   : Solid    = 11  ( 11 )  Shell    = 11  ( 11 )  Face     = 178  ( 178 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 407  ( 407 )
-TOLERANCE   : MaxTol   =   0.0182458548  (   0.0182458548 )  AvgTol   =  0.0001972882903  (  0.0001972348021 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 12  ( 12 )  N2Labels = 0  ( 0 )   TotalLabels = 21  ( 21 )   NameLabels = 19  ( 19 )   ColorLabels = 9  ( 9 )   LayerLabels = 9  ( 19 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = DODGERBLUE2 MAGENTA1 RED WHITE YELLOW  ( DODGERBLUE2 MAGENTA1 RED WHITE YELLOW )
-NLAYERS     : NLayers  = 1  ( 2 )
-LAYERS      : Layers   = 0  ( {  0} 255 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 18
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+checkxstat D_First -n0 9 -n1 12 -n2 0 -total 21 -withname 19 -withcolor 9 -withlayer 19 -centroid 0 -volume 0 -area 0 -colors { DODGERBLUE2 MAGENTA1 RED WHITE YELLOW } -nbcolors 5 -layers { 50 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 9 -shell 9 -face 152 -shape 998
+checkstatshape res_1 -solid 11 -shell 11 -face 178 -freewire 0 -freeedge 0 -sharededge 407
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0182458548 -avg 0.0001972348021]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 18
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 36 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 12 -n2 0 -total 21 -withname 19 -withcolor 9 -withlayer 19 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 12 -n2 0 -total 21 -withname 19 -withcolor 9 -withlayer 9 -centroid 0 -volume 0 -area 0 -colors { DODGERBLUE2 MAGENTA1 RED WHITE YELLOW  } -nbcolors 5 -layers { 50  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 9 -shell 9 -face 152 -shape 998 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 11 -shell 11 -face 178 -freewire 0 -freeedge 0 -sharededge 407 -max_solid 11 -max_shell 11 -max_face 178 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0182458548 -avg 0.0001972882903 -max_tol ${max_tol_res_1}
+
index e434de36c575a817d61b3c791b7eca289d084a08..b697e734e071266dab132fea6a721b6bf4fa1bc7 100644 (file)
@@ -1,21 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
 set filename tr8_as2_db.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 28  ( 28 )  Summary  = 28  ( 28 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 353  ( 353 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 7.326842297e-006  ( 7.326840249e-006 )  AvgTol   =  2.619050232e-006  (  2.65157743e-006 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 19 )   ColorLabels = 5  ( 5 )   LayerLabels = 5  ( 12 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = CYAN1 GOLD3 RED3 TURQUOISE4 YELLOW  ( CYAN1 GOLD3 RED3 TURQUOISE4 YELLOW )
-NLAYERS     : NLayers  = 1  ( 2 )
-LAYERS      : Layers   = 0  ( {  0} 255 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 19 -withcolor 5 -withlayer 12 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GOLD3 RED3 TURQUOISE4 YELLOW } -nbcolors 5 -layers { 50 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 353
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 7.326840249e-006 -avg 2.65157743e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 19 -withcolor 5 -withlayer 12 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GOLD3 RED3 TURQUOISE4 YELLOW  } -nbcolors 5 -layers { 50  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 353 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 7.326842297e-006 -avg 2.619050232e-006 -max_tol ${max_tol_res_1}
+
index 15cb11a4172b17ff37108b1ad3c4b367d5e77701..e950db2aa5464f818da3b7afd4726168a9f0333b 100644 (file)
@@ -1,21 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
 set filename tr8_as2a_db.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 353  ( 353 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000062348e-007  (  1.000062348e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 19 )   ColorLabels = 5  ( 5 )   LayerLabels = 5  ( 12 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = CYAN1 GOLD3 RED3 TURQUOISE4 YELLOW  ( CYAN1 GOLD3 RED3 TURQUOISE4 YELLOW )
-NLAYERS     : NLayers  = 1  ( 2 )
-LAYERS      : Layers   = 0  ( {  0} 255 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 19 -withcolor 5 -withlayer 12 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GOLD3 RED3 TURQUOISE4 YELLOW } -nbcolors 5 -layers { 50 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 353
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000062348e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 19 -withcolor 5 -withlayer 12 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GOLD3 RED3 TURQUOISE4 YELLOW  } -nbcolors 5 -layers { 50  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 353 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000062348e-007 -max_tol ${max_tol_res_1}
+
index aaf6c6c24bb4209245b392a48156b0f15acd7b66..34d1f996f354151e0a6cda5a989e58eb63cf1746 100644 (file)
@@ -1,23 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename trj4_k1_geo-tc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 8 )  Summary  = 1  ( 8 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 59  ( 0 )  Face     = 59  ( 59 )   Summary  = 787  ( 787 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 59  ( 0 )  Face     = 59  ( 59 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 304  ( 304 )
-TOLERANCE   : MaxTol   = 0.003826736784  ( 0.003826736784 )  AvgTol   =  0.0001420196159  (  0.000142020283 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 59 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 60 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 59 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 1 )
-LAYERS      : Layers   =   ( 000 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+checkxstat D_First -n0 1 -n1 59 -n2 0 -total 60 -withname 1 -withcolor 0 -withlayer 59 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers { 000 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 59 -shape 787
+checkstatshape res_1 -solid 0 -shell 0 -face 59 -freewire 0 -freeedge 0 -sharededge 304
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.003826736784 -avg 0.000142020283]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 59 -n2 0 -total 60 -withname 1 -withcolor 0 -withlayer 59 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 59 -face 59 -shape 787 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 59 -face 59 -freewire 0 -freeedge 0 -sharededge 304 -max_solid 0 -max_shell 0 -max_face 59 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003826736784 -avg 0.0001420196159 -max_tol ${max_tol_res_1}
+
index 0515e431494ef9107b6fc0c8eaaa67f0ff032a59..42a9216883e4ef084a536e17e5798c4c9c1629a8 100644 (file)
@@ -1,23 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename trj4_k1_geo-tu-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 10 )  Summary  = 1  ( 10 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 44  ( 0 )  Face     = 44  ( 44 )   Summary  = 559  ( 559 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 44  ( 0 )  Face     = 44  ( 44 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 217  ( 217 )
-TOLERANCE   : MaxTol   = 0.0004382667275  ( 0.007688098235 )  AvgTol   =  1.733348843e-005  (  0.0002416764063 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 44  ( 44 )  N2Labels = 0  ( 0 )   TotalLabels = 45  ( 45 )   NameLabels = 1  ( 1 )   ColorLabels = 44  ( 44 )   LayerLabels = 0  ( 44 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 0  ( 1 )
-LAYERS      : Layers   =   ( 001 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+checkxstat D_First -n0 1 -n1 44 -n2 0 -total 45 -withname 1 -withcolor 44 -withlayer 44 -centroid 0 -volume 0 -area 0 -colors { GREEN } -nbcolors 1 -layers { 001 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 44 -shape 559
+checkstatshape res_1 -solid 0 -shell 0 -face 44 -freewire 0 -freeedge 0 -sharededge 217
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.007688098235 -avg 0.0002416764063]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 44 -n2 0 -total 45 -withname 1 -withcolor 44 -withlayer 44 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 44 -n2 0 -total 45 -withname 1 -withcolor 44 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 44 -face 44 -shape 559 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 44 -face 44 -freewire 0 -freeedge 0 -sharededge 217 -max_solid 0 -max_shell 0 -max_face 44 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0004382667275 -avg 1.733348843e-005 -max_tol ${max_tol_res_1}
+
index 6f92f51402195e9475f82c366cc29c353a76b49b..fe4672fbc4b265bee9c76893e50bb04d7a54dd02 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename 123.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 8  ( 9 )  Summary  = 8  ( 9 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 42  ( 42 )   Summary  = 264  ( 264 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 42  ( 42 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 111  ( 111 )
-TOLERANCE   : MaxTol   = 0.000360862095  ( 0.000360862095 )  AvgTol   =  4.792885522e-005  (  4.792885525e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 42 -shape 264
+checkstatshape res_1 -solid 1 -shell 1 -face 42 -freewire 0 -freeedge 0 -sharededge 111
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.000360862095 -avg 4.792885525e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 42 -shape 264 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 42 -freewire 0 -freeedge 0 -sharededge 111 -max_solid 1 -max_shell 1 -max_face 42 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.000360862095 -avg 4.792885522e-005 -max_tol ${max_tol_res_1}
+
index ffbecf663d68b30eed6e158c2d5a95d23ebb5917..9ea3c1e1b2f28df4c9fd8e4dd6557b8893db7742 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename CTS21188.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 48  ( 48 )   Summary  = 320  ( 320 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 48  ( 48 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 134  ( 134 )
-TOLERANCE   : MaxTol   = 0.001845874753  ( 0.001976820841 )  AvgTol   =  0.0001959017883  (  0.0002002051809 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 48 -shape 320
+checkstatshape res_1 -solid 1 -shell 1 -face 48 -freewire 0 -freeedge 0 -sharededge 134
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.001976820841 -avg 0.0002002051809]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 48 -shape 320 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 48 -freewire 0 -freeedge 0 -sharededge 134 -max_solid 1 -max_shell 1 -max_face 48 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.001845874753 -avg 0.0001959017883 -max_tol ${max_tol_res_1}
+
index a749633ca76d3cdfa0dfae4c335f85bbc664264f..361b1523d0242ff2fcb23bbbf8472948bbac15f0 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename Inventor_FrameHinge.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 8  ( 8 )  Summary  = 8  ( 8 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 6  ( 6 )  Shell    = 6  ( 6 )  Face     = 226  ( 226 )   Summary  = 1397  ( 1397 )
-STATSHAPE   : Solid    = 12  ( 12 )  Shell    = 12  ( 12 )  Face     = 452  ( 452 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 544  ( 544 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000054901e-007  (  1.000054901e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 10  ( 10 )  N2Labels = 0  ( 0 )   TotalLabels = 19  ( 19 )   NameLabels = 19  ( 19 )   ColorLabels = 6  ( 6 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = GOLDENROD3 GRAY66  ( GOLDENROD3 GRAY66 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+checkxstat D_First -n0 9 -n1 10 -n2 0 -total 19 -withname 19 -withcolor 6 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GOLDENROD3 GRAY66 } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 6 -shell 6 -face 226 -shape 1397
+checkstatshape res_1 -solid 12 -shell 12 -face 452 -freewire 0 -freeedge 0 -sharededge 544
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000054901e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 10 -n2 0 -total 19 -withname 19 -withcolor 6 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 10 -n2 0 -total 19 -withname 19 -withcolor 6 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GOLDENROD3 GRAY66  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 6 -shell 6 -face 226 -shape 1397 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 12 -shell 12 -face 452 -freewire 0 -freeedge 0 -sharededge 544 -max_solid 12 -max_shell 12 -max_face 452 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000054901e-007 -max_tol ${max_tol_res_1}
+
index 508553692694a06b39846bd59256a1b6e9f7974e..91d253f7efe625f280f91a777756c07ed8cf9a95 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename Inventor_SupportBracket.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 18  ( 16 )  Summary  = 18  ( 16 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 160  ( 160 )   Summary  = 1022  ( 1022 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 420  ( 420 )
-TOLERANCE   : MaxTol   = 0.000243175147  ( 0.0002431751501 )  AvgTol   =  8.050705279e-006  (  8.05104887e-006 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 160 -shape 1022
+checkstatshape res_1 -solid 1 -shell 1 -face 160 -freewire 0 -freeedge 0 -sharededge 420
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0002431751501 -avg 8.05104887e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 18 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 160 -shape 1022 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 160 -freewire 0 -freeedge 0 -sharededge 420 -max_solid 1 -max_shell 1 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.000243175147 -avg 8.050705279e-006 -max_tol ${max_tol_res_1}
+
index 3867219503b207798f12a2e4b005b89ff43eaf80..02d9d1546e8a96a8b0f866ced718f74783713b49 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename Inventor_scissor.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 2 )  Summary  = 2  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 127  ( 127 )   Summary  = 838  ( 838 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 127  ( 127 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 346  ( 346 )
-TOLERANCE   : MaxTol   = 0.0005363486823  ( 0.0005363486821 )  AvgTol   =  1.61499994e-005  (  1.636295799e-005 )
-LABELS      : N0Labels = 4  ( 4 )  N1Labels = 3  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 7  ( 7 )   NameLabels = 7  ( 7 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 4 -n1 3 -n2 0 -total 7 -withname 7 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 127 -shape 838
+checkstatshape res_1 -solid 3 -shell 3 -face 127 -freewire 0 -freeedge 0 -sharededge 346
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0005363486821 -avg 1.636295799e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4 -n1 3 -n2 0 -total 7 -withname 7 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 3 -n2 0 -total 7 -withname 7 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 3 -face 127 -shape 838 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 3 -face 127 -freewire 0 -freeedge 0 -sharededge 346 -max_solid 3 -max_shell 3 -max_face 127 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0005363486823 -avg 1.61499994e-005 -max_tol ${max_tol_res_1}
+
index fcafc35a48d4ca0a07dedfe8f0cc9ed6285fafe9..2e952380737ab010d89f48834b56f2dcb211be16 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename PRO10361.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 8 )  Warnings = 0  ( 0 )  Summary  = 0  ( 8 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 56  ( 56 )   Summary  = 370  ( 370 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 56  ( 56 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 151  ( 151 )
-TOLERANCE   : MaxTol   =          1e-07  (          1e-07 )  AvgTol   =           1e-07  (           1e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 8
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 56 -shape 370
+checkstatshape res_1 -solid 1 -shell 1 -face 56 -freewire 0 -freeedge 0 -sharededge 151
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-07 -avg 1e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 8
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 56 -shape 370 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 56 -freewire 0 -freeedge 0 -sharededge 151 -max_solid 1 -max_shell 1 -max_face 56 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-07 -avg 1e-07 -max_tol ${max_tol_res_1}
+
index 5d7346c5cab267dfb370910d9ed4c5004a2e1836..f7bb29b86e46fd52f71a255b9c46371919d09096 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename PRO10362.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 22 )  Summary  = 0  ( 22 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 363  ( 363 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 127  ( 127 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000062184e-007  (  1.000062184e-007 )
-LABELS      : N0Labels = 14  ( 14 )  N1Labels = 21  ( 21 )  N2Labels = 0  ( 0 )   TotalLabels = 35  ( 35 )   NameLabels = 35  ( 35 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 10 -max_faults 0
+checkdoc "tpstat c" -max_warns 22 -max_faults 0
+checkxstat D_First -n0 14 -n1 21 -n2 0 -total 35 -withname 35 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 363
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 1 -sharededge 127
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000062184e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 10 -max_faults 0
+checkdoc "tpstat c" -max_warns 22 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 14 -n1 21 -n2 0 -total 35 -withname 35 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 14 -n1 21 -n2 0 -total 35 -withname 35 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 363 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 1 -sharededge 127 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000062184e-007 -max_tol ${max_tol_res_1}
+
index 17adfc78d3717d35356b8cf763394ce6c637fa40..f3413ed70217bea078e156acd6a4bb8769257c9f 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename PRO17015.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 3  ( 0 )  Summary  = 3  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 73  ( 73 )   Summary  = 433  ( 433 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 73  ( 73 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 168  ( 168 )
-TOLERANCE   : MaxTol   = 0.002049242464  ( 0.002049242464 )  AvgTol   =  0.0001598416736  (  0.0001598416997 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 73 -shape 433
+checkstatshape res_1 -solid 1 -shell 1 -face 73 -freewire 0 -freeedge 0 -sharededge 168
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.002049242464 -avg 0.0001598416997]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 73 -shape 433 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 73 -freewire 0 -freeedge 0 -sharededge 168 -max_solid 1 -max_shell 1 -max_face 73 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.002049242464 -avg 0.0001598416736 -max_tol ${max_tol_res_1}
+
index 08cbacc0facbc43ac4808f955bb88eea1482c875..f9b97d05869d7c96a8fe8d6bd310f23d08e1c4c9 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename PRO5974.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 1 )  Warnings = 0  ( 0 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 12  ( 12 )   Summary  = 108  ( 108 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 12  ( 12 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 47  ( 47 )
-TOLERANCE   : MaxTol   = 0.0004295981946  ( 0.0007438758061 )  AvgTol   =  0.0001505191048  (  0.0002225194653 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 12 -shape 108
+checkstatshape res_1 -solid 0 -shell 1 -face 12 -freewire 0 -freeedge 0 -sharededge 47
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0007438758061 -avg 0.0002225194653]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 12 -shape 108 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 12 -freewire 0 -freeedge 0 -sharededge 47 -max_solid 0 -max_shell 1 -max_face 12 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0004295981946 -avg 0.0001505191048 -max_tol ${max_tol_res_1}
+
index 730be639bef7e55ca0224e13349d6d1dd96827b5..90a13ccdb392a108a27ad1cdefde994de7d09ef3 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename PRO7745.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 18  ( 18 )  Summary  = 18  ( 18 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 60  ( 60 )   Summary  = 370  ( 370 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 60  ( 60 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 158  ( 158 )
-TOLERANCE   : MaxTol   =    8.855087235  (    8.855087235 )  AvgTol   =    0.2597592097  (    0.2598183653 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 18 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 60 -shape 370
+checkstatshape res_1 -solid 0 -shell 1 -face 60 -freewire 0 -freeedge 0 -sharededge 158
+set max_tol_res_1 [checkmaxtol res_1 -tol 8.855087235 -avg 0.2598183653]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 18 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 18 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 60 -shape 370 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 60 -freewire 0 -freeedge 0 -sharededge 158 -max_solid 0 -max_shell 1 -max_face 60 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 8.855087235 -avg 0.2597592097 -max_tol ${max_tol_res_1}
+
index 01e5f6210c8f1685bf91ab9efd64ca28bb2ab0ad..bd8b2c90da9fbb48aa520ee98ed4f7af268fcd53 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename PRO9237.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 2 )  Summary  = 0  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   Summary  = 73  ( 73 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 31  ( 31 )
-TOLERANCE   : MaxTol   = 0.004821884032  (   0.2046977269 )  AvgTol   =  0.0006277936905  (   0.01292923854 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 9 -shape 73
+checkstatshape res_1 -solid 0 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 31
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.2046977269 -avg 0.01292923854]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 9 -shape 73 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 31 -max_solid 0 -max_shell 1 -max_face 9 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.004821884032 -avg 0.0006277936905 -max_tol ${max_tol_res_1}
+
index 73d16dc83dc088e43269b81fce0406a64aefb0be..27ccfb300dc4181650bfed96155b96dab877c3dc 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename PRO9239.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 8 )  Warnings = 0  ( 0 )  Summary  = 0  ( 8 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 8  ( 13 )  Summary  = 8  ( 13 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 3  ( 3 )  Face     = 22  ( 22 )   Summary  = 149  ( 149 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 3  ( 3 )  Face     = 22  ( 22 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 61  ( 61 )
-TOLERANCE   : MaxTol   = 9.264087353e-06  ( 9.591855965e-06 )  AvgTol   =  1.179688295e-06  (  1.221596404e-06 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 8
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 3 -face 22 -shape 149
+checkstatshape res_1 -solid 0 -shell 3 -face 22 -freewire 0 -freeedge 0 -sharededge 61
+set max_tol_res_1 [checkmaxtol res_1 -tol 9.591855965e-06 -avg 1.221596404e-06]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 8
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 3 -face 22 -shape 149 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 3 -face 22 -freewire 0 -freeedge 0 -sharededge 61 -max_solid 0 -max_shell 3 -max_face 22 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 9.264087353e-06 -avg 1.179688295e-06 -max_tol ${max_tol_res_1}
+
index 0d4a079cf217ea80fdd5f428ae31527f5d29650c..f46c9f8643f5ca83390d5cd3aeabaa85eaf85cc6 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 
-
 set filename PRO9240.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 30 )  Warnings = 0  ( 0 )  Summary  = 0  ( 30 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 14  ( 51 )  Summary  = 14  ( 51 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 7  ( 7 )  Shell    = 7  ( 7 )  Face     = 35  ( 35 )   Summary  = 200  ( 204 )
-STATSHAPE   : Solid    = 7  ( 7 )  Shell    = 7  ( 7 )  Face     = 35  ( 35 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 73  ( 77 )
-TOLERANCE   : MaxTol   = 1.923934361e-06  ( 1.923934702e-06 )  AvgTol   =  8.837706424e-07  (  8.927244379e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 30
+checkdoc "tpstat c" -max_warns 51 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 7 -shell 7 -face 35 -shape 204
+checkstatshape res_1 -solid 7 -shell 7 -face 35 -freewire 0 -freeedge 0 -sharededge 77
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.923934702e-06 -avg 8.927244379e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 30
+checkdoc "tpstat c" -max_warns 51 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 7 -shell 7 -face 35 -shape 200 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 7 -shell 7 -face 35 -freewire 0 -freeedge 0 -sharededge 73 -max_solid 7 -max_shell 7 -max_face 35 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.923934361e-06 -avg 8.837706424e-07 -max_tol ${max_tol_res_1}
+
index 6350f9347615b0c5933205710f675907b7847d89..d1eaf3364d75aab55c996d6f7a75ca8eaf4c40e0 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename PRO9244.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 14  ( 4 )  Summary  = 14  ( 4 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 41  ( 41 )   Summary  = 366  ( 345 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 41  ( 41 )   FreeWire = 0  ( 4 )   FreeEdge  = 24 ( 24 )   SharedEdge = 147  ( 146 )
-TOLERANCE   : MaxTol   =  0.07980045861  (  0.07980045861 )  AvgTol   =  0.006103158242  (  0.006647466389 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 41 -shape 345
+checkstatshape res_1 -solid 1 -shell 1 -face 41 -freewire 4 -freeedge 24 -sharededge 146
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.07980045861 -avg 0.006647466389]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 41 -shape 366 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 41 -freewire 0 -freeedge 24 -sharededge 147 -max_solid 1 -max_shell 1 -max_face 41 -max_freewire 4 -max_freeedge 24
+checkmaxtol res_2 -tol 0.07980045861 -avg 0.006103158242 -max_tol ${max_tol_res_1}
+
index 0cce0382b3988ccc2b1cfcfc0fbd98fbfeb06718..a164e8ad3ca7b1ec8a4b8dd6a1090e64f2e55669 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename RU.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 14  ( 16 )  Summary  = 14  ( 16 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 17  ( 17 )  Shell    = 17  ( 17 )  Face     = 98  ( 98 )   Summary  = 642  ( 627 )
-STATSHAPE   : Solid    = 17  ( 17 )  Shell    = 17  ( 17 )  Face     = 98  ( 98 )   FreeWire = 0  ( 0 )   FreeEdge  = 15 ( 15 )   SharedEdge = 207  ( 207 )
-TOLERANCE   : MaxTol   =   1.00005e-007  (   1.00005e-007 )  AvgTol   =  1.000039537e-007  (  1.000039537e-007 )
-LABELS      : N0Labels = 19  ( 19 )  N1Labels = 18  ( 18 )  N2Labels = 0  ( 0 )   TotalLabels = 37  ( 37 )   NameLabels = 37  ( 37 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+checkxstat D_First -n0 19 -n1 18 -n2 0 -total 37 -withname 37 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 17 -shell 17 -face 98 -shape 627
+checkstatshape res_1 -solid 17 -shell 17 -face 98 -freewire 0 -freeedge 15 -sharededge 207
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-007 -avg 1.000039537e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 19 -n1 18 -n2 0 -total 37 -withname 37 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 19 -n1 18 -n2 0 -total 37 -withname 37 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 17 -shell 17 -face 98 -shape 642 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 17 -shell 17 -face 98 -freewire 0 -freeedge 15 -sharededge 207 -max_solid 17 -max_shell 17 -max_face 98 -max_freewire 0 -max_freeedge 15
+checkmaxtol res_2 -tol 1.00005e-007 -avg 1.000039537e-007 -max_tol ${max_tol_res_1}
+
index 189e8b2e66510ee0b6c9482d5cc6fa14d384ece2..52e0de3b58109fa27c57b3c25890e4899ac36721 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename fourche7.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 103  ( 103 )   Summary  = 748  ( 720 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 103  ( 103 )   FreeWire = 0  ( 0 )   FreeEdge  = 28 ( 28 )   SharedEdge = 275  ( 275 )
-TOLERANCE   : MaxTol   =  0.07080255958  (  0.07080255958 )  AvgTol   =  0.001643516697  (  0.002252531923 )
-LABELS      : N0Labels = 4  ( 4 )  N1Labels = 3  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 7  ( 7 )   NameLabels = 7  ( 7 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 4 -n1 3 -n2 0 -total 7 -withname 7 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 2 -face 103 -shape 720
+checkstatshape res_1 -solid 1 -shell 2 -face 103 -freewire 0 -freeedge 28 -sharededge 275
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.07080255958 -avg 0.002252531923]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4 -n1 3 -n2 0 -total 7 -withname 7 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 3 -n2 0 -total 7 -withname 7 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 2 -face 103 -shape 748 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 2 -face 103 -freewire 0 -freeedge 28 -sharededge 275 -max_solid 1 -max_shell 2 -max_face 103 -max_freewire 0 -max_freeedge 28
+checkmaxtol res_2 -tol 0.07080255958 -avg 0.001643516697 -max_tol ${max_tol_res_1}
+
index 2e69159fc2ca57de26fbb886b9670dae931cc83b..316a2c23b74a424e92198c80e6f523b1deb45797 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename robinet.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 3 )  Summary  = 4  ( 3 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 32  ( 32 )  Face     = 32  ( 32 )   Summary  = 451  ( 451 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 32  ( 32 )  Face     = 32  ( 32 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 177  ( 177 )
-TOLERANCE   : MaxTol   = 0.0002711637276  ( 0.0002711637276 )  AvgTol   =  3.750583844e-006  (  4.44829676e-006 )
-LABELS      : N0Labels = 33  ( 33 )  N1Labels = 32  ( 32 )  N2Labels = 0  ( 0 )   TotalLabels = 65  ( 65 )   NameLabels = 65  ( 65 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 33 -n1 32 -n2 0 -total 65 -withname 65 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 32 -face 32 -shape 451
+checkstatshape res_1 -solid 0 -shell 32 -face 32 -freewire 0 -freeedge 0 -sharededge 177
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0002711637276 -avg 4.44829676e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 33 -n1 32 -n2 0 -total 65 -withname 65 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 33 -n1 32 -n2 0 -total 65 -withname 65 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 32 -face 32 -shape 451 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 32 -face 32 -freewire 0 -freeedge 0 -sharededge 177 -max_solid 0 -max_shell 32 -max_face 32 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0002711637276 -avg 3.750583844e-006 -max_tol ${max_tol_res_1}
+
index 9289c3df4b394c9af2223fbb8c6974d80dd87d2f..35274e44e3b431a78e8eb2a58ecd69b9ea6ecdf6 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename abs1.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 11 )  Warnings = 0  ( 0 )  Summary  = 0  ( 11 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 2 )  Summary  = 2  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 60  ( 60 )   Summary  = 367  ( 367 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 60  ( 60 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 142  ( 142 )
-TOLERANCE   : MaxTol   = 1.000100003e-07  ( 1.000100003e-07 )  AvgTol   =  1.000056326e-07  (  1.000056326e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 11
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 60 -shape 367
+checkstatshape res_1 -solid 1 -shell 1 -face 60 -freewire 0 -freeedge 0 -sharededge 142
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-07 -avg 1.000056326e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 11
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 60 -shape 367 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 60 -freewire 0 -freeedge 0 -sharededge 142 -max_solid 1 -max_shell 1 -max_face 60 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-07 -avg 1.000056326e-07 -max_tol ${max_tol_res_1}
+
index 319c867a63fa51a4ee39de53020b49d2ab424ed3..3d23241ad665c95e3b63ad0a28caf4ac95255882 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename absmix.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 17 )  Warnings = 0  ( 0 )  Summary  = 0  ( 17 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 2 )  Summary  = 2  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 70  ( 70 )   Summary  = 415  ( 415 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 70  ( 70 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 157  ( 157 )
-TOLERANCE   : MaxTol   = 1.000100003e-07  ( 1.000100003e-07 )  AvgTol   =  1.000053123e-07  (  1.000053123e-07 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 2  ( 2 )   NameLabels = 2  ( 2 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 17
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 2 -face 70 -shape 415
+checkstatshape res_1 -solid 1 -shell 2 -face 70 -freewire 0 -freeedge 0 -sharededge 157
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-07 -avg 1.000053123e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 17
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 2 -face 70 -shape 415 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 2 -face 70 -freewire 0 -freeedge 0 -sharededge 157 -max_solid 1 -max_shell 2 -max_face 70 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-07 -avg 1.000053123e-07 -max_tol ${max_tol_res_1}
+
index 9f5162ebd9643b41bf014b856bf34e96b90ce920..189a1fa489125acdc040f56b94125dc53344506b 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename as1ie.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 131  ( 131 )   Summary  = 778  ( 778 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 131  ( 131 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 259  ( 259 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000071455e-007  (  1.000071455e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 18 -shell 18 -face 131 -shape 778
+checkstatshape res_1 -solid 18 -shell 18 -face 131 -freewire 0 -freeedge 0 -sharededge 259
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000071455e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 18 -shell 18 -face 131 -shape 778 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 131 -freewire 0 -freeedge 0 -sharededge 259 -max_solid 18 -max_shell 18 -max_face 131 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000071455e-007 -max_tol ${max_tol_res_1}
+
index 9ecb08145208200e498125c60c4081ad8b484ad5..8c2c3539a8865e42ff9240075acc5b5ec4ee7678 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename as1sd.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 365  ( 365 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 132  ( 132 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000062094e-007  (  1.000062094e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 365
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 132
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000062094e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 365 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 132 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000062094e-007 -max_tol ${max_tol_res_1}
+
index 03d0f90ef47e5969d94461127198d83df0503683..26cf85e2f4b5a7cc32f88e6c20ca1085c400b3cc 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm1_db_lever.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 13  ( 13 )  Summary  = 13  ( 13 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 70  ( 70 )   Summary  = 444  ( 444 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 70  ( 70 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 182  ( 182 )
-TOLERANCE   : MaxTol   = 0.0001505408951  ( 0.0001811030214 )  AvgTol   =  7.138967731e-006  (  1.149095913e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 2 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 70 -shape 444
+checkstatshape res_1 -solid 1 -shell 1 -face 70 -freewire 0 -freeedge 0 -sharededge 182
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0001811030214 -avg 1.149095913e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 2 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 70 -shape 444 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 70 -freewire 0 -freeedge 0 -sharededge 182 -max_solid 1 -max_shell 1 -max_face 70 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0001505408951 -avg 7.138967731e-006 -max_tol ${max_tol_res_1}
+
index 33bdfd839acacbaa4f9b7bdace50ca34d4744d6f..c1843e7f23473ba0d88d7880708e4d404ba3ae7b 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm1_ie_t4.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 1  ( 1 )  Faces    = 1  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 15  ( 15 )  Face     = 16  ( 16 )   Summary  = 173  ( 173 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 15  ( 15 )  Face     = 16  ( 16 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 62  ( 62 )
-TOLERANCE   : MaxTol   = 0.005727453836  ( 0.005727453946 )  AvgTol   =  0.001247002689  (  0.001247002697 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 15 -face 16 -shape 173
+checkstatshape res_1 -solid 0 -shell 15 -face 16 -freewire 0 -freeedge 0 -sharededge 62
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.005727453946 -avg 0.001247002697]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 15 -face 16 -shape 173 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 15 -face 16 -freewire 0 -freeedge 0 -sharededge 62 -max_solid 0 -max_shell 15 -max_face 16 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.005727453836 -avg 0.001247002689 -max_tol ${max_tol_res_1}
+
index ff12ff4bb498554fd57712c32048ce5fc3e24962..0544d3d538b1c9f3f1cf249e72a70d4c490078ff 100755 (executable)
@@ -1,23 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-puts "TODO CR25013 ALL: Error : 3 differences with reference data found" 
 puts "TODO CR25013 ALL: NBSHAPES : Faulty" 
+puts "TODO CR25013 ALL: Error :  is WRONG because number of SHAPE entities in shape"
+puts "TODO CR25013 ALL: STATSHAPE : Faulty ref number of shared edges in command statshape"
+puts "TODO CR25013 ALL: Error: Avg tolerance of res_"
 
-set LinuxDiff 2
-set LinuxFaulties {STATSHAPE}
 set filename bm1_pe_t4.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 2 )  Warnings = 19  ( 27 )  Summary  = 19  ( 29 )
-CHECKSHAPE  : Wires    = 2  ( 3 )  Faces    = 3  ( 3 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 12  ( 12 )  Face     = 15  ( 15 )   Summary  = 149  ( 149 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 12  ( 12 )  Face     = 15  ( 15 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 57  ( 58 )
-TOLERANCE   : MaxTol   =    1562.051497  (    1562.051497 )  AvgTol   =     192.5735494  (     206.7634854 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 26 -max_faults 2
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 3 -max_faces 3 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 12 -face 15 -shape 149
+checkstatshape res_1 -solid 0 -shell 12 -face 15 -freewire 0 -freeedge 0 -sharededge 58
+set max_tol_res_1 [checkmaxtol res_1 -tol 1562.051497 -avg 206.7634854]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 26 -max_faults 2
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 15 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 3 -max_faces 3 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 2 -max_faces 3 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 12 -face 15 -shape 149 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 12 -face 15 -freewire 0 -freeedge 0 -sharededge 57 -max_solid 0 -max_shell 12 -max_face 15 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1562.051497 -avg 192.5735494 -max_tol ${max_tol_res_1}
+
index e4e717fe5153d0b522b6412318dd595d8fe5560f..b5b0544da065c3f9d0836736853f6e78f864ef58 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm1_sy_fuel.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 3 )  Warnings = 0  ( 2 )  Summary  = 0  ( 5 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 6 )  Summary  = 4  ( 6 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 6  ( 6 )  Face     = 6  ( 6 )   Summary  = 84  ( 79 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 6  ( 6 )  Face     = 6  ( 6 )   FreeWire = 0  ( 0 )   FreeEdge  = 5 ( 5 )   SharedEdge = 30  ( 30 )
-TOLERANCE   : MaxTol   =  0.01960210989  (  0.01960210989 )  AvgTol   =  0.001506671037  (  0.001506671037 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 19  ( 19 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 5  ( 5 )   ColorLabels = 11  ( 11 )   LayerLabels = 11  ( 11 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = CHOCOLATE1 LIGHTSEAGREEN TURQUOISE  ( CHOCOLATE1 LIGHTSEAGREEN TURQUOISE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = {}  ( {} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 2 -max_faults 3
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+checkxstat D_First -n0 3 -n1 19 -n2 0 -total 22 -withname 5 -withcolor 11 -withlayer 11 -centroid 0 -volume 0 -area 0 -colors { CHOCOLATE1 LIGHTSEAGREEN TURQUOISE } -nbcolors 3 -layers { "" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 6 -face 6 -shape 79
+checkstatshape res_1 -solid 0 -shell 6 -face 6 -freewire 0 -freeedge 5 -sharededge 30
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01960210989 -avg 0.001506671037]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 2 -max_faults 3
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 19 -n2 0 -total 22 -withname 5 -withcolor 11 -withlayer 11 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 19 -n2 0 -total 22 -withname 5 -withcolor 11 -withlayer 11 -centroid 0 -volume 0 -area 0 -colors { CHOCOLATE1 LIGHTSEAGREEN TURQUOISE  } -nbcolors 3 -layers { "" } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 6 -face 6 -shape 84 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 6 -face 6 -freewire 0 -freeedge 5 -sharededge 30 -max_solid 0 -max_shell 6 -max_face 6 -max_freewire 0 -max_freeedge 5
+checkmaxtol res_2 -tol 0.01960210989 -avg 0.001506671037 -max_tol ${max_tol_res_1}
+
index 877e9e5b8e9956b611d9308bd7863bb66a9dc88d..fd3b9b7f81ea7dfbfe827f9729abb1f6fda32a49 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 
-
 set filename bm1_sy_lever.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 3 )  Warnings = 0  ( 2 )  Summary  = 0  ( 5 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 11  ( 9 )  Summary  = 11  ( 9 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 2  ( 2 )  Shell    = 2  ( 2 )  Face     = 99  ( 99 )   Summary  = 654  ( 656 )
-STATSHAPE   : Solid    = 2  ( 2 )  Shell    = 2  ( 2 )  Face     = 99  ( 99 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 265  ( 266 )
-TOLERANCE   : MaxTol   =    3.000180002  (    3.000180002 )  AvgTol   =    0.1203601833  (    0.1203606739 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 3  ( 3 )   NameLabels = 1  ( 1 )   ColorLabels = 2  ( 2 )   LayerLabels = 2  ( 2 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = RED  ( RED )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = {}  ( {} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 2 -max_faults 3
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+checkxstat D_First -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -colors { RED } -nbcolors 1 -layers { "" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 2 -shell 2 -face 99 -shape 656
+checkstatshape res_1 -solid 2 -shell 2 -face 99 -freewire 0 -freeedge 0 -sharededge 266
+set max_tol_res_1 [checkmaxtol res_1 -tol 3.000180002 -avg 0.1203606739]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 2 -max_faults 3
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -colors { RED  } -nbcolors 1 -layers { "" } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 2 -shell 2 -face 99 -shape 654 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 2 -shell 2 -face 99 -freewire 0 -freeedge 0 -sharededge 265 -max_solid 2 -max_shell 2 -max_face 99 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 3.000180002 -avg 0.1203601833 -max_tol ${max_tol_res_1}
+
index 60e247a775a64e7020ec03319345c1701acfbd15..e349672b906b4da990ff8d90a6f909c3f748dc52 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm1_sy_t4.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 3 )  Warnings = 0  ( 2 )  Summary  = 0  ( 5 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 1 )  Summary  = 1  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 6  ( 6 )  Face     = 6  ( 6 )   Summary  = 102  ( 96 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 6  ( 6 )  Face     = 6  ( 6 )   FreeWire = 0  ( 0 )   FreeEdge  = 6 ( 6 )   SharedEdge = 35  ( 35 )
-TOLERANCE   : MaxTol   =  0.01889086606  (  0.01889086606 )  AvgTol   =  0.001105643981  (  0.001105643981 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 20  ( 20 )  N2Labels = 0  ( 0 )   TotalLabels = 23  ( 23 )   NameLabels = 5  ( 5 )   ColorLabels = 12  ( 12 )   LayerLabels = 12  ( 12 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = CHOCOLATE1 TURQUOISE  ( CHOCOLATE1 TURQUOISE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = {}  ( {} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 2 -max_faults 3
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 3 -n1 20 -n2 0 -total 23 -withname 5 -withcolor 12 -withlayer 12 -centroid 0 -volume 0 -area 0 -colors { CHOCOLATE1 TURQUOISE } -nbcolors 2 -layers { "" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 6 -face 6 -shape 96
+checkstatshape res_1 -solid 0 -shell 6 -face 6 -freewire 0 -freeedge 6 -sharededge 35
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01889086606 -avg 0.001105643981]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 2 -max_faults 3
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 20 -n2 0 -total 23 -withname 5 -withcolor 12 -withlayer 12 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 20 -n2 0 -total 23 -withname 5 -withcolor 12 -withlayer 12 -centroid 0 -volume 0 -area 0 -colors { CHOCOLATE1 TURQUOISE  } -nbcolors 2 -layers { "" } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 6 -face 6 -shape 102 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 6 -face 6 -freewire 0 -freeedge 6 -sharededge 35 -max_solid 0 -max_shell 6 -max_face 6 -max_freewire 0 -max_freeedge 6
+checkmaxtol res_2 -tol 0.01889086606 -avg 0.001105643981 -max_tol ${max_tol_res_1}
+
index f9fdc6baa4dbfe2556a0bf7388f304c81367efa7..44d852a6d81c460f4e5dec410f66478b77bffd0a 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_ca_lever-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 19 )  Summary  = 2  ( 19 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 56  ( 56 )   Summary  = 370  ( 370 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 56  ( 56 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 151  ( 151 )
-TOLERANCE   : MaxTol   = 0.009167989686  ( 0.009167989684 )  AvgTol   =  0.0002906517901  (  0.0002908081263 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 19 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 56 -shape 370
+checkstatshape res_1 -solid 1 -shell 1 -face 56 -freewire 0 -freeedge 0 -sharededge 151
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009167989684 -avg 0.0002908081263]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 19 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 56 -shape 370 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 56 -freewire 0 -freeedge 0 -sharededge 151 -max_solid 1 -max_shell 1 -max_face 56 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.009167989686 -avg 0.0002906517901 -max_tol ${max_tol_res_1}
+
index 23cd827c682d23d4353de2c592bcb991eb878d81..87a5f241115cbd7441610bcc37c219c3fc79916b 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_ca_leverrod-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 17 )  Summary  = 0  ( 17 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 60  ( 60 )   Summary  = 404  ( 404 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 60  ( 60 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 167  ( 167 )
-TOLERANCE   : MaxTol   = 0.009168081366  ( 0.009168081364 )  AvgTol   =  0.0003869985721  (  0.0003872794305 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 17 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 60 -shape 404
+checkstatshape res_1 -solid 1 -shell 1 -face 60 -freewire 0 -freeedge 0 -sharededge 167
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009168081364 -avg 0.0003872794305]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 17 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 60 -shape 404 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 60 -freewire 0 -freeedge 0 -sharededge 167 -max_solid 1 -max_shell 1 -max_face 60 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.009168081366 -avg 0.0003869985721 -max_tol ${max_tol_res_1}
+
index 00a4df410225060af7d7f1b48e229cef24e4401b..748761f23467e05bcacdffc67c5c5e2ef6308ca2 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 
-
 set filename bm2_ca_t4-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 12  ( 30 )  Summary  = 12  ( 30 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 12  ( 12 )  Face     = 12  ( 12 )   Summary  = 198  ( 201 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 12  ( 12 )  Face     = 12  ( 12 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 56  ( 59 )
-TOLERANCE   : MaxTol   = 0.003925171889  ( 0.003925171887 )  AvgTol   =  0.001060259617  (  0.001049358279 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 30 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 12 -face 12 -shape 201
+checkstatshape res_1 -solid 0 -shell 12 -face 12 -freewire 0 -freeedge 0 -sharededge 59
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.003925171887 -avg 0.001049358279]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 30 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 12 -face 12 -shape 198 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 12 -face 12 -freewire 0 -freeedge 0 -sharededge 56 -max_solid 0 -max_shell 12 -max_face 12 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003925171889 -avg 0.001060259617 -max_tol ${max_tol_res_1}
+
index 6a4ae15f613a5c0ab5c9aeca3bae5bba0764e178..91ba310cfc5061865e637ff6281f81b22115eee0 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename bm2_ct_lever-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 3  ( 1 )  Summary  = 3  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 70  ( 70 )   Summary  = 444  ( 444 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 70  ( 70 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 182  ( 182 )
-TOLERANCE   : MaxTol   = 0.0001813865816  ( 0.0001813865816 )  AvgTol   =  5.873595719e-006  (  5.873595693e-006 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 70 -shape 444
+checkstatshape res_1 -solid 1 -shell 1 -face 70 -freewire 0 -freeedge 0 -sharededge 182
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0001813865816 -avg 5.873595693e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 70 -shape 444 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 70 -freewire 0 -freeedge 0 -sharededge 182 -max_solid 1 -max_shell 1 -max_face 70 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0001813865816 -avg 5.873595719e-006 -max_tol ${max_tol_res_1}
+
index d6a0f9a2ba131cdb453cb0380f73f2dba56b992a..9a385617d347ac1ebac2e057b1a45383ebadc8f1 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_ec_exhaust-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 6  ( 6 )  Shell    = 6  ( 6 )  Face     = 58  ( 58 )   Summary  = 329  ( 329 )
-STATSHAPE   : Solid    = 6  ( 6 )  Shell    = 6  ( 6 )  Face     = 58  ( 58 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 116  ( 116 )
-TOLERANCE   : MaxTol   =    3.747413396  (    3.773005335 )  AvgTol   =    0.2774758019  (    0.2792993142 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 6 -shell 6 -face 58 -shape 329
+checkstatshape res_1 -solid 6 -shell 6 -face 58 -freewire 0 -freeedge 0 -sharededge 116
+set max_tol_res_1 [checkmaxtol res_1 -tol 3.773005335 -avg 0.2792993142]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 6 -shell 6 -face 58 -shape 329 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 6 -shell 6 -face 58 -freewire 0 -freeedge 0 -sharededge 116 -max_solid 6 -max_shell 6 -max_face 58 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 3.747413396 -avg 0.2774758019 -max_tol ${max_tol_res_1}
+
index 73725b58a79b450c74bddc6f49ee6160402528fe..f273f1270f1a8086fcced0f43521a5e01297ab5a 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_ec_lever-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 49  ( 49 )   Summary  = 325  ( 325 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 49  ( 49 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 132  ( 132 )
-TOLERANCE   : MaxTol   = 1.254434245e-007  ( 1.254434245e-007 )  AvgTol   =  1.008543507e-007  (  1.008543507e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 49 -shape 325
+checkstatshape res_1 -solid 1 -shell 1 -face 49 -freewire 0 -freeedge 0 -sharededge 132
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.254434245e-007 -avg 1.008543507e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 49 -shape 325 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 49 -freewire 0 -freeedge 0 -sharededge 132 -max_solid 1 -max_shell 1 -max_face 49 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.254434245e-007 -avg 1.008543507e-007 -max_tol ${max_tol_res_1}
+
index 6a721c7c3b3dd7e685edf6eb10def0869f54224a..8c44fed65b2371e96c97a5eae869ce3883c3de46 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_ec_leverrod-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 49  ( 49 )   Summary  = 325  ( 325 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 49  ( 49 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 132  ( 132 )
-TOLERANCE   : MaxTol   = 1.254434245e-007  ( 1.254434245e-007 )  AvgTol   =  1.008543507e-007  (  1.008543507e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 49 -shape 325
+checkstatshape res_1 -solid 1 -shell 1 -face 49 -freewire 0 -freeedge 0 -sharededge 132
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.254434245e-007 -avg 1.008543507e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 49 -shape 325 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 49 -freewire 0 -freeedge 0 -sharededge 132 -max_solid 1 -max_shell 1 -max_face 49 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.254434245e-007 -avg 1.008543507e-007 -max_tol ${max_tol_res_1}
+
index 0a6ebc27bf46cac331059a50df7e0b4520e5249f..81a3b2de9cdf0e3e866668d4a9b83abd91220093 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_ec_t4-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 3  ( 3 )  Face     = 13  ( 13 )   Summary  = 122  ( 122 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 3  ( 3 )  Face     = 13  ( 13 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 50  ( 50 )
-TOLERANCE   : MaxTol   = 0.0004295981946  ( 0.0007438758064 )  AvgTol   =  0.0001494349823  (  0.000206922489 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 3 -face 13 -shape 122
+checkstatshape res_1 -solid 0 -shell 3 -face 13 -freewire 0 -freeedge 0 -sharededge 50
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0007438758064 -avg 0.000206922489]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 3 -face 13 -shape 122 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 3 -face 13 -freewire 0 -freeedge 0 -sharededge 50 -max_solid 0 -max_shell 3 -max_face 13 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0004295981946 -avg 0.0001494349823 -max_tol ${max_tol_res_1}
+
index d58a0ba9f1d5f5a2b4554f82593407f937b54d68..436676c8cc7f3a791332e33d091ac2548a0fc4ca 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_id_lever-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 7  ( 7 )  Summary  = 7  ( 7 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 63  ( 63 )   Summary  = 397  ( 397 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 63  ( 63 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 161  ( 161 )
-TOLERANCE   : MaxTol   = 0.003354436772  ( 0.005782871451 )  AvgTol   =  9.01049205e-005  (  0.0002474592456 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 63 -shape 397
+checkstatshape res_1 -solid 1 -shell 1 -face 63 -freewire 0 -freeedge 0 -sharededge 161
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.005782871451 -avg 0.0002474592456]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 63 -shape 397 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 63 -freewire 0 -freeedge 0 -sharededge 161 -max_solid 1 -max_shell 1 -max_face 63 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003354436772 -avg 9.01049205e-005 -max_tol ${max_tol_res_1}
+
index 02ddde8b39cd503989a9101fa88f1dabcd6671c5..00c95b7243042811fff0ef36baedea5b68630083 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_id_lever-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 3 )  Summary  = 1  ( 3 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 63  ( 63 )   Summary  = 397  ( 397 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 63  ( 63 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 161  ( 161 )
-TOLERANCE   : MaxTol   = 0.003354570949  ( 0.004866377804 )  AvgTol   =  9.013170155e-005  (  0.0002225463723 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 63 -shape 397
+checkstatshape res_1 -solid 1 -shell 1 -face 63 -freewire 0 -freeedge 0 -sharededge 161
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.004866377804 -avg 0.0002225463723]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 63 -shape 397 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 63 -freewire 0 -freeedge 0 -sharededge 161 -max_solid 1 -max_shell 1 -max_face 63 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003354570949 -avg 9.013170155e-005 -max_tol ${max_tol_res_1}
+
index 905b1258079c43f52b362fbc5986d323ddd3a4a4..7528020e8da90d90ba36eb36a57cd5b90912c7db 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_id_leverrod-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 7  ( 7 )  Summary  = 7  ( 7 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 63  ( 63 )   Summary  = 397  ( 397 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 63  ( 63 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 161  ( 161 )
-TOLERANCE   : MaxTol   = 0.003354436772  ( 0.005782871451 )  AvgTol   =  9.01049205e-005  (  0.0002474592456 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 63 -shape 397
+checkstatshape res_1 -solid 1 -shell 1 -face 63 -freewire 0 -freeedge 0 -sharededge 161
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.005782871451 -avg 0.0002474592456]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 63 -shape 397 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 63 -freewire 0 -freeedge 0 -sharededge 161 -max_solid 1 -max_shell 1 -max_face 63 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003354436772 -avg 9.01049205e-005 -max_tol ${max_tol_res_1}
+
index 3def8bfcb75e8626da758f7d18350c0656260bbe..e77350f0325ee4ce5ec2f6c395304bb3bb0fbab5 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_id_leverrod-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 4 )  Summary  = 1  ( 4 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 63  ( 63 )   Summary  = 397  ( 397 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 63  ( 63 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 161  ( 161 )
-TOLERANCE   : MaxTol   = 0.003354570949  ( 0.004866377804 )  AvgTol   =  9.015270484e-005  (  0.000222559965 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 63 -shape 397
+checkstatshape res_1 -solid 1 -shell 1 -face 63 -freewire 0 -freeedge 0 -sharededge 161
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.004866377804 -avg 0.000222559965]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 63 -shape 397 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 63 -freewire 0 -freeedge 0 -sharededge 161 -max_solid 1 -max_shell 1 -max_face 63 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003354570949 -avg 9.015270484e-005 -max_tol ${max_tol_res_1}
+
index 42dbf6ca26fdb1b2de21702710a5ecb5e6a35c73..a4c72f65905387214f157564abddc1a7a249298e 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename bm2_ie_lever-C.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 9  ( 7 )  Summary  = 9  ( 7 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 51  ( 51 )   Summary  = 333  ( 333 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 51  ( 51 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 135  ( 135 )
-TOLERANCE   : MaxTol   = 2.885723252e-007  ( 0.005189489581 )  AvgTol   =  1.021399653e-007  (  0.0002274307219 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 51 -shape 333
+checkstatshape res_1 -solid 1 -shell 1 -face 51 -freewire 0 -freeedge 0 -sharededge 135
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.005189489581 -avg 0.0002274307219]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 51 -shape 333 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 51 -freewire 0 -freeedge 0 -sharededge 135 -max_solid 1 -max_shell 1 -max_face 51 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 2.885723252e-007 -avg 1.021399653e-007 -max_tol ${max_tol_res_1}
+
index 16f192cd412001f51fd7bd477616236f6a6357a3..8e2d47ba70f2265586c3e3f4eb09df299dde4f58 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename bm2_ie_leverrod-C.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 12  ( 7 )  Summary  = 12  ( 7 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 51  ( 51 )   Summary  = 335  ( 335 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 51  ( 51 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 136  ( 136 )
-TOLERANCE   : MaxTol   = 0.000304966156  ( 0.005189422784 )  AvgTol   =  4.319600685e-006  (  0.0002258553417 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 51 -shape 335
+checkstatshape res_1 -solid 1 -shell 1 -face 51 -freewire 0 -freeedge 0 -sharededge 136
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.005189422784 -avg 0.0002258553417]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 51 -shape 335 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 51 -freewire 0 -freeedge 0 -sharededge 136 -max_solid 1 -max_shell 1 -max_face 51 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.000304966156 -avg 4.319600685e-006 -max_tol ${max_tol_res_1}
+
index 5edb7bc59cfdd3b5eedac2f714dedbcd2f0ba2f1..c0625b051b9d90bee3a23627134fd21689ee0a8d 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_ie_t4-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 15  ( 15 )  Face     = 16  ( 16 )   Summary  = 173  ( 173 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 15  ( 15 )  Face     = 16  ( 16 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 62  ( 62 )
-TOLERANCE   : MaxTol   = 0.005727453836  ( 0.005727453946 )  AvgTol   =  0.001247002691  (  0.001247002697 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 15 -face 16 -shape 173
+checkstatshape res_1 -solid 0 -shell 15 -face 16 -freewire 0 -freeedge 0 -sharededge 62
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.005727453946 -avg 0.001247002697]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 15 -face 16 -shape 173 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 15 -face 16 -freewire 0 -freeedge 0 -sharededge 62 -max_solid 0 -max_shell 15 -max_face 16 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.005727453836 -avg 0.001247002691 -max_tol ${max_tol_res_1}
+
index 96552440c4642b0a4476b9d9795739c3e0066e05..985e4f1db5ab3ea6d80fb021ceb4b3e1111a90ef 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_ie_t4-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 15  ( 15 )  Face     = 16  ( 16 )   Summary  = 173  ( 173 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 15  ( 15 )  Face     = 16  ( 16 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 62  ( 62 )
-TOLERANCE   : MaxTol   = 0.009569158984  ( 0.009569158985 )  AvgTol   =  0.002156301466  (  0.002156301479 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 15 -face 16 -shape 173
+checkstatshape res_1 -solid 0 -shell 15 -face 16 -freewire 0 -freeedge 0 -sharededge 62
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009569158985 -avg 0.002156301479]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 15 -face 16 -shape 173 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 15 -face 16 -freewire 0 -freeedge 0 -sharededge 62 -max_solid 0 -max_shell 15 -max_face 16 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.009569158984 -avg 0.002156301466 -max_tol ${max_tol_res_1}
+
index d547e0dd711741e3822751301805069b4f3b4ada..09db06e9b4c5e2b5cd543a35d5b834dd399e235f 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_ie_t4-C.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 7  ( 7 )  Summary  = 7  ( 7 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 15  ( 15 )  Face     = 16  ( 16 )   Summary  = 173  ( 173 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 15  ( 15 )  Face     = 16  ( 16 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 62  ( 62 )
-TOLERANCE   : MaxTol   = 0.005727453811  ( 0.005727453948 )  AvgTol   =  0.001246989294  (  0.001246989308 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 15 -face 16 -shape 173
+checkstatshape res_1 -solid 0 -shell 15 -face 16 -freewire 0 -freeedge 0 -sharededge 62
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.005727453948 -avg 0.001246989308]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 15 -face 16 -shape 173 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 15 -face 16 -freewire 0 -freeedge 0 -sharededge 62 -max_solid 0 -max_shell 15 -max_face 16 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.005727453811 -avg 0.001246989294 -max_tol ${max_tol_res_1}
+
index 1cf009bd8bbddd927fbca9099cb53f64806f886e..ceb15e5a47c473498fa10bead117987acdb556c7 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename bm2_pe_leverrod-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 3  ( 0 )  Summary  = 3  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 73  ( 73 )   Summary  = 469  ( 469 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 73  ( 73 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 194  ( 194 )
-TOLERANCE   : MaxTol   =   0.2144663085  (   0.2144663085 )  AvgTol   =  0.003931550309  (   0.01531627646 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 73 -shape 469
+checkstatshape res_1 -solid 1 -shell 1 -face 73 -freewire 0 -freeedge 0 -sharededge 194
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.2144663085 -avg 0.01531627646]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 73 -shape 469 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 73 -freewire 0 -freeedge 0 -sharededge 194 -max_solid 1 -max_shell 1 -max_face 73 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.2144663085 -avg 0.003931550309 -max_tol ${max_tol_res_1}
+
index 110b1e013e4adf5948c5eb206073a3fa0f05a933..c899319fb5d76b8ec962dad9a78e11e858c699b5 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_pe_leverrod-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 73  ( 73 )   Summary  = 471  ( 471 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 73  ( 73 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 195  ( 195 )
-TOLERANCE   : MaxTol   = 0.002772705081  ( 0.007671422015 )  AvgTol   =  0.0001862241325  (  0.0004076685863 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 73 -shape 471
+checkstatshape res_1 -solid 1 -shell 1 -face 73 -freewire 0 -freeedge 0 -sharededge 195
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.007671422015 -avg 0.0004076685863]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 73 -shape 471 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 73 -freewire 0 -freeedge 0 -sharededge 195 -max_solid 1 -max_shell 1 -max_face 73 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.002772705081 -avg 0.0001862241325 -max_tol ${max_tol_res_1}
+
index 00b4bca749f6b3e7758d2301ad37380b4c4fa28f..bf63e2925837de5bf07421a7efdf5419709b5577 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_pe_leverrod-C.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 73  ( 73 )   Summary  = 471  ( 471 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 73  ( 73 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 195  ( 195 )
-TOLERANCE   : MaxTol   = 0.002169065527  ( 0.004310633963 )  AvgTol   =  0.0001558899524  (  0.0002499195251 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 73 -shape 471
+checkstatshape res_1 -solid 1 -shell 1 -face 73 -freewire 0 -freeedge 0 -sharededge 195
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.004310633963 -avg 0.0002499195251]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 73 -shape 471 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 73 -freewire 0 -freeedge 0 -sharededge 195 -max_solid 1 -max_shell 1 -max_face 73 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.002169065527 -avg 0.0001558899524 -max_tol ${max_tol_res_1}
+
index 82ffdd3574d5eb5c3b733edceeb661a29e7b3de9..209c05414eaaa5534d38f222318654d29ed090bc 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_sd_lever-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 70  ( 70 )   Summary  = 440  ( 440 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 70  ( 70 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 179  ( 179 )
-TOLERANCE   : MaxTol   = 5.221593683e-007  ( 5.221585661e-007 )  AvgTol   =  1.103393727e-007  (  1.10339353e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 16  ( 16 )  N2Labels = 0  ( 0 )   TotalLabels = 17  ( 17 )   NameLabels = 1  ( 1 )   ColorLabels = 16  ( 16 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 GREEN RED  ( BLUE1 GREEN RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 16 -n2 0 -total 17 -withname 1 -withcolor 16 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 70 -shape 440
+checkstatshape res_1 -solid 1 -shell 1 -face 70 -freewire 0 -freeedge 0 -sharededge 179
+set max_tol_res_1 [checkmaxtol res_1 -tol 5.221585661e-007 -avg 1.10339353e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 16 -n2 0 -total 17 -withname 1 -withcolor 16 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 16 -n2 0 -total 17 -withname 1 -withcolor 16 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 70 -shape 440 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 70 -freewire 0 -freeedge 0 -sharededge 179 -max_solid 1 -max_shell 1 -max_face 70 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 5.221593683e-007 -avg 1.103393727e-007 -max_tol ${max_tol_res_1}
+
index 61736515eea97bf12c5740a97ecf4d058f1cd631..5703b635a1292739bc5b58d2f305f26433236ae0 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_sd_lever-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 85 )  Warnings = 0  ( 0 )  Summary  = 0  ( 85 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 70  ( 70 )   Summary  = 440  ( 440 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 70  ( 70 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 179  ( 179 )
-TOLERANCE   : MaxTol   = 5.202162466e-007  ( 5.20213443e-007 )  AvgTol   =  1.102850063e-007  (  1.102849442e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 16  ( 16 )  N2Labels = 0  ( 0 )   TotalLabels = 17  ( 17 )   NameLabels = 1  ( 1 )   ColorLabels = 16  ( 16 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 GREEN RED  ( BLUE1 GREEN RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 255 -max_faults 85
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 16 -n2 0 -total 17 -withname 1 -withcolor 16 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 70 -shape 440
+checkstatshape res_1 -solid 1 -shell 1 -face 70 -freewire 0 -freeedge 0 -sharededge 179
+set max_tol_res_1 [checkmaxtol res_1 -tol 5.20213443e-007 -avg 1.102849442e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 255 -max_faults 85
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 16 -n2 0 -total 17 -withname 1 -withcolor 16 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 16 -n2 0 -total 17 -withname 1 -withcolor 16 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 70 -shape 440 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 70 -freewire 0 -freeedge 0 -sharededge 179 -max_solid 1 -max_shell 1 -max_face 70 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 5.202162466e-007 -avg 1.102850063e-007 -max_tol ${max_tol_res_1}
+
index 2de88edab8b326016c92ebad030b1714cd6dd727..abe340a7bdcf1fcc318db50d2354cb9b6857c582 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_sd_leverrod-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 74  ( 74 )   Summary  = 466  ( 466 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 74  ( 74 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 189  ( 189 )
-TOLERANCE   : MaxTol   = 5.221593683e-007  ( 5.221585661e-007 )  AvgTol   =  1.199942784e-007  (  1.199944642e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 16  ( 16 )  N2Labels = 0  ( 0 )   TotalLabels = 17  ( 17 )   NameLabels = 1  ( 1 )   ColorLabels = 16  ( 16 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 GREEN RED  ( BLUE1 GREEN RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 16 -n2 0 -total 17 -withname 1 -withcolor 16 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 74 -shape 466
+checkstatshape res_1 -solid 1 -shell 1 -face 74 -freewire 0 -freeedge 0 -sharededge 189
+set max_tol_res_1 [checkmaxtol res_1 -tol 5.221585661e-007 -avg 1.199944642e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 16 -n2 0 -total 17 -withname 1 -withcolor 16 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 16 -n2 0 -total 17 -withname 1 -withcolor 16 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 74 -shape 466 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 74 -freewire 0 -freeedge 0 -sharededge 189 -max_solid 1 -max_shell 1 -max_face 74 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 5.221593683e-007 -avg 1.199942784e-007 -max_tol ${max_tol_res_1}
+
index 7964b0534219b5f3a42d5fcff39eaaf7e08c3bff..63cc8cef5ca534b5b0a9506a19d1fb27a4c726b3 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_sd_leverrod-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 93 )  Warnings = 0  ( 0 )  Summary  = 0  ( 93 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 74  ( 74 )   Summary  = 466  ( 466 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 74  ( 74 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 189  ( 189 )
-TOLERANCE   : MaxTol   = 5.202162466e-007  ( 5.20213443e-007 )  AvgTol   =  1.20030989e-007  (  1.200309448e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 16  ( 16 )  N2Labels = 0  ( 0 )   TotalLabels = 17  ( 17 )   NameLabels = 1  ( 1 )   ColorLabels = 16  ( 16 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 GREEN RED  ( BLUE1 GREEN RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 279 -max_faults 93
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 16 -n2 0 -total 17 -withname 1 -withcolor 16 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 74 -shape 466
+checkstatshape res_1 -solid 1 -shell 1 -face 74 -freewire 0 -freeedge 0 -sharededge 189
+set max_tol_res_1 [checkmaxtol res_1 -tol 5.20213443e-007 -avg 1.200309448e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 279 -max_faults 93
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 16 -n2 0 -total 17 -withname 1 -withcolor 16 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 16 -n2 0 -total 17 -withname 1 -withcolor 16 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 74 -shape 466 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 74 -freewire 0 -freeedge 0 -sharededge 189 -max_solid 1 -max_shell 1 -max_face 74 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 5.202162466e-007 -avg 1.20030989e-007 -max_tol ${max_tol_res_1}
+
index 626d922df676a0563380ff0998dea6f6ef8a0399..e754737e7adbccc9d7f45803893904f0b989d30c 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_sd_t4-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 7  ( 7 )   Summary  = 61  ( 61 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 7  ( 7 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 25  ( 25 )
-TOLERANCE   : MaxTol   = 5.457611385e-007  ( 5.468279835e-007 )  AvgTol   =  1.450502415e-007  (  1.446043389e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 7 -shape 61
+checkstatshape res_1 -solid 0 -shell 1 -face 7 -freewire 0 -freeedge 0 -sharededge 25
+set max_tol_res_1 [checkmaxtol res_1 -tol 5.468279835e-007 -avg 1.446043389e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 7 -shape 61 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 7 -freewire 0 -freeedge 0 -sharededge 25 -max_solid 0 -max_shell 1 -max_face 7 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 5.457611385e-007 -avg 1.450502415e-007 -max_tol ${max_tol_res_1}
+
index ec671552e0e4e3d65f3a792f94ca26cad4f08f7b..0c7edef1675084e9b8a8892fd4a64f45e338cfa7 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_sd_t4-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 18 )  Warnings = 0  ( 0 )  Summary  = 0  ( 18 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 7  ( 7 )   Summary  = 61  ( 61 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 7  ( 7 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 25  ( 25 )
-TOLERANCE   : MaxTol   = 5.468086661e-007  ( 5.468279386e-007 )  AvgTol   =  1.446013285e-007  (  1.446034587e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 54 -max_faults 18
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 7 -shape 61
+checkstatshape res_1 -solid 0 -shell 1 -face 7 -freewire 0 -freeedge 0 -sharededge 25
+set max_tol_res_1 [checkmaxtol res_1 -tol 5.468279386e-007 -avg 1.446034587e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 54 -max_faults 18
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 7 -shape 61 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 7 -freewire 0 -freeedge 0 -sharededge 25 -max_solid 0 -max_shell 1 -max_face 7 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 5.468086661e-007 -avg 1.446013285e-007 -max_tol ${max_tol_res_1}
+
index e4fd32cd209965aa33d8763221393a09fccd3d60..fed12fb44449762fc876fdf343dcd6f1e7905c5c 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_sy_t4-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 1 )  Summary  = 1  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 6  ( 6 )  Face     = 6  ( 6 )   Summary  = 102  ( 96 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 6  ( 6 )  Face     = 6  ( 6 )   FreeWire = 0  ( 0 )   FreeEdge  = 6 ( 6 )   SharedEdge = 35  ( 35 )
-TOLERANCE   : MaxTol   =  0.01889093091  (  0.01889093091 )  AvgTol   =  0.001105659119  (  0.001105659119 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 20  ( 20 )  N2Labels = 0  ( 0 )   TotalLabels = 23  ( 23 )   NameLabels = 5  ( 5 )   ColorLabels = 12  ( 12 )   LayerLabels = 12  ( 12 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = CHOCOLATE1 TURQUOISE  ( CHOCOLATE1 TURQUOISE )
-NLAYERS     : NLayers  = 6  ( 6 )
-LAYERS      : Layers   = 1 2 3 4 6 X  ( 1 2 3 4 6 X )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 3 -n1 20 -n2 0 -total 23 -withname 5 -withcolor 12 -withlayer 12 -centroid 0 -volume 0 -area 0 -colors { CHOCOLATE1 TURQUOISE } -nbcolors 2 -layers { 1 2 3 4 6 X } -nblayers 6
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 6 -face 6 -shape 96
+checkstatshape res_1 -solid 0 -shell 6 -face 6 -freewire 0 -freeedge 6 -sharededge 35
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01889093091 -avg 0.001105659119]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 20 -n2 0 -total 23 -withname 5 -withcolor 12 -withlayer 12 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 6
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 20 -n2 0 -total 23 -withname 5 -withcolor 12 -withlayer 12 -centroid 0 -volume 0 -area 0 -colors { CHOCOLATE1 TURQUOISE  } -nbcolors 2 -layers { 1 2 3 4 6 X  } -nblayers 6
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 6 -face 6 -shape 102 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 6 -face 6 -freewire 0 -freeedge 6 -sharededge 35 -max_solid 0 -max_shell 6 -max_face 6 -max_freewire 0 -max_freeedge 6
+checkmaxtol res_2 -tol 0.01889093091 -avg 0.001105659119 -max_tol ${max_tol_res_1}
+
index 1a59cce4c27c9e940618433c4d9f49c747845cbe..1485f40c0ca5b3186f33256d7a0208c9b5ad52ff 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_ug_leverrod-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 7 )  Summary  = 0  ( 7 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 56  ( 56 )   Summary  = 364  ( 364 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 56  ( 56 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 148  ( 148 )
-TOLERANCE   : MaxTol   = 5.670204875e-006  (         1e-005 )  AvgTol   =  3.436934338e-007  (  1.247008617e-006 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 56 -shape 364
+checkstatshape res_1 -solid 1 -shell 1 -face 56 -freewire 0 -freeedge 0 -sharededge 148
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 1.247008617e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 56 -shape 364 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 56 -freewire 0 -freeedge 0 -sharededge 148 -max_solid 1 -max_shell 1 -max_face 56 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 5.670204875e-006 -avg 3.436934338e-007 -max_tol ${max_tol_res_1}
+
index e0746eaeffd66235808433318b8c628416739352..9e9bdc5bf35e1eabc126b7a9960d7507efc1aec4 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 
-
 set filename bm4_ca_eye.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 6  ( 11 )  Summary  = 6  ( 11 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 86  ( 86 )   Summary  = 496  ( 498 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 86  ( 86 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 207  ( 209 )
-TOLERANCE   : MaxTol   =  0.03778327591  (  0.03778327591 )  AvgTol   =  0.001249318063  (  0.001282100812 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 86 -shape 498
+checkstatshape res_1 -solid 1 -shell 1 -face 86 -freewire 0 -freeedge 0 -sharededge 209
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.03778327591 -avg 0.001282100812]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 86 -shape 496 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 86 -freewire 0 -freeedge 0 -sharededge 207 -max_solid 1 -max_shell 1 -max_face 86 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.03778327591 -avg 0.001249318063 -max_tol ${max_tol_res_1}
+
index 74454784192b498a63263277897112aafa6eeb0c..28215e19a270ec5e2d964d606b4a4b7f95872c08 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_ct_eye.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 25  ( 27 )  Summary  = 25  ( 27 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 5  ( 5 )  Face     = 87  ( 87 )   Summary  = 536  ( 536 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 5  ( 5 )  Face     = 87  ( 87 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 220  ( 220 )
-TOLERANCE   : MaxTol   = 0.001640491495  (   0.0154023028 )  AvgTol   =  0.0003285396147  (  0.001132378182 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 8  ( 8 )  N2Labels = 0  ( 0 )   TotalLabels = 11  ( 11 )   NameLabels = 5  ( 5 )   ColorLabels = 7  ( 7 )   LayerLabels = 5  ( 5 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = GREEN MAGENTA4 YELLOW  ( GREEN MAGENTA4 YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 26 -max_faults 0
+checkxstat D_First -n0 3 -n1 8 -n2 0 -total 11 -withname 5 -withcolor 7 -withlayer 5 -centroid 0 -volume 0 -area 0 -colors { GREEN MAGENTA4 YELLOW } -nbcolors 3 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 5 -face 87 -shape 536
+checkstatshape res_1 -solid 1 -shell 5 -face 87 -freewire 0 -freeedge 0 -sharededge 220
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0154023028 -avg 0.001132378182]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 26 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 8 -n2 0 -total 11 -withname 5 -withcolor 7 -withlayer 5 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 8 -n2 0 -total 11 -withname 5 -withcolor 7 -withlayer 5 -centroid 0 -volume 0 -area 0 -colors { GREEN MAGENTA4 YELLOW  } -nbcolors 3 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 5 -face 87 -shape 536 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 5 -face 87 -freewire 0 -freeedge 0 -sharededge 220 -max_solid 1 -max_shell 5 -max_face 87 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.001640491495 -avg 0.0003285396147 -max_tol ${max_tol_res_1}
+
index 91dbb5f5f54d539a1ef1d27ac82c2a6751b30478..f6b2d2c1b5e3a78579450b9d41891853b9050adc 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename bm4_id_eye_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 8  ( 5 )  Summary  = 8  ( 5 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 72  ( 72 )   Summary  = 422  ( 422 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 72  ( 72 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 175  ( 175 )
-TOLERANCE   : MaxTol   = 0.003734968074  ( 0.009941326565 )  AvgTol   =  0.0003603377154  (  0.0006897182502 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 116  ( 116 )  N2Labels = 0  ( 0 )   TotalLabels = 117  ( 117 )   NameLabels = 1  ( 1 )   ColorLabels = 117  ( 117 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = MAGENTA1 RED  ( MAGENTA1 RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+checkxstat D_First -n0 1 -n1 116 -n2 0 -total 117 -withname 1 -withcolor 117 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1 RED } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 72 -shape 422
+checkstatshape res_1 -solid 1 -shell 1 -face 72 -freewire 0 -freeedge 0 -sharededge 175
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009941326565 -avg 0.0006897182502]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 116 -n2 0 -total 117 -withname 1 -withcolor 117 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 116 -n2 0 -total 117 -withname 1 -withcolor 117 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1 RED  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 72 -shape 422 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 72 -freewire 0 -freeedge 0 -sharededge 175 -max_solid 1 -max_shell 1 -max_face 72 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003734968074 -avg 0.0003603377154 -max_tol ${max_tol_res_1}
+
index 53bd00430a4f5e1d2bae1a0ff767b5d9f2f6205c..72ee9ea43a88b315728dc448bdf5727c3fea11fa 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename bm4_id_eye_b.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 6  ( 5 )  Summary  = 6  ( 5 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 72  ( 72 )   Summary  = 422  ( 422 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 72  ( 72 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 175  ( 175 )
-TOLERANCE   : MaxTol   = 0.003734968074  ( 0.008476378102 )  AvgTol   =  0.0003702712832  (  0.0009328150641 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 116  ( 116 )  N2Labels = 0  ( 0 )   TotalLabels = 117  ( 117 )   NameLabels = 1  ( 1 )   ColorLabels = 117  ( 117 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = MAGENTA1 RED  ( MAGENTA1 RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+checkxstat D_First -n0 1 -n1 116 -n2 0 -total 117 -withname 1 -withcolor 117 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1 RED } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 72 -shape 422
+checkstatshape res_1 -solid 1 -shell 1 -face 72 -freewire 0 -freeedge 0 -sharededge 175
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.008476378102 -avg 0.0009328150641]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 116 -n2 0 -total 117 -withname 1 -withcolor 117 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 116 -n2 0 -total 117 -withname 1 -withcolor 117 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1 RED  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 72 -shape 422 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 72 -freewire 0 -freeedge 0 -sharededge 175 -max_solid 1 -max_shell 1 -max_face 72 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003734968074 -avg 0.0003702712832 -max_tol ${max_tol_res_1}
+
index 635bce1d1eb111b918a9c2b6cf9eddd691cb9aa1..6c88ae022a20c71f1ec60de30db2e44e35a54337 100644 (file)
@@ -1,22 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-set LinuxDiff 4
-set LinuxFaulties {STATSHAPE TPSTAT}
 set filename bm4_id_punch_b.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 9  ( 13 )  Summary  = 9  ( 13 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 6  ( 6 )  Face     = 186  ( 186 )   Summary  = 1310  ( 1291 )
-STATSHAPE   : Solid    = 5  ( 5 )  Shell    = 6  ( 6 )  Face     = 186  ( 186 )   FreeWire = 0  ( 0 )   FreeEdge  = 6 ( 6 )   SharedEdge = 524  ( 524 )
-TOLERANCE   : MaxTol   = 0.007713500664  (  0.00997839292 )  AvgTol   =  0.0007516875718  (  0.001114041492 )
-LABELS      : N0Labels = 7  ( 7 )  N1Labels = 10  ( 6 )  N2Labels = 0  ( 0 )   TotalLabels = 17  ( 13 )   NameLabels = 13  ( 13 )   ColorLabels = 6  ( 4 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 GREEN RED  ( BLUE1 GREEN RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 7 -n1 6 -n2 0 -total 13 -withname 13 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 6 -face 186 -shape 1291
+checkstatshape res_1 -solid 5 -shell 6 -face 186 -freewire 0 -freeedge 6 -sharededge 524
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.00997839292 -avg 0.001114041492]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 7 -n1 6 -n2 0 -total 13 -withname 13 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 7 -n1 10 -n2 0 -total 17 -withname 13 -withcolor 6 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 6 -face 186 -shape 1310 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 5 -shell 6 -face 186 -freewire 0 -freeedge 6 -sharededge 524 -max_solid 5 -max_shell 6 -max_face 186 -max_freewire 0 -max_freeedge 6
+checkmaxtol res_2 -tol 0.007713500664 -avg 0.0007516875718 -max_tol ${max_tol_res_1}
+
index 5009e6969e0c3ec9db5441aa385e758d4d3e0a30..dcf572225cbe6c359bc8e1ca6db91373628307bb 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename bm4_pe_punch_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 13  ( 0 )  Summary  = 13  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 4  ( 4 )  Face     = 182  ( 182 )   Summary  = 1237  ( 1237 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 4  ( 4 )  Face     = 182  ( 182 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 500  ( 500 )
-TOLERANCE   : MaxTol   = 0.009731472373  (  0.01295381237 )  AvgTol   =  0.0003805396289  (  0.0007344871275 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 37  ( 37 )  N2Labels = 0  ( 0 )   TotalLabels = 42  ( 42 )   NameLabels = 9  ( 9 )   ColorLabels = 4  ( 4 )   LayerLabels = 33  ( 33 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 GREEN RED  ( BLUE1 GREEN RED )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = A_FLAECHEN  ( A_FLAECHEN )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 5 -n1 37 -n2 0 -total 42 -withname 9 -withcolor 4 -withlayer 33 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED } -nbcolors 3 -layers { A_FLAECHEN } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 4 -face 182 -shape 1237
+checkstatshape res_1 -solid 3 -shell 4 -face 182 -freewire 0 -freeedge 0 -sharededge 500
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01295381237 -avg 0.0007344871275]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 37 -n2 0 -total 42 -withname 9 -withcolor 4 -withlayer 33 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 37 -n2 0 -total 42 -withname 9 -withcolor 4 -withlayer 33 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED  } -nbcolors 3 -layers { A_FLAECHEN } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 4 -face 182 -shape 1237 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 4 -face 182 -freewire 0 -freeedge 0 -sharededge 500 -max_solid 3 -max_shell 4 -max_face 182 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.009731472373 -avg 0.0003805396289 -max_tol ${max_tol_res_1}
+
index 9d9ba737010c05fbd8b6b095127a4022559c431a..fe1e7e28795ea19233c934de4818a404e73bc74b 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_ug_punch_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 14 )  Summary  = 4  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 36  ( 36 )  Face     = 186  ( 186 )   Summary  = 1404  ( 1404 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 36  ( 36 )  Face     = 186  ( 186 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 548  ( 548 )
-TOLERANCE   : MaxTol   = 0.007676795012  (  0.01770527621 )  AvgTol   =  0.0001484880722  (  0.0002069115043 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 37  ( 37 )  N2Labels = 0  ( 0 )   TotalLabels = 42  ( 42 )   NameLabels = 9  ( 9 )   ColorLabels = 36  ( 36 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = MAGENTA1 MEDIUMSEAGREEN RED4  ( MAGENTA1 MEDIUMSEAGREEN RED4 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 5 -n1 37 -n2 0 -total 42 -withname 9 -withcolor 36 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1 MEDIUMSEAGREEN RED4 } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 36 -face 186 -shape 1404
+checkstatshape res_1 -solid 3 -shell 36 -face 186 -freewire 0 -freeedge 0 -sharededge 548
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01770527621 -avg 0.0002069115043]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 37 -n2 0 -total 42 -withname 9 -withcolor 36 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 37 -n2 0 -total 42 -withname 9 -withcolor 36 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1 MEDIUMSEAGREEN RED4  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 36 -face 186 -shape 1404 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 36 -face 186 -freewire 0 -freeedge 0 -sharededge 548 -max_solid 3 -max_shell 36 -max_face 186 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.007676795012 -avg 0.0001484880722 -max_tol ${max_tol_res_1}
+
index 849fdebe3fa1066b66c69d1ba798070ca9d17ec8..b4f9a6e9c3df50aa666397d9661b1495551b91b8 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_ug_punch_b.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 8  ( 14 )  Summary  = 8  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 36  ( 36 )  Face     = 186  ( 186 )   Summary  = 1404  ( 1404 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 36  ( 36 )  Face     = 186  ( 186 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 548  ( 548 )
-TOLERANCE   : MaxTol   = 0.001493912454  ( 0.001493912451 )  AvgTol   =  2.362820375e-005  (  2.427787539e-005 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 37  ( 37 )  N2Labels = 0  ( 0 )   TotalLabels = 42  ( 42 )   NameLabels = 9  ( 9 )   ColorLabels = 36  ( 36 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = MAGENTA1 MEDIUMSEAGREEN RED4  ( MAGENTA1 MEDIUMSEAGREEN RED4 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 5 -n1 37 -n2 0 -total 42 -withname 9 -withcolor 36 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1 MEDIUMSEAGREEN RED4 } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 36 -face 186 -shape 1404
+checkstatshape res_1 -solid 3 -shell 36 -face 186 -freewire 0 -freeedge 0 -sharededge 548
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.001493912451 -avg 2.427787539e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 37 -n2 0 -total 42 -withname 9 -withcolor 36 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 37 -n2 0 -total 42 -withname 9 -withcolor 36 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1 MEDIUMSEAGREEN RED4  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 36 -face 186 -shape 1404 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 36 -face 186 -freewire 0 -freeedge 0 -sharededge 548 -max_solid 3 -max_shell 36 -max_face 186 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.001493912454 -avg 2.362820375e-005 -max_tol ${max_tol_res_1}
+
index cf1107b1107dc40e21fba684718b62fc546366d3..1a85a9da412fb31dbdec184969baebfa44a29225 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename ca_turbine.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 31 )  Summary  = 4  ( 31 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 36  ( 36 )   Summary  = 217  ( 217 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 36  ( 36 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 91  ( 91 )
-TOLERANCE   : MaxTol   =  0.01020931331  (  0.01035100426 )  AvgTol   =  0.003113738803  (  0.003154065333 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 31 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 36 -shape 217
+checkstatshape res_1 -solid 0 -shell 1 -face 36 -freewire 0 -freeedge 0 -sharededge 91
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01035100426 -avg 0.003154065333]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 31 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 36 -shape 217 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 36 -freewire 0 -freeedge 0 -sharededge 91 -max_solid 0 -max_shell 1 -max_face 36 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01020931331 -avg 0.003113738803 -max_tol ${max_tol_res_1}
+
index 51adda1d0e6fc078f2274645a4d43e0f357a2825..180351fb0ff79bfa2388088e26a381e35277aaee 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename chauffage2.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 18  ( 18 )   Summary  = 152  ( 152 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 18  ( 18 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 65  ( 65 )
-TOLERANCE   : MaxTol   =  0.05583299109  (   0.1541333226 )  AvgTol   =   0.01997256315  (   0.03514969376 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 18 -shape 152
+checkstatshape res_1 -solid 0 -shell 1 -face 18 -freewire 0 -freeedge 0 -sharededge 65
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1541333226 -avg 0.03514969376]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 18 -shape 152 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 18 -freewire 0 -freeedge 0 -sharededge 65 -max_solid 0 -max_shell 1 -max_face 18 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.05583299109 -avg 0.01997256315 -max_tol ${max_tol_res_1}
+
index 0eba113e5d4d8339d6d011e7067e3f216057646e..3cda6f87f37095ce1db19e180e6e9cec1c4a3648 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename cpe1.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 2 )  Summary  = 2  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 58  ( 58 )   Summary  = 330  ( 330 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 58  ( 58 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 136  ( 136 )
-TOLERANCE   : MaxTol   =  0.09441003198  (   0.1596118131 )  AvgTol   =   0.03372607845  (    0.0486709555 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 58 -shape 330
+checkstatshape res_1 -solid 0 -shell 1 -face 58 -freewire 0 -freeedge 0 -sharededge 136
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1596118131 -avg 0.0486709555]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 58 -shape 330 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 58 -freewire 0 -freeedge 0 -sharededge 136 -max_solid 0 -max_shell 1 -max_face 58 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.09441003198 -avg 0.03372607845 -max_tol ${max_tol_res_1}
+
index 719d52e4a887df03b0ce9edfb67a5ea8d2150464..59e3d6e21300bd0fecc6e803d1ab74e6332751d2 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename ct_turbine-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 19  ( 5 )  Summary  = 19  ( 5 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 40  ( 40 )  Face     = 40  ( 40 )   Summary  = 547  ( 527 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 40  ( 40 )  Face     = 40  ( 40 )   FreeWire = 0  ( 0 )   FreeEdge  = 20 ( 20 )   SharedEdge = 196  ( 196 )
-TOLERANCE   : MaxTol   =  0.02294330394  (  0.02748335355 )  AvgTol   =   0.00118366439  (  0.001785361613 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 84  ( 84 )  N2Labels = 0  ( 0 )   TotalLabels = 87  ( 87 )   NameLabels = 5  ( 5 )   ColorLabels = 82  ( 82 )   LayerLabels = 60  ( 60 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+checkxstat D_First -n0 3 -n1 84 -n2 0 -total 87 -withname 5 -withcolor 82 -withlayer 60 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 40 -face 40 -shape 527
+checkstatshape res_1 -solid 0 -shell 40 -face 40 -freewire 0 -freeedge 20 -sharededge 196
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.02748335355 -avg 0.001785361613]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 84 -n2 0 -total 87 -withname 5 -withcolor 82 -withlayer 60 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 84 -n2 0 -total 87 -withname 5 -withcolor 82 -withlayer 60 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 40 -face 40 -shape 547 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 40 -face 40 -freewire 0 -freeedge 20 -sharededge 196 -max_solid 0 -max_shell 40 -max_face 40 -max_freewire 0 -max_freeedge 20
+checkmaxtol res_2 -tol 0.02294330394 -avg 0.00118366439 -max_tol ${max_tol_res_1}
+
index 48dcf978bfe8a6d680101e9470b7cf37534b12aa..9fa598c2de86447b16f1042cb84670b9f4d00602 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename dnc_63_025_ppv_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 115  ( 115 )   Summary  = 737  ( 737 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 115  ( 115 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 294  ( 294 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000075787e-007  (  1.000075787e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 115 -shape 737
+checkstatshape res_1 -solid 1 -shell 1 -face 115 -freewire 0 -freeedge 0 -sharededge 294
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000075787e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 115 -shape 737 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 115 -freewire 0 -freeedge 0 -sharededge 294 -max_solid 1 -max_shell 1 -max_face 115 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000075787e-007 -max_tol ${max_tol_res_1}
+
index 3c2942deb48ce4e81b4427afccd92fe2cc7dbe9a..0278a787764a3fe659b76fcc1543bcf21873edb3 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename dnc_63_040_ppv_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 115  ( 115 )   Summary  = 737  ( 737 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 115  ( 115 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 294  ( 294 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000075787e-007  (  1.000075787e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 115 -shape 737
+checkstatshape res_1 -solid 1 -shell 1 -face 115 -freewire 0 -freeedge 0 -sharededge 294
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000075787e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 115 -shape 737 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 115 -freewire 0 -freeedge 0 -sharededge 294 -max_solid 1 -max_shell 1 -max_face 115 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000075787e-007 -max_tol ${max_tol_res_1}
+
index 88b9b2394967fe42cf379d8a75fae2fe53690be5..911170bd7c2eac69cf63dcbd1b4b5595da915475 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename dnc_63_050_ppv_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 115  ( 115 )   Summary  = 737  ( 737 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 115  ( 115 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 294  ( 294 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000075787e-007  (  1.000075787e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 115 -shape 737
+checkstatshape res_1 -solid 1 -shell 1 -face 115 -freewire 0 -freeedge 0 -sharededge 294
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000075787e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 115 -shape 737 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 115 -freewire 0 -freeedge 0 -sharededge 294 -max_solid 1 -max_shell 1 -max_face 115 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000075787e-007 -max_tol ${max_tol_res_1}
+
index 60ae29a322aa8fa663a2dc7421967b8d970b3315..304de978e1a9a38643f571d2a3432f2c8cac0de6 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename dnc_63_080_ppv_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 115  ( 115 )   Summary  = 737  ( 737 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 115  ( 115 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 294  ( 294 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000075787e-007  (  1.000075787e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 115 -shape 737
+checkstatshape res_1 -solid 1 -shell 1 -face 115 -freewire 0 -freeedge 0 -sharededge 294
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000075787e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 115 -shape 737 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 115 -freewire 0 -freeedge 0 -sharededge 294 -max_solid 1 -max_shell 1 -max_face 115 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000075787e-007 -max_tol ${max_tol_res_1}
+
index 2b876904a4d22f4961a61a05070eb92ba5101a69..39245e6d1b9aa0a57cb65b1a7b033fbbabbe85af 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename dnc_63_100_ppv_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 115  ( 115 )   Summary  = 737  ( 737 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 115  ( 115 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 294  ( 294 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000075787e-007  (  1.000075787e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 115 -shape 737
+checkstatshape res_1 -solid 1 -shell 1 -face 115 -freewire 0 -freeedge 0 -sharededge 294
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000075787e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 115 -shape 737 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 115 -freewire 0 -freeedge 0 -sharededge 294 -max_solid 1 -max_shell 1 -max_face 115 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000075787e-007 -max_tol ${max_tol_res_1}
+
index 52f2233e3cddcedfd92306ba2a2ac39ed8e226f0..2d0ef89268424e6208252419b82fd6c869462328 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename dnc_63_125_ppv_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 115  ( 115 )   Summary  = 737  ( 737 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 115  ( 115 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 294  ( 294 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000075787e-007  (  1.000075787e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 115 -shape 737
+checkstatshape res_1 -solid 1 -shell 1 -face 115 -freewire 0 -freeedge 0 -sharededge 294
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000075787e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 115 -shape 737 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 115 -freewire 0 -freeedge 0 -sharededge 294 -max_solid 1 -max_shell 1 -max_face 115 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000075787e-007 -max_tol ${max_tol_res_1}
+
index 0f2e5480877a035a3bb1cc0135e29caaa8f0e565..7fe4dbd6a52268addd6bf7894fdb80c490dd9732 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename dnc_63_160_ppv_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 115  ( 115 )   Summary  = 737  ( 737 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 115  ( 115 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 294  ( 294 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000075787e-007  (  1.000075787e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 115 -shape 737
+checkstatshape res_1 -solid 1 -shell 1 -face 115 -freewire 0 -freeedge 0 -sharededge 294
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000075787e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 115 -shape 737 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 115 -freewire 0 -freeedge 0 -sharededge 294 -max_solid 1 -max_shell 1 -max_face 115 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000075787e-007 -max_tol ${max_tol_res_1}
+
index 0a91548f3b301c7b052fb414ba99a466ca88339b..aff006bbbb3e0569ebda76ffbda8456e0f3ff56a 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename dnc_63_200_ppv_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 115  ( 115 )   Summary  = 737  ( 737 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 115  ( 115 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 294  ( 294 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000075787e-007  (  1.000075787e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 115 -shape 737
+checkstatshape res_1 -solid 1 -shell 1 -face 115 -freewire 0 -freeedge 0 -sharededge 294
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000075787e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 115 -shape 737 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 115 -freewire 0 -freeedge 0 -sharededge 294 -max_solid 1 -max_shell 1 -max_face 115 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000075787e-007 -max_tol ${max_tol_res_1}
+
index 64f64c74b41e44ec9dcbdf6b74a9bc06d95da042..94704665871ae3dc1b1faecb44bcc782bb906cfb 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename dnc_63_250_ppv_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 115  ( 115 )   Summary  = 737  ( 737 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 115  ( 115 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 294  ( 294 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000075787e-007  (  1.000075787e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 115 -shape 737
+checkstatshape res_1 -solid 1 -shell 1 -face 115 -freewire 0 -freeedge 0 -sharededge 294
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000075787e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 115 -shape 737 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 115 -freewire 0 -freeedge 0 -sharededge 294 -max_solid 1 -max_shell 1 -max_face 115 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000075787e-007 -max_tol ${max_tol_res_1}
+
index 4e53ce912d2b2bd11fc43243d0b91cca99f62c4d..04a08aa39eb6bce66826725285211d8daed9775e 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename dnc_63_320_ppv_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 115  ( 115 )   Summary  = 737  ( 737 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 115  ( 115 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 294  ( 294 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000075787e-007  (  1.000075787e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 115 -shape 737
+checkstatshape res_1 -solid 1 -shell 1 -face 115 -freewire 0 -freeedge 0 -sharededge 294
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000075787e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 115 -shape 737 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 115 -freewire 0 -freeedge 0 -sharededge 294 -max_solid 1 -max_shell 1 -max_face 115 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000075787e-007 -max_tol ${max_tol_res_1}
+
index 68e733f4b307c7bdf7180234f5534b9050c8beaf..dbb29e3f56753292ad82e4bf6b05055df9443245 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename dnc_63_400_ppv_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 115  ( 115 )   Summary  = 737  ( 737 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 115  ( 115 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 294  ( 294 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000075787e-007  (  1.000075787e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 115 -shape 737
+checkstatshape res_1 -solid 1 -shell 1 -face 115 -freewire 0 -freeedge 0 -sharededge 294
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000075787e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 115 -shape 737 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 115 -freewire 0 -freeedge 0 -sharededge 294 -max_solid 1 -max_shell 1 -max_face 115 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000075787e-007 -max_tol ${max_tol_res_1}
+
index e7efd79752ef97bc8f9c90aa3c88aa07e9f3a9b2..d7ade976a3b1a7c3a8ebe4f233fb055c636df701 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename dnc_63_500_ppv_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 115  ( 115 )   Summary  = 737  ( 737 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 115  ( 115 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 294  ( 294 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000075787e-007  (  1.000075787e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 115 -shape 737
+checkstatshape res_1 -solid 1 -shell 1 -face 115 -freewire 0 -freeedge 0 -sharededge 294
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000075787e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 115 -shape 737 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 115 -freewire 0 -freeedge 0 -sharededge 294 -max_solid 1 -max_shell 1 -max_face 115 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000075787e-007 -max_tol ${max_tol_res_1}
+
index 06f51b2f7d7dafb677389b53174c0c13de467f02..cda54a2608b9a2e277e9e4feae900d83df44d893 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename ec_exhaust-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 12 )  Warnings = 0  ( 0 )  Summary  = 0  ( 12 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 46  ( 46 )   Summary  = 267  ( 267 )
-STATSHAPE   : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 46  ( 46 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 100  ( 100 )
-TOLERANCE   : MaxTol   =  0.02183078369  (  0.02190912769 )  AvgTol   =  0.002096983915  (  0.002169801448 )
-LABELS      : N0Labels = 4  ( 4 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 4  ( 4 )   NameLabels = 4  ( 4 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 12
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 4 -n1 0 -n2 0 -total 4 -withname 4 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 4 -shell 4 -face 46 -shape 267
+checkstatshape res_1 -solid 4 -shell 4 -face 46 -freewire 0 -freeedge 0 -sharededge 100
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.02190912769 -avg 0.002169801448]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 12
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4 -n1 0 -n2 0 -total 4 -withname 4 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 0 -n2 0 -total 4 -withname 4 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 4 -shell 4 -face 46 -shape 267 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 4 -shell 4 -face 46 -freewire 0 -freeedge 0 -sharededge 100 -max_solid 4 -max_shell 4 -max_face 46 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.02183078369 -avg 0.002096983915 -max_tol ${max_tol_res_1}
+
index 3761d903ae4b46534ba74f44826ad88ccca1e735..cb9d0dcef604a2f534c34335027a907354fd36e6 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename f3.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 2 )  Warnings = 0  ( 0 )  Summary  = 0  ( 2 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 140  ( 140 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 67  ( 67 )
-TOLERANCE   : MaxTol   = 9.838731639e-07  ( 2.031518087e-06 )  AvgTol   =  2.18321254e-07  (  3.43946687e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 140
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 0 -sharededge 67
+set max_tol_res_1 [checkmaxtol res_1 -tol 2.031518087e-06 -avg 3.43946687e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 140 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 0 -sharededge 67 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 9.838731639e-07 -avg 2.18321254e-07 -max_tol ${max_tol_res_1}
+
index 2607c5a809436bef331030f6aa0654fb9a70a957..fcba6c096d28cf62fab8e74ffabb5377bd059555 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename f65.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 2 )  Warnings = 0  ( 0 )  Summary  = 0  ( 2 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 114  ( 114 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 54  ( 54 )
-TOLERANCE   : MaxTol   =          1e-07  (          1e-07 )  AvgTol   =           1e-07  (           1e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 114
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 0 -sharededge 54
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-07 -avg 1e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 114 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 0 -sharededge 54 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-07 -avg 1e-07 -max_tol ${max_tol_res_1}
+
index c48b8c58f13dd574175ea2c8b6f8cae3aec3e72c..cbf3444c6d29cc202628ac6118cd783ae6a651a8 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename f920.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 44  ( 44 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 21  ( 21 )
-TOLERANCE   : MaxTol   = 1.46067718e-007  ( 1.46067718e-007 )  AvgTol   =  1.074516603e-007  (  1.074516603e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 44
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 0 -sharededge 21
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.46067718e-007 -avg 1.074516603e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 44 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 0 -sharededge 21 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.46067718e-007 -avg 1.074516603e-007 -max_tol ${max_tol_res_1}
+
index 588c7a3d1b3d8275fbf6b0d495cfb77eab0cd74f..ea6d72cb35079892fa9859c0e470a3e0591bcb35 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename f921.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 44  ( 44 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 21  ( 21 )
-TOLERANCE   : MaxTol   = 1.46067718e-007  ( 1.46067718e-007 )  AvgTol   =  1.074516603e-007  (  1.074516603e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 44
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 0 -sharededge 21
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.46067718e-007 -avg 1.074516603e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 44 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 0 -sharededge 21 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.46067718e-007 -avg 1.074516603e-007 -max_tol ${max_tol_res_1}
+
index e95a6f4f8514c35d4219399ac6a55a4cf098b0c0..4a12a30da081b9ba6ca94d8dc2706fc80361eeb4 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename id_turbine-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 21  ( 16 )  Summary  = 21  ( 16 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 49  ( 49 )   Summary  = 290  ( 290 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 49  ( 49 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 119  ( 119 )
-TOLERANCE   : MaxTol   = 0.003591433268  ( 0.006109109885 )  AvgTol   =  0.0004792377666  (  0.0008287050108 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 87  ( 87 )  N2Labels = 0  ( 0 )   TotalLabels = 90  ( 90 )   NameLabels = 5  ( 5 )   ColorLabels = 86  ( 86 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = DEEPSKYBLUE2 MAGENTA1 ORANGE ORANGERED RED  ( DEEPSKYBLUE2 MAGENTA1 ORANGE ORANGERED RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+checkxstat D_First -n0 3 -n1 87 -n2 0 -total 90 -withname 5 -withcolor 86 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE2 MAGENTA1 ORANGE ORANGERED RED } -nbcolors 5 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 49 -shape 290
+checkstatshape res_1 -solid 0 -shell 1 -face 49 -freewire 0 -freeedge 0 -sharededge 119
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.006109109885 -avg 0.0008287050108]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 15 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 87 -n2 0 -total 90 -withname 5 -withcolor 86 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 87 -n2 0 -total 90 -withname 5 -withcolor 86 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE2 MAGENTA1 ORANGE ORANGERED RED  } -nbcolors 5 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 49 -shape 290 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 49 -freewire 0 -freeedge 0 -sharededge 119 -max_solid 0 -max_shell 1 -max_face 49 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003591433268 -avg 0.0004792377666 -max_tol ${max_tol_res_1}
+
index 125798d08bc849c8c7a9a91e1f382d20fa048eab..2ef701264286b637603f68cc62639ea0345da5bf 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename id_turbine-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 11  ( 8 )  Summary  = 11  ( 8 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 49  ( 49 )   Summary  = 290  ( 290 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 49  ( 49 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 119  ( 119 )
-TOLERANCE   : MaxTol   = 0.003591433268  ( 0.006109109885 )  AvgTol   =  0.000572321951  (  0.001285201537 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 87  ( 87 )  N2Labels = 0  ( 0 )   TotalLabels = 90  ( 90 )   NameLabels = 5  ( 5 )   ColorLabels = 86  ( 86 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = DEEPSKYBLUE2 MAGENTA1 ORANGE ORANGERED RED  ( DEEPSKYBLUE2 MAGENTA1 ORANGE ORANGERED RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+checkxstat D_First -n0 3 -n1 87 -n2 0 -total 90 -withname 5 -withcolor 86 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE2 MAGENTA1 ORANGE ORANGERED RED } -nbcolors 5 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 49 -shape 290
+checkstatshape res_1 -solid 0 -shell 1 -face 49 -freewire 0 -freeedge 0 -sharededge 119
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.006109109885 -avg 0.001285201537]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 87 -n2 0 -total 90 -withname 5 -withcolor 86 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 87 -n2 0 -total 90 -withname 5 -withcolor 86 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE2 MAGENTA1 ORANGE ORANGERED RED  } -nbcolors 5 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 49 -shape 290 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 49 -freewire 0 -freeedge 0 -sharededge 119 -max_solid 0 -max_shell 1 -max_face 49 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003591433268 -avg 0.000572321951 -max_tol ${max_tol_res_1}
+
index d2fe5ed106367b9ab1ccb0eff29eceb41c10d027..a902fdead7ebcd2c69ef7fd23736002c7572481a 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename ie_exhaust-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 23  ( 16 )  Summary  = 23  ( 16 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 64  ( 64 )   Summary  = 378  ( 378 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 64  ( 64 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 150  ( 150 )
-TOLERANCE   : MaxTol   =  0.01644435227  (  0.01670778143 )  AvgTol   =  0.0005702798849  (  0.0005790244062 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 64 -shape 378
+checkstatshape res_1 -solid 1 -shell 1 -face 64 -freewire 0 -freeedge 0 -sharededge 150
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01670778143 -avg 0.0005790244062]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 64 -shape 378 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 64 -freewire 0 -freeedge 0 -sharededge 150 -max_solid 1 -max_shell 1 -max_face 64 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01644435227 -avg 0.0005702798849 -max_tol ${max_tol_res_1}
+
index cc623a790dde07f41c9411a09bd2ef582bb7d765..6b6e1a2f697f97b0d1e9ab20a35d46cab8c20b4f 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename ie_exhaust-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 16  ( 16 )  Summary  = 16  ( 16 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 64  ( 64 )   Summary  = 378  ( 378 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 64  ( 64 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 150  ( 150 )
-TOLERANCE   : MaxTol   =  0.01574193348  (  0.01692301518 )  AvgTol   =  0.001069439088  (  0.002489134762 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 64 -shape 378
+checkstatshape res_1 -solid 1 -shell 1 -face 64 -freewire 0 -freeedge 0 -sharededge 150
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01692301518 -avg 0.002489134762]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 64 -shape 378 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 64 -freewire 0 -freeedge 0 -sharededge 150 -max_solid 1 -max_shell 1 -max_face 64 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01574193348 -avg 0.001069439088 -max_tol ${max_tol_res_1}
+
index 0c5c3df53143d578cecfafca25289548a4e3e55e..f448d4d2d6820b00d0e15ec92542fa5d6bf2ced7 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename ie_exhaust-D.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 22  ( 22 )  Summary  = 22  ( 22 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 64  ( 64 )   Summary  = 378  ( 378 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 64  ( 64 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 150  ( 150 )
-TOLERANCE   : MaxTol   =  0.01574193348  (  0.01692301518 )  AvgTol   =  0.001069359917  (  0.002489057452 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 22 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 64 -shape 378
+checkstatshape res_1 -solid 1 -shell 1 -face 64 -freewire 0 -freeedge 0 -sharededge 150
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01692301518 -avg 0.002489057452]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 22 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 22 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 64 -shape 378 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 64 -freewire 0 -freeedge 0 -sharededge 150 -max_solid 1 -max_shell 1 -max_face 64 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01574193348 -avg 0.001069359917 -max_tol ${max_tol_res_1}
+
index 8e4374b5dee902fa8ff907777ee55448bf355914..0ab1507aa90ad419c0ed69d15b8e023ad521abaf 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename manille.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 24  ( 0 )  Summary  = 24  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 38  ( 38 )   Summary  = 294  ( 294 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 38  ( 38 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 120  ( 120 )
-TOLERANCE   : MaxTol   = 6.488976221e-006  ( 6.488964752e-006 )  AvgTol   =  8.918120201e-007  (  8.918103551e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 38 -shape 294
+checkstatshape res_1 -solid 1 -shell 1 -face 38 -freewire 0 -freeedge 0 -sharededge 120
+set max_tol_res_1 [checkmaxtol res_1 -tol 6.488964752e-006 -avg 8.918103551e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 24 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 38 -shape 294 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 38 -freewire 0 -freeedge 0 -sharededge 120 -max_solid 1 -max_shell 1 -max_face 38 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 6.488976221e-006 -avg 8.918120201e-007 -max_tol ${max_tol_res_1}
+
index d570d2d3cf2f1c111fb30af72055c559d9a2205c..e73d709301a1da880bd5e8ad32737e87f3ae42bd 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename milieu.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 47  ( 47 )   Summary  = 256  ( 256 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 47  ( 47 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 103  ( 103 )
-TOLERANCE   : MaxTol   =  0.09974634476  (   0.1274438055 )  AvgTol   =   0.03628304175  (   0.04204360488 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 47 -shape 256
+checkstatshape res_1 -solid 0 -shell 1 -face 47 -freewire 0 -freeedge 0 -sharededge 103
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1274438055 -avg 0.04204360488]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 47 -shape 256 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 47 -freewire 0 -freeedge 0 -sharededge 103 -max_solid 0 -max_shell 1 -max_face 47 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.09974634476 -avg 0.03628304175 -max_tol ${max_tol_res_1}
+
index 30e733ed89c3bd904f81beb803d111b27fca4869..dde562d7f1105b4d50b694e8b513d7909043597f 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename molregsit.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 40  ( 40 )   Summary  = 228  ( 228 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 40  ( 40 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 94  ( 94 )
-TOLERANCE   : MaxTol   =  0.07606561967  (  0.08109570981 )  AvgTol   =   0.02793024988  (   0.03094838969 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 40 -shape 228
+checkstatshape res_1 -solid 0 -shell 1 -face 40 -freewire 0 -freeedge 0 -sharededge 94
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.08109570981 -avg 0.03094838969]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 40 -shape 228 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 40 -freewire 0 -freeedge 0 -sharededge 94 -max_solid 0 -max_shell 1 -max_face 40 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.07606561967 -avg 0.02793024988 -max_tol ${max_tol_res_1}
+
index a4c7363353ac376f84b3f5da5711bdb652feb199..9dc5daa98183a4072c327fcd1be29e71b5cfca48 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename obtradio1.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 10  ( 4 )  Summary  = 10  ( 4 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 52  ( 52 )   Summary  = 338  ( 338 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 52  ( 52 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 144  ( 144 )
-TOLERANCE   : MaxTol   =  0.03986265272  (   0.1567489095 )  AvgTol   =   0.01346429968  (   0.02937515411 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 52 -shape 338
+checkstatshape res_1 -solid 0 -shell 1 -face 52 -freewire 0 -freeedge 0 -sharededge 144
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1567489095 -avg 0.02937515411]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 52 -shape 338 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 52 -freewire 0 -freeedge 0 -sharededge 144 -max_solid 0 -max_shell 1 -max_face 52 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.03986265272 -avg 0.01346429968 -max_tol ${max_tol_res_1}
+
index 1ae1bd1a3a5b5fdcb457f51d655ac99538510cda..38c8e3a7d9060ea1477761d4106be3a212cb8857 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename pe_as1-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 350  ( 350 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 0.0001544499144  ( 0.0001544499144 )  AvgTol   =  4.000129905e-005  (  4.000130031e-005 )
-LABELS      : N0Labels = 6  ( 6 )  N1Labels = 71  ( 71 )  N2Labels = 0  ( 0 )   TotalLabels = 77  ( 77 )   NameLabels = 24  ( 24 )   ColorLabels = 0  ( 0 )   LayerLabels = 53  ( 53 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = NUTS REST  ( NUTS REST )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 6 -n1 71 -n2 0 -total 77 -withname 24 -withcolor 0 -withlayer 53 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers { NUTS REST } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 350
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0001544499144 -avg 4.000130031e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 6 -n1 71 -n2 0 -total 77 -withname 24 -withcolor 0 -withlayer 53 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 6 -n1 71 -n2 0 -total 77 -withname 24 -withcolor 0 -withlayer 53 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers { NUTS REST  } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 350 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0001544499144 -avg 4.000129905e-005 -max_tol ${max_tol_res_1}
+
index bb3fbea3195ed6253865bcd485b75bdbb6a6c16a..4efc3ad27e8649cd9a509027cced0e7c21ed43dd 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename r121-ai.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 8  ( 8 )  Face     = 8  ( 8 )   Summary  = 101  ( 101 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 8  ( 8 )  Face     = 8  ( 8 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 38  ( 38 )
-TOLERANCE   : MaxTol   = 0.0006114384785  ( 0.0006114384785 )  AvgTol   =  5.122304628e-005  (  5.122304629e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 8 -face 8 -shape 101
+checkstatshape res_1 -solid 0 -shell 8 -face 8 -freewire 0 -freeedge 0 -sharededge 38
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0006114384785 -avg 5.122304629e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 8 -face 8 -shape 101 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 8 -face 8 -freewire 0 -freeedge 0 -sharededge 38 -max_solid 0 -max_shell 8 -max_face 8 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0006114384785 -avg 5.122304628e-005 -max_tol ${max_tol_res_1}
+
index 4a9e9e7899c8ce3b45cb0d9dfe14da391c7145d9..0b878f460bb2ed90c7b2b3e6e38d318bcc095d7d 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename r_36-ct.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 10  ( 19 )  Summary  = 10  ( 19 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 51  ( 51 )   Summary  = 357  ( 357 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 51  ( 51 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 150  ( 150 )
-TOLERANCE   : MaxTol   =  0.00285495895  (  0.00285495895 )  AvgTol   =  0.0001172944179  (  0.0001174630624 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 19 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 51 -shape 357
+checkstatshape res_1 -solid 0 -shell 1 -face 51 -freewire 0 -freeedge 0 -sharededge 150
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.00285495895 -avg 0.0001174630624]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 19 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 51 -shape 357 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 51 -freewire 0 -freeedge 0 -sharededge 150 -max_solid 0 -max_shell 1 -max_face 51 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.00285495895 -avg 0.0001172944179 -max_tol ${max_tol_res_1}
+
index 409a979cfd2c80f260155b1fe6eafd49ecf6c886..1e3b17981783c17d1b9b9cf0009198ee56b8a56f 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename r_87-ug.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 2 )  Warnings = 0  ( 0 )  Summary  = 0  ( 2 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 10  ( 10 )  Face     = 10  ( 10 )   Summary  = 125  ( 123 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 10  ( 10 )  Face     = 10  ( 10 )   FreeWire = 0  ( 0 )   FreeEdge  = 2 ( 2 )   SharedEdge = 44  ( 44 )
-TOLERANCE   : MaxTol   =    0.018462436  (  0.04645590147 )  AvgTol   =  0.001814589339  (  0.007120077124 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 4  ( 4 )  N2Labels = 0  ( 0 )   TotalLabels = 7  ( 7 )   NameLabels = 5  ( 5 )   ColorLabels = 2  ( 2 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = FORESTGREEN  ( FORESTGREEN )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 3 -n1 4 -n2 0 -total 7 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { FORESTGREEN } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 10 -face 10 -shape 123
+checkstatshape res_1 -solid 0 -shell 10 -face 10 -freewire 0 -freeedge 2 -sharededge 44
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.04645590147 -avg 0.007120077124]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 4 -n2 0 -total 7 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 4 -n2 0 -total 7 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { FORESTGREEN  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 10 -face 10 -shape 125 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 10 -face 10 -freewire 0 -freeedge 2 -sharededge 44 -max_solid 0 -max_shell 10 -max_face 10 -max_freewire 0 -max_freeedge 2
+checkmaxtol res_2 -tol 0.018462436 -avg 0.001814589339 -max_tol ${max_tol_res_1}
+
index 336a36c14c9da8ed2d4154593cbdebc038af5868..7bd4272db0135b45eaaf020e20ef1ce81b428774 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename sd_as1-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 8  ( 8 )  Shell    = 8  ( 8 )  Face     = 84  ( 84 )   Summary  = 570  ( 570 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 206  ( 206 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000062094e-007  (  1.000062094e-007 )
-LABELS      : N0Labels = 14  ( 14 )  N1Labels = 19  ( 19 )  N2Labels = 0  ( 0 )   TotalLabels = 33  ( 33 )   NameLabels = 33  ( 33 )   ColorLabels = 8  ( 8 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = BLUE1 GREEN MATRAGRAY RED  ( BLUE1 GREEN MATRAGRAY RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 14 -n1 19 -n2 0 -total 33 -withname 33 -withcolor 8 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN MATRAGRAY RED } -nbcolors 4 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 8 -shell 8 -face 84 -shape 570
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 206
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000062094e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 14 -n1 19 -n2 0 -total 33 -withname 33 -withcolor 8 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 14 -n1 19 -n2 0 -total 33 -withname 33 -withcolor 8 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN MATRAGRAY RED  } -nbcolors 4 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 8 -shell 8 -face 84 -shape 570 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 206 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000062094e-007 -max_tol ${max_tol_res_1}
+
index 1b547c2fe20507151198182f3810481a8c29e7be..0f0a4efa8ecd83f9ae0115f3c025efccc3d3bd4c 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename stepBF3.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 26 )  Warnings = 0  ( 0 )  Summary  = 0  ( 26 )
-TPSTAT      : Faulties = 0  ( 2 )  Warnings = 0  ( 0 )  Summary  = 0  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 1  ( 1 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 0  ( 0 )
-TOLERANCE   : MaxTol   =              0  (              0 )  AvgTol   =               0  (               0 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 26
+checkdoc "tpstat c" -max_warns 0 -max_faults 2
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 1
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 0 -sharededge 0
+set max_tol_res_1 [checkmaxtol res_1 -tol 0 -avg 0]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 26
+checkdoc "tpstat c" -max_warns 0 -max_faults 2
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 1 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 0 -sharededge 0 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0 -avg 0 -max_tol ${max_tol_res_1}
+
index 3d3d5340371152d503d2199d1c82a5ffce0ebd5a..ef0b122c7ed733969bf05080d9113e2f35031e23 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename t4_2.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 3  ( 3 )  Face     = 13  ( 13 )   Summary  = 122  ( 122 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 3  ( 3 )  Face     = 13  ( 13 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 50  ( 50 )
-TOLERANCE   : MaxTol   = 0.0004295981946  ( 0.0007438758061 )  AvgTol   =  0.0001554970892  (  0.0002301289064 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 3 -face 13 -shape 122
+checkstatshape res_1 -solid 0 -shell 3 -face 13 -freewire 0 -freeedge 0 -sharededge 50
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0007438758061 -avg 0.0002301289064]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 3 -face 13 -shape 122 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 3 -face 13 -freewire 0 -freeedge 0 -sharededge 50 -max_solid 0 -max_shell 3 -max_face 13 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0004295981946 -avg 0.0001554970892 -max_tol ${max_tol_res_1}
+
index b1d8795f6b855f161d0258412209e6a643c64fc6..4f2bc0b79ff84a8b9fa7c28d9a3aa905818e7fe3 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename t4mdb.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 9  ( 3 )  Summary  = 9  ( 3 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 13  ( 13 )  Face     = 13  ( 13 )   Summary  = 271  ( 211 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 13  ( 13 )  Face     = 13  ( 13 )   FreeWire = 0  ( 0 )   FreeEdge  = 27 ( 27 )   SharedEdge = 86  ( 80 )
-TOLERANCE   : MaxTol   = 0.0001243142426  ( 0.0001243142426 )  AvgTol   =  1.797021802e-005  (  2.850679311e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 96  ( 96 )  N2Labels = 0  ( 0 )   TotalLabels = 97  ( 97 )   NameLabels = 1  ( 1 )   ColorLabels = 12  ( 12 )   LayerLabels = 84  ( 84 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 9  ( 9 )
-COLORS      : Colors   = CYAN1 DODGERBLUE2 GRAY67 GREEN MAGENTA1 MAGENTA3 RED WHITE YELLOW  ( CYAN1 DODGERBLUE2 GRAY67 GREEN MAGENTA1 MAGENTA3 RED WHITE YELLOW )
-NLAYERS     : NLayers  = 12  ( 12 )
-LAYERS      : Layers   = 0 10 20 40 41 42 43 44 45 47 48 49  ( 0 10 20 40 41 42 43 44 45 47 48 49 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 1 -n1 96 -n2 0 -total 97 -withname 1 -withcolor 12 -withlayer 84 -centroid 0 -volume 0 -area 0 -colors { CYAN1 DODGERBLUE2 GRAY67 GREEN MAGENTA1 MAGENTA3 RED WHITE YELLOW } -nbcolors 9 -layers { 0 10 20 40 41 42 43 44 45 47 48 49 } -nblayers 12
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 13 -face 13 -shape 211
+checkstatshape res_1 -solid 0 -shell 13 -face 13 -freewire 0 -freeedge 27 -sharededge 80
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0001243142426 -avg 2.850679311e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 96 -n2 0 -total 97 -withname 1 -withcolor 12 -withlayer 84 -centroid 0 -volume 0 -area 0 -nbcolors 9 -nblayers 12
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 96 -n2 0 -total 97 -withname 1 -withcolor 12 -withlayer 84 -centroid 0 -volume 0 -area 0 -colors { CYAN1 DODGERBLUE2 GRAY67 GREEN MAGENTA1 MAGENTA3 RED WHITE YELLOW  } -nbcolors 9 -layers { 0 10 20 40 41 42 43 44 45 47 48 49  } -nblayers 12
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 13 -face 13 -shape 271 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 13 -face 13 -freewire 0 -freeedge 27 -sharededge 86 -max_solid 0 -max_shell 13 -max_face 13 -max_freewire 0 -max_freeedge 27
+checkmaxtol res_2 -tol 0.0001243142426 -avg 1.797021802e-005 -max_tol ${max_tol_res_1}
+
index e9fdb08601693cddf1c517451b835c26c87c7dca..44f48b57a661c21a1375eda78875dca0c9c39bc5 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename t4mec.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 12  ( 12 )  Face     = 12  ( 12 )   Summary  = 245  ( 245 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 12  ( 12 )  Face     = 12  ( 12 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 103  ( 103 )
-TOLERANCE   : MaxTol   = 0.004636373856  ( 0.005314340756 )  AvgTol   =  0.001546341911  (  0.001821396818 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 12 -face 12 -shape 245
+checkstatshape res_1 -solid 0 -shell 12 -face 12 -freewire 0 -freeedge 0 -sharededge 103
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.005314340756 -avg 0.001821396818]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 12 -face 12 -shape 245 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 12 -face 12 -freewire 0 -freeedge 0 -sharededge 103 -max_solid 0 -max_shell 12 -max_face 12 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.004636373856 -avg 0.001546341911 -max_tol ${max_tol_res_1}
+
index 4bd9489d94155c902e60182d9ca6e5bba8cd591d..a2ec5760fac6cbe7927dbd54893510d3bfbcfeb1 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename t4mie.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 12  ( 12 )   Summary  = 88  ( 88 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 12  ( 12 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 36  ( 36 )
-TOLERANCE   : MaxTol   = 0.005727511111  ( 0.005727511221 )  AvgTol   =   0.00153863966  (  0.001538639671 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 12 -shape 88
+checkstatshape res_1 -solid 0 -shell 1 -face 12 -freewire 0 -freeedge 0 -sharededge 36
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.005727511221 -avg 0.001538639671]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 12 -shape 88 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 12 -freewire 0 -freeedge 0 -sharededge 36 -max_solid 0 -max_shell 1 -max_face 12 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.005727511111 -avg 0.00153863966 -max_tol ${max_tol_res_1}
+
index d54a933e4c326d5af7e2ed733c790dbfaa9adafe..4d2edea1aa542310edf457d368ef751b30b0f784 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename t4msd.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 7  ( 7 )   Summary  = 61  ( 61 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 7  ( 7 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 25  ( 25 )
-TOLERANCE   : MaxTol   = 5.457611385e-007  ( 5.468279835e-007 )  AvgTol   =  1.450502415e-007  (  1.446043389e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 7 -shape 61
+checkstatshape res_1 -solid 0 -shell 1 -face 7 -freewire 0 -freeedge 0 -sharededge 25
+set max_tol_res_1 [checkmaxtol res_1 -tol 5.468279835e-007 -avg 1.446043389e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 7 -shape 61 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 7 -freewire 0 -freeedge 0 -sharededge 25 -max_solid 0 -max_shell 1 -max_face 7 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 5.457611385e-007 -avg 1.450502415e-007 -max_tol ${max_tol_res_1}
+
index 4a97cebc24ea85bae684270c5074593946c8bb31..a277556859d878c1597f0297012fdf68c7979f1c 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr10_r0901_ec.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 353  ( 353 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000062348e-007  (  1.000062348e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 353
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000062348e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 353 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000062348e-007 -max_tol ${max_tol_res_1}
+
index e76b7f91657c7bd9db29cf4ea1019aecde799fe1..a554037e14a6c4fcb8dde2a18d4fdbe905e9c521 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr8_as2_ac.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 28  ( 28 )  Summary  = 28  ( 28 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 353  ( 353 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 353
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 353 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 8857fc5bc2dd6bb301611271583b9cac886bae0f..119759ccbefa39ba72d3c214c33110a3d76ff7d8 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr8_as2_ct.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 13 )  Summary  = 0  ( 13 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 353  ( 353 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000062348e-007  (  1.000062348e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 5  ( 5 )   LayerLabels = 5  ( 5 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 9 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 353
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000062348e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 9 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 353 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000062348e-007 -max_tol ${max_tol_res_1}
+
index e5bfd55ef2117998ec9aaa1c0b630274e043c8e4..b11a4003c9c17a3af876d91f8d52fee85944dfb3 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr8_as2_id.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 14  ( 14 )  Summary  = 14  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 39  ( 39 )   Summary  = 255  ( 255 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 125  ( 125 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 84  ( 84 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 16  ( 16 )  N2Labels = 0  ( 0 )   TotalLabels = 25  ( 25 )   NameLabels = 22  ( 22 )   ColorLabels = 8  ( 8 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 GREEN RED  ( BLUE1 GREEN RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 9 -n1 16 -n2 0 -total 25 -withname 22 -withcolor 8 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 39 -shape 255
+checkstatshape res_1 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 84
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 16 -n2 0 -total 25 -withname 22 -withcolor 8 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 16 -n2 0 -total 25 -withname 22 -withcolor 8 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 39 -shape 255 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 84 -max_solid 18 -max_shell 18 -max_face 125 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index e6c9f2af968b3bb804ce3c9e1b83e118cc803cd5..174a3997ce1abaec67e08f8685b0ef7b440f2797 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr9_r0201-pe-adjusted.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 803 )  Warnings = 0  ( 0 )  Summary  = 0  ( 803 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 35  ( 35 )   Summary  = 223  ( 223 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 35  ( 35 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 82  ( 82 )
-TOLERANCE   : MaxTol   =    1.00005e-07  (    1.00005e-07 )  AvgTol   =  1.000033397e-07  (  1.000033397e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 803
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 35 -shape 223
+checkstatshape res_1 -solid 1 -shell 1 -face 35 -freewire 0 -freeedge 0 -sharededge 82
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-07 -avg 1.000033397e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 803
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 35 -shape 223 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 35 -freewire 0 -freeedge 0 -sharededge 82 -max_solid 1 -max_shell 1 -max_face 35 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.00005e-07 -avg 1.000033397e-07 -max_tol ${max_tol_res_1}
+
index cfb7cc08561da85b057b223daab2b8f1b9aad295..7c91a4fc66e7740dab96d9675120809f0fa316d4 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj10_ap209-td.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 1 )  Summary  = 1  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 29  ( 29 )   Summary  = 196  ( 196 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 29  ( 29 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 79  ( 79 )
-TOLERANCE   : MaxTol   = 0.008505837499  ( 0.008990884097 )  AvgTol   =  0.0006165797526  (  0.000651503134 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 29 -shape 196
+checkstatshape res_1 -solid 1 -shell 1 -face 29 -freewire 0 -freeedge 0 -sharededge 79
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.008990884097 -avg 0.000651503134]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 29 -shape 196 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 29 -freewire 0 -freeedge 0 -sharededge 79 -max_solid 1 -max_shell 1 -max_face 29 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.008505837499 -avg 0.0006165797526 -max_tol ${max_tol_res_1}
+
index 0d048aabecdcf0ce87d57b87b2f43767c1db8159..9f5de2584f0d0a81675858883b9e7f573445e53c 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj7_k1-ct-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 58  ( 58 )   Summary  = 367  ( 367 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 58  ( 58 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 149  ( 149 )
-TOLERANCE   : MaxTol   = 0.0004768443614  ( 0.0004768443614 )  AvgTol   =  6.422584066e-005  (  6.422994218e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = LIGHTSTEELBLUE1  ( LIGHTSTEELBLUE1 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { LIGHTSTEELBLUE1 } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 58 -shape 367
+checkstatshape res_1 -solid 0 -shell 1 -face 58 -freewire 0 -freeedge 0 -sharededge 149
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0004768443614 -avg 6.422994218e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { LIGHTSTEELBLUE1  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 58 -shape 367 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 58 -freewire 0 -freeedge 0 -sharededge 149 -max_solid 0 -max_shell 1 -max_face 58 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0004768443614 -avg 6.422584066e-005 -max_tol ${max_tol_res_1}
+
index 49740c4b2790fa6b0aa2d01410f668bd5a5a98c2..f1b2a95279fd12bbc765f11650b5c6e5b60341fd 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj7_k1-sd-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 2  ( 2 )  Face     = 57  ( 57 )   Summary  = 362  ( 362 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 2  ( 2 )  Face     = 57  ( 57 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 147  ( 147 )
-TOLERANCE   : MaxTol   = 4.531032216e-007  ( 4.53103015e-007 )  AvgTol   =  1.19711272e-007  (  1.197112699e-007 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 2  ( 2 )   NameLabels = 2  ( 2 )   ColorLabels = 2  ( 2 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MEDIUMTURQUOISE  ( MEDIUMTURQUOISE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MEDIUMTURQUOISE } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 2 -face 57 -shape 362
+checkstatshape res_1 -solid 0 -shell 2 -face 57 -freewire 0 -freeedge 0 -sharededge 147
+set max_tol_res_1 [checkmaxtol res_1 -tol 4.53103015e-007 -avg 1.197112699e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MEDIUMTURQUOISE  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 2 -face 57 -shape 362 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 2 -face 57 -freewire 0 -freeedge 0 -sharededge 147 -max_solid 0 -max_shell 2 -max_face 57 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 4.531032216e-007 -avg 1.19711272e-007 -max_tol ${max_tol_res_1}
+
index ef71195142739743d5e71435262b579ce987686e..56d14a47ab758ce21c2c1869fc62b7ca44aa286c 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj2_as1-ec-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 353  ( 353 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000062348e-007  (  1.000062348e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 9  ( 9 )  Volume   = 9  ( 9 )  Area     = 9  ( 9 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 9 -volume 9 -area 9 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 353
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000062348e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 9 -volume 9 -area 9 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 9 -volume 9 -area 9 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 353 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000062348e-007 -max_tol ${max_tol_res_1}
+
index e069c0bde200cb14f789b2fcf9109bc7caf568cc..fb9ef9cbf24bb22c7e48b083cf28f1d08dfdb423 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj2_as1-in-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 4 )  Summary  = 4  ( 4 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 353  ( 353 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000062348e-007  (  1.000062348e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 353
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000062348e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 353 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000062348e-007 -max_tol ${max_tol_res_1}
+
index 8d5fc180a45f73c8ce40575fcad4624a99736475..b816d5316bfa0963581a042c4e8aee8c237164ee 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj2_as1-pe-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 350  ( 350 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000062348e-007  (  1.000062348e-007 )
-LABELS      : N0Labels = 6  ( 6 )  N1Labels = 71  ( 71 )  N2Labels = 0  ( 0 )   TotalLabels = 77  ( 77 )   NameLabels = 24  ( 24 )   ColorLabels = 8  ( 8 )   LayerLabels = 53  ( 53 )
-PROPS       : Centroid = 6  ( 6 )  Volume   = 6  ( 6 )  Area     = 6  ( 6 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 GREEN4 RED3  ( BLUE1 GREEN4 RED3 )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = LAYER_1 LAYER_2 LAYER_3  ( LAYER_1 LAYER_2 LAYER_3 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 6 -n1 71 -n2 0 -total 77 -withname 24 -withcolor 8 -withlayer 53 -centroid 6 -volume 6 -area 6 -colors { BLUE1 GREEN4 RED3 } -nbcolors 3 -layers { LAYER_1 LAYER_2 LAYER_3 } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 350
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000062348e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 6 -n1 71 -n2 0 -total 77 -withname 24 -withcolor 8 -withlayer 53 -centroid 6 -volume 6 -area 6 -nbcolors 3 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 6 -n1 71 -n2 0 -total 77 -withname 24 -withcolor 8 -withlayer 53 -centroid 6 -volume 6 -area 6 -colors { BLUE1 GREEN4 RED3  } -nbcolors 3 -layers { LAYER_1 LAYER_2 LAYER_3 } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 350 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000062348e-007 -max_tol ${max_tol_res_1}
+
index fd42f0602739a6e3a756e736c8edb352b1225f12..77583580590bcca2a25a8564bd1c0df26e53579b 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj2_as1-tc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 19 )  Summary  = 0  ( 19 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 353  ( 353 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000062348e-007  (  1.000062348e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 5  ( 5 )   LayerLabels = 5  ( 5 )
-PROPS       : Centroid = 9  ( 9 )  Volume   = 9  ( 9 )  Area     = 9  ( 9 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = BLUE1 DARKORANGE GREEN RED YELLOW3  ( BLUE1 DARKORANGE GREEN RED YELLOW3 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 000  ( 000 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 19 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 9 -volume 9 -area 9 -colors { BLUE1 DARKORANGE GREEN RED YELLOW3 } -nbcolors 5 -layers { 000 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 353
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000062348e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 19 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 9 -volume 9 -area 9 -nbcolors 5 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 9 -volume 9 -area 9 -colors { BLUE1 DARKORANGE GREEN RED YELLOW3  } -nbcolors 5 -layers { 000  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 353 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000062348e-007 -max_tol ${max_tol_res_1}
+
index fa2120aced7057c956a5ef63d86f086c77dd8b35..239cdfab99996b6700e7285d5bb1744e0ee1824e 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj2_as1-ug-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 14 )  Summary  = 0  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 39  ( 39 )   Summary  = 269  ( 269 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 125  ( 125 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 91  ( 91 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  (         1e-005 )  AvgTol   =  1.00006917e-007  (  2.879948407e-006 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 5  ( 5 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 9  ( 9 )  Volume   = 9  ( 9 )  Area     = 9  ( 9 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 GREEN RED  ( BLUE1 GREEN RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 0 -centroid 9 -volume 9 -area 9 -colors { BLUE1 GREEN RED } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 39 -shape 269
+checkstatshape res_1 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 91
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 2.879948407e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 0 -centroid 9 -volume 9 -area 9 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 0 -centroid 9 -volume 9 -area 9 -colors { BLUE1 GREEN RED  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 39 -shape 269 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 91 -max_solid 18 -max_shell 18 -max_face 125 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00006917e-007 -max_tol ${max_tol_res_1}
+
index d86b9f69f0f2f574895316a913c56a0f140df7e8..8753ec234b667806235645a9c311e233dc7728bf 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj2_io1-ca-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 29  ( 29 )   Summary  = 193  ( 193 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 29  ( 29 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 70  ( 70 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 99  ( 99 )  N2Labels = 0  ( 0 )   TotalLabels = 100  ( 100 )   NameLabels = 1  ( 1 )   ColorLabels = 99  ( 99 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 RED YELLOW  ( BLUE1 RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 99 -n2 0 -total 100 -withname 1 -withcolor 99 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { BLUE1 RED YELLOW } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 29 -shape 193
+checkstatshape res_1 -solid 1 -shell 1 -face 29 -freewire 0 -freeedge 0 -sharededge 70
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 99 -n2 0 -total 100 -withname 1 -withcolor 99 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 99 -n2 0 -total 100 -withname 1 -withcolor 99 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { BLUE1 RED YELLOW  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 29 -shape 193 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 29 -freewire 0 -freeedge 0 -sharededge 70 -max_solid 1 -max_shell 1 -max_face 29 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index e5a294fb12d0e7e101fa85e24e2e874126033617..af25661eb81662a490c274f86888c1a8f5eab306 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj3_as1-ec-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 353  ( 353 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000062348e-007  (  1.000062348e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 9  ( 9 )  Volume   = 9  ( 9 )  Area     = 9  ( 9 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 9 -volume 9 -area 9 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 353
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000062348e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 9 -volume 9 -area 9 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 9 -volume 9 -area 9 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 353 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000062348e-007 -max_tol ${max_tol_res_1}
+
index d6fb4f51c867da3d3ba0a45f10b86f59648f0325..1a1a9b947dcff49165ab8947903fd5af09e49ec1 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj3_as1-ec-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 353  ( 353 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000062348e-007  (  1.000062348e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 9  ( 9 )  Volume   = 9  ( 9 )  Area     = 9  ( 9 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 9 -volume 9 -area 9 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 353
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000062348e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 9 -volume 9 -area 9 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 9 -volume 9 -area 9 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 353 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000062348e-007 -max_tol ${max_tol_res_1}
+
index 324ddad7a952403b244e083819ade3bcea959361..214cc1fa84f46a96e0c9d5339fa03e621ff8b627 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj3_as1-pe-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 353  ( 353 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000062348e-007  (  1.000062348e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 16  ( 16 )  N2Labels = 0  ( 0 )   TotalLabels = 25  ( 25 )   NameLabels = 22  ( 22 )   ColorLabels = 8  ( 8 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 9  ( 9 )  Volume   = 9  ( 9 )  Area     = 9  ( 9 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 GREEN4 RED3  ( BLUE1 GREEN4 RED3 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 9 -n1 16 -n2 0 -total 25 -withname 22 -withcolor 8 -withlayer 0 -centroid 9 -volume 9 -area 9 -colors { BLUE1 GREEN4 RED3 } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 353
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000062348e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 16 -n2 0 -total 25 -withname 22 -withcolor 8 -withlayer 0 -centroid 9 -volume 9 -area 9 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 16 -n2 0 -total 25 -withname 22 -withcolor 8 -withlayer 0 -centroid 9 -volume 9 -area 9 -colors { BLUE1 GREEN4 RED3  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 353 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000062348e-007 -max_tol ${max_tol_res_1}
+
index 28b6fcfbc56a7eae6645276ebf3fda0ba839308d..0309c0510bf06b39d522cd8f9cce8c6acb4bff65 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj3_as1-tc-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 19 )  Summary  = 0  ( 19 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 353  ( 353 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000062348e-007  (  1.000062348e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 9  ( 9 )  Volume   = 9  ( 9 )  Area     = 9  ( 9 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 19 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 9 -volume 9 -area 9 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 353
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000062348e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 19 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 9 -volume 9 -area 9 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 9 -volume 9 -area 9 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 353 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000062348e-007 -max_tol ${max_tol_res_1}
+
index d776b33228944c35b676b0566543ce3ac3bf95d6..7e4d51cf6a9f3e22a1b49f21e146e787fe5fdc4a 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj3_as1-tc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 19 )  Summary  = 0  ( 19 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 353  ( 353 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000062348e-007  (  1.000062348e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 5  ( 5 )   LayerLabels = 5  ( 5 )
-PROPS       : Centroid = 9  ( 9 )  Volume   = 9  ( 9 )  Area     = 9  ( 9 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = BLUE1 DARKORANGE GREEN RED YELLOW3  ( BLUE1 DARKORANGE GREEN RED YELLOW3 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 000  ( 000 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 19 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 9 -volume 9 -area 9 -colors { BLUE1 DARKORANGE GREEN RED YELLOW3 } -nbcolors 5 -layers { 000 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 353
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000062348e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 19 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 9 -volume 9 -area 9 -nbcolors 5 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 9 -volume 9 -area 9 -colors { BLUE1 DARKORANGE GREEN RED YELLOW3  } -nbcolors 5 -layers { 000  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 353 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000062348e-007 -max_tol ${max_tol_res_1}
+
index 24d091a53343f72e680ad5b503d24b60155e55ad..b7e75d580e98719a671d201f0c0d0fe2a099db8c 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj3_s1-ac-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 21 )  Warnings = 0  ( 0 )  Summary  = 0  ( 21 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 4 )  Summary  = 4  ( 4 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 8  ( 8 )  Shell    = 8  ( 8 )  Face     = 100  ( 100 )   Summary  = 647  ( 647 )
-STATSHAPE   : Solid    = 11  ( 11 )  Shell    = 11  ( 11 )  Face     = 138  ( 138 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 252  ( 252 )
-TOLERANCE   : MaxTol   =  0.01954022272  (  0.01954022263 )  AvgTol   =  0.0005199551327  (  0.0005199551309 )
-LABELS      : N0Labels = 13  ( 13 )  N1Labels = 14  ( 14 )  N2Labels = 0  ( 0 )   TotalLabels = 27  ( 27 )   NameLabels = 27  ( 27 )   ColorLabels = 8  ( 8 )   LayerLabels = 8  ( 8 )
-PROPS       : Centroid = 13  ( 13 )  Volume   = 13  ( 13 )  Area     = 13  ( 13 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = YELLOW  ( YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 21
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 13 -n1 14 -n2 0 -total 27 -withname 27 -withcolor 8 -withlayer 8 -centroid 13 -volume 13 -area 13 -colors { YELLOW } -nbcolors 1 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 8 -shell 8 -face 100 -shape 647
+checkstatshape res_1 -solid 11 -shell 11 -face 138 -freewire 0 -freeedge 0 -sharededge 252
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01954022263 -avg 0.0005199551309]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 21
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 13 -n1 14 -n2 0 -total 27 -withname 27 -withcolor 8 -withlayer 8 -centroid 13 -volume 13 -area 13 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 13 -n1 14 -n2 0 -total 27 -withname 27 -withcolor 8 -withlayer 8 -centroid 13 -volume 13 -area 13 -colors { YELLOW  } -nbcolors 1 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 8 -shell 8 -face 100 -shape 647 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 11 -shell 11 -face 138 -freewire 0 -freeedge 0 -sharededge 252 -max_solid 11 -max_shell 11 -max_face 138 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01954022272 -avg 0.0005199551327 -max_tol ${max_tol_res_1}
+
index c4ae87f60b142bc4b780b3266d858ef49334e8c3..3f6df33227fb0bde0ab7ace1497ef801e0d681ff 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename trj3_s1-ct-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 20  ( 18 )  Summary  = 20  ( 18 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 8  ( 8 )  Shell    = 8  ( 8 )  Face     = 132  ( 132 )   Summary  = 801  ( 801 )
-STATSHAPE   : Solid    = 11  ( 11 )  Shell    = 11  ( 11 )  Face     = 178  ( 178 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 316  ( 316 )
-TOLERANCE   : MaxTol   =  0.06901335768  (  0.07236095994 )  AvgTol   =  0.0008239378267  (  0.0008694243708 )
-LABELS      : N0Labels = 13  ( 13 )  N1Labels = 21  ( 21 )  N2Labels = 0  ( 0 )   TotalLabels = 34  ( 34 )   NameLabels = 27  ( 27 )   ColorLabels = 15  ( 15 )   LayerLabels = 8  ( 8 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 RED YELLOW  ( BLUE1 RED YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 18 -max_faults 0
+checkxstat D_First -n0 13 -n1 21 -n2 0 -total 34 -withname 27 -withcolor 15 -withlayer 8 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED YELLOW } -nbcolors 3 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 8 -shell 8 -face 132 -shape 801
+checkstatshape res_1 -solid 11 -shell 11 -face 178 -freewire 0 -freeedge 0 -sharededge 316
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.07236095994 -avg 0.0008694243708]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 18 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 18 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 13 -n1 21 -n2 0 -total 34 -withname 27 -withcolor 15 -withlayer 8 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 13 -n1 21 -n2 0 -total 34 -withname 27 -withcolor 15 -withlayer 8 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED YELLOW  } -nbcolors 3 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 8 -shell 8 -face 132 -shape 801 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 11 -shell 11 -face 178 -freewire 0 -freeedge 0 -sharededge 316 -max_solid 11 -max_shell 11 -max_face 178 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.06901335768 -avg 0.0008239378267 -max_tol ${max_tol_res_1}
+
index b5563c4ed8730b3923e747e5d55382b5d1df21ab..0e3e46e81532e514f2c51693a6fa1838a2cccc9a 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename trj3_s1-ct-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 20  ( 18 )  Summary  = 20  ( 18 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 8  ( 8 )  Shell    = 8  ( 8 )  Face     = 132  ( 132 )   Summary  = 801  ( 801 )
-STATSHAPE   : Solid    = 11  ( 11 )  Shell    = 11  ( 11 )  Face     = 178  ( 178 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 316  ( 316 )
-TOLERANCE   : MaxTol   =  0.06901335768  (  0.07236095994 )  AvgTol   =  0.0008239378267  (  0.0008694243708 )
-LABELS      : N0Labels = 13  ( 13 )  N1Labels = 21  ( 21 )  N2Labels = 0  ( 0 )   TotalLabels = 34  ( 34 )   NameLabels = 27  ( 27 )   ColorLabels = 15  ( 15 )   LayerLabels = 8  ( 8 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 RED YELLOW  ( BLUE1 RED YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 13 -max_faults 0
+checkdoc "tpstat c" -max_warns 18 -max_faults 0
+checkxstat D_First -n0 13 -n1 21 -n2 0 -total 34 -withname 27 -withcolor 15 -withlayer 8 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED YELLOW } -nbcolors 3 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 8 -shell 8 -face 132 -shape 801
+checkstatshape res_1 -solid 11 -shell 11 -face 178 -freewire 0 -freeedge 0 -sharededge 316
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.07236095994 -avg 0.0008694243708]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 13 -max_faults 0
+checkdoc "tpstat c" -max_warns 18 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 18 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 13 -n1 21 -n2 0 -total 34 -withname 27 -withcolor 15 -withlayer 8 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 13 -n1 21 -n2 0 -total 34 -withname 27 -withcolor 15 -withlayer 8 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED YELLOW  } -nbcolors 3 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 8 -shell 8 -face 132 -shape 801 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 11 -shell 11 -face 178 -freewire 0 -freeedge 0 -sharededge 316 -max_solid 11 -max_shell 11 -max_face 178 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.06901335768 -avg 0.0008239378267 -max_tol ${max_tol_res_1}
+
index 309de73abf0b62f83ba5bf02dcec5bbf03977684..4cb12ccfecfaec15a3134cea4baf0b2186e3d2d9 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename trj3_s1-ec-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 3  ( 2 )  Summary  = 3  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 8  ( 8 )  Shell    = 8  ( 8 )  Face     = 90  ( 90 )   Summary  = 524  ( 524 )
-STATSHAPE   : Solid    = 11  ( 11 )  Shell    = 11  ( 11 )  Face     = 121  ( 121 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 187  ( 187 )
-TOLERANCE   : MaxTol   = 2.374473352e-006  ( 2.374497097e-006 )  AvgTol   =  1.581194476e-007  (  1.614739074e-007 )
-LABELS      : N0Labels = 14  ( 14 )  N1Labels = 19  ( 19 )  N2Labels = 0  ( 0 )   TotalLabels = 33  ( 33 )   NameLabels = 30  ( 30 )   ColorLabels = 11  ( 11 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 RED YELLOW  ( BLUE1 RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 14 -n1 19 -n2 0 -total 33 -withname 30 -withcolor 11 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED YELLOW } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 8 -shell 8 -face 90 -shape 524
+checkstatshape res_1 -solid 11 -shell 11 -face 121 -freewire 0 -freeedge 0 -sharededge 187
+set max_tol_res_1 [checkmaxtol res_1 -tol 2.374497097e-006 -avg 1.614739074e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 14 -n1 19 -n2 0 -total 33 -withname 30 -withcolor 11 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 14 -n1 19 -n2 0 -total 33 -withname 30 -withcolor 11 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED YELLOW  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 8 -shell 8 -face 90 -shape 524 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 11 -shell 11 -face 121 -freewire 0 -freeedge 0 -sharededge 187 -max_solid 11 -max_shell 11 -max_face 121 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 2.374473352e-006 -avg 1.581194476e-007 -max_tol ${max_tol_res_1}
+
index 17ca7c74c10ac297374955b587cc7a812501c49b..29d93d141e5cef70bb117ad968f912c8249eaae0 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename trj3_s1-ec-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 3  ( 2 )  Summary  = 3  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 8  ( 8 )  Shell    = 8  ( 8 )  Face     = 90  ( 90 )   Summary  = 524  ( 524 )
-STATSHAPE   : Solid    = 11  ( 11 )  Shell    = 11  ( 11 )  Face     = 121  ( 121 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 187  ( 187 )
-TOLERANCE   : MaxTol   = 2.374473352e-006  ( 2.374497097e-006 )  AvgTol   =  1.581194476e-007  (  1.614739074e-007 )
-LABELS      : N0Labels = 14  ( 14 )  N1Labels = 19  ( 19 )  N2Labels = 0  ( 0 )   TotalLabels = 33  ( 33 )   NameLabels = 30  ( 30 )   ColorLabels = 11  ( 11 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 RED YELLOW  ( BLUE1 RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 14 -n1 19 -n2 0 -total 33 -withname 30 -withcolor 11 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED YELLOW } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 8 -shell 8 -face 90 -shape 524
+checkstatshape res_1 -solid 11 -shell 11 -face 121 -freewire 0 -freeedge 0 -sharededge 187
+set max_tol_res_1 [checkmaxtol res_1 -tol 2.374497097e-006 -avg 1.614739074e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 14 -n1 19 -n2 0 -total 33 -withname 30 -withcolor 11 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 14 -n1 19 -n2 0 -total 33 -withname 30 -withcolor 11 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED YELLOW  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 8 -shell 8 -face 90 -shape 524 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 11 -shell 11 -face 121 -freewire 0 -freeedge 0 -sharededge 187 -max_solid 11 -max_shell 11 -max_face 121 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 2.374473352e-006 -avg 1.581194476e-007 -max_tol ${max_tol_res_1}
+
index 164703f0645f9ceefe93325c748db3d7c64eb9df..f23395f137330a2c61fb83e4f2d85c7326b7ce72 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj3_s1-md-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 8  ( 39 )  Summary  = 8  ( 39 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 9  ( 9 )  Shell    = 9  ( 9 )  Face     = 116  ( 116 )   Summary  = 709  ( 709 )
-STATSHAPE   : Solid    = 11  ( 11 )  Shell    = 11  ( 11 )  Face     = 130  ( 130 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 266  ( 266 )
-TOLERANCE   : MaxTol   = 0.0009770882201  (  0.08941639094 )  AvgTol   =  2.388263334e-005  (  0.0007912875694 )
-LABELS      : N0Labels = 14  ( 14 )  N1Labels = 14  ( 14 )  N2Labels = 0  ( 0 )   TotalLabels = 28  ( 28 )   NameLabels = 28  ( 28 )   ColorLabels = 9  ( 9 )   LayerLabels = 9  ( 9 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 7  ( 7 )
-COLORS      : Colors   = CYAN1 DARKORANGE1 DARKORANGE3 GREEN MAGENTA1 RED YELLOW  ( CYAN1 DARKORANGE1 DARKORANGE3 GREEN MAGENTA1 RED YELLOW )
-NLAYERS     : NLayers  = 4  ( 4 )
-LAYERS      : Layers   = 1 110 28263 5  ( 1 110 28263 5 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 39 -max_faults 0
+checkxstat D_First -n0 14 -n1 14 -n2 0 -total 28 -withname 28 -withcolor 9 -withlayer 9 -centroid 0 -volume 0 -area 0 -colors { CYAN1 DARKORANGE1 DARKORANGE3 GREEN MAGENTA1 RED YELLOW } -nbcolors 7 -layers { 1 110 28263 5 } -nblayers 4
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 9 -shell 9 -face 116 -shape 709
+checkstatshape res_1 -solid 11 -shell 11 -face 130 -freewire 0 -freeedge 0 -sharededge 266
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.08941639094 -avg 0.0007912875694]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 39 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 14 -n1 14 -n2 0 -total 28 -withname 28 -withcolor 9 -withlayer 9 -centroid 0 -volume 0 -area 0 -nbcolors 7 -nblayers 4
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 14 -n1 14 -n2 0 -total 28 -withname 28 -withcolor 9 -withlayer 9 -centroid 0 -volume 0 -area 0 -colors { CYAN1 DARKORANGE1 DARKORANGE3 GREEN MAGENTA1 RED YELLOW  } -nbcolors 7 -layers { 1 110 28263 5  } -nblayers 4
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 9 -shell 9 -face 116 -shape 709 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 11 -shell 11 -face 130 -freewire 0 -freeedge 0 -sharededge 266 -max_solid 11 -max_shell 11 -max_face 130 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0009770882201 -avg 2.388263334e-005 -max_tol ${max_tol_res_1}
+
index 76cded342138b71b5f0a0990c692269c8175cac1..be8bda939b9f334f4166a0b6fa64064c1c391266 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename trj3_s1-pe-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 0 )  Summary  = 2  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 8  ( 8 )  Shell    = 8  ( 8 )  Face     = 146  ( 146 )   Summary  = 869  ( 869 )
-STATSHAPE   : Solid    = 11  ( 11 )  Shell    = 11  ( 11 )  Face     = 188  ( 188 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 331  ( 331 )
-TOLERANCE   : MaxTol   = 0.0007596289751  ( 0.0007596289752 )  AvgTol   =  1.028305667e-005  (  1.028305667e-005 )
-LABELS      : N0Labels = 13  ( 13 )  N1Labels = 17  ( 17 )  N2Labels = 0  ( 0 )   TotalLabels = 30  ( 30 )   NameLabels = 27  ( 27 )   ColorLabels = 11  ( 11 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 13  ( 13 )  Volume   = 13  ( 13 )  Area     = 13  ( 13 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 RED YELLOW  ( BLUE1 RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 13 -n1 17 -n2 0 -total 30 -withname 27 -withcolor 11 -withlayer 0 -centroid 13 -volume 13 -area 13 -colors { BLUE1 RED YELLOW } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 8 -shell 8 -face 146 -shape 869
+checkstatshape res_1 -solid 11 -shell 11 -face 188 -freewire 0 -freeedge 0 -sharededge 331
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0007596289752 -avg 1.028305667e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 13 -n1 17 -n2 0 -total 30 -withname 27 -withcolor 11 -withlayer 0 -centroid 13 -volume 13 -area 13 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 13 -n1 17 -n2 0 -total 30 -withname 27 -withcolor 11 -withlayer 0 -centroid 13 -volume 13 -area 13 -colors { BLUE1 RED YELLOW  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 8 -shell 8 -face 146 -shape 869 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 11 -shell 11 -face 188 -freewire 0 -freeedge 0 -sharededge 331 -max_solid 11 -max_shell 11 -max_face 188 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0007596289751 -avg 1.028305667e-005 -max_tol ${max_tol_res_1}
+
index b31700f4340eebe1b9cddb84889664393cba59f8..d11f664d62e742e1f2212e903ae31fa9e46203ee 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj3_s1-tc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 7 )  Warnings = 0  ( 0 )  Summary  = 0  ( 7 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 16  ( 21 )  Summary  = 16  ( 21 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 8  ( 8 )  Shell    = 8  ( 8 )  Face     = 145  ( 145 )   Summary  = 848  ( 848 )
-STATSHAPE   : Solid    = 11  ( 11 )  Shell    = 11  ( 11 )  Face     = 189  ( 189 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 332  ( 332 )
-TOLERANCE   : MaxTol   = 6.105713512e-05  ( 6.105713512e-05 )  AvgTol   =  1.161749271e-06  (  1.160147409e-06 )
-LABELS      : N0Labels = 13  ( 13 )  N1Labels = 19  ( 19 )  N2Labels = 0  ( 0 )   TotalLabels = 32  ( 32 )   NameLabels = 27  ( 27 )   ColorLabels = 13  ( 13 )   LayerLabels = 8  ( 8 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 RED YELLOW  ( BLUE1 RED YELLOW )
-NLAYERS     : NLayers  = 8  ( 8 )
-LAYERS      : Layers   = 000 010 020 030 040 050 060 070  ( 000 010 020 030 040 050 060 070 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 7
+checkdoc "tpstat c" -max_warns 21 -max_faults 0
+checkxstat D_First -n0 13 -n1 19 -n2 0 -total 32 -withname 27 -withcolor 13 -withlayer 8 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED YELLOW } -nbcolors 3 -layers { 000 010 020 030 040 050 060 070 } -nblayers 8
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 8 -shell 8 -face 145 -shape 848
+checkstatshape res_1 -solid 11 -shell 11 -face 189 -freewire 0 -freeedge 0 -sharededge 332
+set max_tol_res_1 [checkmaxtol res_1 -tol 6.105713512e-05 -avg 1.160147409e-06]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 7
+checkdoc "tpstat c" -max_warns 21 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 13 -n1 19 -n2 0 -total 32 -withname 27 -withcolor 13 -withlayer 8 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 8
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 13 -n1 19 -n2 0 -total 32 -withname 27 -withcolor 13 -withlayer 8 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED YELLOW  } -nbcolors 3 -layers { 000 010 020 030 040 050 060 070  } -nblayers 8
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 8 -shell 8 -face 145 -shape 848 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 11 -shell 11 -face 189 -freewire 0 -freeedge 0 -sharededge 332 -max_solid 11 -max_shell 11 -max_face 189 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 6.105713512e-05 -avg 1.161749271e-06 -max_tol ${max_tol_res_1}
+
index be524ac63b84f2129fe960a8431f2347e679a9c3..e2cad70202c4d496c4b59c37eecd1ecb171cf92e 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj3_s1-ug-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 6  ( 35 )  Summary  = 6  ( 35 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 8  ( 8 )  Shell    = 8  ( 8 )  Face     = 105  ( 105 )   Summary  = 628  ( 628 )
-STATSHAPE   : Solid    = 11  ( 11 )  Shell    = 11  ( 11 )  Face     = 138  ( 138 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 231  ( 231 )
-TOLERANCE   : MaxTol   = 0.002131642002  ( 0.002131642024 )  AvgTol   =  3.774810572e-005  (  4.007566294e-005 )
-LABELS      : N0Labels = 13  ( 13 )  N1Labels = 15  ( 15 )  N2Labels = 0  ( 0 )   TotalLabels = 28  ( 28 )   NameLabels = 27  ( 27 )   ColorLabels = 9  ( 9 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = RED YELLOW  ( RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 35 -max_faults 0
+checkxstat D_First -n0 13 -n1 15 -n2 0 -total 28 -withname 27 -withcolor 9 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { RED YELLOW } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 8 -shell 8 -face 105 -shape 628
+checkstatshape res_1 -solid 11 -shell 11 -face 138 -freewire 0 -freeedge 0 -sharededge 231
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.002131642024 -avg 4.007566294e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 35 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 13 -n1 15 -n2 0 -total 28 -withname 27 -withcolor 9 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 13 -n1 15 -n2 0 -total 28 -withname 27 -withcolor 9 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { RED YELLOW  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 8 -shell 8 -face 105 -shape 628 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 11 -shell 11 -face 138 -freewire 0 -freeedge 0 -sharededge 231 -max_solid 11 -max_shell 11 -max_face 138 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.002131642002 -avg 3.774810572e-005 -max_tol ${max_tol_res_1}
+
index 9cb59b6e450f47f2a06e6f0f018c450bccc11cf6..dff038fbf75b9b7c8914d08d1ba6744db271f3e7 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj4_k1_top-ct-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 1 )  Summary  = 1  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 58  ( 58 )  Face     = 58  ( 58 )   Summary  = 771  ( 425 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 58  ( 58 )  Face     = 58  ( 58 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 296  ( 149 )
-TOLERANCE   : MaxTol   = 0.0008167207419  ( 0.0009782609385 )  AvgTol   =  5.463653037e-005  (  0.000108302814 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 58 -face 58 -shape 425
+checkstatshape res_1 -solid 0 -shell 58 -face 58 -freewire 0 -freeedge 0 -sharededge 149
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0009782609385 -avg 0.000108302814]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 58 -face 58 -shape 771 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 58 -face 58 -freewire 0 -freeedge 0 -sharededge 296 -max_solid 0 -max_shell 58 -max_face 58 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0008167207419 -avg 5.463653037e-005 -max_tol ${max_tol_res_1}
+
index e3a8cede250d3a1b84789730756936fd45656849..44761e15148dab25d9fc1090f03d8dac77284c86 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj4_k1_top-id-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 15  ( 16 )  Summary  = 15  ( 16 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 46  ( 46 )   Summary  = 288  ( 288 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 46  ( 46 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 117  ( 117 )
-TOLERANCE   : MaxTol   =  0.01475036715  (  0.01475021965 )  AvgTol   =  0.0004055238368  (  0.0004055209373 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 59  ( 59 )  N2Labels = 0  ( 0 )   TotalLabels = 60  ( 60 )   NameLabels = 1  ( 1 )   ColorLabels = 60  ( 60 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = DEEPSKYBLUE2 MAGENTA1 ORANGE ORANGERED RED  ( DEEPSKYBLUE2 MAGENTA1 ORANGE ORANGERED RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+checkxstat D_First -n0 1 -n1 59 -n2 0 -total 60 -withname 1 -withcolor 60 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE2 MAGENTA1 ORANGE ORANGERED RED } -nbcolors 5 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 46 -shape 288
+checkstatshape res_1 -solid 0 -shell 1 -face 46 -freewire 0 -freeedge 0 -sharededge 117
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01475021965 -avg 0.0004055209373]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 15 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 59 -n2 0 -total 60 -withname 1 -withcolor 60 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 59 -n2 0 -total 60 -withname 1 -withcolor 60 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE2 MAGENTA1 ORANGE ORANGERED RED  } -nbcolors 5 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 46 -shape 288 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 46 -freewire 0 -freeedge 0 -sharededge 117 -max_solid 0 -max_shell 1 -max_face 46 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01475036715 -avg 0.0004055238368 -max_tol ${max_tol_res_1}
+
index 0d522c05f9e43febc2ba952cf2bc42128de2092e..209e99fa2bb19af4f408377aec63be0025007b78 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj4_k1_top-pe-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 52  ( 52 )   Summary  = 336  ( 336 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 52  ( 52 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 138  ( 138 )
-TOLERANCE   : MaxTol   = 0.005901949404  ( 0.008046615145 )  AvgTol   =  0.0002996481595  (  0.0008772134802 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 52 -shape 336
+checkstatshape res_1 -solid 1 -shell 1 -face 52 -freewire 0 -freeedge 0 -sharededge 138
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.008046615145 -avg 0.0008772134802]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 52 -shape 336 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 52 -freewire 0 -freeedge 0 -sharededge 138 -max_solid 1 -max_shell 1 -max_face 52 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.005901949404 -avg 0.0002996481595 -max_tol ${max_tol_res_1}
+
index 0248fae9452381d5d0ee7a0419c18922eac950ab..220f57bb71ffd8b30177c73604fedeadb2a742d2 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj4_k1_top-pe-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 52  ( 52 )   Summary  = 336  ( 336 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 52  ( 52 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 138  ( 138 )
-TOLERANCE   : MaxTol   = 0.005901949404  ( 0.008046615145 )  AvgTol   =  0.0002996481598  (  0.001190176608 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 52 -shape 336
+checkstatshape res_1 -solid 1 -shell 1 -face 52 -freewire 0 -freeedge 0 -sharededge 138
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.008046615145 -avg 0.001190176608]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 52 -shape 336 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 52 -freewire 0 -freeedge 0 -sharededge 138 -max_solid 1 -max_shell 1 -max_face 52 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.005901949404 -avg 0.0002996481598 -max_tol ${max_tol_res_1}
+
index d9ab370d384e09bcbb2ab35b99b82fbbe5e89005..c1665c9854b7cacdae258ca618e41d4011ff2b5f 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj4_k1_top-tc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 3  ( 3 )  Summary  = 3  ( 3 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 59  ( 59 )  Face     = 59  ( 59 )   Summary  = 787  ( 787 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 59  ( 59 )  Face     = 59  ( 59 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 304  ( 304 )
-TOLERANCE   : MaxTol   = 0.003826736784  ( 0.003826736784 )  AvgTol   =  0.0001420064455  (  0.0001420064456 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 59  ( 59 )  N2Labels = 0  ( 0 )   TotalLabels = 60  ( 60 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 59  ( 59 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 000  ( 000 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+checkxstat D_First -n0 1 -n1 59 -n2 0 -total 60 -withname 1 -withcolor 0 -withlayer 59 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers { 000 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 59 -face 59 -shape 787
+checkstatshape res_1 -solid 0 -shell 59 -face 59 -freewire 0 -freeedge 0 -sharededge 304
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.003826736784 -avg 0.0001420064456]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 59 -n2 0 -total 60 -withname 1 -withcolor 0 -withlayer 59 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 59 -n2 0 -total 60 -withname 1 -withcolor 0 -withlayer 59 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers { 000  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 59 -face 59 -shape 787 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 59 -face 59 -freewire 0 -freeedge 0 -sharededge 304 -max_solid 0 -max_shell 59 -max_face 59 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003826736784 -avg 0.0001420064455 -max_tol ${max_tol_res_1}
+
index 7348a62e650fadd459fd015a5bac8d44cb1f8553..7d1fe76b5b8c342610424a51a68a416d63fbb7c6 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj4_k1_top-tu-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 10 )  Summary  = 1  ( 10 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 44  ( 44 )  Face     = 44  ( 44 )   Summary  = 559  ( 559 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 44  ( 44 )  Face     = 44  ( 44 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 217  ( 217 )
-TOLERANCE   : MaxTol   = 0.0004382667275  ( 0.007688098235 )  AvgTol   =  1.73413763e-005  (  0.0002416764063 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 44  ( 44 )  N2Labels = 0  ( 0 )   TotalLabels = 45  ( 45 )   NameLabels = 1  ( 1 )   ColorLabels = 44  ( 44 )   LayerLabels = 44  ( 44 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 001  ( 001 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+checkxstat D_First -n0 1 -n1 44 -n2 0 -total 45 -withname 1 -withcolor 44 -withlayer 44 -centroid 0 -volume 0 -area 0 -colors { GREEN } -nbcolors 1 -layers { 001 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 44 -face 44 -shape 559
+checkstatshape res_1 -solid 0 -shell 44 -face 44 -freewire 0 -freeedge 0 -sharededge 217
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.007688098235 -avg 0.0002416764063]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 44 -n2 0 -total 45 -withname 1 -withcolor 44 -withlayer 44 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 44 -n2 0 -total 45 -withname 1 -withcolor 44 -withlayer 44 -centroid 0 -volume 0 -area 0 -colors { GREEN  } -nbcolors 1 -layers { 001  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 44 -face 44 -shape 559 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 44 -face 44 -freewire 0 -freeedge 0 -sharededge 217 -max_solid 0 -max_shell 44 -max_face 44 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0004382667275 -avg 1.73413763e-005 -max_tol ${max_tol_res_1}
+
index aa11245a79128b384484969cca7716cd8a39dd45..d6381c0271da36d0cb3a9ffeb7dce787038447e1 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj4_pm2-ac-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 7  ( 7 )  Shell    = 7  ( 7 )  Face     = 132  ( 132 )   Summary  = 839  ( 839 )
-STATSHAPE   : Solid    = 7  ( 7 )  Shell    = 7  ( 7 )  Face     = 132  ( 132 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 328  ( 328 )
-TOLERANCE   : MaxTol   = 0.0003598691586  ( 0.0003598691585 )  AvgTol   =  3.390213597e-005  (  3.390213594e-005 )
-LABELS      : N0Labels = 8  ( 8 )  N1Labels = 7  ( 7 )  N2Labels = 0  ( 0 )   TotalLabels = 15  ( 15 )   NameLabels = 15  ( 15 )   ColorLabels = 7  ( 7 )   LayerLabels = 7  ( 7 )
-PROPS       : Centroid = 8  ( 8 )  Volume   = 8  ( 8 )  Area     = 8  ( 8 )
-NCOLORS     : NColors  = 6  ( 6 )
-COLORS      : Colors   = BLUE1 GREEN MAGENTA1 RED WHITE YELLOW  ( BLUE1 GREEN MAGENTA1 RED WHITE YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 8 -n1 7 -n2 0 -total 15 -withname 15 -withcolor 7 -withlayer 7 -centroid 8 -volume 8 -area 8 -colors { BLUE1 GREEN MAGENTA1 RED WHITE YELLOW } -nbcolors 6 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 7 -shell 7 -face 132 -shape 839
+checkstatshape res_1 -solid 7 -shell 7 -face 132 -freewire 0 -freeedge 0 -sharededge 328
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0003598691585 -avg 3.390213594e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 8 -n1 7 -n2 0 -total 15 -withname 15 -withcolor 7 -withlayer 7 -centroid 8 -volume 8 -area 8 -nbcolors 6 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 8 -n1 7 -n2 0 -total 15 -withname 15 -withcolor 7 -withlayer 7 -centroid 8 -volume 8 -area 8 -colors { BLUE1 GREEN MAGENTA1 RED WHITE YELLOW  } -nbcolors 6 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 7 -shell 7 -face 132 -shape 839 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 7 -shell 7 -face 132 -freewire 0 -freeedge 0 -sharededge 328 -max_solid 7 -max_shell 7 -max_face 132 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0003598691586 -avg 3.390213597e-005 -max_tol ${max_tol_res_1}
+
index 0f1150dceb22567bc9c72885aad21891e2bc9e4b..6bd48da136cff9f50abdfc50f249b20590419146 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj4_s1-ac-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 21 )  Warnings = 0  ( 0 )  Summary  = 0  ( 21 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 4 )  Summary  = 4  ( 4 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 8  ( 8 )  Shell    = 8  ( 8 )  Face     = 100  ( 100 )   Summary  = 647  ( 647 )
-STATSHAPE   : Solid    = 11  ( 11 )  Shell    = 11  ( 11 )  Face     = 138  ( 138 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 252  ( 252 )
-TOLERANCE   : MaxTol   = 0.001628351892  ( 0.001628351886 )  AvgTol   =  4.341878168e-05  (  4.34187816e-05 )
-LABELS      : N0Labels = 13  ( 13 )  N1Labels = 14  ( 14 )  N2Labels = 0  ( 0 )   TotalLabels = 27  ( 27 )   NameLabels = 27  ( 27 )   ColorLabels = 8  ( 8 )   LayerLabels = 8  ( 8 )
-PROPS       : Centroid = 13  ( 13 )  Volume   = 13  ( 13 )  Area     = 13  ( 13 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = YELLOW  ( YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 21
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 13 -n1 14 -n2 0 -total 27 -withname 27 -withcolor 8 -withlayer 8 -centroid 13 -volume 13 -area 13 -colors { YELLOW } -nbcolors 1 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 8 -shell 8 -face 100 -shape 647
+checkstatshape res_1 -solid 11 -shell 11 -face 138 -freewire 0 -freeedge 0 -sharededge 252
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.001628351886 -avg 4.34187816e-05]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 21
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 13 -n1 14 -n2 0 -total 27 -withname 27 -withcolor 8 -withlayer 8 -centroid 13 -volume 13 -area 13 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 13 -n1 14 -n2 0 -total 27 -withname 27 -withcolor 8 -withlayer 8 -centroid 13 -volume 13 -area 13 -colors { YELLOW  } -nbcolors 1 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 8 -shell 8 -face 100 -shape 647 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 11 -shell 11 -face 138 -freewire 0 -freeedge 0 -sharededge 252 -max_solid 11 -max_shell 11 -max_face 138 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.001628351892 -avg 4.341878168e-05 -max_tol ${max_tol_res_1}
+
index 741e2500ec34f672560618ab97cd597688a15655..1ac65701968ed395ac863ee3315de815a0791117 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename trj4_s1-ec-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 0 )  Summary  = 1  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 8  ( 8 )  Shell    = 8  ( 8 )  Face     = 90  ( 90 )   Summary  = 524  ( 524 )
-STATSHAPE   : Solid    = 11  ( 11 )  Shell    = 11  ( 11 )  Face     = 121  ( 121 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 187  ( 187 )
-TOLERANCE   : MaxTol   = 2.374497097e-006  ( 5.01013011e-006 )  AvgTol   =  1.602968464e-007  (  2.26790959e-007 )
-LABELS      : N0Labels = 14  ( 14 )  N1Labels = 18  ( 18 )  N2Labels = 0  ( 0 )   TotalLabels = 32  ( 32 )   NameLabels = 30  ( 30 )   ColorLabels = 9  ( 9 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 14  ( 14 )  Volume   = 14  ( 14 )  Area     = 14  ( 14 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 RED YELLOW  ( BLUE1 RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 14 -n1 18 -n2 0 -total 32 -withname 30 -withcolor 9 -withlayer 0 -centroid 14 -volume 14 -area 14 -colors { BLUE1 RED YELLOW } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 8 -shell 8 -face 90 -shape 524
+checkstatshape res_1 -solid 11 -shell 11 -face 121 -freewire 0 -freeedge 0 -sharededge 187
+set max_tol_res_1 [checkmaxtol res_1 -tol 5.01013011e-006 -avg 2.26790959e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 14 -n1 18 -n2 0 -total 32 -withname 30 -withcolor 9 -withlayer 0 -centroid 14 -volume 14 -area 14 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 14 -n1 18 -n2 0 -total 32 -withname 30 -withcolor 9 -withlayer 0 -centroid 14 -volume 14 -area 14 -colors { BLUE1 RED YELLOW  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 8 -shell 8 -face 90 -shape 524 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 11 -shell 11 -face 121 -freewire 0 -freeedge 0 -sharededge 187 -max_solid 11 -max_shell 11 -max_face 121 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 2.374497097e-006 -avg 1.602968464e-007 -max_tol ${max_tol_res_1}
+
index 280d5097cca39e97a2e38145ba241e36f0ffaf54..1610e37594a16cd7e144cf9335d2d28df4a878c2 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename trj4_s1-pe-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 0 )  Summary  = 2  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 8  ( 8 )  Shell    = 8  ( 8 )  Face     = 146  ( 146 )   Summary  = 873  ( 869 )
-STATSHAPE   : Solid    = 11  ( 11 )  Shell    = 11  ( 11 )  Face     = 188  ( 188 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 335  ( 331 )
-TOLERANCE   : MaxTol   = 0.0007596289751  ( 0.0007596289752 )  AvgTol   =  1.023897715e-005  (  1.028305667e-005 )
-LABELS      : N0Labels = 13  ( 13 )  N1Labels = 16  ( 16 )  N2Labels = 0  ( 0 )   TotalLabels = 29  ( 29 )   NameLabels = 27  ( 27 )   ColorLabels = 10  ( 10 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 13  ( 13 )  Volume   = 13  ( 13 )  Area     = 13  ( 13 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = RED YELLOW  ( RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 13 -n1 16 -n2 0 -total 29 -withname 27 -withcolor 10 -withlayer 0 -centroid 13 -volume 13 -area 13 -colors { RED YELLOW } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 8 -shell 8 -face 146 -shape 869
+checkstatshape res_1 -solid 11 -shell 11 -face 188 -freewire 0 -freeedge 0 -sharededge 331
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0007596289752 -avg 1.028305667e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 13 -n1 16 -n2 0 -total 29 -withname 27 -withcolor 10 -withlayer 0 -centroid 13 -volume 13 -area 13 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 13 -n1 16 -n2 0 -total 29 -withname 27 -withcolor 10 -withlayer 0 -centroid 13 -volume 13 -area 13 -colors { RED YELLOW  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 8 -shell 8 -face 146 -shape 873 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 11 -shell 11 -face 188 -freewire 0 -freeedge 0 -sharededge 335 -max_solid 11 -max_shell 11 -max_face 188 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0007596289751 -avg 1.023897715e-005 -max_tol ${max_tol_res_1}
+
index c1f3606399f6cf265b7f460a6305b7774abe6243..e1a456508cadccf2448440cf8f900ae5d3490e57 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj4_s1-tu-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 11  ( 21 )  Summary  = 11  ( 21 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 8  ( 8 )  Shell    = 8  ( 8 )  Face     = 137  ( 137 )   Summary  = 818  ( 818 )
-STATSHAPE   : Solid    = 11  ( 11 )  Shell    = 11  ( 11 )  Face     = 180  ( 180 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 314  ( 314 )
-TOLERANCE   : MaxTol   = 0.0004751822636  ( 0.0004751822636 )  AvgTol   =  8.52301535e-006  (  8.525894359e-006 )
-LABELS      : N0Labels = 13  ( 13 )  N1Labels = 14  ( 14 )  N2Labels = 0  ( 0 )   TotalLabels = 27  ( 27 )   NameLabels = 27  ( 27 )   ColorLabels = 8  ( 8 )   LayerLabels = 8  ( 8 )
-PROPS       : Centroid = 13  ( 13 )  Volume   = 13  ( 13 )  Area     = 13  ( 13 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 8  ( 8 )
-LAYERS      : Layers   = 010 020 030 040 050 060 070 256  ( 010 020 030 040 050 060 070 256 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 21 -max_faults 0
+checkxstat D_First -n0 13 -n1 14 -n2 0 -total 27 -withname 27 -withcolor 8 -withlayer 8 -centroid 13 -volume 13 -area 13 -colors { GREEN } -nbcolors 1 -layers { 010 020 030 040 050 060 070 256 } -nblayers 8
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 8 -shell 8 -face 137 -shape 818
+checkstatshape res_1 -solid 11 -shell 11 -face 180 -freewire 0 -freeedge 0 -sharededge 314
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0004751822636 -avg 8.525894359e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 21 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 13 -n1 14 -n2 0 -total 27 -withname 27 -withcolor 8 -withlayer 8 -centroid 13 -volume 13 -area 13 -nbcolors 1 -nblayers 8
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 13 -n1 14 -n2 0 -total 27 -withname 27 -withcolor 8 -withlayer 8 -centroid 13 -volume 13 -area 13 -colors { GREEN  } -nbcolors 1 -layers { 010 020 030 040 050 060 070 256  } -nblayers 8
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 8 -shell 8 -face 137 -shape 818 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 11 -shell 11 -face 180 -freewire 0 -freeedge 0 -sharededge 314 -max_solid 11 -max_shell 11 -max_face 180 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0004751822636 -avg 8.52301535e-006 -max_tol ${max_tol_res_1}
+
index 958b53b617aa9c828c8f1b90c1491ced5c5bcda2..56c96a7db4fcdf8b40c02f6833ea9b6b311493c3 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj4_s1-ug-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 6  ( 35 )  Summary  = 6  ( 35 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 8  ( 8 )  Shell    = 8  ( 8 )  Face     = 105  ( 105 )   Summary  = 628  ( 628 )
-STATSHAPE   : Solid    = 11  ( 11 )  Shell    = 11  ( 11 )  Face     = 138  ( 138 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 231  ( 231 )
-TOLERANCE   : MaxTol   = 0.002131642002  ( 0.002131642024 )  AvgTol   =  3.774810572e-005  (  4.007566294e-005 )
-LABELS      : N0Labels = 13  ( 13 )  N1Labels = 15  ( 15 )  N2Labels = 0  ( 0 )   TotalLabels = 28  ( 28 )   NameLabels = 27  ( 27 )   ColorLabels = 9  ( 9 )   LayerLabels = 8  ( 8 )
-PROPS       : Centroid = 13  ( 13 )  Volume   = 13  ( 13 )  Area     = 13  ( 13 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = RED YELLOW  ( RED YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 11  ( 11 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 35 -max_faults 0
+checkxstat D_First -n0 13 -n1 15 -n2 0 -total 28 -withname 27 -withcolor 9 -withlayer 8 -centroid 13 -volume 13 -area 13 -colors { RED YELLOW } -nbcolors 2 -layers { 11 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 8 -shell 8 -face 105 -shape 628
+checkstatshape res_1 -solid 11 -shell 11 -face 138 -freewire 0 -freeedge 0 -sharededge 231
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.002131642024 -avg 4.007566294e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 35 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 13 -n1 15 -n2 0 -total 28 -withname 27 -withcolor 9 -withlayer 8 -centroid 13 -volume 13 -area 13 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 13 -n1 15 -n2 0 -total 28 -withname 27 -withcolor 9 -withlayer 8 -centroid 13 -volume 13 -area 13 -colors { RED YELLOW  } -nbcolors 2 -layers { 11  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 8 -shell 8 -face 105 -shape 628 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 11 -shell 11 -face 138 -freewire 0 -freeedge 0 -sharededge 231 -max_solid 11 -max_shell 11 -max_face 138 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.002131642002 -avg 3.774810572e-005 -max_tol ${max_tol_res_1}
+
index afb74d04a49d353aa0a3b2985fa4d9b8ae631966..a2acb8988e8bd0f0a55105dd97987de3cf56e0ad 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj5_k1-ct-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 1 )  Summary  = 1  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 58  ( 58 )  Face     = 58  ( 58 )   Summary  = 837  ( 475 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 58  ( 58 )  Face     = 58  ( 58 )   FreeWire = 0  ( 16 )   FreeEdge  = 16 ( 16 )   SharedEdge = 312  ( 165 )
-TOLERANCE   : MaxTol   = 0.0008167207419  ( 0.0009782609385 )  AvgTol   =  5.20029758e-005  (  0.0001030777287 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 58 -face 58 -shape 475
+checkstatshape res_1 -solid 0 -shell 58 -face 58 -freewire 16 -freeedge 16 -sharededge 165
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0009782609385 -avg 0.0001030777287]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 58 -face 58 -shape 837 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 58 -face 58 -freewire 0 -freeedge 16 -sharededge 312 -max_solid 0 -max_shell 58 -max_face 58 -max_freewire 16 -max_freeedge 16
+checkmaxtol res_2 -tol 0.0008167207419 -avg 5.20029758e-005 -max_tol ${max_tol_res_1}
+
index 7758e6b3fd2fc107bc0d2a61e7a41c5967087648..ddf807f801ded9594f540b3f537901f4fd738576 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename trj5_k1-ec-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 12  ( 0 )  Summary  = 12  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 47  ( 47 )  Face     = 47  ( 47 )   Summary  = 614  ( 614 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 47  ( 47 )  Face     = 47  ( 47 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 240  ( 240 )
-TOLERANCE   : MaxTol   = 0.0001716884488  ( 0.0009724780717 )  AvgTol   =  5.387053125e-006  (  7.074542139e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 47 -face 47 -shape 614
+checkstatshape res_1 -solid 0 -shell 47 -face 47 -freewire 0 -freeedge 0 -sharededge 240
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0009724780717 -avg 7.074542139e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 47 -face 47 -shape 614 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 47 -face 47 -freewire 0 -freeedge 0 -sharededge 240 -max_solid 0 -max_shell 47 -max_face 47 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0001716884488 -avg 5.387053125e-006 -max_tol ${max_tol_res_1}
+
index e2895a66571ed1dde278b295723a536450af6c3c..5b389a3c689e76e58b2264e2b99791227547d7d2 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj5_k1-id-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 15  ( 16 )  Summary  = 15  ( 16 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 46  ( 46 )   Summary  = 288  ( 288 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 46  ( 46 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 117  ( 117 )
-TOLERANCE   : MaxTol   =  0.01475036715  (  0.01475021965 )  AvgTol   =  0.0004055238368  (  0.0004055209373 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 59  ( 59 )  N2Labels = 0  ( 0 )   TotalLabels = 60  ( 60 )   NameLabels = 1  ( 1 )   ColorLabels = 60  ( 60 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = DEEPSKYBLUE2 MAGENTA1 ORANGE ORANGERED RED  ( DEEPSKYBLUE2 MAGENTA1 ORANGE ORANGERED RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+checkxstat D_First -n0 1 -n1 59 -n2 0 -total 60 -withname 1 -withcolor 60 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE2 MAGENTA1 ORANGE ORANGERED RED } -nbcolors 5 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 46 -shape 288
+checkstatshape res_1 -solid 0 -shell 1 -face 46 -freewire 0 -freeedge 0 -sharededge 117
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01475021965 -avg 0.0004055209373]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 15 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 59 -n2 0 -total 60 -withname 1 -withcolor 60 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 59 -n2 0 -total 60 -withname 1 -withcolor 60 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE2 MAGENTA1 ORANGE ORANGERED RED  } -nbcolors 5 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 46 -shape 288 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 46 -freewire 0 -freeedge 0 -sharededge 117 -max_solid 0 -max_shell 1 -max_face 46 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01475036715 -avg 0.0004055238368 -max_tol ${max_tol_res_1}
+
index eb5c10a3068218f5ebacc0d6c2a694b2032e8feb..6cb51c05d0e5b12442445f0b52575ef107cf9a88 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj5_k1-pe-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 52  ( 52 )   Summary  = 335  ( 335 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 52  ( 52 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 138  ( 138 )
-TOLERANCE   : MaxTol   = 0.003855414315  ( 0.005725189017 )  AvgTol   =  0.001273937187  (  0.001970808103 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 52 -shape 335
+checkstatshape res_1 -solid 0 -shell 1 -face 52 -freewire 0 -freeedge 0 -sharededge 138
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.005725189017 -avg 0.001970808103]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 52 -shape 335 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 52 -freewire 0 -freeedge 0 -sharededge 138 -max_solid 0 -max_shell 1 -max_face 52 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003855414315 -avg 0.001273937187 -max_tol ${max_tol_res_1}
+
index 211f0d56be88e4e4542f1bde2f83fb623005db66..42782d8273c4d52e136ea659fedcf3b7b8bc6e5e 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj5_k1-pe-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 52  ( 52 )   Summary  = 335  ( 335 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 52  ( 52 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 138  ( 138 )
-TOLERANCE   : MaxTol   = 0.003855414315  ( 0.005725189017 )  AvgTol   =  0.001273937187  (  0.001970808103 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 1 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 52 -shape 335
+checkstatshape res_1 -solid 0 -shell 1 -face 52 -freewire 0 -freeedge 0 -sharededge 138
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.005725189017 -avg 0.001970808103]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 1 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 1 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 52 -shape 335 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 52 -freewire 0 -freeedge 0 -sharededge 138 -max_solid 0 -max_shell 1 -max_face 52 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003855414315 -avg 0.001273937187 -max_tol ${max_tol_res_1}
+
index 4ec316cbed49437c38eb78bc829bc05bf7df1583..82e2ad9d2b93f34cfbd066524054f8c6d53fb8ff 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj5_k1-tc-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 3  ( 3 )  Summary  = 3  ( 3 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 59  ( 59 )  Face     = 59  ( 59 )   Summary  = 787  ( 787 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 59  ( 59 )  Face     = 59  ( 59 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 304  ( 304 )
-TOLERANCE   : MaxTol   = 0.003826736784  ( 0.003826736784 )  AvgTol   =  0.0001420064455  (  0.0001420064456 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 59  ( 59 )  N2Labels = 0  ( 0 )   TotalLabels = 60  ( 60 )   NameLabels = 1  ( 1 )   ColorLabels = 59  ( 59 )   LayerLabels = 59  ( 59 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = YELLOW2 YELLOW3 YELLOW4  ( YELLOW2 YELLOW3 YELLOW4 )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = 001 002 003  ( 001 002 003 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+checkxstat D_First -n0 1 -n1 59 -n2 0 -total 60 -withname 1 -withcolor 59 -withlayer 59 -centroid 0 -volume 0 -area 0 -colors { YELLOW2 YELLOW3 YELLOW4 } -nbcolors 3 -layers { 001 002 003 } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 59 -face 59 -shape 787
+checkstatshape res_1 -solid 0 -shell 59 -face 59 -freewire 0 -freeedge 0 -sharededge 304
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.003826736784 -avg 0.0001420064456]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 59 -n2 0 -total 60 -withname 1 -withcolor 59 -withlayer 59 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 59 -n2 0 -total 60 -withname 1 -withcolor 59 -withlayer 59 -centroid 0 -volume 0 -area 0 -colors { YELLOW2 YELLOW3 YELLOW4  } -nbcolors 3 -layers { 001 002 003  } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 59 -face 59 -shape 787 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 59 -face 59 -freewire 0 -freeedge 0 -sharededge 304 -max_solid 0 -max_shell 59 -max_face 59 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003826736784 -avg 0.0001420064455 -max_tol ${max_tol_res_1}
+
index d3898b55fa10dcfa5463bde4c41e167c8779975e..7711eb9cc1184d14a168abe5f96ea6962b4420df 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename trj5_pm3-ct-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 17  ( 7 )  Summary  = 17  ( 7 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 124  ( 124 )   Summary  = 774  ( 774 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 124  ( 124 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 314  ( 314 )
-TOLERANCE   : MaxTol   = 0.002741067574  ( 0.002741067574 )  AvgTol   =  5.224860755e-005  (  5.209425758e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 124 -shape 774
+checkstatshape res_1 -solid 1 -shell 1 -face 124 -freewire 0 -freeedge 0 -sharededge 314
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.002741067574 -avg 5.209425758e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 17 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 124 -shape 774 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 124 -freewire 0 -freeedge 0 -sharededge 314 -max_solid 1 -max_shell 1 -max_face 124 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.002741067574 -avg 5.224860755e-005 -max_tol ${max_tol_res_1}
+
index eacbee73ade3ea153bb61d490f8a2a2fabad93b6..1bdf07f038aafd65074d37378d1f91f9a9c1ad59 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj5_s1-ac-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 21 )  Warnings = 0  ( 0 )  Summary  = 0  ( 21 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 4 )  Summary  = 4  ( 4 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 8  ( 8 )  Shell    = 8  ( 8 )  Face     = 100  ( 100 )   Summary  = 647  ( 647 )
-STATSHAPE   : Solid    = 11  ( 11 )  Shell    = 11  ( 11 )  Face     = 138  ( 138 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 252  ( 252 )
-TOLERANCE   : MaxTol   = 0.0006410834224  ( 0.0006410834197 )  AvgTol   =  1.715299862e-05  (  1.715299856e-05 )
-LABELS      : N0Labels = 13  ( 13 )  N1Labels = 14  ( 14 )  N2Labels = 0  ( 0 )   TotalLabels = 27  ( 27 )   NameLabels = 27  ( 27 )   ColorLabels = 8  ( 8 )   LayerLabels = 8  ( 8 )
-PROPS       : Centroid = 13  ( 13 )  Volume   = 13  ( 13 )  Area     = 13  ( 13 )
-NCOLORS     : NColors  = 8  ( 8 )
-COLORS      : Colors   = BLUE1 CYAN1 DARKGOLDENROD1 GREEN LIGHTPINK4 RED TURQUOISE4 YELLOW  ( BLUE1 CYAN1 DARKGOLDENROD1 GREEN LIGHTPINK4 RED TURQUOISE4 YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 21
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 13 -n1 14 -n2 0 -total 27 -withname 27 -withcolor 8 -withlayer 8 -centroid 13 -volume 13 -area 13 -colors { BLUE1 CYAN1 DARKGOLDENROD1 GREEN LIGHTPINK4 RED TURQUOISE4 YELLOW } -nbcolors 8 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 8 -shell 8 -face 100 -shape 647
+checkstatshape res_1 -solid 11 -shell 11 -face 138 -freewire 0 -freeedge 0 -sharededge 252
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0006410834197 -avg 1.715299856e-05]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 21
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 13 -n1 14 -n2 0 -total 27 -withname 27 -withcolor 8 -withlayer 8 -centroid 13 -volume 13 -area 13 -nbcolors 8 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 13 -n1 14 -n2 0 -total 27 -withname 27 -withcolor 8 -withlayer 8 -centroid 13 -volume 13 -area 13 -colors { BLUE1 CYAN1 DARKGOLDENROD1 GREEN LIGHTPINK4 RED TURQUOISE4 YELLOW  } -nbcolors 8 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 8 -shell 8 -face 100 -shape 647 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 11 -shell 11 -face 138 -freewire 0 -freeedge 0 -sharededge 252 -max_solid 11 -max_shell 11 -max_face 138 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0006410834224 -avg 1.715299862e-05 -max_tol ${max_tol_res_1}
+
index 6d05cd0cc312959d5dd8d50081f20aae767f9f54..5cc2eceaacb7652c2f39b37d2443d43328bcde67 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj5_s1-in-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 8  ( 9 )  Summary  = 8  ( 9 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 8  ( 8 )  Shell    = 8  ( 8 )  Face     = 108  ( 108 )   Summary  = 689  ( 689 )
-STATSHAPE   : Solid    = 11  ( 11 )  Shell    = 11  ( 11 )  Face     = 146  ( 146 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 270  ( 270 )
-TOLERANCE   : MaxTol   = 0.0006380410651  ( 0.0006380410622 )  AvgTol   =  1.220932663e-005  (  1.22093266e-005 )
-LABELS      : N0Labels = 13  ( 13 )  N1Labels = 14  ( 14 )  N2Labels = 0  ( 0 )   TotalLabels = 27  ( 27 )   NameLabels = 27  ( 27 )   ColorLabels = 8  ( 8 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 8  ( 8 )
-COLORS      : Colors   = BLUE3 CYAN1 DEEPSKYBLUE3 INDIANRED2 RED3 SANDYBROWN SPRINGGREEN3 YELLOW3  ( BLUE3 CYAN1 DEEPSKYBLUE3 INDIANRED2 RED3 SANDYBROWN SPRINGGREEN3 YELLOW3 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+checkxstat D_First -n0 13 -n1 14 -n2 0 -total 27 -withname 27 -withcolor 8 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE3 CYAN1 DEEPSKYBLUE3 INDIANRED2 RED3 SANDYBROWN SPRINGGREEN3 YELLOW3 } -nbcolors 8 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 8 -shell 8 -face 108 -shape 689
+checkstatshape res_1 -solid 11 -shell 11 -face 146 -freewire 0 -freeedge 0 -sharededge 270
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0006380410622 -avg 1.22093266e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 13 -n1 14 -n2 0 -total 27 -withname 27 -withcolor 8 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 8 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 13 -n1 14 -n2 0 -total 27 -withname 27 -withcolor 8 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE3 CYAN1 DEEPSKYBLUE3 INDIANRED2 RED3 SANDYBROWN SPRINGGREEN3 YELLOW3  } -nbcolors 8 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 8 -shell 8 -face 108 -shape 689 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 11 -shell 11 -face 146 -freewire 0 -freeedge 0 -sharededge 270 -max_solid 11 -max_shell 11 -max_face 146 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0006380410651 -avg 1.220932663e-005 -max_tol ${max_tol_res_1}
+
index 20f581962b08454d1543626c82703d4e2c828416..77d133e6a91cbe33b4f1ca49c7d835a6cc23845f 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj5_s1-ug-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 6  ( 35 )  Summary  = 6  ( 35 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 8  ( 8 )  Shell    = 8  ( 8 )  Face     = 105  ( 105 )   Summary  = 628  ( 628 )
-STATSHAPE   : Solid    = 11  ( 11 )  Shell    = 11  ( 11 )  Face     = 138  ( 138 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 231  ( 231 )
-TOLERANCE   : MaxTol   = 0.002131642002  ( 0.002131642024 )  AvgTol   =  3.774810572e-005  (  4.007566294e-005 )
-LABELS      : N0Labels = 13  ( 13 )  N1Labels = 15  ( 15 )  N2Labels = 0  ( 0 )   TotalLabels = 28  ( 28 )   NameLabels = 27  ( 27 )   ColorLabels = 9  ( 9 )   LayerLabels = 8  ( 8 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = RED YELLOW  ( RED YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 11  ( 11 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 35 -max_faults 0
+checkxstat D_First -n0 13 -n1 15 -n2 0 -total 28 -withname 27 -withcolor 9 -withlayer 8 -centroid 0 -volume 0 -area 0 -colors { RED YELLOW } -nbcolors 2 -layers { 11 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 8 -shell 8 -face 105 -shape 628
+checkstatshape res_1 -solid 11 -shell 11 -face 138 -freewire 0 -freeedge 0 -sharededge 231
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.002131642024 -avg 4.007566294e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 35 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 13 -n1 15 -n2 0 -total 28 -withname 27 -withcolor 9 -withlayer 8 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 13 -n1 15 -n2 0 -total 28 -withname 27 -withcolor 9 -withlayer 8 -centroid 0 -volume 0 -area 0 -colors { RED YELLOW  } -nbcolors 2 -layers { 11  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 8 -shell 8 -face 105 -shape 628 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 11 -shell 11 -face 138 -freewire 0 -freeedge 0 -sharededge 231 -max_solid 11 -max_shell 11 -max_face 138 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.002131642002 -avg 3.774810572e-005 -max_tol ${max_tol_res_1}
+
index 47189c421f9d25e2a72caf51e29e2395f4a2bd24..296d191762ba4d0224bcda15fc4d3607e52265e5 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_as1-hc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 14 )  Summary  = 0  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 39  ( 39 )   Summary  = 275  ( 275 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 125  ( 125 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 91  ( 91 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  (         1e-005 )  AvgTol   =  1.00006917e-007  (  2.879948407e-006 )
-LABELS      : N0Labels = 15  ( 15 )  N1Labels = 66  ( 66 )  N2Labels = 0  ( 0 )   TotalLabels = 81  ( 81 )   NameLabels = 42  ( 42 )   ColorLabels = 39  ( 39 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 5  ( 5 )  Volume   = 5  ( 5 )  Area     = 5  ( 5 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 GREEN RED  ( BLUE1 GREEN RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 15 -n1 66 -n2 0 -total 81 -withname 42 -withcolor 39 -withlayer 0 -centroid 5 -volume 5 -area 5 -colors { BLUE1 GREEN RED } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 39 -shape 275
+checkstatshape res_1 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 91
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 2.879948407e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 15 -n1 66 -n2 0 -total 81 -withname 42 -withcolor 39 -withlayer 0 -centroid 5 -volume 5 -area 5 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 15 -n1 66 -n2 0 -total 81 -withname 42 -withcolor 39 -withlayer 0 -centroid 5 -volume 5 -area 5 -colors { BLUE1 GREEN RED  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 39 -shape 275 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 91 -max_solid 18 -max_shell 18 -max_face 125 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00006917e-007 -max_tol ${max_tol_res_1}
+
index dfe2688d876217393512d4c028d601869b2f66c9..d9088926fb8c45900817ac4cca60d7a70efef537 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_k1-ct-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 6  ( 10 )  Summary  = 6  ( 10 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 62  ( 62 )   Summary  = 387  ( 387 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 62  ( 62 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 157  ( 157 )
-TOLERANCE   : MaxTol   = 0.0003235964851  ( 0.0003235964851 )  AvgTol   =  2.884536783e-005  (  2.895438261e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 62 -shape 387
+checkstatshape res_1 -solid 0 -shell 1 -face 62 -freewire 0 -freeedge 0 -sharededge 157
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0003235964851 -avg 2.895438261e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 62 -shape 387 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 62 -freewire 0 -freeedge 0 -sharededge 157 -max_solid 0 -max_shell 1 -max_face 62 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0003235964851 -avg 2.884536783e-005 -max_tol ${max_tol_res_1}
+
index c3b986817c36c26c4fe662f92de3f9f860b89b8d..25a917b983d922a7f797efb2897ce50157132371 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_k1-ct-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 6  ( 10 )  Summary  = 6  ( 10 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 62  ( 62 )   Summary  = 387  ( 387 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 62  ( 62 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 157  ( 157 )
-TOLERANCE   : MaxTol   = 0.0005893670486  ( 0.0005893670486 )  AvgTol   =  4.282230104e-005  (  4.293131589e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = YELLOW  ( YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { YELLOW } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 62 -shape 387
+checkstatshape res_1 -solid 0 -shell 1 -face 62 -freewire 0 -freeedge 0 -sharededge 157
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0005893670486 -avg 4.293131589e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { YELLOW  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 62 -shape 387 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 62 -freewire 0 -freeedge 0 -sharededge 157 -max_solid 0 -max_shell 1 -max_face 62 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0005893670486 -avg 4.282230104e-005 -max_tol ${max_tol_res_1}
+
index af66f6f4bef32c109d822ccbc790138f5af79205..362c93ddf3879a0a9bbe35233565ba7754caeeff 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_k1-id-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 15  ( 16 )  Summary  = 15  ( 16 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 46  ( 46 )   Summary  = 288  ( 288 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 46  ( 46 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 117  ( 117 )
-TOLERANCE   : MaxTol   =  0.01475036715  (  0.01475021965 )  AvgTol   =  0.0004055238368  (  0.0004055209373 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 46 -shape 288
+checkstatshape res_1 -solid 0 -shell 1 -face 46 -freewire 0 -freeedge 0 -sharededge 117
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01475021965 -avg 0.0004055209373]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 15 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 46 -shape 288 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 46 -freewire 0 -freeedge 0 -sharededge 117 -max_solid 0 -max_shell 1 -max_face 46 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01475036715 -avg 0.0004055238368 -max_tol ${max_tol_res_1}
+
index 8ee0b48de4229abea111d1329ad94f54eef8e6b8..0893fe737ad54f286bc15120cc2f09998d405136 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_k1-pe-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 52  ( 52 )   Summary  = 336  ( 336 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 52  ( 52 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 138  ( 138 )
-TOLERANCE   : MaxTol   = 0.005901949404  ( 0.008046615145 )  AvgTol   =  0.0002996481595  (  0.0008772134802 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 52 -shape 336
+checkstatshape res_1 -solid 1 -shell 1 -face 52 -freewire 0 -freeedge 0 -sharededge 138
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.008046615145 -avg 0.0008772134802]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 52 -shape 336 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 52 -freewire 0 -freeedge 0 -sharededge 138 -max_solid 1 -max_shell 1 -max_face 52 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.005901949404 -avg 0.0002996481595 -max_tol ${max_tol_res_1}
+
index 4ca89019571dd7c33a8449b3d11058fb6322afdb..34a07711d8b696b7a457c3ce13c84c9d76c44e23 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_k1-pe-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 52  ( 52 )   Summary  = 336  ( 336 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 52  ( 52 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 138  ( 138 )
-TOLERANCE   : MaxTol   = 0.005901949404  ( 0.008046615145 )  AvgTol   =  0.0002996481595  (  0.0008772134802 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 52 -shape 336
+checkstatshape res_1 -solid 1 -shell 1 -face 52 -freewire 0 -freeedge 0 -sharededge 138
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.008046615145 -avg 0.0008772134802]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 52 -shape 336 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 52 -freewire 0 -freeedge 0 -sharededge 138 -max_solid 1 -max_shell 1 -max_face 52 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.005901949404 -avg 0.0002996481595 -max_tol ${max_tol_res_1}
+
index 8c95344af5b99db68b7bf6409e1bde7ffbeec01c..9fd3f4c41b58cf15b890b12948fad59ac53db76d 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_k1-sd-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 2  ( 2 )  Face     = 57  ( 57 )   Summary  = 363  ( 363 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 2  ( 2 )  Face     = 57  ( 57 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 147  ( 147 )
-TOLERANCE   : MaxTol   = 4.531032216e-007  ( 4.53103015e-007 )  AvgTol   =  1.197112472e-007  (  1.197112451e-007 )
-LABELS      : N0Labels = 4  ( 4 )  N1Labels = 3  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 7  ( 7 )   NameLabels = 7  ( 7 )   ColorLabels = 2  ( 2 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MEDIUMTURQUOISE  ( MEDIUMTURQUOISE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 4 -n1 3 -n2 0 -total 7 -withname 7 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MEDIUMTURQUOISE } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 2 -face 57 -shape 363
+checkstatshape res_1 -solid 0 -shell 2 -face 57 -freewire 0 -freeedge 0 -sharededge 147
+set max_tol_res_1 [checkmaxtol res_1 -tol 4.53103015e-007 -avg 1.197112451e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4 -n1 3 -n2 0 -total 7 -withname 7 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 3 -n2 0 -total 7 -withname 7 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MEDIUMTURQUOISE  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 2 -face 57 -shape 363 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 2 -face 57 -freewire 0 -freeedge 0 -sharededge 147 -max_solid 0 -max_shell 2 -max_face 57 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 4.531032216e-007 -avg 1.197112472e-007 -max_tol ${max_tol_res_1}
+
index 9cb1ca9a230cc2570b6287e848ad7d387af7dfa3..3d53855dd4ad4dbc4053d39d46540bf5fcd5670a 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_k1-ug-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 9 )  Summary  = 0  ( 9 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 44  ( 44 )  Face     = 44  ( 44 )   Summary  = 559  ( 559 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 44  ( 44 )  Face     = 44  ( 44 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 217  ( 217 )
-TOLERANCE   : MaxTol   = 0.004260881238  ( 0.004260881238 )  AvgTol   =  0.0001729387338  (  0.0001739274842 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 44  ( 44 )  N2Labels = 0  ( 0 )   TotalLabels = 45  ( 45 )   NameLabels = 1  ( 1 )   ColorLabels = 44  ( 44 )   LayerLabels = 44  ( 44 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+checkxstat D_First -n0 1 -n1 44 -n2 0 -total 45 -withname 1 -withcolor 44 -withlayer 44 -centroid 0 -volume 0 -area 0 -colors { GREEN } -nbcolors 1 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 44 -face 44 -shape 559
+checkstatshape res_1 -solid 0 -shell 44 -face 44 -freewire 0 -freeedge 0 -sharededge 217
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.004260881238 -avg 0.0001739274842]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 44 -n2 0 -total 45 -withname 1 -withcolor 44 -withlayer 44 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 44 -n2 0 -total 45 -withname 1 -withcolor 44 -withlayer 44 -centroid 0 -volume 0 -area 0 -colors { GREEN  } -nbcolors 1 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 44 -face 44 -shape 559 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 44 -face 44 -freewire 0 -freeedge 0 -sharededge 217 -max_solid 0 -max_shell 44 -max_face 44 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.004260881238 -avg 0.0001729387338 -max_tol ${max_tol_res_1}
+
index c7111322f4037111cf2e148329a19c3822a54baa..cf411dc19f2425bbec98cf8fd8c5c2755ff33081 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_pm4-ug-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 2 )  Summary  = 2  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 70  ( 70 )   Summary  = 427  ( 427 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 70  ( 70 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 176  ( 176 )
-TOLERANCE   : MaxTol   = 0.006057322867  (  0.01790682739 )  AvgTol   =  0.0009755900047  (  0.002119269064 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 70 -shape 427
+checkstatshape res_1 -solid 1 -shell 1 -face 70 -freewire 0 -freeedge 0 -sharededge 176
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01790682739 -avg 0.002119269064]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 70 -shape 427 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 70 -freewire 0 -freeedge 0 -sharededge 176 -max_solid 1 -max_shell 1 -max_face 70 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.006057322867 -avg 0.0009755900047 -max_tol ${max_tol_res_1}
+
index f3c937837ac6a18cc2711a95112a3e720914e4c5..645b24d37070e07f2c76fdc9eca03e82fbae910e 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj7_AS1HCo.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 14 )  Summary  = 0  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 39  ( 39 )   Summary  = 275  ( 275 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 125  ( 125 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 91  ( 91 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  (         1e-005 )  AvgTol   =  1.00006917e-007  (  2.879948407e-006 )
-LABELS      : N0Labels = 15  ( 15 )  N1Labels = 27  ( 27 )  N2Labels = 0  ( 0 )   TotalLabels = 42  ( 42 )   NameLabels = 42  ( 42 )   ColorLabels = 5  ( 5 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 15  ( 15 )  Volume   = 15  ( 15 )  Area     = 15  ( 15 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 GREEN RED  ( BLUE1 GREEN RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 15 -n1 27 -n2 0 -total 42 -withname 42 -withcolor 5 -withlayer 0 -centroid 15 -volume 15 -area 15 -colors { BLUE1 GREEN RED } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 39 -shape 275
+checkstatshape res_1 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 91
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 2.879948407e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 15 -n1 27 -n2 0 -total 42 -withname 42 -withcolor 5 -withlayer 0 -centroid 15 -volume 15 -area 15 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 15 -n1 27 -n2 0 -total 42 -withname 42 -withcolor 5 -withlayer 0 -centroid 15 -volume 15 -area 15 -colors { BLUE1 GREEN RED  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 39 -shape 275 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 91 -max_solid 18 -max_shell 18 -max_face 125 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00006917e-007 -max_tol ${max_tol_res_1}
+
index c4b5ff219000598c4b91a2ea307fc590fa33fcbc..ba9a48c0a3e659c15099c2e71b877a94b353d925 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj7_as1-hc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 14 )  Summary  = 0  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 39  ( 39 )   Summary  = 275  ( 275 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 125  ( 125 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 91  ( 91 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  (         1e-005 )  AvgTol   =  1.00006917e-007  (  2.879948407e-006 )
-LABELS      : N0Labels = 15  ( 15 )  N1Labels = 35  ( 35 )  N2Labels = 0  ( 0 )   TotalLabels = 50  ( 50 )   NameLabels = 42  ( 42 )   ColorLabels = 13  ( 13 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 6  ( 6 )  Volume   = 6  ( 6 )  Area     = 6  ( 6 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 GREEN RED  ( BLUE1 GREEN RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 15 -n1 35 -n2 0 -total 50 -withname 42 -withcolor 13 -withlayer 0 -centroid 6 -volume 6 -area 6 -colors { BLUE1 GREEN RED } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 39 -shape 275
+checkstatshape res_1 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 91
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 2.879948407e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 15 -n1 35 -n2 0 -total 50 -withname 42 -withcolor 13 -withlayer 0 -centroid 6 -volume 6 -area 6 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 15 -n1 35 -n2 0 -total 50 -withname 42 -withcolor 13 -withlayer 0 -centroid 6 -volume 6 -area 6 -colors { BLUE1 GREEN RED  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 39 -shape 275 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 91 -max_solid 18 -max_shell 18 -max_face 125 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00006917e-007 -max_tol ${max_tol_res_1}
+
index e30754dc6971924246541ddca8d21906bab2e2f9..48ef9ada908772a50c596fc057b54ed6d685a92b 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj7_k1-ac-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 29  ( 39 )  Summary  = 29  ( 39 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 2  ( 2 )  Face     = 76  ( 76 )   Summary  = 476  ( 476 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 2  ( 2 )  Face     = 76  ( 76 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 194  ( 194 )
-TOLERANCE   : MaxTol   =  0.01009527272  (  0.01009527272 )  AvgTol   =   0.00119328063  (  0.001195936805 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 1  ( 1 )  N2Labels = 0  ( 0 )   TotalLabels = 3  ( 3 )   NameLabels = 3  ( 3 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 39 -max_faults 0
+checkxstat D_First -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 2 -face 76 -shape 476
+checkstatshape res_1 -solid 0 -shell 2 -face 76 -freewire 0 -freeedge 0 -sharededge 194
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01009527272 -avg 0.001195936805]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 39 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 29 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 2 -face 76 -shape 476 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 2 -face 76 -freewire 0 -freeedge 0 -sharededge 194 -max_solid 0 -max_shell 2 -max_face 76 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01009527272 -avg 0.00119328063 -max_tol ${max_tol_res_1}
+
index 8d696691e622057b0cfd7b8dd869eb5e3a79a61d..e58a29cecbe808e27b1a801f0c75f06b423af645 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj7_k1-ct-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 58  ( 58 )   Summary  = 367  ( 367 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 58  ( 58 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 149  ( 149 )
-TOLERANCE   : MaxTol   = 0.0004768443614  ( 0.0004768443614 )  AvgTol   =  6.422584066e-005  (  6.422994218e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 58 -shape 367
+checkstatshape res_1 -solid 0 -shell 1 -face 58 -freewire 0 -freeedge 0 -sharededge 149
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0004768443614 -avg 6.422994218e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 58 -shape 367 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 58 -freewire 0 -freeedge 0 -sharededge 149 -max_solid 0 -max_shell 1 -max_face 58 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0004768443614 -avg 6.422584066e-005 -max_tol ${max_tol_res_1}
+
index 7b94bda28d8f55af63630006349d4230f62bd281..734aa1ea0e0ad8f9fb960c3cf19a3ebf40467676 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj7_k1-pe-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 52  ( 52 )   Summary  = 335  ( 335 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 52  ( 52 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 138  ( 138 )
-TOLERANCE   : MaxTol   = 0.005901949404  ( 0.008046615145 )  AvgTol   =  0.0002996481595  (  0.0008772134802 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 1 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 52 -shape 335
+checkstatshape res_1 -solid 0 -shell 1 -face 52 -freewire 0 -freeedge 0 -sharededge 138
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.008046615145 -avg 0.0008772134802]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 1 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 1 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 52 -shape 335 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 52 -freewire 0 -freeedge 0 -sharededge 138 -max_solid 0 -max_shell 1 -max_face 52 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.005901949404 -avg 0.0002996481595 -max_tol ${max_tol_res_1}
+
index 31ec0bee4e72f57acb57199e6d5e7acb8efc7e97..3e37e04e512033d9962aa1a4912d8d063323505f 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj7_k1-pe-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 52  ( 52 )   Summary  = 335  ( 335 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 52  ( 52 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 138  ( 138 )
-TOLERANCE   : MaxTol   = 0.005901949404  ( 0.008046615145 )  AvgTol   =  0.0002996481595  (  0.0008772134802 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 1 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 52 -shape 335
+checkstatshape res_1 -solid 0 -shell 1 -face 52 -freewire 0 -freeedge 0 -sharededge 138
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.008046615145 -avg 0.0008772134802]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 1 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 1 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 52 -shape 335 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 52 -freewire 0 -freeedge 0 -sharededge 138 -max_solid 0 -max_shell 1 -max_face 52 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.005901949404 -avg 0.0002996481595 -max_tol ${max_tol_res_1}
+
index 75f484be1b29dd6a19d02c634c061401a4d80b0e..f3b373ce5b88cc93df1b3c6b1b9dc9570b5b14db 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj7_k1-ug-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 9 )  Summary  = 0  ( 9 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 44  ( 44 )  Face     = 44  ( 44 )   Summary  = 559  ( 559 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 44  ( 44 )  Face     = 44  ( 44 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 217  ( 217 )
-TOLERANCE   : MaxTol   = 0.004260881238  ( 0.004260881238 )  AvgTol   =  0.0001729387338  (  0.0001739274842 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 44  ( 44 )  N2Labels = 0  ( 0 )   TotalLabels = 45  ( 45 )   NameLabels = 1  ( 1 )   ColorLabels = 44  ( 44 )   LayerLabels = 44  ( 44 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+checkxstat D_First -n0 1 -n1 44 -n2 0 -total 45 -withname 1 -withcolor 44 -withlayer 44 -centroid 0 -volume 0 -area 0 -colors { GREEN } -nbcolors 1 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 44 -face 44 -shape 559
+checkstatshape res_1 -solid 0 -shell 44 -face 44 -freewire 0 -freeedge 0 -sharededge 217
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.004260881238 -avg 0.0001739274842]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 44 -n2 0 -total 45 -withname 1 -withcolor 44 -withlayer 44 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 44 -n2 0 -total 45 -withname 1 -withcolor 44 -withlayer 44 -centroid 0 -volume 0 -area 0 -colors { GREEN  } -nbcolors 1 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 44 -face 44 -shape 559 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 44 -face 44 -freewire 0 -freeedge 0 -sharededge 217 -max_solid 0 -max_shell 44 -max_face 44 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.004260881238 -avg 0.0001729387338 -max_tol ${max_tol_res_1}
+
index 1d120dbf8bb9e72ca3b590c27e96c097b3a37a0f..8043a58f5acfbf01f79f4eaaf656a247a8a1ef3d 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj8_k1-ac-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 29  ( 39 )  Summary  = 29  ( 39 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 2  ( 2 )  Shell    = 2  ( 2 )  Face     = 76  ( 76 )   Summary  = 478  ( 478 )
-STATSHAPE   : Solid    = 2  ( 2 )  Shell    = 2  ( 2 )  Face     = 76  ( 76 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 194  ( 194 )
-TOLERANCE   : MaxTol   =  0.01009527272  (  0.01009527272 )  AvgTol   =   0.00119328063  (  0.001195936805 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 1  ( 1 )  N2Labels = 0  ( 0 )   TotalLabels = 3  ( 3 )   NameLabels = 3  ( 3 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 39 -max_faults 0
+checkxstat D_First -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 2 -shell 2 -face 76 -shape 478
+checkstatshape res_1 -solid 2 -shell 2 -face 76 -freewire 0 -freeedge 0 -sharededge 194
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01009527272 -avg 0.001195936805]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 39 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 29 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 2 -shell 2 -face 76 -shape 478 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 2 -shell 2 -face 76 -freewire 0 -freeedge 0 -sharededge 194 -max_solid 2 -max_shell 2 -max_face 76 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01009527272 -avg 0.00119328063 -max_tol ${max_tol_res_1}
+
index 65a1c69ead75006d4606da67f157f26382d33d56..b95afa218f3567e52c31ec9b7e4cb3f39ffb1c67 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj8_k1-ct-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 58  ( 58 )   Summary  = 367  ( 367 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 58  ( 58 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 149  ( 149 )
-TOLERANCE   : MaxTol   = 0.0004768443614  ( 0.0004768443614 )  AvgTol   =  6.422584066e-005  (  6.422994218e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 58 -shape 367
+checkstatshape res_1 -solid 0 -shell 1 -face 58 -freewire 0 -freeedge 0 -sharededge 149
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0004768443614 -avg 6.422994218e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 58 -shape 367 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 58 -freewire 0 -freeedge 0 -sharededge 149 -max_solid 0 -max_shell 1 -max_face 58 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0004768443614 -avg 6.422584066e-005 -max_tol ${max_tol_res_1}
+
index 7ed486929632af52545ce3111ff276a609ded4a3..dc6a0b49f53dc740246332c849a282777680652f 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj8_k1-ct-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 58  ( 58 )   Summary  = 367  ( 367 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 58  ( 58 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 149  ( 149 )
-TOLERANCE   : MaxTol   = 0.0004768443614  ( 0.0004768443614 )  AvgTol   =  6.422584066e-005  (  6.422994218e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = LIGHTSTEELBLUE1  ( LIGHTSTEELBLUE1 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { LIGHTSTEELBLUE1 } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 58 -shape 367
+checkstatshape res_1 -solid 0 -shell 1 -face 58 -freewire 0 -freeedge 0 -sharededge 149
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0004768443614 -avg 6.422994218e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { LIGHTSTEELBLUE1  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 58 -shape 367 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 58 -freewire 0 -freeedge 0 -sharededge 149 -max_solid 0 -max_shell 1 -max_face 58 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0004768443614 -avg 6.422584066e-005 -max_tol ${max_tol_res_1}
+
index 7c3a1a1c4781f18eca2d14c00c2a8d4a0a5c4265..c9003b71fada5a0497aa350d7a8602e7bd2d4fda 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj8_k1-pe-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 52  ( 52 )   Summary  = 335  ( 335 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 52  ( 52 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 138  ( 138 )
-TOLERANCE   : MaxTol   = 0.005901949404  ( 0.008046615145 )  AvgTol   =  0.0002996481595  (  0.0008772134802 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 1 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 52 -shape 335
+checkstatshape res_1 -solid 0 -shell 1 -face 52 -freewire 0 -freeedge 0 -sharededge 138
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.008046615145 -avg 0.0008772134802]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 1 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 1 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 52 -shape 335 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 52 -freewire 0 -freeedge 0 -sharededge 138 -max_solid 0 -max_shell 1 -max_face 52 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.005901949404 -avg 0.0002996481595 -max_tol ${max_tol_res_1}
+
index 4b6783440c298ecac7e974125742cbc94d8dfc08..1a5b47df9057bfdd471f00cd5528ccf663089716 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj8_k1-ug-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 9 )  Summary  = 0  ( 9 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 44  ( 44 )  Face     = 44  ( 44 )   Summary  = 559  ( 559 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 44  ( 44 )  Face     = 44  ( 44 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 217  ( 217 )
-TOLERANCE   : MaxTol   = 0.004260881238  ( 0.004260881238 )  AvgTol   =  0.0001729387338  (  0.0001739274842 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 44  ( 44 )  N2Labels = 0  ( 0 )   TotalLabels = 45  ( 45 )   NameLabels = 1  ( 1 )   ColorLabels = 44  ( 44 )   LayerLabels = 44  ( 44 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+checkxstat D_First -n0 1 -n1 44 -n2 0 -total 45 -withname 1 -withcolor 44 -withlayer 44 -centroid 0 -volume 0 -area 0 -colors { GREEN } -nbcolors 1 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 44 -face 44 -shape 559
+checkstatshape res_1 -solid 0 -shell 44 -face 44 -freewire 0 -freeedge 0 -sharededge 217
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.004260881238 -avg 0.0001739274842]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 44 -n2 0 -total 45 -withname 1 -withcolor 44 -withlayer 44 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 44 -n2 0 -total 45 -withname 1 -withcolor 44 -withlayer 44 -centroid 0 -volume 0 -area 0 -colors { GREEN  } -nbcolors 1 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 44 -face 44 -shape 559 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 44 -face 44 -freewire 0 -freeedge 0 -sharededge 217 -max_solid 0 -max_shell 44 -max_face 44 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.004260881238 -avg 0.0001729387338 -max_tol ${max_tol_res_1}
+
index c9f3bd321c832ad69cf273e7cc7b4ff1bc2ca190..f5e6f256363fc40c93be616af8dc6a1efcc8da70 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj9_ap209-td.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 1 )  Summary  = 1  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 29  ( 29 )   Summary  = 196  ( 196 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 29  ( 29 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 79  ( 79 )
-TOLERANCE   : MaxTol   = 0.008505837499  ( 0.008990884097 )  AvgTol   =  0.0006165797526  (  0.000651503134 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 29 -shape 196
+checkstatshape res_1 -solid 1 -shell 1 -face 29 -freewire 0 -freeedge 0 -sharededge 79
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.008990884097 -avg 0.000651503134]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 29 -shape 196 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 29 -freewire 0 -freeedge 0 -sharededge 79 -max_solid 1 -max_shell 1 -max_face 29 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.008505837499 -avg 0.0006165797526 -max_tol ${max_tol_res_1}
+
index cdb3fc600bd4deaec51f8fe6da0e1aef31d9f3c1..6fb3d4e6082df0f26ae28d80839741cf0ec14f5e 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj9_b2-ug-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 34 )  Summary  = 4  ( 34 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 216  ( 216 )   Summary  = 1421  ( 1421 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 216  ( 216 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 588  ( 588 )
-TOLERANCE   : MaxTol   = 0.007909701545  (  0.01677199988 )  AvgTol   =  0.0006487127928  (  0.0008020095458 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = INDIANRED1  ( INDIANRED1 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 34 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { INDIANRED1 } -nbcolors 1 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 216 -shape 1421
+checkstatshape res_1 -solid 1 -shell 1 -face 216 -freewire 0 -freeedge 0 -sharededge 588
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01677199988 -avg 0.0008020095458]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 34 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { INDIANRED1  } -nbcolors 1 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 216 -shape 1421 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 216 -freewire 0 -freeedge 0 -sharededge 588 -max_solid 1 -max_shell 1 -max_face 216 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.007909701545 -avg 0.0006487127928 -max_tol ${max_tol_res_1}
+
index 8ff2c3741ed1b7465dd888bd5a575331aa193669..55262fbc160f8ab0a3e925a612a61251474770cb 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename war1.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 5  ( 5 )  Summary  = 5  ( 5 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 52  ( 52 )   Summary  = 308  ( 308 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 52  ( 52 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 129  ( 129 )
-TOLERANCE   : MaxTol   =  0.09997634575  (   0.1473689055 )  AvgTol   =   0.03519057084  (   0.04836161311 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 52 -shape 308
+checkstatshape res_1 -solid 0 -shell 1 -face 52 -freewire 0 -freeedge 0 -sharededge 129
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1473689055 -avg 0.04836161311]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 52 -shape 308 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 52 -freewire 0 -freeedge 0 -sharededge 129 -max_solid 0 -max_shell 1 -max_face 52 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.09997634575 -avg 0.03519057084 -max_tol ${max_tol_res_1}
+
index 21959e3f7b1c9d1cbe78618b1c4b3d25f1c267e2..512b79519fb8d5c7d3f212013df6fb210c72c4d1 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_tc_eye.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 5 )  Summary  = 4  ( 5 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 86  ( 86 )   Summary  = 496  ( 496 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 86  ( 86 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 207  ( 207 )
-TOLERANCE   : MaxTol   =  0.03778327122  (  0.03778327122 )  AvgTol   =  0.002071377746  (  0.002086952024 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GRAY75  ( GRAY75 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 001  ( 001 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { GRAY75 } -nbcolors 1 -layers { 001 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 86 -shape 496
+checkstatshape res_1 -solid 1 -shell 1 -face 86 -freewire 0 -freeedge 0 -sharededge 207
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.03778327122 -avg 0.002086952024]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { GRAY75  } -nbcolors 1 -layers { 001  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 86 -shape 496 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 86 -freewire 0 -freeedge 0 -sharededge 207 -max_solid 1 -max_shell 1 -max_face 86 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.03778327122 -avg 0.002071377746 -max_tol ${max_tol_res_1}
+
index 11a7b616653e6d979a452866d01cc27d4d28b024..a1d447290c177c59bdeb34e7ff260415fe926c00 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_ug_eye_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 78  ( 78 )   Summary  = 456  ( 456 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 78  ( 78 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 191  ( 191 )
-TOLERANCE   : MaxTol   =  0.03540333048  (  0.03540333048 )  AvgTol   =   0.01419078581  (   0.01419078581 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MEDIUMSEAGREEN  ( MEDIUMSEAGREEN )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MEDIUMSEAGREEN } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 78 -shape 456
+checkstatshape res_1 -solid 1 -shell 1 -face 78 -freewire 0 -freeedge 0 -sharededge 191
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.03540333048 -avg 0.01419078581]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MEDIUMSEAGREEN  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 78 -shape 456 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 78 -freewire 0 -freeedge 0 -sharededge 191 -max_solid 1 -max_shell 1 -max_face 78 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.03540333048 -avg 0.01419078581 -max_tol ${max_tol_res_1}
+
index 1665f6f9a6d62aee8628b6b2432eb1f29ac4cc56..789cfaaf410c78d8f3e1ee77b708f83c0612ea7c 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_ug_eye_b.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 78  ( 78 )   Summary  = 456  ( 456 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 78  ( 78 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 191  ( 191 )
-TOLERANCE   : MaxTol   = 0.0008779939056  ( 0.002970920499 )  AvgTol   =  0.0002392657978  (  0.0003764865332 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MEDIUMSEAGREEN  ( MEDIUMSEAGREEN )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MEDIUMSEAGREEN } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 78 -shape 456
+checkstatshape res_1 -solid 1 -shell 1 -face 78 -freewire 0 -freeedge 0 -sharededge 191
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.002970920499 -avg 0.0003764865332]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MEDIUMSEAGREEN  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 78 -shape 456 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 78 -freewire 0 -freeedge 0 -sharededge 191 -max_solid 1 -max_shell 1 -max_face 78 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0008779939056 -avg 0.0002392657978 -max_tol ${max_tol_res_1}
+
index 37a0f5df99ddb9ca0143db4fc8ead08645904417..9a3db61561f7d24fb67e67f45420ccf77407bc98 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename boot.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 3  ( 1 )  Summary  = 3  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 54  ( 54 )   Summary  = 346  ( 346 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 54  ( 54 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 143  ( 143 )
-TOLERANCE   : MaxTol   = 0.0007675518072  (  0.07502548071 )  AvgTol   =  4.478132068e-005  (  0.006388828005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 54 -shape 346
+checkstatshape res_1 -solid 1 -shell 1 -face 54 -freewire 0 -freeedge 0 -sharededge 143
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.07502548071 -avg 0.006388828005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 54 -shape 346 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 54 -freewire 0 -freeedge 0 -sharededge 143 -max_solid 1 -max_shell 1 -max_face 54 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0007675518072 -avg 4.478132068e-005 -max_tol ${max_tol_res_1}
+
index 07ba27468ee3c5f1a016183903177e5b2416b208..22bc34161e5b784fc8320a5d4d5574cdcbc18827 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj10_b2-tu-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 34 )  Summary  = 0  ( 34 )
-CHECKSHAPE  : Wires    = 1  ( 1 )  Faces    = 1  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 216  ( 216 )   Summary  = 1421  ( 1421 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 216  ( 216 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 588  ( 588 )
-TOLERANCE   : MaxTol   = 0.0009115635861  (  0.04372745817 )  AvgTol   =  9.848185929e-005  (  0.0009099184092 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = INDIANRED1  ( INDIANRED1 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 001  ( 001 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 34 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 1 -volume 1 -area 1 -colors { INDIANRED1 } -nbcolors 1 -layers { 001 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 216 -shape 1421
+checkstatshape res_1 -solid 1 -shell 1 -face 216 -freewire 0 -freeedge 0 -sharededge 588
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.04372745817 -avg 0.0009099184092]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 34 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 1 -volume 1 -area 1 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 1 -volume 1 -area 1 -colors { INDIANRED1  } -nbcolors 1 -layers { 001  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 216 -shape 1421 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 216 -freewire 0 -freeedge 0 -sharededge 588 -max_solid 1 -max_shell 1 -max_face 216 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0009115635861 -avg 9.848185929e-005 -max_tol ${max_tol_res_1}
+
index ad5dbb27ddd0709721e9e16e0994c9ac93270fdc..2adf3d4767af2ce8e23219e558b02c62d2d32db6 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj10_b2-ug-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 34 )  Summary  = 4  ( 34 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 216  ( 216 )   Summary  = 1421  ( 1421 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 216  ( 216 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 588  ( 588 )
-TOLERANCE   : MaxTol   = 0.007909701545  (  0.01677199988 )  AvgTol   =  0.0006487127928  (  0.0008020095458 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = INDIANRED1  ( INDIANRED1 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 34 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { INDIANRED1 } -nbcolors 1 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 216 -shape 1421
+checkstatshape res_1 -solid 1 -shell 1 -face 216 -freewire 0 -freeedge 0 -sharededge 588
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01677199988 -avg 0.0008020095458]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 34 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { INDIANRED1  } -nbcolors 1 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 216 -shape 1421 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 216 -freewire 0 -freeedge 0 -sharededge 588 -max_solid 1 -max_shell 1 -max_face 216 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.007909701545 -avg 0.0006487127928 -max_tol ${max_tol_res_1}
+
index 89c3c0233c8a0f2e62e4db03811f65f9dc053566..7f8d3e60bb0fe14717d1eb508584f6d7395ea556 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj9_b2-tu-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 34 )  Summary  = 0  ( 34 )
-CHECKSHAPE  : Wires    = 1  ( 1 )  Faces    = 1  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 216  ( 216 )   Summary  = 1421  ( 1421 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 216  ( 216 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 588  ( 588 )
-TOLERANCE   : MaxTol   = 0.0009115635861  (  0.04372745817 )  AvgTol   =  9.848185929e-005  (  0.0009099184092 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = INDIANRED1  ( INDIANRED1 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 001  ( 001 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 34 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 1 -volume 1 -area 1 -colors { INDIANRED1 } -nbcolors 1 -layers { 001 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 216 -shape 1421
+checkstatshape res_1 -solid 1 -shell 1 -face 216 -freewire 0 -freeedge 0 -sharededge 588
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.04372745817 -avg 0.0009099184092]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 34 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 1 -volume 1 -area 1 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 1 -volume 1 -area 1 -colors { INDIANRED1  } -nbcolors 1 -layers { 001  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 216 -shape 1421 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 216 -freewire 0 -freeedge 0 -sharededge 588 -max_solid 1 -max_shell 1 -max_face 216 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0009115635861 -avg 9.848185929e-005 -max_tol ${max_tol_res_1}
+
index 34fd324164c44aa7cc71c15a6a3fc14ab2f3a70d..a62a952a189e987c7a145e6e692b9ade97ee77b8 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj9_io1-sy-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 22  ( 22 )  Summary  = 22  ( 22 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 26  ( 26 )   Summary  = 176  ( 176 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 26  ( 26 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 64  ( 64 )
-TOLERANCE   : MaxTol   = 4.202081318e-005  ( 4.297688878e-005 )  AvgTol   =  1.189202874e-005  (  1.226209379e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 22 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 26 -shape 176
+checkstatshape res_1 -solid 1 -shell 1 -face 26 -freewire 0 -freeedge 0 -sharededge 64
+set max_tol_res_1 [checkmaxtol res_1 -tol 4.297688878e-005 -avg 1.226209379e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 22 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 22 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 26 -shape 176 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 26 -freewire 0 -freeedge 0 -sharededge 64 -max_solid 1 -max_shell 1 -max_face 26 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 4.202081318e-005 -avg 1.189202874e-005 -max_tol ${max_tol_res_1}
+
index e0e9fc961adda76b9108a4bc2af3e009391b9b3d..4ce635e6f597d27a0c98abef1e1377922345704e 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename ug_soapbox-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 8  ( 3 )  Summary  = 8  ( 3 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 94  ( 94 )   Summary  = 570  ( 570 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 94  ( 94 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 232  ( 232 )
-TOLERANCE   : MaxTol   = 0.008981237811  (  0.03359184316 )  AvgTol   =  0.001989925701  (   0.00429652078 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MAGENTA1  ( MAGENTA1 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1 } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 94 -shape 570
+checkstatshape res_1 -solid 1 -shell 1 -face 94 -freewire 0 -freeedge 0 -sharededge 232
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.03359184316 -avg 0.00429652078]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 94 -shape 570 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 94 -freewire 0 -freeedge 0 -sharededge 232 -max_solid 1 -max_shell 1 -max_face 94 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.008981237811 -avg 0.001989925701 -max_tol ${max_tol_res_1}
+
index c4c4242076a2e2f1f920b45ef8ab61df42a9df6f..daf37f04954a6121afa9e7a7b574ae2694c34e18 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_db_lever-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 13  ( 13 )  Summary  = 13  ( 13 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 70  ( 70 )   Summary  = 444  ( 444 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 70  ( 70 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 182  ( 182 )
-TOLERANCE   : MaxTol   = 0.0001505408951  ( 0.0001811030214 )  AvgTol   =  7.138967731e-006  (  1.149095913e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 70 -shape 444
+checkstatshape res_1 -solid 1 -shell 1 -face 70 -freewire 0 -freeedge 0 -sharededge 182
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0001811030214 -avg 1.149095913e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 70 -shape 444 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 70 -freewire 0 -freeedge 0 -sharededge 182 -max_solid 1 -max_shell 1 -max_face 70 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0001505408951 -avg 7.138967731e-006 -max_tol ${max_tol_res_1}
+
index 6e9190b00dd60fff24597cf92bacee18e9aab626..3d36f4f0e0de925b1344d32d59c83dfe107bceeb 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_db_lever-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 4 )  Summary  = 4  ( 4 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 70  ( 70 )   Summary  = 444  ( 444 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 70  ( 70 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 182  ( 182 )
-TOLERANCE   : MaxTol   = 0.0001490576437  ( 0.0001490576437 )  AvgTol   =  4.97348507e-006  (  4.972284148e-006 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 70 -shape 444
+checkstatshape res_1 -solid 1 -shell 1 -face 70 -freewire 0 -freeedge 0 -sharededge 182
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0001490576437 -avg 4.972284148e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 70 -shape 444 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 70 -freewire 0 -freeedge 0 -sharededge 182 -max_solid 1 -max_shell 1 -max_face 70 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0001490576437 -avg 4.97348507e-006 -max_tol ${max_tol_res_1}
+
index d51978c2a53e4795fddf58428ec3e04081db3512..2c4f7734953cf6da1ca7f5017a67972196c3f272 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_db_lever-C.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 70  ( 70 )   Summary  = 444  ( 444 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 70  ( 70 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 182  ( 182 )
-TOLERANCE   : MaxTol   = 0.0001490576437  ( 0.0001490576437 )  AvgTol   =  5.158591514e-006  (  5.158591552e-006 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 70 -shape 444
+checkstatshape res_1 -solid 1 -shell 1 -face 70 -freewire 0 -freeedge 0 -sharededge 182
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0001490576437 -avg 5.158591552e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 70 -shape 444 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 70 -freewire 0 -freeedge 0 -sharededge 182 -max_solid 1 -max_shell 1 -max_face 70 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0001490576437 -avg 5.158591514e-006 -max_tol ${max_tol_res_1}
+
index b60fbadf2441711b5819d0f43194d90e39b403ca..743d675b33a959c0ee72b3fd84af695e1042c490 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_db_leverrod-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 15  ( 15 )  Summary  = 15  ( 15 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 74  ( 74 )   Summary  = 470  ( 470 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 74  ( 74 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 192  ( 192 )
-TOLERANCE   : MaxTol   = 0.005871972782  (  0.01949436035 )  AvgTol   =  0.000129196534  (  0.0006695110365 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 15 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 74 -shape 470
+checkstatshape res_1 -solid 1 -shell 1 -face 74 -freewire 0 -freeedge 0 -sharededge 192
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01949436035 -avg 0.0006695110365]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 15 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 15 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 74 -shape 470 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 74 -freewire 0 -freeedge 0 -sharededge 192 -max_solid 1 -max_shell 1 -max_face 74 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.005871972782 -avg 0.000129196534 -max_tol ${max_tol_res_1}
+
index a5e6ea93b6e454f4ae84596436c9104990f86654..95a00406e857cbac848a4e7c52697ea3f5b721f9 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename bm2_db_leverrod-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 9  ( 4 )  Summary  = 9  ( 4 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 74  ( 74 )   Summary  = 470  ( 470 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 74  ( 74 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 192  ( 192 )
-TOLERANCE   : MaxTol   = 0.005871972782  (  0.01255650011 )  AvgTol   =  0.0001289836811  (  0.0004682686404 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 74 -shape 470
+checkstatshape res_1 -solid 1 -shell 1 -face 74 -freewire 0 -freeedge 0 -sharededge 192
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01255650011 -avg 0.0004682686404]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 74 -shape 470 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 74 -freewire 0 -freeedge 0 -sharededge 192 -max_solid 1 -max_shell 1 -max_face 74 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.005871972782 -avg 0.0001289836811 -max_tol ${max_tol_res_1}
+
index fc616e9dd2aa1cc33c2c0084b87865a36fd90ca0..73cd1607956d9b6fdddf33e8d70ec0d54b5a7cd6 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename bm2_db_leverrod-C.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 5  ( 1 )  Summary  = 5  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 74  ( 74 )   Summary  = 470  ( 470 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 74  ( 74 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 192  ( 192 )
-TOLERANCE   : MaxTol   = 0.005871972782  (  0.01255650011 )  AvgTol   =  0.0001291774461  (  0.0004684624026 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 74 -shape 470
+checkstatshape res_1 -solid 1 -shell 1 -face 74 -freewire 0 -freeedge 0 -sharededge 192
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01255650011 -avg 0.0004684624026]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 74 -shape 470 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 74 -freewire 0 -freeedge 0 -sharededge 192 -max_solid 1 -max_shell 1 -max_face 74 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.005871972782 -avg 0.0001291774461 -max_tol ${max_tol_res_1}
+
index a732e832c330df69d6eaffabf19b66fd626c713e..71bb247b99cd1ebbe8802f11657490a919358b3b 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename ro2.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 1 )  Warnings = 0  ( 0 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 14  ( 14 )  Summary  = 14  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 16  ( 16 )   Summary  = 83  ( 83 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 16  ( 16 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 32  ( 32 )
-TOLERANCE   : MaxTol   = 0.0002864345029  ( 0.0002929696768 )  AvgTol   =  0.0001164141356  (  0.0001176147358 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 2 -face 16 -shape 83
+checkstatshape res_1 -solid 1 -shell 2 -face 16 -freewire 0 -freeedge 0 -sharededge 32
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0002929696768 -avg 0.0001176147358]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 2 -face 16 -shape 83 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 2 -face 16 -freewire 0 -freeedge 0 -sharededge 32 -max_solid 1 -max_shell 2 -max_face 16 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0002864345029 -avg 0.0001164141356 -max_tol ${max_tol_res_1}
+
index e70bee1c4089b05dea315647986916b793a5f696..409b608405530857d24991bdcbcd81810888244a 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_sy_exhaust-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 22 )  Summary  = 0  ( 22 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 40  ( 40 )   Summary  = 214  ( 214 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 40  ( 40 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 76  ( 76 )
-TOLERANCE   : MaxTol   = 8.89741187e-006  (         1e-005 )  AvgTol   =  1.595321488e-006  (  4.970162944e-006 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = LIGHTSEAGREEN  ( LIGHTSEAGREEN )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 100  ( 100 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 22 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { LIGHTSEAGREEN } -nbcolors 1 -layers { 100 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 40 -shape 214
+checkstatshape res_1 -solid 1 -shell 1 -face 40 -freewire 0 -freeedge 0 -sharededge 76
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 4.970162944e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 22 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { LIGHTSEAGREEN  } -nbcolors 1 -layers { 100  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 40 -shape 214 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 40 -freewire 0 -freeedge 0 -sharededge 76 -max_solid 1 -max_shell 1 -max_face 40 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 8.89741187e-006 -avg 1.595321488e-006 -max_tol ${max_tol_res_1}
+
index 6ec5cd9dfb46776a50bd58fb67b8338b5868507e..bd2fe57ecde5e3f14a79f6a68965ad6a2d5be064 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_sy_leverrod-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 7 )  Summary  = 0  ( 7 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 52  ( 52 )   Summary  = 346  ( 346 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 52  ( 52 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 140  ( 140 )
-TOLERANCE   : MaxTol   = 0.0002640504766  ( 0.0002640504766 )  AvgTol   =  4.867332678e-006  (  5.700981656e-006 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GOLD  ( GOLD )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 10  ( 10 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { GOLD } -nbcolors 1 -layers { 10 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 52 -shape 346
+checkstatshape res_1 -solid 1 -shell 1 -face 52 -freewire 0 -freeedge 0 -sharededge 140
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0002640504766 -avg 5.700981656e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { GOLD  } -nbcolors 1 -layers { 10  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 52 -shape 346 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 52 -freewire 0 -freeedge 0 -sharededge 140 -max_solid 1 -max_shell 1 -max_face 52 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0002640504766 -avg 4.867332678e-006 -max_tol ${max_tol_res_1}
+
index 2f44121f20852ed235f2ba91286f27c9844c4df2..dc6c7d65ada065b174fd646b83d5a785d6c1a763 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_ac_eye.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 99  ( 99 )   Summary  = 613  ( 613 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 99  ( 99 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 257  ( 257 )
-TOLERANCE   : MaxTol   =  0.02282158358  (  0.02282158358 )  AvgTol   =  0.001795226534  (  0.001824406504 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 99 -shape 613
+checkstatshape res_1 -solid 1 -shell 1 -face 99 -freewire 0 -freeedge 0 -sharededge 257
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.02282158358 -avg 0.001824406504]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 99 -shape 613 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 99 -freewire 0 -freeedge 0 -sharededge 257 -max_solid 1 -max_shell 1 -max_face 99 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.02282158358 -avg 0.001795226534 -max_tol ${max_tol_res_1}
+
index 9a4d280c8225c52f2d3687fe8f0632cd219a6ff1..f921f341dab0a793f7b75060661e57c041af649c 100644 (file)
@@ -1,22 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
-set ProductMode OFF
 set filename BUC60809.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 2 )  Warnings = 0  ( 0 )  Summary  = 0  ( 2 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 51  ( 9 )  Summary  = 51  ( 9 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 15  ( 15 )  Shell    = 16  ( 16 )  Face     = 159  ( 159 )   Summary  = 890  ( 890 )
-STATSHAPE   : Solid    = 15  ( 15 )  Shell    = 16  ( 16 )  Face     = 159  ( 159 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 342  ( 342 )
-TOLERANCE   : MaxTol   = 7.482128955e-07  (          1e-05 )  AvgTol   =  1.53886857e-07  (  5.228475349e-07 )
-LABELS      : N0Labels = 15  ( 15 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 15  ( 15 )   NameLabels = 15  ( 15 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename} -productmode 0
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+checkxstat D_First -n0 15 -n1 0 -n2 0 -total 15 -withname 15 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 15 -shell 16 -face 159 -shape 890
+checkstatshape res_1 -solid 15 -shell 16 -face 159 -freewire 0 -freeedge 0 -sharededge 342
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-05 -avg 5.228475349e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 51 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 15 -n1 0 -n2 0 -total 15 -withname 15 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 15 -n1 0 -n2 0 -total 15 -withname 15 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 15 -shell 16 -face 159 -shape 890 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 15 -shell 16 -face 159 -freewire 0 -freeedge 0 -sharededge 342 -max_solid 15 -max_shell 16 -max_face 159 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 7.482128955e-07 -avg 1.53886857e-07 -max_tol ${max_tol_res_1}
+
index 68fb33d8235e8ec30f154a8057821b70ec5cff2c..c3f8d77f74a87ce6cad016bb9a627cfdb0a85a41 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename mat.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 200 )  Warnings = 0  ( 0 )  Summary  = 0  ( 200 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 14  ( 14 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 0  ( 0 )
-TOLERANCE   : MaxTol   =              0  (              0 )  AvgTol   =               0  (               0 )
-LABELS      : N0Labels = 14  ( 14 )  N1Labels = 19  ( 19 )  N2Labels = 0  ( 0 )   TotalLabels = 33  ( 33 )   NameLabels = 33  ( 33 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 200
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 14 -n1 19 -n2 0 -total 33 -withname 33 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 14
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 0 -sharededge 0
+set max_tol_res_1 [checkmaxtol res_1 -tol 0 -avg 0]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 200
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 14 -n1 19 -n2 0 -total 33 -withname 33 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 14 -n1 19 -n2 0 -total 33 -withname 33 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 14 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 0 -sharededge 0 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0 -avg 0 -max_tol ${max_tol_res_1}
+
index 12eed808e64b6a8287abae7327e5e94ec0e20fc7..1cd670b460b6d9d647f38c3dea88c066e803e31d 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename OCC22238_test.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 2 )  Summary  = 0  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 45  ( 35 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 8 ( 8 )   SharedEdge = 10  ( 10 )
-TOLERANCE   : MaxTol   =   1.00005e-007  (   1.00005e-007 )  AvgTol   =  1.000009091e-007  (  1.000009091e-007 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 4  ( 4 )  N2Labels = 0  ( 0 )   TotalLabels = 9  ( 9 )   NameLabels = 9  ( 9 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 5 -n1 4 -n2 0 -total 9 -withname 9 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 35
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 8 -sharededge 10
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-007 -avg 1.000009091e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 4 -n2 0 -total 9 -withname 9 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 4 -n2 0 -total 9 -withname 9 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 45 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 8 -sharededge 10 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 8
+checkmaxtol res_2 -tol 1.00005e-007 -avg 1.000009091e-007 -max_tol ${max_tol_res_1}
+
index 07acc8930dfecf364fe98f59c4bee541b7e32cff..093c1d55f8225e06b918ebe50f82bd24321a64ff 100644 (file)
@@ -1,22 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
-set ProductMode OFF
 set filename PRO20361-1.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 4 )  Warnings = 0  ( 0 )  Summary  = 0  ( 4 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 4 )  Summary  = 1  ( 4 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 7  ( 7 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 2  ( 2 )
-TOLERANCE   : MaxTol   =          1e-07  (          1e-07 )  AvgTol   =           1e-07  (           1e-07 )
-LABELS      : N0Labels = 1  ( 2 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 2 )   NameLabels = 1  ( 2 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename} -productmode 0
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 4
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 1 -shape 7
+checkstatshape res_1 -solid 1 -shell 1 -face 1 -freewire 0 -freeedge 0 -sharededge 2
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-07 -avg 1e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 4
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 1 -shape 7 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 1 -freewire 0 -freeedge 0 -sharededge 2 -max_solid 1 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-07 -avg 1e-07 -max_tol ${max_tol_res_1}
+
index 623beade972cf556df128829e94ae366de6504a0..63c4e0b1cd66066f507464e7b7c3bca183da617e 100644 (file)
@@ -1,22 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
-set ProductMode OFF
 set filename PRO20361-3.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 4 )  Warnings = 0  ( 0 )  Summary  = 0  ( 4 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 3 )  Summary  = 0  ( 3 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   Summary  = 34  ( 34 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 12  ( 12 )
-TOLERANCE   : MaxTol   =    1.00005e-07  (    1.00005e-07 )  AvgTol   =  1.000041026e-07  (  1.000041026e-07 )
-LABELS      : N0Labels = 1  ( 2 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 2 )   NameLabels = 1  ( 2 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename} -productmode 0
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 4
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 6 -shape 34
+checkstatshape res_1 -solid 1 -shell 1 -face 6 -freewire 0 -freeedge 0 -sharededge 12
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-07 -avg 1.000041026e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 4
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 6 -shape 34 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 6 -freewire 0 -freeedge 0 -sharededge 12 -max_solid 1 -max_shell 1 -max_face 6 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.00005e-07 -avg 1.000041026e-07 -max_tol ${max_tol_res_1}
+
index 04e38917c4bd244cc047a4343bc54fdbba7075b6..4436b8dc834e23bcd4e1ffda66e12da7a9572e67 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename ass-test1.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 85 )  Warnings = 0  ( 0 )  Summary  = 0  ( 85 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 2  ( 2 )  Shell    = 2  ( 2 )  Face     = 41  ( 41 )   Summary  = 272  ( 272 )
-STATSHAPE   : Solid    = 9  ( 9 )  Shell    = 9  ( 9 )  Face     = 223  ( 223 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 111  ( 111 )
-TOLERANCE   : MaxTol   =          1e-07  (          1e-07 )  AvgTol   =           1e-07  (           1e-07 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 9  ( 9 )  N2Labels = 0  ( 0 )   TotalLabels = 12  ( 12 )   NameLabels = 12  ( 12 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 85
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 3 -n1 9 -n2 0 -total 12 -withname 12 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 2 -shell 2 -face 41 -shape 272
+checkstatshape res_1 -solid 9 -shell 9 -face 223 -freewire 0 -freeedge 0 -sharededge 111
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-07 -avg 1e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 85
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 9 -n2 0 -total 12 -withname 12 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 9 -n2 0 -total 12 -withname 12 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 2 -shell 2 -face 41 -shape 272 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 9 -shell 9 -face 223 -freewire 0 -freeedge 0 -sharededge 111 -max_solid 9 -max_shell 9 -max_face 223 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-07 -avg 1e-07 -max_tol ${max_tol_res_1}
+
index f6d27c39e14bea86ade370663dce824ebab3952c..248b09958ee6c1705a8980b57180a7f40966d04d 100644 (file)
@@ -1,22 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
-set ProductMode OFF
 set filename tr8_as_sd_sw.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 3 )  Warnings = 0  ( 5 )  Summary  = 0  ( 8 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 2  ( 2 )  Shell    = 2  ( 2 )  Face     = 15  ( 15 )   Summary  = 88  ( 88 )
-STATSHAPE   : Solid    = 2  ( 2 )  Shell    = 2  ( 2 )  Face     = 15  ( 15 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 30  ( 30 )
-TOLERANCE   : MaxTol   = 1.000100003e-07  ( 1.000100003e-07 )  AvgTol   =  1.000061539e-07  (  1.000061539e-07 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 4 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename} -productmode 0
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 5 -max_faults 3
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 4 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 2 -shell 2 -face 15 -shape 88
+checkstatshape res_1 -solid 2 -shell 2 -face 15 -freewire 0 -freeedge 0 -sharededge 30
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-07 -avg 1.000061539e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 5 -max_faults 3
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 4 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 2 -shell 2 -face 15 -shape 88 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 2 -shell 2 -face 15 -freewire 0 -freeedge 0 -sharededge 30 -max_solid 2 -max_shell 2 -max_face 15 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-07 -avg 1.000061539e-07 -max_tol ${max_tol_res_1}
+
index 8fcf6cb362ac459a8a833219341fcb7d101e7e98..382896607a0028b755287912dde8c9013214c39e 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename tr8_ha1_ac.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 2  ( 1 )  Face     = 7  ( 7 )   Summary  = 47  ( 47 )
-STATSHAPE   : Solid    = 2  ( 2 )  Shell    = 4  ( 2 )  Face     = 14  ( 14 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 16  ( 16 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 4  ( 4 )  N1Labels = 4  ( 4 )  N2Labels = 0  ( 0 )   TotalLabels = 8  ( 8 )   NameLabels = 8  ( 8 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 4 -n1 4 -n2 0 -total 8 -withname 8 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 7 -shape 47
+checkstatshape res_1 -solid 2 -shell 2 -face 14 -freewire 0 -freeedge 0 -sharededge 16
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4 -n1 4 -n2 0 -total 8 -withname 8 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 4 -n2 0 -total 8 -withname 8 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 2 -face 7 -shape 47 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 2 -shell 4 -face 14 -freewire 0 -freeedge 0 -sharededge 16 -max_solid 2 -max_shell 2 -max_face 14 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index cc766c0c6dcb3bd104c5d9286719189ab8a4b432..fdd4a8b0eddfe19fd19065e5882ee2b13dfbaac4 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename tr8_ha1_ug.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 2  ( 1 )  Face     = 7  ( 7 )   Summary  = 47  ( 47 )
-STATSHAPE   : Solid    = 2  ( 2 )  Shell    = 4  ( 2 )  Face     = 14  ( 14 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 16  ( 16 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000085716e-007  (  1.000085716e-007 )
-LABELS      : N0Labels = 4  ( 4 )  N1Labels = 5  ( 5 )  N2Labels = 0  ( 0 )   TotalLabels = 9  ( 9 )   NameLabels = 8  ( 8 )   ColorLabels = 2  ( 2 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = CYAN1 GREEN  ( CYAN1 GREEN )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 4 -n1 5 -n2 0 -total 9 -withname 8 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 7 -shape 47
+checkstatshape res_1 -solid 2 -shell 2 -face 14 -freewire 0 -freeedge 0 -sharededge 16
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000085716e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4 -n1 5 -n2 0 -total 9 -withname 8 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 5 -n2 0 -total 9 -withname 8 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 2 -face 7 -shape 47 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 2 -shell 4 -face 14 -freewire 0 -freeedge 0 -sharededge 16 -max_solid 2 -max_shell 2 -max_face 14 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000085716e-007 -max_tol ${max_tol_res_1}
+
index f3c484aa07308c3084b4e1af787fac227af7389d..6510e4738d38a91f05f7c5a89c2fc6c321ae4020 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj7_c2-ct-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 16  ( 16 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 5  ( 5 )
-TOLERANCE   : MaxTol   =   1.00005e-007  (   1.00005e-007 )  AvgTol   =  1.0000375e-007  (  1.0000375e-007 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 6 )   NameLabels = 5  ( 5 )   ColorLabels = 2  ( 2 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE1 MAGENTA1  ( BLUE1 MAGENTA1 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 3 -n1 3 -n2 0 -total 6 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA1 } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 16
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-007 -avg 1.0000375e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 3 -n2 0 -total 6 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA1  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 16 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1.00005e-007 -avg 1.0000375e-007 -max_tol ${max_tol_res_1}
+
index cab7c6673ca356879fb8ad440fac3c0d37527569..bdd60b280445f9bc690f0edd95c2143e9fea148d 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename trj7_c2-al-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 0 )  Face     = 1  ( 1 )   Summary  = 16  ( 14 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 0 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 5  ( 5 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 1  ( 1 )  N2Labels = 0  ( 0 )   TotalLabels = 2  ( 2 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MIDNIGHTBLUE  ( MIDNIGHTBLUE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 1 -n2 0 -total 2 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MIDNIGHTBLUE } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1 -shape 14
+checkstatshape res_1 -solid 0 -shell 0 -face 1 -freewire 0 -freeedge 1 -sharededge 5
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 1 -n2 0 -total 2 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 1 -n2 0 -total 2 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MIDNIGHTBLUE  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 16 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5 -max_solid 0 -max_shell 0 -max_face 1 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 28ebec816d331ddf3237a3f7286adfecafb736b4..3336ee3f920e9e1ae2be1dfac7d7b83b0ea6e861 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename CEA_cuve-V5.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 2  ( 2 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 0  ( 0 )
-TOLERANCE   : MaxTol   =              0  (              0 )  AvgTol   =               0  (               0 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 1  ( 3 )  N2Labels = 0  ( 2 )   TotalLabels = 3  ( 7 )   NameLabels = 3  ( 4 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 2 -n1 3 -n2 2 -total 7 -withname 4 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 2
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 0 -sharededge 0
+set max_tol_res_1 [checkmaxtol res_1 -tol 0 -avg 0]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 3 -n2 2 -total 7 -withname 4 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 2 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 0 -sharededge 0 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0 -avg 0 -max_tol ${max_tol_res_1}
+
index d55bc4f6c2f38adbf5f12ac2d17ed813e9d6e1fe..eb50f9342f41cc52f7bf9ef8f89adfb597d475f8 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj7_c2-ct-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 16  ( 16 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 5  ( 5 )
-TOLERANCE   : MaxTol   =   1.00005e-007  (   1.00005e-007 )  AvgTol   =  1.0000375e-007  (  1.0000375e-007 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 6 )   NameLabels = 5  ( 5 )   ColorLabels = 2  ( 2 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE1 MAGENTA1  ( BLUE1 MAGENTA1 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 3 -n1 3 -n2 0 -total 6 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA1 } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 16
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-007 -avg 1.0000375e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 3 -n2 0 -total 6 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA1  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 16 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1.00005e-007 -avg 1.0000375e-007 -max_tol ${max_tol_res_1}
+
index c0941e9d17a4552a0bc0d34ca14d3d791dcecc7f..4ef914dab6913e871c95a87514d83beb144efdf1 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename trj7_c2-db-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 0 )  Face     = 1  ( 1 )   Summary  = 16  ( 14 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 0 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 5  ( 5 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 3  ( 3 )   NameLabels = 1  ( 1 )   ColorLabels = 2  ( 2 )   LayerLabels = 2  ( 2 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = DODGERBLUE2 GREEN  ( DODGERBLUE2 GREEN )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -colors { DODGERBLUE2 GREEN } -nbcolors 2 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1 -shape 14
+checkstatshape res_1 -solid 0 -shell 0 -face 1 -freewire 0 -freeedge 1 -sharededge 5
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -colors { DODGERBLUE2 GREEN  } -nbcolors 2 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 16 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5 -max_solid 0 -max_shell 0 -max_face 1 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 50a40715823e3f983daffed046ce24b6484f9666..215c6144091e870c66158df6f7b45561d19a2194 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj7_c2-id-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 16  ( 16 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 5  ( 5 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 6 )   NameLabels = 5  ( 5 )   ColorLabels = 2  ( 2 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE1 MAGENTA1  ( BLUE1 MAGENTA1 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 3 -n1 3 -n2 0 -total 6 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA1 } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 16
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 3 -n2 0 -total 6 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA1  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 16 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 249ef3f3cea50fc846974044285e28b1ea28f9e7..04b628bbcf1a02be5c3d16ee661915e9c1a19a8f 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj7_c2-pe-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 16  ( 17 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 1 )   FreeEdge  = 1 ( 1 )   SharedEdge = 5  ( 5 )
-TOLERANCE   : MaxTol   =   1.00005e-007  (   1.00005e-007 )  AvgTol   =  1.0000375e-007  (  1.0000375e-007 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 3  ( 4 )  N2Labels = 0  ( 0 )   TotalLabels = 6  ( 7 )   NameLabels = 5  ( 5 )   ColorLabels = 2  ( 2 )   LayerLabels = 2  ( 2 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE1 YELLOW  ( BLUE1 YELLOW )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = 03___PRT_ALL_CURVES 06___PRT_ALL_SURFS  ( 03___PRT_ALL_CURVES 06___PRT_ALL_SURFS )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 3 -n1 4 -n2 0 -total 7 -withname 5 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 1 -colors { BLUE1 YELLOW } -nbcolors 2 -layers { "03___PRT_ALL_CURVES" "06___PRT_ALL_SURFS" } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 17
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 1 -freeedge 1 -sharededge 5
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-007 -avg 1.0000375e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 4 -n2 0 -total 7 -withname 5 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 1 -nbcolors 2 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 3 -n2 0 -total 6 -withname 5 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 1 -colors { BLUE1 YELLOW  } -nbcolors 2 -layers { "03___PRT_ALL_CURVES" "06___PRT_ALL_SURFS" } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 16 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 1 -max_freeedge 1
+checkmaxtol res_2 -tol 1.00005e-007 -avg 1.0000375e-007 -max_tol ${max_tol_res_1}
+
index a2d09d67c9dc502244e3d02f696f38a8a1b199b0..668ccb679d41e2725fe570dbdde772bece938fc4 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj7_c2-tc-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 10 )  Warnings = 0  ( 0 )  Summary  = 0  ( 10 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 2 )  Summary  = 0  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 28  ( 28 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 11  ( 11 )
-TOLERANCE   : MaxTol   =    1.00005e-07  (    1.00005e-07 )  AvgTol   =  1.000044118e-07  (  1.000044118e-07 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 6 )   NameLabels = 5  ( 5 )   ColorLabels = 2  ( 2 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE4 DARKORANGE  ( BLUE4 DARKORANGE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 005  ( 005 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 10
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 3 -n1 3 -n2 0 -total 6 -withname 5 -withcolor 2 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { BLUE4 DARKORANGE } -nbcolors 2 -layers { 005 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 28
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 11
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-07 -avg 1.000044118e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 10
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 3 -n2 0 -total 6 -withname 5 -withcolor 2 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 2 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { BLUE4 DARKORANGE  } -nbcolors 2 -layers { 005  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 28 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 11 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1.00005e-07 -avg 1.000044118e-07 -max_tol ${max_tol_res_1}
+
index 3ddfeaf1d40f23c2d3bae6391861ee5621b66878..5d5b69ccac760f5ef99c6e47a7102c02eb03f6bd 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename trj7_c2-td-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 12 )  Warnings = 0  ( 0 )  Summary  = 0  ( 12 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 2 )  Summary  = 0  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 4  ( 0 )  Face     = 4  ( 4 )   Summary  = 127  ( 103 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 4  ( 0 )  Face     = 4  ( 4 )   FreeWire = 0  ( 0 )   FreeEdge  = 20 ( 20 )   SharedEdge = 36  ( 36 )
-TOLERANCE   : MaxTol   =          1e-07  (          1e-07 )  AvgTol   =           1e-07  (           1e-07 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 26  ( 26 )  N2Labels = 0  ( 0 )   TotalLabels = 29  ( 29 )   NameLabels = 5  ( 5 )   ColorLabels = 24  ( 24 )   LayerLabels = 4  ( 4 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 7  ( 7 )
-COLORS      : Colors   = CYAN1 GOLD3 GREEN GREEN4 MAGENTA1 MAGENTA3 YELLOW  ( CYAN1 GOLD3 GREEN GREEN4 MAGENTA1 MAGENTA3 YELLOW )
-NLAYERS     : NLayers  = 4  ( 4 )
-LAYERS      : Layers   = 001 002 003 004  ( 001 002 003 004 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 12
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 3 -n1 26 -n2 0 -total 29 -withname 5 -withcolor 24 -withlayer 4 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GOLD3 GREEN GREEN4 MAGENTA1 MAGENTA3 YELLOW } -nbcolors 7 -layers { 001 002 003 004 } -nblayers 4
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 4 -shape 103
+checkstatshape res_1 -solid 0 -shell 0 -face 4 -freewire 0 -freeedge 20 -sharededge 36
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-07 -avg 1e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 12
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 26 -n2 0 -total 29 -withname 5 -withcolor 24 -withlayer 4 -centroid 0 -volume 0 -area 0 -nbcolors 7 -nblayers 4
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 26 -n2 0 -total 29 -withname 5 -withcolor 24 -withlayer 4 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GOLD3 GREEN GREEN4 MAGENTA1 MAGENTA3 YELLOW  } -nbcolors 7 -layers { 001 002 003 004  } -nblayers 4
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 4 -face 4 -shape 127 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 4 -face 4 -freewire 0 -freeedge 20 -sharededge 36 -max_solid 0 -max_shell 0 -max_face 4 -max_freewire 0 -max_freeedge 20
+checkmaxtol res_2 -tol 1e-07 -avg 1e-07 -max_tol ${max_tol_res_1}
+
index 17f0fba5689fbdb245fbc602bdf65f7ba6edce27..11dfe7b61e6baa4d53a614e0fb20d49078cc8888 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj7_c2-pe-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 18 )  Warnings = 0  ( 0 )  Summary  = 0  ( 18 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 16  ( 17 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 1 )   FreeEdge  = 1 ( 1 )   SharedEdge = 5  ( 5 )
-TOLERANCE   : MaxTol   =    1.00005e-07  (    1.00005e-07 )  AvgTol   =   1.0000375e-07  (   1.0000375e-07 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 3  ( 4 )  N2Labels = 0  ( 0 )   TotalLabels = 6  ( 7 )   NameLabels = 5  ( 5 )   ColorLabels = 2  ( 2 )   LayerLabels = 2  ( 2 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE1 YELLOW  ( BLUE1 YELLOW )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = 03___PRT_ALL_CURVES 06___PRT_ALL_SURFS  ( 03___PRT_ALL_CURVES 06___PRT_ALL_SURFS )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 18
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 3 -n1 4 -n2 0 -total 7 -withname 5 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 1 -colors { BLUE1 YELLOW } -nbcolors 2 -layers { "03___PRT_ALL_CURVES" "06___PRT_ALL_SURFS" } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 17
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 1 -freeedge 1 -sharededge 5
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-07 -avg 1.0000375e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 18
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 4 -n2 0 -total 7 -withname 5 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 1 -nbcolors 2 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 3 -n2 0 -total 6 -withname 5 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 1 -colors { BLUE1 YELLOW  } -nbcolors 2 -layers { "03___PRT_ALL_CURVES" "06___PRT_ALL_SURFS" } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 16 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 1 -max_freeedge 1
+checkmaxtol res_2 -tol 1.00005e-07 -avg 1.0000375e-07 -max_tol ${max_tol_res_1}
+
index 29e9fdd7aab64eb7562ada8e697b7d93434188ee..3c176d446d97ee9249b987f4ff1524aabfd7b8e4 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj9_c2-tu-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 7 )  Warnings = 0  ( 0 )  Summary  = 0  ( 7 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 28  ( 28 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 11  ( 11 )
-TOLERANCE   : MaxTol   =    1.00005e-07  (    1.00005e-07 )  AvgTol   =  1.000044118e-07  (  1.000044118e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 2  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 3  ( 4 )   NameLabels = 1  ( 1 )   ColorLabels = 2  ( 2 )   LayerLabels = 2  ( 2 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = DARKORANGE1 INDIANRED1  ( DARKORANGE1 INDIANRED1 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 001  ( 001 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 7
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -colors { DARKORANGE1 INDIANRED1 } -nbcolors 2 -layers { 001 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 28
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 11
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-07 -avg 1.000044118e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 7
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -colors { DARKORANGE1 INDIANRED1  } -nbcolors 2 -layers { 001  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 28 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 11 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1.00005e-07 -avg 1.000044118e-07 -max_tol ${max_tol_res_1}
+
index 0e3302d01e88ad5bb71c175cd2801b4cfadf6de9..939a33ecb3a035478551e1010d07dc61d53c00bd 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename ct_as1-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 14 )  Summary  = 0  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 366  ( 366 )
-STATSHAPE   : Solid    = 12  ( 12 )  Shell    = 12  ( 12 )  Face     = 112  ( 112 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000055896e-007  (  1.000055896e-007 )
-LABELS      : N0Labels = 7  ( 7 )  N1Labels = 13  ( 28 )  N2Labels = 0  ( 0 )   TotalLabels = 20  ( 35 )   NameLabels = 20  ( 20 )   ColorLabels = 5  ( 5 )   LayerLabels = 5  ( 20 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = VIOLET  ( VIOLET )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 6 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 7 -n1 28 -n2 0 -total 35 -withname 20 -withcolor 5 -withlayer 20 -centroid 0 -volume 0 -area 0 -colors { VIOLET } -nbcolors 1 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 366
+checkstatshape res_1 -solid 12 -shell 12 -face 112 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000055896e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 6 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 7 -n1 28 -n2 0 -total 35 -withname 20 -withcolor 5 -withlayer 20 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 7 -n1 13 -n2 0 -total 20 -withname 20 -withcolor 5 -withlayer 5 -centroid 0 -volume 0 -area 0 -colors { VIOLET  } -nbcolors 1 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 366 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 12 -shell 12 -face 112 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 12 -max_shell 12 -max_face 112 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000055896e-007 -max_tol ${max_tol_res_1}
+
index d18114081b0c3249d8752a211e2cacb4fc356852..60394f8289c5a92b30a3a66c6e797a39b87156c2 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename PRO10372.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 3  ( 3 )  Summary  = 3  ( 3 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 10  ( 10 )   Summary  = 62  ( 62 )
-STATSHAPE   : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 10  ( 10 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 20  ( 20 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 18  ( 19 )  N2Labels = 0  ( 0 )   TotalLabels = 23  ( 24 )   NameLabels = 9  ( 9 )   ColorLabels = 18  ( 19 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = BLUE1 GREEN RED YELLOW  ( BLUE1 GREEN RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 5 -n1 19 -n2 0 -total 24 -withname 9 -withcolor 19 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED YELLOW } -nbcolors 4 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 4 -shell 4 -face 10 -shape 62
+checkstatshape res_1 -solid 4 -shell 4 -face 10 -freewire 0 -freeedge 0 -sharededge 20
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 19 -n2 0 -total 24 -withname 9 -withcolor 19 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 18 -n2 0 -total 23 -withname 9 -withcolor 18 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED YELLOW  } -nbcolors 4 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 4 -shell 4 -face 10 -shape 62 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 4 -shell 4 -face 10 -freewire 0 -freeedge 0 -sharededge 20 -max_solid 4 -max_shell 4 -max_face 10 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 84896c25523bae0d0a9179820faaa76c86e918c1..8ca0d75bd0e38ad57e809d173f0d5d9ac21d9560 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj8_c2-ct-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 16  ( 16 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 5  ( 5 )
-TOLERANCE   : MaxTol   =   1.00005e-007  (   1.00005e-007 )  AvgTol   =  1.0000375e-007  (  1.0000375e-007 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 6 )   NameLabels = 5  ( 5 )   ColorLabels = 2  ( 2 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE1 MAGENTA1  ( BLUE1 MAGENTA1 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 3 -n1 3 -n2 0 -total 6 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA1 } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 16
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-007 -avg 1.0000375e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 3 -n2 0 -total 6 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA1  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 16 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1.00005e-007 -avg 1.0000375e-007 -max_tol ${max_tol_res_1}
+
index ba66b1e36d82d474ddf858fc1a1c663e944405ae..f9c44807968e79d8f2b55d5798706a5996e9dc44 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj8_c2-pe-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 16  ( 17 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 1 )   FreeEdge  = 1 ( 1 )   SharedEdge = 5  ( 5 )
-TOLERANCE   : MaxTol   =   1.00005e-007  (   1.00005e-007 )  AvgTol   =  1.0000375e-007  (  1.0000375e-007 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 3  ( 4 )  N2Labels = 0  ( 0 )   TotalLabels = 6  ( 7 )   NameLabels = 5  ( 5 )   ColorLabels = 2  ( 2 )   LayerLabels = 2  ( 2 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE1 YELLOW  ( BLUE1 YELLOW )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = 03___PRT_ALL_CURVES 06___PRT_ALL_SURFS  ( 03___PRT_ALL_CURVES 06___PRT_ALL_SURFS )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 3 -n1 4 -n2 0 -total 7 -withname 5 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 1 -colors { BLUE1 YELLOW } -nbcolors 2 -layers { "03___PRT_ALL_CURVES" "06___PRT_ALL_SURFS" } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 17
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 1 -freeedge 1 -sharededge 5
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-007 -avg 1.0000375e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 4 -n2 0 -total 7 -withname 5 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 1 -nbcolors 2 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 3 -n2 0 -total 6 -withname 5 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 1 -colors { BLUE1 YELLOW  } -nbcolors 2 -layers { "03___PRT_ALL_CURVES" "06___PRT_ALL_SURFS" } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 16 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 1 -max_freeedge 1
+checkmaxtol res_2 -tol 1.00005e-007 -avg 1.0000375e-007 -max_tol ${max_tol_res_1}
+
index 0e6e06b7df212eb77b6a962acc06ba9bc3d08e97..13bfa628a9bb83c6ecd04efd29be11d16da6eff1 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-
 set filename trj2_io1-pe-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 2 )  Warnings = 0  ( 0 )  Summary  = 0  ( 2 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 29  ( 29 )   Summary  = 193  ( 193 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 29  ( 29 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 70  ( 70 )
-TOLERANCE   : MaxTol   =    1.00005e-07  (    1.00005e-07 )  AvgTol   =  1.000039198e-07  (  1.000039198e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 3  ( 3 )   NameLabels = 1  ( 1 )   ColorLabels = 3  ( 3 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 1  ( 2 )
-COLORS      : Colors   = YELLOW  ( RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 3 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { RED YELLOW } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 29 -shape 193
+checkstatshape res_1 -solid 1 -shell 1 -face 29 -freewire 0 -freeedge 0 -sharededge 70
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-07 -avg 1.000039198e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 3 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 3 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { YELLOW  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 29 -shape 193 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 29 -freewire 0 -freeedge 0 -sharededge 70 -max_solid 1 -max_shell 1 -max_face 29 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.00005e-07 -avg 1.000039198e-07 -max_tol ${max_tol_res_1}
+
index e5621339bb2ac9db6b7ef25322f554da1136b5f7..20d07f1c95bae03290850429be7c0b59a60fb7ac 100644 (file)
@@ -1,20 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO OCC25905 ALL: STATSHAPE : Faulty"
 
 set filename S4132-test.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 0 )  Summary  = 1  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 6  ( 0 )  Face     = 6  ( 6 )   Summary  = 78  ( 73 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 6  ( 0 )  Face     = 6  ( 6 )   FreeWire = 0  ( 0 )   FreeEdge  = 3 ( 4 )   SharedEdge = 27  ( 28 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 6 -shape 73
+checkstatshape res_1 -solid 0 -shell 0 -face 6 -freewire 0 -freeedge 4 -sharededge 28
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 6 -face 6 -shape 78 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 6 -face 6 -freewire 0 -freeedge 3 -sharededge 27 -max_solid 0 -max_shell 0 -max_face 6 -max_freewire 0 -max_freeedge 4
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index fd775bded63439c794c598daa2943192625c2423..71b0a56a82b556dc6b7988bbc12e3ff7ed9100ec 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj9_c2-ct-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 16  ( 16 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 5  ( 5 )
-TOLERANCE   : MaxTol   =   1.00005e-007  (   1.00005e-007 )  AvgTol   =  1.0000375e-007  (  1.0000375e-007 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 6 )   NameLabels = 5  ( 5 )   ColorLabels = 2  ( 2 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE1 MAGENTA1  ( BLUE1 MAGENTA1 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 3 -n1 3 -n2 0 -total 6 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA1 } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 16
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-007 -avg 1.0000375e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 3 -n2 0 -total 6 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA1  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 16 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1.00005e-007 -avg 1.0000375e-007 -max_tol ${max_tol_res_1}
+
index 6584ce8f3b9f1ec97bf281475248977a19707b1b..93f5372c2f290c63fad47340245c2d6138ef91d0 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj9_c2-sy-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 1 )  Warnings = 0  ( 0 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 16  ( 16 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 5  ( 5 )
-TOLERANCE   : MaxTol   =    1.00005e-07  (    1.00005e-07 )  AvgTol   =   1.0000375e-07  (   1.0000375e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 2  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 3  ( 4 )   NameLabels = 1  ( 1 )   ColorLabels = 2  ( 2 )   LayerLabels = 2  ( 2 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = DODGERBLUE2 MAGENTA1  ( DODGERBLUE2 MAGENTA1 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -colors { DODGERBLUE2 MAGENTA1 } -nbcolors 2 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 16
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-07 -avg 1.0000375e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -colors { DODGERBLUE2 MAGENTA1  } -nbcolors 2 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 16 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1.00005e-07 -avg 1.0000375e-07 -max_tol ${max_tol_res_1}
+
index 9bf86887a8c4e5ee0c59051ec3fbd8ee485e8d5f..81e452ae35da533d902d65f1a71d97732d6df739 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename manliie-ar.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 8  ( 0 )  Summary  = 8  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 14  ( 14 )   Summary  = 168  ( 149 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 14  ( 14 )   FreeWire = 0  ( 0 )   FreeEdge  = 18 ( 18 )   SharedEdge = 54  ( 54 )
-TOLERANCE   : MaxTol   = 7.347272566e-006  ( 7.347307142e-006 )  AvgTol   =  1.215889538e-006  (  1.215897255e-006 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 3 )  N2Labels = 0  ( 1 )   TotalLabels = 5  ( 7 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 3 -n1 3 -n2 1 -total 7 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 14 -shape 149
+checkstatshape res_1 -solid 1 -shell 1 -face 14 -freewire 0 -freeedge 18 -sharededge 54
+set max_tol_res_1 [checkmaxtol res_1 -tol 7.347307142e-006 -avg 1.215897255e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 3 -n2 1 -total 7 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 14 -shape 168 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 14 -freewire 0 -freeedge 18 -sharededge 54 -max_solid 1 -max_shell 1 -max_face 14 -max_freewire 0 -max_freeedge 18
+checkmaxtol res_2 -tol 7.347272566e-006 -avg 1.215889538e-006 -max_tol ${max_tol_res_1}
+
index d489bc380922505d86de98b504d57c7bb80fb45a..4b845e870365c96bcc55733dd85f6c4bd0519233 100644 (file)
@@ -1,20 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
 set filename as1ug.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 14 )  Summary  = 0  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 39  ( 39 )   Summary  = 269  ( 269 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 125  ( 125 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 91  ( 91 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  (         1e-005 )  AvgTol   =  1.00006917e-007  (  2.879948407e-006 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 19 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 19 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 39 -shape 269
+checkstatshape res_1 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 91
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 2.879948407e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 19 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 39 -shape 269 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 91 -max_solid 18 -max_shell 18 -max_face 125 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00006917e-007 -max_tol ${max_tol_res_1}
+
index ea7e3ca10d97e5714deabbcf9212830ec6d3bf74..94226148720962fab7e2a058abd0fbc5612ffd9e 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj4_xr1-db-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 28  ( 0 )  Summary  = 28  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 404  ( 395 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 42 ( 42 )   SharedEdge = 137  ( 137 )
-TOLERANCE   : MaxTol   = 7.325606587e-006  ( 7.325606205e-006 )  AvgTol   =  2.485953111e-006  (  2.517689926e-006 )
-LABELS      : N0Labels = 13  ( 13 )  N1Labels = 26  ( 35 )  N2Labels = 0  ( 9 )   TotalLabels = 39  ( 57 )   NameLabels = 26  ( 31 )   ColorLabels = 5  ( 5 )   LayerLabels = 16  ( 16 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = CYAN1 GOLD3 RED3 TURQUOISE4 YELLOW  ( CYAN1 GOLD3 RED3 TURQUOISE4 YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 13 -n1 35 -n2 9 -total 57 -withname 31 -withcolor 5 -withlayer 16 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GOLD3 RED3 TURQUOISE4 YELLOW } -nbcolors 5 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 395
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 42 -sharededge 137
+set max_tol_res_1 [checkmaxtol res_1 -tol 7.325606205e-006 -avg 2.517689926e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 13 -n1 35 -n2 9 -total 57 -withname 31 -withcolor 5 -withlayer 16 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 13 -n1 26 -n2 0 -total 39 -withname 26 -withcolor 5 -withlayer 16 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GOLD3 RED3 TURQUOISE4 YELLOW  } -nbcolors 5 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 404 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 42 -sharededge 137 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 42
+checkmaxtol res_2 -tol 7.325606587e-006 -avg 2.485953111e-006 -max_tol ${max_tol_res_1}
+
index 9f42891b2b9296ce39880f06fc2168a84a3ba476..1e0b13e87dc552cd6bcaac141e444b7acca9c8dd 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj4_xr1-ec-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 9  ( 9 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 0  ( 0 )
-TOLERANCE   : MaxTol   =              0  (              0 )  AvgTol   =               0  (               0 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 18 )  N2Labels = 0  ( 5 )   TotalLabels = 22  ( 32 )   NameLabels = 22  ( 27 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 9 -n1 18 -n2 5 -total 32 -withname 27 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 9
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 0 -sharededge 0
+set max_tol_res_1 [checkmaxtol res_1 -tol 0 -avg 0]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 18 -n2 5 -total 32 -withname 27 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 9 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 0 -sharededge 0 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0 -avg 0 -max_tol ${max_tol_res_1}
+
index d2a7de0d84b5998b09c22d913a44826cb0eb659c..007681cafea24ff52650738878a58a33f66bbdfa 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj4_xr1-id-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 9  ( 9 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 0  ( 0 )
-TOLERANCE   : MaxTol   =              0  (              0 )  AvgTol   =               0  (               0 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 18 )  N2Labels = 0  ( 5 )   TotalLabels = 22  ( 32 )   NameLabels = 22  ( 27 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 9 -n1 18 -n2 5 -total 32 -withname 27 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 9
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 0 -sharededge 0
+set max_tol_res_1 [checkmaxtol res_1 -tol 0 -avg 0]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 18 -n2 5 -total 32 -withname 27 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 9 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 0 -sharededge 0 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0 -avg 0 -max_tol ${max_tol_res_1}
+
index 8db8fa70da7f057569ced3c90dc9c3bcebdbd361..d6af28de90d850ed799ed80b322e3ce584cda562 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj4_xr1-pe-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 7 )  Warnings = 0  ( 0 )  Summary  = 0  ( 7 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 10  ( 10 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 0  ( 0 )
-TOLERANCE   : MaxTol   =              0  (              0 )  AvgTol   =               0  (               0 )
-LABELS      : N0Labels = 10  ( 10 )  N1Labels = 13  ( 19 )  N2Labels = 0  ( 6 )   TotalLabels = 23  ( 35 )   NameLabels = 23  ( 29 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 9  ( 9 )  Volume   = 9  ( 9 )  Area     = 9  ( 9 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 7
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 10 -n1 19 -n2 6 -total 35 -withname 29 -withcolor 0 -withlayer 0 -centroid 9 -volume 9 -area 9 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 10
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 0 -sharededge 0
+set max_tol_res_1 [checkmaxtol res_1 -tol 0 -avg 0]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 7
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 10 -n1 19 -n2 6 -total 35 -withname 29 -withcolor 0 -withlayer 0 -centroid 9 -volume 9 -area 9 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 10 -n1 13 -n2 0 -total 23 -withname 23 -withcolor 0 -withlayer 0 -centroid 9 -volume 9 -area 9 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 10 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 0 -sharededge 0 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0 -avg 0 -max_tol ${max_tol_res_1}
+
index 3fd39de730824dea70f817d474826306feee4663..77ce8ce446a0e42a2eaab4dc53a7a9c3bc8dbe88 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj4_xr1-tc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 26 )  Summary  = 0  ( 26 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 353  ( 353 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000062348e-007  (  1.000062348e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 18 )  N2Labels = 0  ( 5 )   TotalLabels = 22  ( 32 )   NameLabels = 22  ( 27 )   ColorLabels = 5  ( 5 )   LayerLabels = 5  ( 5 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = BLUE1 DARKORANGE GREEN RED YELLOW3  ( BLUE1 DARKORANGE GREEN RED YELLOW3 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 000  ( 000 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 26 -max_faults 0
+checkxstat D_First -n0 9 -n1 18 -n2 5 -total 32 -withname 27 -withcolor 5 -withlayer 5 -centroid 0 -volume 0 -area 0 -colors { BLUE1 DARKORANGE GREEN RED YELLOW3 } -nbcolors 5 -layers { 000 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 353
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000062348e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 26 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 18 -n2 5 -total 32 -withname 27 -withcolor 5 -withlayer 5 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 0 -volume 0 -area 0 -colors { BLUE1 DARKORANGE GREEN RED YELLOW3  } -nbcolors 5 -layers { 000  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 353 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000062348e-007 -max_tol ${max_tol_res_1}
+
index 9a236e3982ca4771a1b8c1306ce4f2c8afbc33a7..6f521842614b104e690a093f146202582fdf23a9 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj4_xr1-tu-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 26 )  Summary  = 0  ( 26 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 353  ( 353 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000062348e-007  (  1.000062348e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 18 )  N2Labels = 0  ( 5 )   TotalLabels = 22  ( 32 )   NameLabels = 22  ( 27 )   ColorLabels = 5  ( 5 )   LayerLabels = 5  ( 5 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = BLUE1 DARKORANGE GREEN RED YELLOW3  ( BLUE1 DARKORANGE GREEN RED YELLOW3 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 256  ( 256 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 26 -max_faults 0
+checkxstat D_First -n0 9 -n1 18 -n2 5 -total 32 -withname 27 -withcolor 5 -withlayer 5 -centroid 0 -volume 0 -area 0 -colors { BLUE1 DARKORANGE GREEN RED YELLOW3 } -nbcolors 5 -layers { 256 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 353
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000062348e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 26 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 18 -n2 5 -total 32 -withname 27 -withcolor 5 -withlayer 5 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 0 -volume 0 -area 0 -colors { BLUE1 DARKORANGE GREEN RED YELLOW3  } -nbcolors 5 -layers { 256  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 353 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000062348e-007 -max_tol ${max_tol_res_1}
+
index 8196705450fac4b582db15f5b68c777527ca7a7b..850582a55456f0985f8b37c1094f9a828f004e3f 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename spigot.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 0 )  Summary  = 4  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 22  ( 22 )   Summary  = 223  ( 199 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 22  ( 22 )   FreeWire = 0  ( 0 )   FreeEdge  = 23 ( 23 )   SharedEdge = 68  ( 68 )
-TOLERANCE   : MaxTol   = 2.100585841e-007  ( 2.098677141e-007 )  AvgTol   =  1.073366139e-007  (  1.073253018e-007 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 3 )  N2Labels = 0  ( 1 )   TotalLabels = 5  ( 7 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 3 -n1 3 -n2 1 -total 7 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 22 -shape 199
+checkstatshape res_1 -solid 3 -shell 3 -face 22 -freewire 0 -freeedge 23 -sharededge 68
+set max_tol_res_1 [checkmaxtol res_1 -tol 2.098677141e-007 -avg 1.073253018e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 3 -n2 1 -total 7 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 3 -face 22 -shape 223 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 3 -face 22 -freewire 0 -freeedge 23 -sharededge 68 -max_solid 3 -max_shell 3 -max_face 22 -max_freewire 0 -max_freeedge 23
+checkmaxtol res_2 -tol 2.100585841e-007 -avg 1.073366139e-007 -max_tol ${max_tol_res_1}
+
index c80919a6562aaada35c88b1137329bcbdc65ed2a..bd45cb8d196f235c6637c1c285bb31bd8e661782 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename bm2_pe_t4-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 7 )  Summary  = 0  ( 7 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 9  ( 0 )  Face     = 9  ( 9 )   Summary  = 116  ( 107 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 9  ( 0 )  Face     = 9  ( 9 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 43  ( 43 )
-TOLERANCE   : MaxTol   = 0.003863207397  (  0.02717230043 )  AvgTol   =  0.0004713629472  (  0.003097464581 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 5  ( 5 )  N2Labels = 0  ( 0 )   TotalLabels = 6  ( 6 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 5  ( 5 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = ACHSEN FLAECHEN VERBFLAECHE  ( ACHSEN FLAECHEN VERBFLAECHE )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+checkxstat D_First -n0 1 -n1 5 -n2 0 -total 6 -withname 1 -withcolor 0 -withlayer 5 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers { ACHSEN FLAECHEN VERBFLAECHE } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 9 -shape 107
+checkstatshape res_1 -solid 0 -shell 0 -face 9 -freewire 0 -freeedge 0 -sharededge 43
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.02717230043 -avg 0.003097464581]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 5 -n2 0 -total 6 -withname 1 -withcolor 0 -withlayer 5 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 5 -n2 0 -total 6 -withname 1 -withcolor 0 -withlayer 5 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers { ACHSEN FLAECHEN VERBFLAECHE  } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 9 -face 9 -shape 116 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 9 -face 9 -freewire 0 -freeedge 0 -sharededge 43 -max_solid 0 -max_shell 0 -max_face 9 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003863207397 -avg 0.0004713629472 -max_tol ${max_tol_res_1}
+
index aaf1a457c09d46b6ebdf34ed3a1b83fcd908f139..3d04633cf220a8980b58a72b87baa684650e9902 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj6_c1-id-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 7  ( 7 )   Summary  = 50  ( 50 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 7  ( 7 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 17  ( 17 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 4  ( 4 )  N1Labels = 14  ( 15 )  N2Labels = 0  ( 0 )   TotalLabels = 18  ( 19 )   NameLabels = 7  ( 7 )   ColorLabels = 14  ( 14 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = BLUE1 GREEN MAGENTA1 RED YELLOW  ( BLUE1 GREEN MAGENTA1 RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 4 -n1 15 -n2 0 -total 19 -withname 7 -withcolor 14 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN MAGENTA1 RED YELLOW } -nbcolors 5 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 2 -face 7 -shape 50
+checkstatshape res_1 -solid 1 -shell 2 -face 7 -freewire 0 -freeedge 1 -sharededge 17
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4 -n1 15 -n2 0 -total 19 -withname 7 -withcolor 14 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 14 -n2 0 -total 18 -withname 7 -withcolor 14 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN MAGENTA1 RED YELLOW  } -nbcolors 5 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 2 -face 7 -shape 50 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 2 -face 7 -freewire 0 -freeedge 1 -sharededge 17 -max_solid 1 -max_shell 2 -max_face 7 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 4d07aa291080f13235c897280527ef49869af056..e19aa9790d10a9e7fdcfa2be133ca901a2851a5d 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj7_c2-ac-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 10 )  Warnings = 0  ( 0 )  Summary  = 0  ( 10 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 0 )  Face     = 1  ( 1 )   Summary  = 16  ( 16 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 0 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 5  ( 5 )
-TOLERANCE   : MaxTol   =          1e-07  ( 1.000100004e-07 )  AvgTol   =           1e-07  (  1.000012501e-07 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 3  ( 4 )  N2Labels = 0  ( 0 )   TotalLabels = 6  ( 7 )   NameLabels = 5  ( 5 )   ColorLabels = 2  ( 2 )   LayerLabels = 2  ( 2 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = GREEN RED  ( GREEN RED )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 10
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 3 -n1 4 -n2 0 -total 7 -withname 5 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 1 -colors { GREEN RED } -nbcolors 2 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1 -shape 16
+checkstatshape res_1 -solid 0 -shell 0 -face 1 -freewire 0 -freeedge 1 -sharededge 5
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100004e-07 -avg 1.000012501e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 10
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 4 -n2 0 -total 7 -withname 5 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 1 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 3 -n2 0 -total 6 -withname 5 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 1 -colors { GREEN RED  } -nbcolors 2 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 16 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5 -max_solid 0 -max_shell 0 -max_face 1 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1e-07 -avg 1e-07 -max_tol ${max_tol_res_1}
+
index 04f42c6d5dba0f6bc727a2d90c38817103fc28d6..fe6ef82aa101ef64c2d962735e3c510060c21627 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj8_c2-ac-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 10 )  Warnings = 0  ( 0 )  Summary  = 0  ( 10 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 0 )  Face     = 1  ( 1 )   Summary  = 16  ( 16 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 0 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 5  ( 5 )
-TOLERANCE   : MaxTol   =          1e-07  ( 1.000100004e-07 )  AvgTol   =           1e-07  (  1.000012501e-07 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 3  ( 4 )  N2Labels = 0  ( 0 )   TotalLabels = 6  ( 7 )   NameLabels = 5  ( 5 )   ColorLabels = 2  ( 2 )   LayerLabels = 2  ( 2 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = GREEN RED  ( GREEN RED )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 10
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 3 -n1 4 -n2 0 -total 7 -withname 5 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -colors { GREEN RED } -nbcolors 2 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1 -shape 16
+checkstatshape res_1 -solid 0 -shell 0 -face 1 -freewire 0 -freeedge 1 -sharededge 5
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100004e-07 -avg 1.000012501e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 10
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 4 -n2 0 -total 7 -withname 5 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 3 -n2 0 -total 6 -withname 5 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -colors { GREEN RED  } -nbcolors 2 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 16 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5 -max_solid 0 -max_shell 0 -max_face 1 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1e-07 -avg 1e-07 -max_tol ${max_tol_res_1}
+
index 5ae91ecd62a0ec959e51615d4acc8bb707900c5f..9efb52feb7cbb22145a531b7335537bfce56c8ec 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-
 set filename trj6_c1-ct-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 7  ( 7 )   Summary  = 50  ( 50 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 7  ( 7 )   FreeWire = 0  ( 1 )   FreeEdge  = 1 ( 1 )   SharedEdge = 17  ( 17 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000082981e-007  (  1.000082981e-007 )
-LABELS      : N0Labels = 4  ( 4 )  N1Labels = 4  ( 5 )  N2Labels = 0  ( 0 )   TotalLabels = 8  ( 9 )   NameLabels = 7  ( 7 )   ColorLabels = 2  ( 3 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 3 )
-COLORS      : Colors   = BLUE1 WHITE  ( BLUE1 GREEN WHITE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 4 -n1 5 -n2 0 -total 9 -withname 7 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN WHITE } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 2 -face 7 -shape 50
+checkstatshape res_1 -solid 1 -shell 2 -face 7 -freewire 1 -freeedge 1 -sharededge 17
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000082981e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4 -n1 5 -n2 0 -total 9 -withname 7 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 4 -n2 0 -total 8 -withname 7 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 WHITE  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 2 -face 7 -shape 50 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 2 -face 7 -freewire 0 -freeedge 1 -sharededge 17 -max_solid 1 -max_shell 2 -max_face 7 -max_freewire 1 -max_freeedge 1
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000082981e-007 -max_tol ${max_tol_res_1}
+
index d9e41212b88d40d1633e7321779611ad212fd993..ef242dac8dcb7d1e44ef20f14b45a3b2f8b5752a 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: COLORS : Faulty" 
 
-
 set filename trj6_c1-ct-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 7  ( 7 )   Summary  = 50  ( 50 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 7  ( 7 )   FreeWire = 0  ( 1 )   FreeEdge  = 1 ( 1 )   SharedEdge = 17  ( 17 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000082981e-007  (  1.000082981e-007 )
-LABELS      : N0Labels = 4  ( 4 )  N1Labels = 5  ( 6 )  N2Labels = 0  ( 0 )   TotalLabels = 9  ( 10 )   NameLabels = 7  ( 7 )   ColorLabels = 3  ( 4 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 4 )
-COLORS      : Colors   = BLUE1 RED YELLOW  ( BLUE1 GREEN RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 4 -n1 6 -n2 0 -total 10 -withname 7 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED YELLOW } -nbcolors 4 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 2 -face 7 -shape 50
+checkstatshape res_1 -solid 1 -shell 2 -face 7 -freewire 1 -freeedge 1 -sharededge 17
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000082981e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4 -n1 6 -n2 0 -total 10 -withname 7 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 5 -n2 0 -total 9 -withname 7 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED YELLOW  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 2 -face 7 -shape 50 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 2 -face 7 -freewire 0 -freeedge 1 -sharededge 17 -max_solid 1 -max_shell 2 -max_face 7 -max_freewire 1 -max_freeedge 1
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000082981e-007 -max_tol ${max_tol_res_1}
+
index e935dcf79963d98a73c5ee631f2436bdd1ad90e5..15adbfe8cc409ad08aad0ad5f84af01bc2a16bac 100644 (file)
@@ -1,22 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
 set filename tr8_ha1_db.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   Summary  = 35  ( 37 )
-STATSHAPE   : Solid    = 2  ( 2 )  Shell    = 2  ( 2 )  Face     = 12  ( 12 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 12  ( 12 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.00009231e-007  (  1.00009231e-007 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 2  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 4  ( 5 )   NameLabels = 4  ( 4 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 3 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 2 )
-LAYERS      : Layers   = 0  ( {  0} 255 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 2 -n1 3 -n2 0 -total 5 -withname 4 -withcolor 1 -withlayer 3 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers {  } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 6 -shape 37
+checkstatshape res_1 -solid 2 -shell 2 -face 12 -freewire 0 -freeedge 0 -sharededge 12
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.00009231e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 3 -n2 0 -total 5 -withname 4 -withcolor 1 -withlayer 3 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 2 -n2 0 -total 4 -withname 4 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers {   } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 6 -shape 35 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 2 -shell 2 -face 12 -freewire 0 -freeedge 0 -sharededge 12 -max_solid 2 -max_shell 2 -max_face 12 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00009231e-007 -max_tol ${max_tol_res_1}
+
index 25670f6d6983b71cd4f3917ffdb3feb0b828be87..c523d3c76e85726260c42fe70a8b3cde3b84cb6b 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj9_c2-id-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 16  ( 16 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 5  ( 5 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 2  ( 2 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE1 MAGENTA1  ( BLUE1 MAGENTA1 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA1 } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 16
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA1  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 16 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 26cf8b963559a5e68ccd2ca7e4229ec9e3f565d0..501c53da097b9f8cb20760b84e49d2e021cac548 100644 (file)
@@ -1,24 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: PROPS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename trj9_c2-pe-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 0 )  Face     = 1  ( 1 )   Summary  = 16  ( 16 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 0 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 5  ( 5 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 2  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 3  ( 4 )   NameLabels = 1  ( 1 )   ColorLabels = 2  ( 2 )   LayerLabels = 0  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 1 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE1 YELLOW  ( BLUE1 YELLOW )
-NLAYERS     : NLayers  = 0  ( 1 )
-LAYERS      : Layers   =   ( 06___PRT_ALL_SURFS )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 2 -withlayer 1 -centroid 0 -volume 0 -area 1 -colors { BLUE1 YELLOW } -nbcolors 2 -layers {  } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1 -shape 16
+checkstatshape res_1 -solid 0 -shell 0 -face 1 -freewire 0 -freeedge 1 -sharededge 5
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 2 -withlayer 1 -centroid 0 -volume 0 -area 1 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 YELLOW  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 16 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5 -max_solid 0 -max_shell 0 -max_face 1 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index fc852f2343bc8a57edecb558d02189534b5357f9..87b97287ec75c880d40616f89c904a427a77739e 100644 (file)
@@ -1,24 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: PROPS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename trj9_c2-pe-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 0 )  Face     = 1  ( 1 )   Summary  = 16  ( 16 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 0 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 5  ( 5 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 2  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 3  ( 4 )   NameLabels = 1  ( 1 )   ColorLabels = 2  ( 2 )   LayerLabels = 0  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 1 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE1 YELLOW  ( BLUE1 YELLOW )
-NLAYERS     : NLayers  = 0  ( 1 )
-LAYERS      : Layers   =   ( 06___PRT_ALL_SURFS )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 2 -withlayer 1 -centroid 0 -volume 0 -area 1 -colors { BLUE1 YELLOW } -nbcolors 2 -layers {  } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 1 -shape 16
+checkstatshape res_1 -solid 0 -shell 0 -face 1 -freewire 0 -freeedge 1 -sharededge 5
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 2 -withlayer 1 -centroid 0 -volume 0 -area 1 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 YELLOW  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 16 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5 -max_solid 0 -max_shell 0 -max_face 1 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 9090f06fe200e3bc517a5777c6211e57d1285ac3..d9e226b9b787b0a337e61e0d929c07a99ccfb6ed 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename CTS18953.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 14  ( 14 )  Face     = 14  ( 14 )   Summary  = 187  ( 187 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 14  ( 14 )  Face     = 14  ( 14 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 72  ( 72 )
-TOLERANCE   : MaxTol   =    4.0002e-005  (    4.0002e-005 )  AvgTol   =  3.127982174e-006  (  3.127982174e-006 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 14 -face 14 -shape 187
+checkstatshape res_1 -solid 0 -shell 14 -face 14 -freewire 0 -freeedge 0 -sharededge 72
+set max_tol_res_1 [checkmaxtol res_1 -tol 4.0002e-005 -avg 3.127982174e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 14 -face 14 -shape 187 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 14 -face 14 -freewire 0 -freeedge 0 -sharededge 72 -max_solid 0 -max_shell 14 -max_face 14 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 4.0002e-005 -avg 3.127982174e-006 -max_tol ${max_tol_res_1}
+
index 84c338b3de582431ad1fe8be29a168cd41ce5877..b606f17ca569820caaa9d83547b27d742f7b3156 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename CTS18954.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 289  ( 231 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 0  ( 0 )   FreeEdge  = 72 ( 72 )   SharedEdge = 72  ( 72 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 231
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 72 -sharededge 72
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 289 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 72 -sharededge 72 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 0 -max_freeedge 72
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 5205dfdb3b9b1c30c8f73c739f959356ea133f53..5e20872339155c51aff2585631e4c4973aeafe86 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename PRO10363.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 15  ( 15 )   Summary  = 88  ( 88 )
-STATSHAPE   : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 15  ( 15 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 32  ( 32 )
-TOLERANCE   : MaxTol   = 4.774918149e-005  ( 4.77491815e-005 )  AvgTol   =  7.658070949e-006  (  7.65807095e-006 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 6  ( 6 )  N2Labels = 0  ( 0 )   TotalLabels = 7  ( 7 )   NameLabels = 1  ( 1 )   ColorLabels = 6  ( 6 )   LayerLabels = 4  ( 4 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = BLUE1 GREEN RED YELLOW  ( BLUE1 GREEN RED YELLOW )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = 1 15  ( 1 15 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 6 -n2 0 -total 7 -withname 1 -withcolor 6 -withlayer 4 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED YELLOW } -nbcolors 4 -layers { 1 15 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 4 -shell 4 -face 15 -shape 88
+checkstatshape res_1 -solid 4 -shell 4 -face 15 -freewire 0 -freeedge 0 -sharededge 32
+set max_tol_res_1 [checkmaxtol res_1 -tol 4.77491815e-005 -avg 7.65807095e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 6 -n2 0 -total 7 -withname 1 -withcolor 6 -withlayer 4 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 6 -n2 0 -total 7 -withname 1 -withcolor 6 -withlayer 4 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED YELLOW  } -nbcolors 4 -layers { 1 15  } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 4 -shell 4 -face 15 -shape 88 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 4 -shell 4 -face 15 -freewire 0 -freeedge 0 -sharededge 32 -max_solid 4 -max_shell 4 -max_face 15 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 4.774918149e-005 -avg 7.658070949e-006 -max_tol ${max_tol_res_1}
+
index 960a54a708f80dd21185a38fc58d946debe73d0e..682a317a330b45862efe1845a7feda37be6d5085 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename PRO7070.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 3 )  Summary  = 2  ( 3 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 27  ( 27 )   Summary  = 183  ( 183 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 27  ( 27 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 72  ( 72 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 27  ( 27 )  N2Labels = 0  ( 0 )   TotalLabels = 28  ( 28 )   NameLabels = 1  ( 1 )   ColorLabels = 28  ( 28 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = DEEPSKYBLUE2 GREEN MAGENTA1 ORANGE RED  ( DEEPSKYBLUE2 GREEN MAGENTA1 ORANGE RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 1 -n1 27 -n2 0 -total 28 -withname 1 -withcolor 28 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE2 GREEN MAGENTA1 ORANGE RED } -nbcolors 5 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 27 -shape 183
+checkstatshape res_1 -solid 0 -shell 1 -face 27 -freewire 0 -freeedge 0 -sharededge 72
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 27 -n2 0 -total 28 -withname 1 -withcolor 28 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 27 -n2 0 -total 28 -withname 1 -withcolor 28 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE2 GREEN MAGENTA1 ORANGE RED  } -nbcolors 5 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 27 -shape 183 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 27 -freewire 0 -freeedge 0 -sharededge 72 -max_solid 0 -max_shell 1 -max_face 27 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 0b71e16f2809ce41d235d92924dd43520ee10d85..3094c0317623e3455018d0ef7fc277618a9e42ff 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename PRO7071.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 1 )  Summary  = 1  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 15  ( 15 )   Summary  = 88  ( 88 )
-STATSHAPE   : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 15  ( 15 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 32  ( 32 )
-TOLERANCE   : MaxTol   = 1.259265374e-007  ( 1.298618578e-007 )  AvgTol   =  1.021989133e-007  (  1.025320621e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 4  ( 4 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 1  ( 1 )   ColorLabels = 4  ( 4 )   LayerLabels = 4  ( 4 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = DODGERBLUE2 GREEN RED YELLOW  ( DODGERBLUE2 GREEN RED YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 4 -n2 0 -total 5 -withname 1 -withcolor 4 -withlayer 4 -centroid 0 -volume 0 -area 0 -colors { DODGERBLUE2 GREEN RED YELLOW } -nbcolors 4 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 4 -shell 4 -face 15 -shape 88
+checkstatshape res_1 -solid 4 -shell 4 -face 15 -freewire 0 -freeedge 0 -sharededge 32
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.298618578e-007 -avg 1.025320621e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 4 -n2 0 -total 5 -withname 1 -withcolor 4 -withlayer 4 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 4 -n2 0 -total 5 -withname 1 -withcolor 4 -withlayer 4 -centroid 0 -volume 0 -area 0 -colors { DODGERBLUE2 GREEN RED YELLOW  } -nbcolors 4 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 4 -shell 4 -face 15 -shape 88 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 4 -shell 4 -face 15 -freewire 0 -freeedge 0 -sharededge 32 -max_solid 4 -max_shell 4 -max_face 15 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.259265374e-007 -avg 1.021989133e-007 -max_tol ${max_tol_res_1}
+
index 131ad3924ec291b09f9b769f9eaf50ff4d69415b..babceab83da44e16970ae20affa5f8d92f99f4d6 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename PRO9245.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 2 )  Summary  = 4  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 12  ( 12 )  Face     = 12  ( 12 )   Summary  = 136  ( 136 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 12  ( 12 )  Face     = 12  ( 12 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 49  ( 49 )
-TOLERANCE   : MaxTol   = 0.0009846163783  (  0.09817574823 )  AvgTol   =  7.811513437e-005  (  0.005635227301 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 12 -face 12 -shape 136
+checkstatshape res_1 -solid 0 -shell 12 -face 12 -freewire 0 -freeedge 0 -sharededge 49
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.09817574823 -avg 0.005635227301]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 12 -face 12 -shape 136 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 12 -face 12 -freewire 0 -freeedge 0 -sharededge 49 -max_solid 0 -max_shell 12 -max_face 12 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0009846163783 -avg 7.811513437e-005 -max_tol ${max_tol_res_1}
+
index 4898338ce3dfdc40327802248eafa49b98fced00..57feaf99bd2bdb39e192b9b32fe1134f90ceb8a9 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename Part1.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 165  ( 165 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 0  ( 41 )   FreeEdge  = 41 ( 41 )   SharedEdge = 41  ( 41 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 165
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 41 -freeedge 41 -sharededge 41
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 165 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 41 -sharededge 41 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 41 -max_freeedge 41
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 217dd0f97b3e2269c4dcc8a8f512a9f1da405cda..2a15d62015e7cc3c4be79cf9ce6186eb9d4b761b 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename abs2.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 6 )  Warnings = 0  ( 0 )  Summary  = 0  ( 6 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 10  ( 10 )   Summary  = 48  ( 48 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 10  ( 10 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 15  ( 15 )
-TOLERANCE   : MaxTol   =    1.00005e-07  (    1.00005e-07 )  AvgTol   =    1.000024e-07  (    1.000024e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 6
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 10 -shape 48
+checkstatshape res_1 -solid 1 -shell 1 -face 10 -freewire 0 -freeedge 0 -sharededge 15
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-07 -avg 1.000024e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 6
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 10 -shape 48 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 10 -freewire 0 -freeedge 0 -sharededge 15 -max_solid 1 -max_shell 1 -max_face 10 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.00005e-07 -avg 1.000024e-07 -max_tol ${max_tol_res_1}
+
index f4302f11e1ae23bcc4c6d67060dce91100443f33..f6a557a190824dd330d0b87f6725f45f0fc40f58 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename axe-man-ar-bas.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 4  ( 4 )   Summary  = 20  ( 20 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 4  ( 4 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 6  ( 6 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 4 -shape 20
+checkstatshape res_1 -solid 1 -shell 1 -face 4 -freewire 0 -freeedge 0 -sharededge 6
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 4 -shape 20 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 4 -freewire 0 -freeedge 0 -sharededge 6 -max_solid 1 -max_shell 1 -max_face 4 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 5b7dfb8f193aabacf1d0738371bd9ab43b1f03bf..9ef4f790b59c368dfeda7604965d82582001c23d 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename axe-man-ar-haut.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 4  ( 4 )   Summary  = 20  ( 20 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 4  ( 4 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 6  ( 6 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 4 -shape 20
+checkstatshape res_1 -solid 1 -shell 1 -face 4 -freewire 0 -freeedge 0 -sharededge 6
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 4 -shape 20 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 4 -freewire 0 -freeedge 0 -sharededge 6 -max_solid 1 -max_shell 1 -max_face 4 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index f4ddbe93cef6f3de30e12713e56a8b33dc49b6cd..09d3d739f962dd9ae1e1679890efe9c3bf53082a 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename axe1.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 4  ( 4 )   Summary  = 20  ( 20 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 4  ( 4 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 6  ( 6 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 4 -shape 20
+checkstatshape res_1 -solid 1 -shell 1 -face 4 -freewire 0 -freeedge 0 -sharededge 6
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 4 -shape 20 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 4 -freewire 0 -freeedge 0 -sharededge 6 -max_solid 1 -max_shell 1 -max_face 4 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 6e6162e8a457725a8b039fea71961b85c9306673..74a8378c3bf6d36c9c25efc1fc07529e5918a6c3 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename axe1cas.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 4  ( 4 )   Summary  = 20  ( 20 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 4  ( 4 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 6  ( 6 )
-TOLERANCE   : MaxTol   = 0.001449181499  ( 0.001449181499 )  AvgTol   =  0.001159359401  (  0.001159359401 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 4 -shape 20
+checkstatshape res_1 -solid 1 -shell 1 -face 4 -freewire 0 -freeedge 0 -sharededge 6
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.001449181499 -avg 0.001159359401]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 4 -shape 20 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 4 -freewire 0 -freeedge 0 -sharededge 6 -max_solid 1 -max_shell 1 -max_face 4 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.001449181499 -avg 0.001159359401 -max_tol ${max_tol_res_1}
+
index 8b123a73cc5b0e4bb79f7a9c508734aaea7165c2..39bc90ce2d911961c703454873ca328e84648c4a 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm1_ie_fuel.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 4 )  Summary  = 4  ( 4 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   Summary  = 39  ( 39 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 15  ( 15 )
-TOLERANCE   : MaxTol   = 0.003284526443  ( 0.003284526294 )  AvgTol   =  0.0003244877968  (  0.0003244877821 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 6 -shape 39
+checkstatshape res_1 -solid 0 -shell 1 -face 6 -freewire 0 -freeedge 0 -sharededge 15
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.003284526294 -avg 0.0003244877821]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 6 -shape 39 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 6 -freewire 0 -freeedge 0 -sharededge 15 -max_solid 0 -max_shell 1 -max_face 6 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003284526443 -avg 0.0003244877968 -max_tol ${max_tol_res_1}
+
index 532e53163bb7e14ed31edc7caf2495f860312cfb..58dcd2ad536076db38a73ee624ec4488f3cee535 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm1_ie_lever.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 51  ( 51 )   Summary  = 333  ( 333 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 51  ( 51 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 135  ( 135 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000083858e-007  (  1.000083858e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 51 -shape 333
+checkstatshape res_1 -solid 1 -shell 1 -face 51 -freewire 0 -freeedge 0 -sharededge 135
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000083858e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 51 -shape 333 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 51 -freewire 0 -freeedge 0 -sharededge 135 -max_solid 1 -max_shell 1 -max_face 51 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000083858e-007 -max_tol ${max_tol_res_1}
+
index e905630e20be5a52a7fa8946b72564e74bb54e5d..c5eff8e41df482b0dc8ee1ca73eecfefad87d55a 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm1_pe_fuel.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 8  ( 8 )  Summary  = 8  ( 8 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 6  ( 6 )  Face     = 10  ( 10 )   Summary  = 89  ( 89 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 6  ( 6 )  Face     = 10  ( 10 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 34  ( 34 )
-TOLERANCE   : MaxTol   =    112.7632273  (    112.7632273 )  AvgTol   =     20.07582429  (     20.07582429 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 6 -face 10 -shape 89
+checkstatshape res_1 -solid 0 -shell 6 -face 10 -freewire 0 -freeedge 0 -sharededge 34
+set max_tol_res_1 [checkmaxtol res_1 -tol 112.7632273 -avg 20.07582429]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 6 -face 10 -shape 89 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 6 -face 10 -freewire 0 -freeedge 0 -sharededge 34 -max_solid 0 -max_shell 6 -max_face 10 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 112.7632273 -avg 20.07582429 -max_tol ${max_tol_res_1}
+
index 181a006ae6c76636bfcf36682d05d8ad5c38b845..73e1bef5709592b66f4777180d2ae944475955d4 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm1_pe_lever.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 67  ( 67 )   Summary  = 427  ( 427 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 67  ( 67 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 175  ( 175 )
-TOLERANCE   : MaxTol   =  0.01632915222  (  0.01632915256 )  AvgTol   =  0.0007574810923  (  0.0007574811018 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 67 -shape 427
+checkstatshape res_1 -solid 1 -shell 1 -face 67 -freewire 0 -freeedge 0 -sharededge 175
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01632915256 -avg 0.0007574811018]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 67 -shape 427 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 67 -freewire 0 -freeedge 0 -sharededge 175 -max_solid 1 -max_shell 1 -max_face 67 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01632915222 -avg 0.0007574810923 -max_tol ${max_tol_res_1}
+
index 7c066a846c368ac03c8f75812263b60555a13e85..5209fc428da3ae1f5237aa3e17b7e5bcb4d08620 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm1_sd_lever.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 68  ( 68 )   Summary  = 430  ( 430 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 68  ( 68 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 175  ( 175 )
-TOLERANCE   : MaxTol   = 5.222214856e-007  ( 0.0002490151482 )  AvgTol   =  1.105810875e-007  (  6.344591722e-006 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 68 -shape 430
+checkstatshape res_1 -solid 1 -shell 1 -face 68 -freewire 0 -freeedge 0 -sharededge 175
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0002490151482 -avg 6.344591722e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 68 -shape 430 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 68 -freewire 0 -freeedge 0 -sharededge 175 -max_solid 1 -max_shell 1 -max_face 68 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 5.222214856e-007 -avg 1.105810875e-007 -max_tol ${max_tol_res_1}
+
index 95dbfbe27d3ffb92cf04e274d71daf72f900949c..9736b38f872d897e21133511ec3d28b1278b6eed 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm1_tab.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 10  ( 10 )   Summary  = 52  ( 52 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 10  ( 10 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 17  ( 17 )
-TOLERANCE   : MaxTol   =   1.00005e-007  (   1.00005e-007 )  AvgTol   =  1.000021429e-007  (  1.000021429e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 10 -shape 52
+checkstatshape res_1 -solid 1 -shell 1 -face 10 -freewire 0 -freeedge 0 -sharededge 17
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-007 -avg 1.000021429e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 10 -shape 52 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 10 -freewire 0 -freeedge 0 -sharededge 17 -max_solid 1 -max_shell 1 -max_face 10 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.00005e-007 -avg 1.000021429e-007 -max_tol ${max_tol_res_1}
+
index 9b6a0d2ac3256bba80bd25569643a3c6383283c5..fdf6e566aa792357a137160225fe1731a8d4dc5f 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm1_ug_exhaust.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 24 )  Summary  = 0  ( 24 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 42  ( 42 )   Summary  = 401  ( 361 )
-STATSHAPE   : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 42  ( 42 )   FreeWire = 0  ( 0 )   FreeEdge  = 39 ( 39 )   SharedEdge = 119  ( 119 )
-TOLERANCE   : MaxTol   = 7.175387751e-006  (         1e-005 )  AvgTol   =  1.235815193e-006  (  4.223737825e-006 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 24 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 4 -shell 4 -face 42 -shape 361
+checkstatshape res_1 -solid 4 -shell 4 -face 42 -freewire 0 -freeedge 39 -sharededge 119
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 4.223737825e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 24 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 4 -shell 4 -face 42 -shape 401 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 4 -shell 4 -face 42 -freewire 0 -freeedge 39 -sharededge 119 -max_solid 4 -max_shell 4 -max_face 42 -max_freewire 0 -max_freeedge 39
+checkmaxtol res_2 -tol 7.175387751e-006 -avg 1.235815193e-006 -max_tol ${max_tol_res_1}
+
index 2f6148cf6c3a3958a9240b4acb15616e5e21a796..ac1fd1293c9ac68cc61ec9e5faaa0961f8304f49 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm1_ug_lever.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 5 )  Summary  = 0  ( 5 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 54  ( 54 )   Summary  = 348  ( 348 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 54  ( 54 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 141  ( 141 )
-TOLERANCE   : MaxTol   = 4.437195315e-006  (         1e-005 )  AvgTol   =  1.674752273e-007  (  8.934749522e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 54 -shape 348
+checkstatshape res_1 -solid 1 -shell 1 -face 54 -freewire 0 -freeedge 0 -sharededge 141
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 8.934749522e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 54 -shape 348 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 54 -freewire 0 -freeedge 0 -sharededge 141 -max_solid 1 -max_shell 1 -max_face 54 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 4.437195315e-006 -avg 1.674752273e-007 -max_tol ${max_tol_res_1}
+
index 2790f2275fe7ae9838967a125cf40082a5943121..eca5f1621a219edc0bc4a0723ed5fb13ed5858c6 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_id_t4-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 4  ( 4 )  Face     = 13  ( 13 )   Summary  = 100  ( 91 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 4  ( 4 )  Face     = 13  ( 13 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 38  ( 35 )
-TOLERANCE   : MaxTol   = 0.004158901543  ( 0.004158984724 )  AvgTol   =  0.001029525724  (  0.001123872701 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 4 -face 13 -shape 91
+checkstatshape res_1 -solid 0 -shell 4 -face 13 -freewire 0 -freeedge 0 -sharededge 35
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.004158984724 -avg 0.001123872701]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 4 -face 13 -shape 100 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 4 -face 13 -freewire 0 -freeedge 0 -sharededge 38 -max_solid 0 -max_shell 4 -max_face 13 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.004158901543 -avg 0.001029525724 -max_tol ${max_tol_res_1}
+
index 79d8beeffd6793f8d90e5e01ffdc892ad1fc47e9..8220dd9f27c09028b25c13b0d07f3ed25d72e2f4 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename bm2_ie_lever-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 0 )  Summary  = 1  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 51  ( 51 )   Summary  = 333  ( 333 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 51  ( 51 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 135  ( 135 )
-TOLERANCE   : MaxTol   = 2.885132887e-007  ( 0.001459932907 )  AvgTol   =  1.013219976e-007  (  5.528247406e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 51 -shape 333
+checkstatshape res_1 -solid 1 -shell 1 -face 51 -freewire 0 -freeedge 0 -sharededge 135
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.001459932907 -avg 5.528247406e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 51 -shape 333 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 51 -freewire 0 -freeedge 0 -sharededge 135 -max_solid 1 -max_shell 1 -max_face 51 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 2.885132887e-007 -avg 1.013219976e-007 -max_tol ${max_tol_res_1}
+
index 2131fb17c675490bb1dd93d2878ec79a3e887728..0e91be35f38245c239e51dae4961aef741fae8e3 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_ie_lever-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 51  ( 51 )   Summary  = 333  ( 333 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 51  ( 51 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 135  ( 135 )
-TOLERANCE   : MaxTol   = 0.007690167811  ( 0.007690167811 )  AvgTol   =  0.0007108302558  (  0.0007108302555 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 51 -shape 333
+checkstatshape res_1 -solid 1 -shell 1 -face 51 -freewire 0 -freeedge 0 -sharededge 135
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.007690167811 -avg 0.0007108302555]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 51 -shape 333 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 51 -freewire 0 -freeedge 0 -sharededge 135 -max_solid 1 -max_shell 1 -max_face 51 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.007690167811 -avg 0.0007108302558 -max_tol ${max_tol_res_1}
+
index 860a34f148595723be62fef276d501df65ce3200..d70db244a2bda54307c2182967e6b23226aacc59 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename bm2_ie_leverrod-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 0 )  Summary  = 4  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 51  ( 51 )   Summary  = 335  ( 335 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 51  ( 51 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 136  ( 136 )
-TOLERANCE   : MaxTol   = 0.000304966156  ( 0.001459917492 )  AvgTol   =  4.319608909e-006  (  5.49000906e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 51 -shape 335
+checkstatshape res_1 -solid 1 -shell 1 -face 51 -freewire 0 -freeedge 0 -sharededge 136
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.001459917492 -avg 5.49000906e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 51 -shape 335 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 51 -freewire 0 -freeedge 0 -sharededge 136 -max_solid 1 -max_shell 1 -max_face 51 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.000304966156 -avg 4.319608909e-006 -max_tol ${max_tol_res_1}
+
index 50625b2d86ca35bda0c09001c0a41ee8e2cd19e9..9e82afc2ae96f26ad7381899f58bb4507813411c 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_ie_leverrod-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 51  ( 51 )   Summary  = 335  ( 335 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 51  ( 51 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 136  ( 136 )
-TOLERANCE   : MaxTol   = 0.007690533276  ( 0.007690533276 )  AvgTol   =  0.0007804260397  (  0.0007804260395 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 51 -shape 335
+checkstatshape res_1 -solid 1 -shell 1 -face 51 -freewire 0 -freeedge 0 -sharededge 136
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.007690533276 -avg 0.0007804260395]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 51 -shape 335 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 51 -freewire 0 -freeedge 0 -sharededge 136 -max_solid 1 -max_shell 1 -max_face 51 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.007690533276 -avg 0.0007804260397 -max_tol ${max_tol_res_1}
+
index 5a0175ebcd5aaa7f1e251496c92e149fa955eaa0..09dc94a4c32b0de9acc1aa76883f6c5f02770477 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_pe_lever-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 67  ( 67 )   Summary  = 427  ( 427 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 67  ( 67 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 175  ( 175 )
-TOLERANCE   : MaxTol   = 0.0006428800219  ( 0.0006428800219 )  AvgTol   =  2.990869936e-005  (  2.990869936e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 67 -shape 427
+checkstatshape res_1 -solid 1 -shell 1 -face 67 -freewire 0 -freeedge 0 -sharededge 175
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0006428800219 -avg 2.990869936e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 67 -shape 427 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 67 -freewire 0 -freeedge 0 -sharededge 175 -max_solid 1 -max_shell 1 -max_face 67 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0006428800219 -avg 2.990869936e-005 -max_tol ${max_tol_res_1}
+
index 19ffdf21b2630937901b6d026dc8b026d3e16073..41191f7a6b1650218bf62354d4fa9b16c8d10ffa 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_pe_t4-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 7  ( 7 )  Face     = 9  ( 9 )   Summary  = 108  ( 108 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 7  ( 7 )  Face     = 9  ( 9 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 41  ( 41 )
-TOLERANCE   : MaxTol   = 0.003863207397  (  0.04018695152 )  AvgTol   =  0.000366443826  (  0.001787191105 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 5  ( 5 )  N2Labels = 0  ( 0 )   TotalLabels = 6  ( 6 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 5  ( 5 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = ACHSEN FLAECHEN VERBFLAECHE  ( ACHSEN FLAECHEN VERBFLAECHE )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 5 -n2 0 -total 6 -withname 1 -withcolor 0 -withlayer 5 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers { ACHSEN FLAECHEN VERBFLAECHE } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 7 -face 9 -shape 108
+checkstatshape res_1 -solid 0 -shell 7 -face 9 -freewire 0 -freeedge 0 -sharededge 41
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.04018695152 -avg 0.001787191105]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 5 -n2 0 -total 6 -withname 1 -withcolor 0 -withlayer 5 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 5 -n2 0 -total 6 -withname 1 -withcolor 0 -withlayer 5 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers { ACHSEN FLAECHEN VERBFLAECHE  } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 7 -face 9 -shape 108 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 7 -face 9 -freewire 0 -freeedge 0 -sharededge 41 -max_solid 0 -max_shell 7 -max_face 9 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003863207397 -avg 0.000366443826 -max_tol ${max_tol_res_1}
+
index f45543789d8724762bce2c24b7e4841808f285cc..ab5a68d34e980a1f03c32d6ece5bd40f34c6a1c2 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_ug_lever-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 5 )  Summary  = 0  ( 5 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 54  ( 54 )   Summary  = 348  ( 348 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 54  ( 54 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 141  ( 141 )
-TOLERANCE   : MaxTol   = 4.437195315e-006  (         1e-005 )  AvgTol   =  1.674752273e-007  (  8.934749522e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 54 -shape 348
+checkstatshape res_1 -solid 1 -shell 1 -face 54 -freewire 0 -freeedge 0 -sharededge 141
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 8.934749522e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 54 -shape 348 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 54 -freewire 0 -freeedge 0 -sharededge 141 -max_solid 1 -max_shell 1 -max_face 54 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 4.437195315e-006 -avg 1.674752273e-007 -max_tol ${max_tol_res_1}
+
index 13340cd55888ea3b503c63926a01777e3ba48d6a..5c05408accec58a3317819140bde92312b6f3c11 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr9_bv1-sd.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   Summary  = 100  ( 100 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 36  ( 36 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.00009231e-007  (  1.00009231e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 3 -face 18 -shape 100
+checkstatshape res_1 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.00009231e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 18 -shape 100 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36 -max_solid 1 -max_shell 3 -max_face 18 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00009231e-007 -max_tol ${max_tol_res_1}
+
index 2139fc4254fcbb2a83fb1c81a7074799ec3366de..07b6198d019799c16f3734f0c6b719f6ce4ecb86 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename conrod.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 2 )  Summary  = 2  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 22  ( 22 )   Summary  = 150  ( 150 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 22  ( 22 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 60  ( 60 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 22 -shape 150
+checkstatshape res_1 -solid 1 -shell 1 -face 22 -freewire 0 -freeedge 0 -sharededge 60
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 22 -shape 150 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 22 -freewire 0 -freeedge 0 -sharededge 60 -max_solid 1 -max_shell 1 -max_face 22 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 2f4803f30f7c3b24a13ecc2685ccbfe91202e06a..303fc3c187b7e2c04703fa535e49145d967b3ac0 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename fuel_flange.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 72  ( 72 )   Summary  = 450  ( 450 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 72  ( 72 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 180  ( 180 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000049914e-007  (  1.000049914e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 72 -shape 450
+checkstatshape res_1 -solid 1 -shell 1 -face 72 -freewire 0 -freeedge 0 -sharededge 180
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000049914e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 72 -shape 450 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 72 -freewire 0 -freeedge 0 -sharededge 180 -max_solid 1 -max_shell 1 -max_face 72 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000049914e-007 -max_tol ${max_tol_res_1}
+
index dae06dfb94c4d3cc715157d22af05ae288a47be6..3522bf8dc47527ee41d726fe31a5c1edcb3bca08 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename hnc_63.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 23  ( 23 )   Summary  = 161  ( 161 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 23  ( 23 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 63  ( 63 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000065338e-007  (  1.000065338e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 23 -shape 161
+checkstatshape res_1 -solid 1 -shell 1 -face 23 -freewire 0 -freeedge 0 -sharededge 63
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000065338e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 23 -shape 161 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 23 -freewire 0 -freeedge 0 -sharededge 63 -max_solid 1 -max_shell 1 -max_face 23 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000065338e-007 -max_tol ${max_tol_res_1}
+
index 0ac185f933a93978069c229560578b0c748da4e0..6a8afc03e987a8cb81a1dba49ded943553de9139 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename manille1.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 10  ( 10 )   Summary  = 66  ( 66 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 10  ( 10 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 24  ( 24 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 10 -shape 66
+checkstatshape res_1 -solid 1 -shell 1 -face 10 -freewire 0 -freeedge 0 -sharededge 24
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 10 -shape 66 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 10 -freewire 0 -freeedge 0 -sharededge 24 -max_solid 1 -max_shell 1 -max_face 10 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 6360549691db5b1d5159a24be7e9f79e2e8133ea..7b37a7fc1f773bb12a9a72f315cad6db94807c08 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename manille3-b.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 8  ( 8 )   Summary  = 50  ( 50 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 8  ( 8 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 18  ( 18 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 8 -shape 50
+checkstatshape res_1 -solid 1 -shell 1 -face 8 -freewire 0 -freeedge 0 -sharededge 18
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 8 -shape 50 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 8 -freewire 0 -freeedge 0 -sharededge 18 -max_solid 1 -max_shell 1 -max_face 8 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index bfcb7b59fb5a02d16784be792e5f370ef4d6c4bf..f1583e09cfdf8bf88f7107889e263f640bf35d07 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename manille3-h.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 8  ( 8 )   Summary  = 50  ( 50 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 8  ( 8 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 18  ( 18 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 8 -shape 50
+checkstatshape res_1 -solid 1 -shell 1 -face 8 -freewire 0 -freeedge 0 -sharededge 18
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 8 -shape 50 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 8 -freewire 0 -freeedge 0 -sharededge 18 -max_solid 1 -max_shell 1 -max_face 8 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index c0524db7545a4d26723da0f31f8572fbbed47658..c87c06e1aaaf916bf3f335a78b3f3d3925cae313 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename pr1ct.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 15  ( 15 )   Summary  = 89  ( 89 )
-STATSHAPE   : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 15  ( 15 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 32  ( 32 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000042329e-007  (  1.000042329e-007 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 1  ( 1 )  N2Labels = 0  ( 0 )   TotalLabels = 4  ( 4 )   NameLabels = 3  ( 3 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 3 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 3 -n1 1 -n2 0 -total 4 -withname 3 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 4 -shell 4 -face 15 -shape 89
+checkstatshape res_1 -solid 4 -shell 4 -face 15 -freewire 0 -freeedge 0 -sharededge 32
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000042329e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 3 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 1 -n2 0 -total 4 -withname 3 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 1 -n2 0 -total 4 -withname 3 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 4 -shell 4 -face 15 -shape 89 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 4 -shell 4 -face 15 -freewire 0 -freeedge 0 -sharededge 32 -max_solid 4 -max_shell 4 -max_face 15 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000042329e-007 -max_tol ${max_tol_res_1}
+
index aa570a7af9b0ff5fdf4ccf61ed8c9b95555197ff..0235699533d0fa839b885ec0b6a0e1c87d399469 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename pr1db.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 8  ( 8 )  Summary  = 8  ( 8 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 15  ( 15 )   Summary  = 88  ( 88 )
-STATSHAPE   : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 15  ( 15 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 32  ( 32 )
-TOLERANCE   : MaxTol   = 4.77502491e-005  ( 4.883486644e-005 )  AvgTol   =  1.125893753e-005  (  1.194897185e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 4  ( 4 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 1  ( 1 )   ColorLabels = 4  ( 4 )   LayerLabels = 4  ( 4 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = DODGERBLUE2 GREEN RED YELLOW  ( DODGERBLUE2 GREEN RED YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+checkxstat D_First -n0 1 -n1 4 -n2 0 -total 5 -withname 1 -withcolor 4 -withlayer 4 -centroid 0 -volume 0 -area 0 -colors { DODGERBLUE2 GREEN RED YELLOW } -nbcolors 4 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 4 -shell 4 -face 15 -shape 88
+checkstatshape res_1 -solid 4 -shell 4 -face 15 -freewire 0 -freeedge 0 -sharededge 32
+set max_tol_res_1 [checkmaxtol res_1 -tol 4.883486644e-005 -avg 1.194897185e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 4 -n2 0 -total 5 -withname 1 -withcolor 4 -withlayer 4 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 4 -n2 0 -total 5 -withname 1 -withcolor 4 -withlayer 4 -centroid 0 -volume 0 -area 0 -colors { DODGERBLUE2 GREEN RED YELLOW  } -nbcolors 4 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 4 -shell 4 -face 15 -shape 88 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 4 -shell 4 -face 15 -freewire 0 -freeedge 0 -sharededge 32 -max_solid 4 -max_shell 4 -max_face 15 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 4.77502491e-005 -avg 1.125893753e-005 -max_tol ${max_tol_res_1}
+
index 30cf214a3c2773a07a8b5f1e819c38a67dd37d3e..f3cc9596563c5913ed24c44ae51aad82ad97c2ae 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename pr1pe.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 15  ( 15 )   Summary  = 88  ( 88 )
-STATSHAPE   : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 15  ( 15 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 32  ( 32 )
-TOLERANCE   : MaxTol   = 0.0003426289767  ( 0.0003426285624 )  AvgTol   =  7.259288845e-005  (  7.259282167e-005 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 4  ( 4 )  N2Labels = 0  ( 0 )   TotalLabels = 9  ( 9 )   NameLabels = 9  ( 9 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 5 -n1 4 -n2 0 -total 9 -withname 9 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 4 -shell 4 -face 15 -shape 88
+checkstatshape res_1 -solid 4 -shell 4 -face 15 -freewire 0 -freeedge 0 -sharededge 32
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0003426285624 -avg 7.259282167e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 4 -n2 0 -total 9 -withname 9 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 4 -n2 0 -total 9 -withname 9 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 4 -shell 4 -face 15 -shape 88 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 4 -shell 4 -face 15 -freewire 0 -freeedge 0 -sharededge 32 -max_solid 4 -max_shell 4 -max_face 15 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0003426289767 -avg 7.259288845e-005 -max_tol ${max_tol_res_1}
+
index a60f125239e5374261ddac1e424fa7837db92901..2630338d303d8ac6f7693fcff4f708cb1aa2aace 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename pr1sd.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 17  ( 17 )   Summary  = 98  ( 98 )
-STATSHAPE   : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 17  ( 17 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 36  ( 36 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.00003721e-007  (  1.00003721e-007 )
-LABELS      : N0Labels = 4  ( 4 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 4  ( 4 )   NameLabels = 4  ( 4 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 4 -n1 0 -n2 0 -total 4 -withname 4 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 4 -shell 4 -face 17 -shape 98
+checkstatshape res_1 -solid 4 -shell 4 -face 17 -freewire 0 -freeedge 0 -sharededge 36
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.00003721e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4 -n1 0 -n2 0 -total 4 -withname 4 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 0 -n2 0 -total 4 -withname 4 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 4 -shell 4 -face 17 -shape 98 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 4 -shell 4 -face 17 -freewire 0 -freeedge 0 -sharededge 36 -max_solid 4 -max_shell 4 -max_face 17 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00003721e-007 -max_tol ${max_tol_res_1}
+
index 55e588da22da84e325c536dc502de8a690f7ba74..5297c27c11b81f2e94ec4f7b975e68bde7d72760 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename pr1sy.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 2 )  Summary  = 0  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 11  ( 11 )   Summary  = 66  ( 66 )
-STATSHAPE   : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 11  ( 11 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 21  ( 21 )
-TOLERANCE   : MaxTol   = 2.345200447e-007  (         1e-005 )  AvgTol   =  1.111589635e-007  (  1.163226741e-006 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 4  ( 4 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 1  ( 1 )   ColorLabels = 4  ( 4 )   LayerLabels = 4  ( 4 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = GOLD GREEN RED ROYALBLUE  ( GOLD GREEN RED ROYALBLUE )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = 0 254 X  ( 0 254 X )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 1 -n1 4 -n2 0 -total 5 -withname 1 -withcolor 4 -withlayer 4 -centroid 0 -volume 0 -area 0 -colors { GOLD GREEN RED ROYALBLUE } -nbcolors 4 -layers { 0 254 X } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 4 -shell 4 -face 11 -shape 66
+checkstatshape res_1 -solid 4 -shell 4 -face 11 -freewire 0 -freeedge 0 -sharededge 21
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 1.163226741e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 4 -n2 0 -total 5 -withname 1 -withcolor 4 -withlayer 4 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 4 -n2 0 -total 5 -withname 1 -withcolor 4 -withlayer 4 -centroid 0 -volume 0 -area 0 -colors { GOLD GREEN RED ROYALBLUE  } -nbcolors 4 -layers { 0 254 X  } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 4 -shell 4 -face 11 -shape 66 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 4 -shell 4 -face 11 -freewire 0 -freeedge 0 -sharededge 21 -max_solid 4 -max_shell 4 -max_face 11 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 2.345200447e-007 -avg 1.111589635e-007 -max_tol ${max_tol_res_1}
+
index fe83b457b2eb34182292b2a460fff8db6f2dd468..d415466bc6c18a3788eb9f489c975ea2a61bad93 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename pr2ct.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   Summary  = 34  ( 34 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 12  ( 12 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.00009231e-007  (  1.00009231e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 3  ( 3 )   NameLabels = 1  ( 1 )   ColorLabels = 2  ( 2 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE1 GREEN  ( BLUE1 GREEN )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 6 -shape 34
+checkstatshape res_1 -solid 1 -shell 1 -face 6 -freewire 0 -freeedge 0 -sharededge 12
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.00009231e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 6 -shape 34 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 6 -freewire 0 -freeedge 0 -sharededge 12 -max_solid 1 -max_shell 1 -max_face 6 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00009231e-007 -max_tol ${max_tol_res_1}
+
index 2beb8f6d6543e7fe7d1a475fd8730976cb9e7263..55b6ecc179ca0f27c7e1d640d7d1a9693e806865 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename pr2sd.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   Summary  = 34  ( 34 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 12  ( 12 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.00009231e-007  (  1.00009231e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 1  ( 1 )  N2Labels = 0  ( 0 )   TotalLabels = 2  ( 2 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = BLUE1  ( BLUE1 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 1 -n2 0 -total 2 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 6 -shape 34
+checkstatshape res_1 -solid 1 -shell 1 -face 6 -freewire 0 -freeedge 0 -sharededge 12
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.00009231e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 1 -n2 0 -total 2 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 1 -n2 0 -total 2 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 6 -shape 34 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 6 -freewire 0 -freeedge 0 -sharededge 12 -max_solid 1 -max_shell 1 -max_face 6 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00009231e-007 -max_tol ${max_tol_res_1}
+
index 2f4c97fe34aad5f27e83e2b4fe5c0ddc126f5039..431598016963099732b59a286a5c8c74da4f2d8c 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 
-set LinuxDiff 1
 set filename pr_3-al.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 7  ( 8 )  Summary  = 7  ( 8 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 13  ( 13 )   Summary  = 80  ( 80 )
-STATSHAPE   : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 13  ( 13 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 30  ( 30 )
- TOLERANCE   : MaxTol   = 0.008922501024  (  0.03514950194 )  AvgTol   =  0.000950414902  (  0.004694138186 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 4  ( 4 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 1  ( 1 )   ColorLabels = 4  ( 4 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = BLUE1 GREEN RED YELLOW  ( BLUE1 GREEN RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+checkxstat D_First -n0 1 -n1 4 -n2 0 -total 5 -withname 1 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED YELLOW } -nbcolors 4 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 4 -shell 4 -face 13 -shape 80
+checkstatshape res_1 -solid 4 -shell 4 -face 13 -freewire 0 -freeedge 0 -sharededge 30
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.03514950194 -avg 0.004694138186]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 4 -n2 0 -total 5 -withname 1 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 4 -n2 0 -total 5 -withname 1 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED YELLOW  } -nbcolors 4 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 4 -shell 4 -face 13 -shape 80 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 4 -shell 4 -face 13 -freewire 0 -freeedge 0 -sharededge 30 -max_solid 4 -max_shell 4 -max_face 13 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.008922501024 -avg 0.000950414902 -max_tol ${max_tol_res_1}
+
index 60389c5313423c898d7e859aa46783b4c39e92ac..b9ed1d9d99ff7f8be1c6d2bd53b8fdcaa0061895 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename pr_3-sd.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 17  ( 17 )   Summary  = 102  ( 102 )
-STATSHAPE   : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 17  ( 17 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 38  ( 38 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000035243e-007  (  1.000035243e-007 )
-LABELS      : N0Labels = 4  ( 4 )  N1Labels = 1  ( 1 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 4  ( 4 )   ColorLabels = 5  ( 5 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = BLUE1 GREEN RED YELLOW  ( BLUE1 GREEN RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 4 -n1 1 -n2 0 -total 5 -withname 4 -withcolor 5 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED YELLOW } -nbcolors 4 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 4 -shell 4 -face 17 -shape 102
+checkstatshape res_1 -solid 4 -shell 4 -face 17 -freewire 0 -freeedge 0 -sharededge 38
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000035243e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4 -n1 1 -n2 0 -total 5 -withname 4 -withcolor 5 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 1 -n2 0 -total 5 -withname 4 -withcolor 5 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED YELLOW  } -nbcolors 4 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 4 -shell 4 -face 17 -shape 102 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 4 -shell 4 -face 17 -freewire 0 -freeedge 0 -sharededge 38 -max_solid 4 -max_shell 4 -max_face 17 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000035243e-007 -max_tol ${max_tol_res_1}
+
index cbba000a59fb7a4f632a90e31da4363137ca6446..1e2a2b8373881f9b9328f0e1e2f864319890709f 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename pr_3-sy.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 2 )  Summary  = 0  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 11  ( 11 )   Summary  = 64  ( 64 )
-STATSHAPE   : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 11  ( 11 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 20  ( 20 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  (         1e-005 )  AvgTol   =  1.000064001e-007  (  1.20880592e-006 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 4  ( 4 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 1  ( 1 )   ColorLabels = 4  ( 4 )   LayerLabels = 4  ( 4 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = GOLD GREEN RED ROYALBLUE  ( GOLD GREEN RED ROYALBLUE )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = 1 A  ( 1 A )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 1 -n1 4 -n2 0 -total 5 -withname 1 -withcolor 4 -withlayer 4 -centroid 0 -volume 0 -area 0 -colors { GOLD GREEN RED ROYALBLUE } -nbcolors 4 -layers { 1 A } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 4 -shell 4 -face 11 -shape 64
+checkstatshape res_1 -solid 4 -shell 4 -face 11 -freewire 0 -freeedge 0 -sharededge 20
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 1.20880592e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 4 -n2 0 -total 5 -withname 1 -withcolor 4 -withlayer 4 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 4 -n2 0 -total 5 -withname 1 -withcolor 4 -withlayer 4 -centroid 0 -volume 0 -area 0 -colors { GOLD GREEN RED ROYALBLUE  } -nbcolors 4 -layers { 1 A  } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 4 -shell 4 -face 11 -shape 64 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 4 -shell 4 -face 11 -freewire 0 -freeedge 0 -sharededge 20 -max_solid 4 -max_shell 4 -max_face 11 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000064001e-007 -max_tol ${max_tol_res_1}
+
index f5183cc4b168182fbad012f3c1ee3c0edf232934..a54c0f17925bee5c6fb2a44548a7f1a87ba76827 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj4_k1_top-ug-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 10 )  Summary  = 0  ( 10 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 44  ( 44 )   Summary  = 287  ( 287 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 44  ( 44 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 118  ( 118 )
-TOLERANCE   : MaxTol   = 0.004260923847  ( 0.004260923847 )  AvgTol   =  0.0002558561664  (  0.0002570770616 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = CYAN1  ( CYAN1 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { CYAN1 } -nbcolors 1 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 44 -shape 287
+checkstatshape res_1 -solid 0 -shell 1 -face 44 -freewire 0 -freeedge 0 -sharededge 118
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.004260923847 -avg 0.0002570770616]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { CYAN1  } -nbcolors 1 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 44 -shape 287 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 44 -freewire 0 -freeedge 0 -sharededge 118 -max_solid 0 -max_shell 1 -max_face 44 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.004260923847 -avg 0.0002558561664 -max_tol ${max_tol_res_1}
+
index e67a813eb887a048b1e6ca8137a41d1621a9c0eb..32fa678c28828c3faaf67692f839caba5bed236e 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename screw.step
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 10  ( 10 )   Summary  = 58  ( 58 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 10  ( 10 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 22  ( 22 )
-TOLERANCE   : MaxTol   = 0.0003003031941  ( 0.0003002846181 )  AvgTol   =  7.010353348e-005  (  7.009904529e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 10 -shape 58
+checkstatshape res_1 -solid 1 -shell 1 -face 10 -freewire 0 -freeedge 0 -sharededge 22
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0003002846181 -avg 7.009904529e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 10 -shape 58 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 10 -freewire 0 -freeedge 0 -sharededge 22 -max_solid 1 -max_shell 1 -max_face 10 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0003003031941 -avg 7.010353348e-005 -max_tol ${max_tol_res_1}
+
index b49dceb334b61cdc5aabe6b04c9fc8df3be6613f..90c5d0850c45cff279ec048e45d9dfaea010aa3f 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename sg_50_63.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 24  ( 24 )   Summary  = 146  ( 146 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 24  ( 24 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 54  ( 54 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.00006207e-007  (  1.00006207e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 24 -shape 146
+checkstatshape res_1 -solid 1 -shell 1 -face 24 -freewire 0 -freeedge 0 -sharededge 54
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.00006207e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 24 -shape 146 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 24 -freewire 0 -freeedge 0 -sharededge 54 -max_solid 1 -max_shell 1 -max_face 24 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00006207e-007 -max_tol ${max_tol_res_1}
+
index 4cbe0e885714bcf946f81fac23453ce2d318ac31..88bcd4fdad2ec9c5977c2215a907dc525cd62e23 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename stepsphere.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 9  ( 9 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 3  ( 3 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 1 -shape 9
+checkstatshape res_1 -solid 1 -shell 1 -face 1 -freewire 0 -freeedge 0 -sharededge 3
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 1 -shape 9 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 1 -freewire 0 -freeedge 0 -sharededge 3 -max_solid 1 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index b29907ebb8d9157b3034150f4e5d87ef90a5db29..e22c193ab2839593ab07cf7a6ba99061f4fecf5b 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename t3n.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 11  ( 11 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 4  ( 4 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 11
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 0 -sharededge 4
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 11 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 0 -sharededge 4 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 1815c80d2f9be52baa09df3cbcedbb2cafd46b0c..c7b2944ce7693e8213f9ab070d97f5eebb48dd04 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename t4mid.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 10  ( 10 )   Summary  = 75  ( 75 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 10  ( 10 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 31  ( 31 )
-TOLERANCE   : MaxTol   =  0.00375449653  (  0.00375449654 )  AvgTol   =  0.0006676682327  (  0.0006676682342 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 10 -shape 75
+checkstatshape res_1 -solid 0 -shell 1 -face 10 -freewire 0 -freeedge 0 -sharededge 31
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.00375449654 -avg 0.0006676682342]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 10 -shape 75 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 10 -freewire 0 -freeedge 0 -sharededge 31 -max_solid 0 -max_shell 1 -max_face 10 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.00375449653 -avg 0.0006676682327 -max_tol ${max_tol_res_1}
+
index fbedcb7191121338e2cb830ad6d1fd2627046a30..a01c8fa0241672385c0cdea269be238da303745e 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename t4mpe.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 13  ( 13 )  Face     = 13  ( 13 )   Summary  = 151  ( 151 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 13  ( 13 )  Face     = 13  ( 13 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 55  ( 55 )
-TOLERANCE   : MaxTol   = 0.004199466556  (  0.03863716718 )  AvgTol   =  0.0004345787725  (  0.002293953678 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 13 -face 13 -shape 151
+checkstatshape res_1 -solid 0 -shell 13 -face 13 -freewire 0 -freeedge 0 -sharededge 55
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.03863716718 -avg 0.002293953678]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 13 -face 13 -shape 151 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 13 -face 13 -freewire 0 -freeedge 0 -sharededge 55 -max_solid 0 -max_shell 13 -max_face 13 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.004199466556 -avg 0.0004345787725 -max_tol ${max_tol_res_1}
+
index cabe7573a40fd0b684a4d2966f0540fa91dc4a16..a337172fabcd19880d86805a7ca01791f70831e0 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr8_as2_tc.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 19 )  Summary  = 0  ( 19 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 353  ( 353 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000062348e-007  (  1.000062348e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 0  ( 0 )   LayerLabels = 5  ( 5 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 000  ( 000 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 19 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 5 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers { 000 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 353
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000062348e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 19 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 5 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 5 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers { 000  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 353 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000062348e-007 -max_tol ${max_tol_res_1}
+
index 163d0c1067cea9f61c2d956f896e51dd8c2a93ac..3894e411c6f0628d6ae01a26d58fe12693bd2288 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr8_as2_ug.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 14 )  Summary  = 0  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 39  ( 39 )   Summary  = 269  ( 269 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 125  ( 125 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 91  ( 91 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  (         1e-005 )  AvgTol   =  1.00006917e-007  (  2.879948407e-006 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 5  ( 5 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = BLUE1 DARKORANGE1 GREEN RED  ( BLUE1 DARKORANGE1 GREEN RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 DARKORANGE1 GREEN RED } -nbcolors 4 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 39 -shape 269
+checkstatshape res_1 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 91
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 2.879948407e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 DARKORANGE1 GREEN RED  } -nbcolors 4 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 39 -shape 269 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 91 -max_solid 18 -max_shell 18 -max_face 125 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00006917e-007 -max_tol ${max_tol_res_1}
+
index edbdb8144907ceed69183f99e4706938e09be8af..b4e0f86b6cf070d5b130a1de8666ca67267adc7a 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr8_bv1_ac.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   Summary  = 100  ( 100 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 36  ( 36 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 3 -face 18 -shape 100
+checkstatshape res_1 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 18 -shape 100 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36 -max_solid 1 -max_shell 3 -max_face 18 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index f9c9da954b7605ebb73474240db9ff0c5bb64565..82c9ca514c36a3ccffcf8e76827985ded965397b 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr8_bv1_ct.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   Summary  = 100  ( 100 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 36  ( 36 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.00009231e-007  (  1.00009231e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 3 -face 18 -shape 100
+checkstatshape res_1 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.00009231e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 18 -shape 100 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36 -max_solid 1 -max_shell 3 -max_face 18 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00009231e-007 -max_tol ${max_tol_res_1}
+
index 2951b961e28ddc78b54693b2acfa819171c2dfdd..bf0ddf94dc472764aaf7ed67e59339782ddfa101 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr8_bv1_db.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   Summary  = 100  ( 100 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 36  ( 36 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.00009231e-007  (  1.00009231e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 3 -face 18 -shape 100
+checkstatshape res_1 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.00009231e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 18 -shape 100 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36 -max_solid 1 -max_shell 3 -max_face 18 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00009231e-007 -max_tol ${max_tol_res_1}
+
index 9f1de0030a79c25939734be15dfcfd7346e07119..e4e8d1bc10527a3cbba840a2055c8ff63881d080 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr8_bv1_ec.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   Summary  = 100  ( 100 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 36  ( 36 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.00009231e-007  (  1.00009231e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 3 -face 18 -shape 100
+checkstatshape res_1 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.00009231e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 18 -shape 100 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36 -max_solid 1 -max_shell 3 -max_face 18 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00009231e-007 -max_tol ${max_tol_res_1}
+
index e7e3eeb35c89dc54208d82394916df7c8308ee06..8de1400f05a0703a6a8cde4721541fbe2ce23381 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr8_bv1_id.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   Summary  = 100  ( 100 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 36  ( 36 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 36  ( 36 )  N2Labels = 0  ( 0 )   TotalLabels = 37  ( 37 )   NameLabels = 1  ( 1 )   ColorLabels = 37  ( 37 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = DEEPSKYBLUE2 MAGENTA1 ORANGE  ( DEEPSKYBLUE2 MAGENTA1 ORANGE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 36 -n2 0 -total 37 -withname 1 -withcolor 37 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE2 MAGENTA1 ORANGE } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 3 -face 18 -shape 100
+checkstatshape res_1 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 36 -n2 0 -total 37 -withname 1 -withcolor 37 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 36 -n2 0 -total 37 -withname 1 -withcolor 37 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE2 MAGENTA1 ORANGE  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 18 -shape 100 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36 -max_solid 1 -max_shell 3 -max_face 18 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 77f2692651fabaab2329ff0182088ac9e4343790..ae8a795989fdb89310fb34061bd26878d0cae41a 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr8_bv1a_ec.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 17  ( 17 )   Summary  = 98  ( 98 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 17  ( 17 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 36  ( 36 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000092706e-007  (  1.000092706e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 2 -face 17 -shape 98
+checkstatshape res_1 -solid 1 -shell 2 -face 17 -freewire 0 -freeedge 0 -sharededge 36
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000092706e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 2 -face 17 -shape 98 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 2 -face 17 -freewire 0 -freeedge 0 -sharededge 36 -max_solid 1 -max_shell 2 -max_face 17 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000092706e-007 -max_tol ${max_tol_res_1}
+
index db46693c11b925b45bbdbaae252a1a48ae312d17..5a005dda16d3538f19a6e5e5e32e6d3a9232ee0a 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr8_ha1_ct.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 2 )  Summary  = 0  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 7  ( 7 )   Summary  = 47  ( 47 )
-STATSHAPE   : Solid    = 2  ( 2 )  Shell    = 4  ( 4 )  Face     = 14  ( 14 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 16  ( 16 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000085716e-007  (  1.000085716e-007 )
-LABELS      : N0Labels = 4  ( 4 )  N1Labels = 5  ( 5 )  N2Labels = 0  ( 0 )   TotalLabels = 9  ( 9 )   NameLabels = 8  ( 8 )   ColorLabels = 2  ( 2 )   LayerLabels = 2  ( 2 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 2 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 4 -n1 5 -n2 0 -total 9 -withname 8 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 2 -face 7 -shape 47
+checkstatshape res_1 -solid 2 -shell 4 -face 14 -freewire 0 -freeedge 0 -sharededge 16
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000085716e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 2 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4 -n1 5 -n2 0 -total 9 -withname 8 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 5 -n2 0 -total 9 -withname 8 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 2 -face 7 -shape 47 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 2 -shell 4 -face 14 -freewire 0 -freeedge 0 -sharededge 16 -max_solid 2 -max_shell 4 -max_face 14 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000085716e-007 -max_tol ${max_tol_res_1}
+
index 9e77f16e9f4bcb6b27cbe6f6ab258a6bfab3ff5f..c34633e1bbc6355b08e61a3727b9fcc24c74c682 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr8_ha1_id.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 7  ( 7 )   Summary  = 47  ( 47 )
-STATSHAPE   : Solid    = 2  ( 2 )  Shell    = 4  ( 4 )  Face     = 14  ( 14 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 16  ( 16 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 4  ( 4 )  N1Labels = 9  ( 9 )  N2Labels = 0  ( 0 )   TotalLabels = 13  ( 13 )   NameLabels = 8  ( 8 )   ColorLabels = 7  ( 7 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = DEEPSKYBLUE2 ORANGERED  ( DEEPSKYBLUE2 ORANGERED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 4 -n1 9 -n2 0 -total 13 -withname 8 -withcolor 7 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE2 ORANGERED } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 2 -face 7 -shape 47
+checkstatshape res_1 -solid 2 -shell 4 -face 14 -freewire 0 -freeedge 0 -sharededge 16
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4 -n1 9 -n2 0 -total 13 -withname 8 -withcolor 7 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 9 -n2 0 -total 13 -withname 8 -withcolor 7 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE2 ORANGERED  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 2 -face 7 -shape 47 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 2 -shell 4 -face 14 -freewire 0 -freeedge 0 -sharededge 16 -max_solid 2 -max_shell 4 -max_face 14 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 6cb280c9746f629977ba1342e2b541bf6482b4f5..0f4121b58eaad0aabcb09777f00683b033419761 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr8_ha1_tc.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 2 )  Summary  = 0  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 7  ( 7 )   Summary  = 47  ( 47 )
-STATSHAPE   : Solid    = 2  ( 2 )  Shell    = 4  ( 4 )  Face     = 14  ( 14 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 16  ( 16 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000085716e-007  (  1.000085716e-007 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 4  ( 4 )  N2Labels = 0  ( 0 )   TotalLabels = 6  ( 6 )   NameLabels = 4  ( 4 )   ColorLabels = 2  ( 2 )   LayerLabels = 2  ( 2 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = DEEPSKYBLUE1 RED  ( DEEPSKYBLUE1 RED )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = 001 002  ( 001 002 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 2 -n1 4 -n2 0 -total 6 -withname 4 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE1 RED } -nbcolors 2 -layers { 001 002 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 2 -face 7 -shape 47
+checkstatshape res_1 -solid 2 -shell 4 -face 14 -freewire 0 -freeedge 0 -sharededge 16
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000085716e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 4 -n2 0 -total 6 -withname 4 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 4 -n2 0 -total 6 -withname 4 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE1 RED  } -nbcolors 2 -layers { 001 002  } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 2 -face 7 -shape 47 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 2 -shell 4 -face 14 -freewire 0 -freeedge 0 -sharededge 16 -max_solid 2 -max_shell 4 -max_face 14 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000085716e-007 -max_tol ${max_tol_res_1}
+
index 2165698460cd3bf946c7316d0a1f5d23af703027..984f0bd8d498ddf029bd404d0a98a8d039c2effe 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr9_3dt-sd.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 3 )  Warnings = 0  ( 0 )  Summary  = 0  ( 3 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   Summary  = 34  ( 34 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 12  ( 12 )
-TOLERANCE   : MaxTol   = 1.000100003e-07  ( 1.000100003e-07 )  AvgTol   =  1.00009231e-07  (  1.00009231e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MATRAGRAY  ( MATRAGRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 3
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 6 -shape 34
+checkstatshape res_1 -solid 1 -shell 1 -face 6 -freewire 0 -freeedge 0 -sharededge 12
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-07 -avg 1.00009231e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 3
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 6 -shape 34 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 6 -freewire 0 -freeedge 0 -sharededge 12 -max_solid 1 -max_shell 1 -max_face 6 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-07 -avg 1.00009231e-07 -max_tol ${max_tol_res_1}
+
index f314d7d4c07dc6ff2aec1427c2cc4ff5e54293a7..6c5f246d3d459bd758f342847145f92e5edabd16 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr9_asd-db.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 52 )  Warnings = 0  ( 0 )  Summary  = 0  ( 52 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 49  ( 37 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 0  ( 0 )   FreeEdge  = 12 ( 12 )   SharedEdge = 12  ( 12 )
-TOLERANCE   : MaxTol   =          1e-07  (          1e-07 )  AvgTol   =           1e-07  (           1e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 12  ( 12 )  N2Labels = 0  ( 0 )   TotalLabels = 13  ( 13 )   NameLabels = 1  ( 1 )   ColorLabels = 12  ( 12 )   LayerLabels = 12  ( 12 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 52
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 12 -n2 0 -total 13 -withname 1 -withcolor 12 -withlayer 12 -centroid 0 -volume 0 -area 0 -colors { GREEN } -nbcolors 1 -layers { "  0"  } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 37
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 12 -sharededge 12
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-07 -avg 1e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 52
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 12 -n2 0 -total 13 -withname 1 -withcolor 12 -withlayer 12 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 12 -n2 0 -total 13 -withname 1 -withcolor 12 -withlayer 12 -centroid 0 -volume 0 -area 0 -colors { GREEN  } -nbcolors 1 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 49 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 12 -sharededge 12 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 0 -max_freeedge 12
+checkmaxtol res_2 -tol 1e-07 -avg 1e-07 -max_tol ${max_tol_res_1}
+
index 0d0a4049eb94a8442bb79b2ab2965d18ed51a50e..550b1895519e3a91392ff877683476bfd0e33a7d 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr9_bv1-ec.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   Summary  = 100  ( 100 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 36  ( 36 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.00009231e-007  (  1.00009231e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 3 -face 18 -shape 100
+checkstatshape res_1 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.00009231e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 18 -shape 100 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36 -max_solid 1 -max_shell 3 -max_face 18 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00009231e-007 -max_tol ${max_tol_res_1}
+
index 4733550d5b825587a1e62009a7285cc7425e3451..1c34d4e1b62972699e78f4835c99aaf2f32cfa2d 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr9_bv1-id.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   Summary  = 100  ( 100 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 36  ( 36 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 36  ( 36 )  N2Labels = 0  ( 0 )   TotalLabels = 37  ( 37 )   NameLabels = 1  ( 1 )   ColorLabels = 37  ( 37 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = DEEPSKYBLUE2 MAGENTA1 ORANGE  ( DEEPSKYBLUE2 MAGENTA1 ORANGE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 36 -n2 0 -total 37 -withname 1 -withcolor 37 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE2 MAGENTA1 ORANGE } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 3 -face 18 -shape 100
+checkstatshape res_1 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 36 -n2 0 -total 37 -withname 1 -withcolor 37 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 36 -n2 0 -total 37 -withname 1 -withcolor 37 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE2 MAGENTA1 ORANGE  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 18 -shape 100 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36 -max_solid 1 -max_shell 3 -max_face 18 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 10fe2d7353d222437fd76712074dbcc93020e701..9d45004150c9c57d8d029fcfa36be8de2d925a14 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr9_bv1-pe.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   Summary  = 100  ( 100 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 36  ( 36 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.00009231e-007  (  1.00009231e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 3 -face 18 -shape 100
+checkstatshape res_1 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.00009231e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 18 -shape 100 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36 -max_solid 1 -max_shell 3 -max_face 18 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00009231e-007 -max_tol ${max_tol_res_1}
+
index aea5a4b61981f225e73342427b781604974be6a9..d000bc56f6c232b9d6575cab6afcdbf6f373fbad 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr9_bv1-tc.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   Summary  = 100  ( 100 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 36  ( 36 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.00009231e-007  (  1.00009231e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 005  ( 005 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { GREEN } -nbcolors 1 -layers { 005 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 3 -face 18 -shape 100
+checkstatshape res_1 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.00009231e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { GREEN  } -nbcolors 1 -layers { 005  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 18 -shape 100 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36 -max_solid 1 -max_shell 3 -max_face 18 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00009231e-007 -max_tol ${max_tol_res_1}
+
index d0b97e5cb4203763571d54c741b205d74ea1c695..5ef3b973bb6747888ea069a3170f050461e9222f 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr9_exd-db.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 18 )  Warnings = 0  ( 0 )  Summary  = 0  ( 18 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 49  ( 37 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 0  ( 0 )   FreeEdge  = 12 ( 12 )   SharedEdge = 12  ( 12 )
-TOLERANCE   : MaxTol   =          1e-07  (          1e-07 )  AvgTol   =           1e-07  (           1e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 12  ( 12 )  N2Labels = 0  ( 0 )   TotalLabels = 13  ( 13 )   NameLabels = 1  ( 1 )   ColorLabels = 12  ( 12 )   LayerLabels = 12  ( 12 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 18
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 12 -n2 0 -total 13 -withname 1 -withcolor 12 -withlayer 12 -centroid 0 -volume 0 -area 0 -colors { GREEN } -nbcolors 1 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 37
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 12 -sharededge 12
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-07 -avg 1e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 18
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 12 -n2 0 -total 13 -withname 1 -withcolor 12 -withlayer 12 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 12 -n2 0 -total 13 -withname 1 -withcolor 12 -withlayer 12 -centroid 0 -volume 0 -area 0 -colors { GREEN  } -nbcolors 1 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 49 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 12 -sharededge 12 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 0 -max_freeedge 12
+checkmaxtol res_2 -tol 1e-07 -avg 1e-07 -max_tol ${max_tol_res_1}
+
index cf2c0f2ceac44de227cc63be766111b22abccbb2..4789c29dff1075c425deb376c0613d99ac029a7f 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj10_ch1-id-chs.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 4 )  Warnings = 0  ( 0 )  Summary  = 0  ( 4 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 3  ( 3 )  Summary  = 3  ( 3 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 12  ( 12 )   Summary  = 73  ( 73 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 12  ( 12 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 28  ( 28 )
-TOLERANCE   : MaxTol   =          1e-07  (          1e-07 )  AvgTol   =           1e-07  (           1e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 4
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 12 -shape 73
+checkstatshape res_1 -solid 1 -shell 1 -face 12 -freewire 0 -freeedge 0 -sharededge 28
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-07 -avg 1e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 4
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 12 -shape 73 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 12 -freewire 0 -freeedge 0 -sharededge 28 -max_solid 1 -max_shell 1 -max_face 12 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-07 -avg 1e-07 -max_tol ${max_tol_res_1}
+
index 19fd545fa2164129f2ec624002656f971ac58dea..8867f589d3252e17cacf2c0c292822b63435dbaf 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj10_ch1-tu-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 4 )  Warnings = 0  ( 0 )  Summary  = 0  ( 4 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 2  ( 2 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 0  ( 0 )
-TOLERANCE   : MaxTol   =          1e-07  (          1e-07 )  AvgTol   =           1e-07  (           1e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 4
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 2
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 0 -sharededge 0
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-07 -avg 1e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 4
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 2 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 0 -sharededge 0 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-07 -avg 1e-07 -max_tol ${max_tol_res_1}
+
index fa5c03ce05ea2506c3f3c8cec5371d84b42fe19f..1b8d7f83e61e345b537cf2af6c9c09894409c691 100644 (file)
@@ -1,21 +1,51 @@
 #puts "TODO OCC25848 Windows: LABELS : Faulty"
 #puts "TODO OCC25848 Windows: Error : 1 differences with reference data found"
 
-# !!!! This file is generated automatically, do not edit manually! See end script
 set filename trj12_gd1-id-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 1 )  Warnings = 0  ( 2 )  Summary  = 0  ( 3 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 1 )  Summary  = 1  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 7  ( 7 )   Summary  = 43  ( 43 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 7  ( 7 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 15  ( 15 )
-TOLERANCE   : MaxTol   =          1e-07  (          1e-07 )  AvgTol   =           1e-07  (           1e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 6  ( 6 )  N2Labels = 0  ( 0 )   TotalLabels = 7  ( 7 )   NameLabels = 1  ( 1 )   ColorLabels = 4  ( 4 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = MAGENTA1 RED  ( MAGENTA1 RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 2 -max_faults 1
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 6 -n2 0 -total 7 -withname 1 -withcolor 4 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { MAGENTA1 RED } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 7 -shape 43
+checkstatshape res_1 -solid 1 -shell 1 -face 7 -freewire 0 -freeedge 0 -sharededge 15
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-07 -avg 1e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 2 -max_faults 1
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 6 -n2 0 -total 7 -withname 1 -withcolor 4 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 6 -n2 0 -total 7 -withname 1 -withcolor 4 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { MAGENTA1 RED  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 7 -shape 43 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 7 -freewire 0 -freeedge 0 -sharededge 15 -max_solid 1 -max_shell 1 -max_face 7 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-07 -avg 1e-07 -max_tol ${max_tol_res_1}
+
index c469a208e0edf63b782a4b52925568906e7843bb..9dd524a8d4330ccd0fee41c6dda27834b65055de 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj12_is1-oc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   Summary  = 35  ( 35 )
-STATSHAPE   : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 30  ( 30 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 12  ( 12 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.00009231e-007  (  1.00009231e-007 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 5  ( 5 )  N2Labels = 0  ( 0 )   TotalLabels = 7  ( 7 )   NameLabels = 7  ( 7 )   ColorLabels = 3  ( 3 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = RED YELLOW  ( RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 2 -n1 5 -n2 0 -total 7 -withname 7 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { RED YELLOW } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 6 -shape 35
+checkstatshape res_1 -solid 5 -shell 5 -face 30 -freewire 0 -freeedge 0 -sharededge 12
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.00009231e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 5 -n2 0 -total 7 -withname 7 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 5 -n2 0 -total 7 -withname 7 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { RED YELLOW  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 6 -shape 35 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 5 -shell 5 -face 30 -freewire 0 -freeedge 0 -sharededge 12 -max_solid 5 -max_shell 5 -max_face 30 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00009231e-007 -max_tol ${max_tol_res_1}
+
index 06b64aa3007aea59237f09530b21eac6f620f7a7..b139873c682b6cce84a152c5766e7b6b0996d8fb 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj2_as1-ac-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 353  ( 353 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000062348e-007  (  1.000062348e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 5  ( 5 )   LayerLabels = 5  ( 5 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = BLUE1 CYAN1 GREEN RED YELLOW  ( BLUE1 CYAN1 GREEN RED YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN RED YELLOW } -nbcolors 5 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 353
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000062348e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN RED YELLOW  } -nbcolors 5 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 353 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000062348e-007 -max_tol ${max_tol_res_1}
+
index e1cc75427cf89360f0c51a934a9ad38ef67c6d01..8071d7b53b7e9bd4e0fc7641df5079b022699102 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj2_as1-md-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 14 )  Summary  = 0  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 39  ( 39 )   Summary  = 279  ( 279 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 125  ( 125 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 96  ( 96 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  (         1e-005 )  AvgTol   =  1.00006872e-007  (  2.814611181e-006 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 5  ( 5 )   LayerLabels = 5  ( 5 )
-PROPS       : Centroid = 9  ( 9 )  Volume   = 9  ( 9 )  Area     = 9  ( 9 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 GREEN RED  ( BLUE1 GREEN RED )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = 1 2 3  ( 1 2 3 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 9 -volume 9 -area 9 -colors { BLUE1 GREEN RED } -nbcolors 3 -layers { 1 2 3 } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 39 -shape 279
+checkstatshape res_1 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 96
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 2.814611181e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 9 -volume 9 -area 9 -nbcolors 3 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 9 -volume 9 -area 9 -colors { BLUE1 GREEN RED  } -nbcolors 3 -layers { 1 2 3  } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 39 -shape 279 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 96 -max_solid 18 -max_shell 18 -max_face 125 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00006872e-007 -max_tol ${max_tol_res_1}
+
index fc3742b5322a0d7db35152dab3f161a2222f7295..90d2c39a10e64a24e15cf08074bbb746efaa6266 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj2_as1-ug-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 14 )  Summary  = 0  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 39  ( 39 )   Summary  = 269  ( 269 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 125  ( 125 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 91  ( 91 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  (         1e-005 )  AvgTol   =  1.00006917e-007  (  2.879948407e-006 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 5  ( 5 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 9  ( 9 )  Volume   = 9  ( 9 )  Area     = 9  ( 9 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 GREEN RED  ( BLUE1 GREEN RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 0 -centroid 9 -volume 9 -area 9 -colors { BLUE1 GREEN RED } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 39 -shape 269
+checkstatshape res_1 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 91
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 2.879948407e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 0 -centroid 9 -volume 9 -area 9 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 0 -centroid 9 -volume 9 -area 9 -colors { BLUE1 GREEN RED  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 39 -shape 269 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 91 -max_solid 18 -max_shell 18 -max_face 125 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00006917e-007 -max_tol ${max_tol_res_1}
+
index 7efe57a6a90ddf31644ce83506b50d048922a7d6..11bbd50e4ff12c5b059b731cecd1c5227cd9b04d 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj2_d2-db-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 178 )  Warnings = 0  ( 0 )  Summary  = 0  ( 178 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   Summary  = 55  ( 55 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 21  ( 21 )
-TOLERANCE   : MaxTol   = 1.000100003e-07  ( 1.000100003e-07 )  AvgTol   =  1.000093336e-07  (  1.000093336e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 178
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 9 -shape 55
+checkstatshape res_1 -solid 1 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 21
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-07 -avg 1.000093336e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 178
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 9 -shape 55 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 21 -max_solid 1 -max_shell 1 -max_face 9 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-07 -avg 1.000093336e-07 -max_tol ${max_tol_res_1}
+
index f2a1bfce24bff467e839529348a72b1c3feec3eb..9fcba35c735615f40448159abb8522fb133f6b31 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj2_io1-ac-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 19 )  Warnings = 0  ( 0 )  Summary  = 0  ( 19 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 29  ( 29 )   Summary  = 194  ( 194 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 29  ( 29 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 70  ( 70 )
-TOLERANCE   : MaxTol   =    1.00005e-07  (    1.00005e-07 )  AvgTol   =  1.000039198e-07  (  1.000039198e-07 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 1  ( 1 )  N2Labels = 0  ( 0 )   TotalLabels = 3  ( 3 )   NameLabels = 3  ( 3 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = YELLOW  ( YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 19
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { YELLOW } -nbcolors 1 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 29 -shape 194
+checkstatshape res_1 -solid 1 -shell 1 -face 29 -freewire 0 -freeedge 0 -sharededge 70
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-07 -avg 1.000039198e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 19
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { YELLOW  } -nbcolors 1 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 29 -shape 194 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 29 -freewire 0 -freeedge 0 -sharededge 70 -max_solid 1 -max_shell 1 -max_face 29 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.00005e-07 -avg 1.000039198e-07 -max_tol ${max_tol_res_1}
+
index e27527dce247ae8ab640564555c23a4ae79c5853..26d39262dcf948d23977a200f004a01ccb86fc6e 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj2_io1-ct-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 29  ( 29 )   Summary  = 193  ( 193 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 29  ( 29 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 70  ( 70 )
-TOLERANCE   : MaxTol   = 0.0007775016544  ( 0.0007775016545 )  AvgTol   =  6.177786288e-005  (  6.177786287e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 26  ( 26 )  N2Labels = 0  ( 0 )   TotalLabels = 27  ( 27 )   NameLabels = 1  ( 1 )   ColorLabels = 27  ( 27 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 RED YELLOW  ( BLUE1 RED YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 26 -n2 0 -total 27 -withname 1 -withcolor 27 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED YELLOW } -nbcolors 3 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 29 -shape 193
+checkstatshape res_1 -solid 1 -shell 1 -face 29 -freewire 0 -freeedge 0 -sharededge 70
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0007775016545 -avg 6.177786287e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 26 -n2 0 -total 27 -withname 1 -withcolor 27 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 26 -n2 0 -total 27 -withname 1 -withcolor 27 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED YELLOW  } -nbcolors 3 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 29 -shape 193 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 29 -freewire 0 -freeedge 0 -sharededge 70 -max_solid 1 -max_shell 1 -max_face 29 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0007775016544 -avg 6.177786288e-005 -max_tol ${max_tol_res_1}
+
index 879484d405fdf9b8a5b0b12b0127c9af93c2330a..1545e6c02f97709dd82a23ad09b84d4696d138ab 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj2_io1-ec-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 17  ( 17 )   Summary  = 111  ( 111 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 17  ( 17 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 35  ( 35 )
-TOLERANCE   : MaxTol   =   1.00005e-007  (   1.00005e-007 )  AvgTol   =  1.000038767e-007  (  1.000038767e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 14  ( 14 )   NameLabels = 1  ( 1 )   ColorLabels = 14  ( 14 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 RED YELLOW  ( BLUE1 RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 13 -n2 0 -total 14 -withname 1 -withcolor 14 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED YELLOW } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 17 -shape 111
+checkstatshape res_1 -solid 1 -shell 1 -face 17 -freewire 0 -freeedge 0 -sharededge 35
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-007 -avg 1.000038767e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 13 -n2 0 -total 14 -withname 1 -withcolor 14 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 13 -n2 0 -total 14 -withname 1 -withcolor 14 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED YELLOW  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 17 -shape 111 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 17 -freewire 0 -freeedge 0 -sharededge 35 -max_solid 1 -max_shell 1 -max_face 17 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.00005e-007 -avg 1.000038767e-007 -max_tol ${max_tol_res_1}
+
index 2975c3264eb0f6c2933daf636c36a8b61e22491a..6fbed6586b80771ccefb44dccf43f8e8e4af0921 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj2_io1-id-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 12  ( 12 )  Summary  = 12  ( 12 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 17  ( 17 )   Summary  = 111  ( 111 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 17  ( 17 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 35  ( 35 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 16  ( 16 )  N2Labels = 0  ( 0 )   TotalLabels = 17  ( 17 )   NameLabels = 1  ( 1 )   ColorLabels = 17  ( 17 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 RED YELLOW  ( BLUE1 RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+checkxstat D_First -n0 1 -n1 16 -n2 0 -total 17 -withname 1 -withcolor 17 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED YELLOW } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 17 -shape 111
+checkstatshape res_1 -solid 1 -shell 1 -face 17 -freewire 0 -freeedge 0 -sharededge 35
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 16 -n2 0 -total 17 -withname 1 -withcolor 17 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 16 -n2 0 -total 17 -withname 1 -withcolor 17 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED YELLOW  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 17 -shape 111 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 17 -freewire 0 -freeedge 0 -sharededge 35 -max_solid 1 -max_shell 1 -max_face 17 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 6c311fbd5759bd2bea1cecac0423caa1ec41b540..6d24093ed51f221c5410fb73e1134cfc40556faa 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj2_io1-in-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 29  ( 29 )   Summary  = 193  ( 193 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 29  ( 29 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 70  ( 70 )
-TOLERANCE   : MaxTol   =   1.00005e-007  (   1.00005e-007 )  AvgTol   =  1.000039198e-007  (  1.000039198e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 29 -shape 193
+checkstatshape res_1 -solid 1 -shell 1 -face 29 -freewire 0 -freeedge 0 -sharededge 70
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-007 -avg 1.000039198e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 29 -shape 193 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 29 -freewire 0 -freeedge 0 -sharededge 70 -max_solid 1 -max_shell 1 -max_face 29 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.00005e-007 -avg 1.000039198e-007 -max_tol ${max_tol_res_1}
+
index e0caac89c8a6cb6070e4b159c810b753f6ab3c89..4dce4e0a1805899f5fdb2c4501349f5f8f87cee3 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj2_io1-tc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 7 )  Warnings = 0  ( 0 )  Summary  = 0  ( 7 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 16 )  Summary  = 0  ( 16 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 29  ( 29 )   Summary  = 193  ( 193 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 29  ( 29 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 70  ( 70 )
-TOLERANCE   : MaxTol   =    1.00005e-07  (    1.00005e-07 )  AvgTol   =  1.000039198e-07  (  1.000039198e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 32  ( 32 )  N2Labels = 0  ( 0 )   TotalLabels = 33  ( 33 )   NameLabels = 1  ( 1 )   ColorLabels = 33  ( 33 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 RED YELLOW  ( BLUE1 RED YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 010  ( 010 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 7
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+checkxstat D_First -n0 1 -n1 32 -n2 0 -total 33 -withname 1 -withcolor 33 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED YELLOW } -nbcolors 3 -layers { 010 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 29 -shape 193
+checkstatshape res_1 -solid 1 -shell 1 -face 29 -freewire 0 -freeedge 0 -sharededge 70
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-07 -avg 1.000039198e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 7
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 32 -n2 0 -total 33 -withname 1 -withcolor 33 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 32 -n2 0 -total 33 -withname 1 -withcolor 33 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED YELLOW  } -nbcolors 3 -layers { 010  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 29 -shape 193 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 29 -freewire 0 -freeedge 0 -sharededge 70 -max_solid 1 -max_shell 1 -max_face 29 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.00005e-07 -avg 1.000039198e-07 -max_tol ${max_tol_res_1}
+
index f6814583db7249111f7538a8e2995b5d30f81be8..213fa7bd7ff4ccaea5c4ba17b2bcc0b72349a54d 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj2_io1-ug-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 12 )  Summary  = 0  ( 12 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 17  ( 17 )   Summary  = 121  ( 121 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 17  ( 17 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 40  ( 40 )
-TOLERANCE   : MaxTol   =   1.00005e-007  (         1e-005 )  AvgTol   =  1.000040078e-007  (  6.417511167e-006 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 1  ( 1 )  N2Labels = 0  ( 0 )   TotalLabels = 2  ( 2 )   NameLabels = 1  ( 1 )   ColorLabels = 2  ( 2 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = RED YELLOW  ( RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+checkxstat D_First -n0 1 -n1 1 -n2 0 -total 2 -withname 1 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { RED YELLOW } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 17 -shape 121
+checkstatshape res_1 -solid 1 -shell 1 -face 17 -freewire 0 -freeedge 0 -sharededge 40
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 6.417511167e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 1 -n2 0 -total 2 -withname 1 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 1 -n2 0 -total 2 -withname 1 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { RED YELLOW  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 17 -shape 121 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 17 -freewire 0 -freeedge 0 -sharededge 40 -max_solid 1 -max_shell 1 -max_face 17 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.00005e-007 -avg 1.000040078e-007 -max_tol ${max_tol_res_1}
+
index 0f2843b6ac0a278cc96874d9234849092d1231bc..c6b0a132adce5be413a65425d2dc5ad8ed2ff4ca 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj2_io1-ug-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 12 )  Summary  = 0  ( 12 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 17  ( 17 )   Summary  = 121  ( 121 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 17  ( 17 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 40  ( 40 )
-TOLERANCE   : MaxTol   =   1.00005e-007  (         1e-005 )  AvgTol   =  1.000040078e-007  (  6.417511167e-006 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 1  ( 1 )  N2Labels = 0  ( 0 )   TotalLabels = 2  ( 2 )   NameLabels = 1  ( 1 )   ColorLabels = 2  ( 2 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = RED YELLOW  ( RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+checkxstat D_First -n0 1 -n1 1 -n2 0 -total 2 -withname 1 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { RED YELLOW } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 17 -shape 121
+checkstatshape res_1 -solid 1 -shell 1 -face 17 -freewire 0 -freeedge 0 -sharededge 40
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 6.417511167e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 1 -n2 0 -total 2 -withname 1 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 1 -n2 0 -total 2 -withname 1 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { RED YELLOW  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 17 -shape 121 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 17 -freewire 0 -freeedge 0 -sharededge 40 -max_solid 1 -max_shell 1 -max_face 17 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.00005e-007 -avg 1.000040078e-007 -max_tol ${max_tol_res_1}
+
index 76957730a6283b0fbb779302306364f99f96416d..f320cf32f18a5f807f2fcbca4f0727bf5ddf3ea8 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj3_as1-ac-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 53  ( 53 )   Summary  = 353  ( 353 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 160  ( 160 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 126  ( 126 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000062348e-007  (  1.000062348e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 5  ( 5 )   LayerLabels = 5  ( 5 )
-PROPS       : Centroid = 9  ( 9 )  Volume   = 9  ( 9 )  Area     = 9  ( 9 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 GREEN RED  ( BLUE1 GREEN RED )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 9 -volume 9 -area 9 -colors { BLUE1 GREEN RED } -nbcolors 3 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 53 -shape 353
+checkstatshape res_1 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000062348e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 9 -volume 9 -area 9 -nbcolors 3 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 9 -volume 9 -area 9 -colors { BLUE1 GREEN RED  } -nbcolors 3 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 53 -shape 353 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 160 -freewire 0 -freeedge 0 -sharededge 126 -max_solid 18 -max_shell 18 -max_face 160 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000062348e-007 -max_tol ${max_tol_res_1}
+
index 0e31d28c70f47ef8605d4918a8d3ecefd86dac37..cce83f47d648312a5aa6b47c63c5a74be96c6203 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj3_as1-md-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 14 )  Summary  = 0  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 39  ( 39 )   Summary  = 279  ( 279 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 125  ( 125 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 96  ( 96 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  (         1e-005 )  AvgTol   =  1.00006872e-007  (  2.814611181e-006 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 5  ( 5 )   LayerLabels = 5  ( 5 )
-PROPS       : Centroid = 9  ( 9 )  Volume   = 9  ( 9 )  Area     = 9  ( 9 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 GREEN RED  ( BLUE1 GREEN RED )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = 1 2 3  ( 1 2 3 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 9 -volume 9 -area 9 -colors { BLUE1 GREEN RED } -nbcolors 3 -layers { 1 2 3 } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 39 -shape 279
+checkstatshape res_1 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 96
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 2.814611181e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 9 -volume 9 -area 9 -nbcolors 3 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 9 -volume 9 -area 9 -colors { BLUE1 GREEN RED  } -nbcolors 3 -layers { 1 2 3  } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 39 -shape 279 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 96 -max_solid 18 -max_shell 18 -max_face 125 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00006872e-007 -max_tol ${max_tol_res_1}
+
index 089837b0e09c17baa0d151fe486a4674b1d099ea..1dad488aec68a173e79619a81378a31a92b24984 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj3_as1-ug-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 14 )  Summary  = 0  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 39  ( 39 )   Summary  = 269  ( 269 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 125  ( 125 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 91  ( 91 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  (         1e-005 )  AvgTol   =  1.00006917e-007  (  2.879948407e-006 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 5  ( 5 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 9  ( 9 )  Volume   = 9  ( 9 )  Area     = 9  ( 9 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 GREEN RED  ( BLUE1 GREEN RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 0 -centroid 9 -volume 9 -area 9 -colors { BLUE1 GREEN RED } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 39 -shape 269
+checkstatshape res_1 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 91
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 2.879948407e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 0 -centroid 9 -volume 9 -area 9 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 0 -centroid 9 -volume 9 -area 9 -colors { BLUE1 GREEN RED  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 39 -shape 269 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 91 -max_solid 18 -max_shell 18 -max_face 125 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00006917e-007 -max_tol ${max_tol_res_1}
+
index 41590fad0fdca2cdad9c278ed04e994ac107af6f..c9ff6dcd7ee4aaaf1295f9db7584e8883d6d440d 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj3_d1-pe-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 8 )  Warnings = 0  ( 0 )  Summary  = 0  ( 8 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   Summary  = 55  ( 55 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 21  ( 21 )
-TOLERANCE   : MaxTol   = 1.000100003e-07  ( 1.000100003e-07 )  AvgTol   =  1.000093336e-07  (  1.000093336e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 8
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 9 -shape 55
+checkstatshape res_1 -solid 1 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 21
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-07 -avg 1.000093336e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 8
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 9 -shape 55 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 21 -max_solid 1 -max_shell 1 -max_face 9 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-07 -avg 1.000093336e-07 -max_tol ${max_tol_res_1}
+
index fb26331df398237f20a9074f71cba177e523484f..2506fcd7f51e91b08894143b2787afadc048515e 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj3_d1-tc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 11 )  Warnings = 0  ( 0 )  Summary  = 0  ( 11 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 2 )  Summary  = 0  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   Summary  = 55  ( 55 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 21  ( 21 )
-TOLERANCE   : MaxTol   = 1.000100003e-07  ( 1.000100003e-07 )  AvgTol   =  1.000093336e-07  (  1.000093336e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 000  ( 000 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 11
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers { 000 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 9 -shape 55
+checkstatshape res_1 -solid 1 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 21
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-07 -avg 1.000093336e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 11
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers { 000  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 9 -shape 55 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 21 -max_solid 1 -max_shell 1 -max_face 9 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-07 -avg 1.000093336e-07 -max_tol ${max_tol_res_1}
+
index 04b9eaafd13b7fb1693be063e98b8cd7701d943c..570088df4247ae1b4fd13152d131c05acff48307 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj3_t2-db-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 16 )  Warnings = 0  ( 8 )  Summary  = 0  ( 24 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 8  ( 8 )  Summary  = 8  ( 8 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 2  ( 2 )  Shell    = 2  ( 2 )  Face     = 16  ( 16 )   Summary  = 95  ( 95 )
-STATSHAPE   : Solid    = 2  ( 2 )  Shell    = 2  ( 2 )  Face     = 16  ( 16 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 34  ( 34 )
-TOLERANCE   : MaxTol   = 2.387546294e-05  ( 2.441868743e-05 )  AvgTol   =  6.169696469e-06  (  6.250926656e-06 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 10 -max_faults 15
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 2 -shell 2 -face 16 -shape 95
+checkstatshape res_1 -solid 2 -shell 2 -face 16 -freewire 0 -freeedge 0 -sharededge 34
+set max_tol_res_1 [checkmaxtol res_1 -tol 2.441868743e-05 -avg 6.250926656e-06]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 9 -max_faults 4
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 2 -shell 2 -face 16 -shape 95 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 2 -shell 2 -face 16 -freewire 0 -freeedge 0 -sharededge 34 -max_solid 2 -max_shell 2 -max_face 16 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 2.387546294e-05 -avg 6.169696469e-06 -max_tol ${max_tol_res_1}
+
index f0796dc3dd3b3d7928984bfaf9bef175825bf637..f7fcce367c192f8422da4b2595b56365a5df3889 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj4_d2-pe-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 27 )  Warnings = 0  ( 0 )  Summary  = 0  ( 27 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   Summary  = 55  ( 55 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 21  ( 21 )
-TOLERANCE   : MaxTol   = 1.000100003e-07  ( 1.000100003e-07 )  AvgTol   =  1.000093336e-07  (  1.000093336e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 27
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 9 -shape 55
+checkstatshape res_1 -solid 1 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 21
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-07 -avg 1.000093336e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 27
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 9 -shape 55 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 21 -max_solid 1 -max_shell 1 -max_face 9 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-07 -avg 1.000093336e-07 -max_tol ${max_tol_res_1}
+
index 07590fc2bdf2f34b7542db3c612beb7bf89da153..78970ed65a8c6a37c14ebd43671a4113edf605d4 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj4_d2-tc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 38 )  Warnings = 0  ( 0 )  Summary  = 0  ( 38 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 2 )  Summary  = 0  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   Summary  = 55  ( 55 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 21  ( 21 )
-TOLERANCE   : MaxTol   = 1.000100003e-07  ( 1.000100003e-07 )  AvgTol   =  1.000093336e-07  (  1.000093336e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 000  ( 000 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 38
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers { 000 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 9 -shape 55
+checkstatshape res_1 -solid 1 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 21
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-07 -avg 1.000093336e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 38
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers { 000  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 9 -shape 55 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 21 -max_solid 1 -max_shell 1 -max_face 9 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-07 -avg 1.000093336e-07 -max_tol ${max_tol_res_1}
+
index 11dba24e7592fe609eae7169af4bc2e86a6726d6..464af0a822bb01c62c0f0b50580d7f0fdbf01dc5 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj4_k1_top-md-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 11 )  Summary  = 1  ( 11 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 38  ( 38 )   Summary  = 238  ( 238 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 38  ( 38 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 96  ( 96 )
-TOLERANCE   : MaxTol   = 0.004142079219  ( 0.004142079219 )  AvgTol   =  0.0002795801884  (  0.0002808051902 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 38 -shape 238
+checkstatshape res_1 -solid 0 -shell 1 -face 38 -freewire 0 -freeedge 0 -sharededge 96
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.004142079219 -avg 0.0002808051902]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 38 -shape 238 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 38 -freewire 0 -freeedge 0 -sharededge 96 -max_solid 0 -max_shell 1 -max_face 38 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.004142079219 -avg 0.0002795801884 -max_tol ${max_tol_res_1}
+
index 74188ed999c40a1ad5b6fc65fd618a5e39165851..a9b16674a6e219e3e6eb7ad45bb53fee6291bcc9 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj5_d3-pe-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 27 )  Warnings = 0  ( 0 )  Summary  = 0  ( 27 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   Summary  = 55  ( 55 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 21  ( 21 )
-TOLERANCE   : MaxTol   =          1e-07  (          1e-07 )  AvgTol   =           1e-07  (           1e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 27
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 9 -shape 55
+checkstatshape res_1 -solid 1 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 21
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-07 -avg 1e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 27
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 9 -shape 55 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 21 -max_solid 1 -max_shell 1 -max_face 9 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-07 -avg 1e-07 -max_tol ${max_tol_res_1}
+
index e9bb180356af21fdefceaa70b71e781ca3d02c09..8a3c86ebc408938f8b00a80ff05a3eda7650d618 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj5_d3-tc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 34 )  Warnings = 0  ( 0 )  Summary  = 0  ( 34 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 2 )  Summary  = 0  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   Summary  = 55  ( 55 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 21  ( 21 )
-TOLERANCE   : MaxTol   = 1.000100003e-07  ( 1.000100003e-07 )  AvgTol   =  1.000093336e-07  (  1.000093336e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 000  ( 000 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 34
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers { 000 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 9 -shape 55
+checkstatshape res_1 -solid 1 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 21
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-07 -avg 1.000093336e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 34
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers { 000  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 9 -shape 55 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 21 -max_solid 1 -max_shell 1 -max_face 9 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-07 -avg 1.000093336e-07 -max_tol ${max_tol_res_1}
+
index f7cd519f4bb595e2b40f8f0a0b9378ad3cacda53..08108481cae52c10f702bb5e51515b3d50c99ec0 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj5_k1-md-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 11 )  Summary  = 1  ( 11 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 38  ( 38 )   Summary  = 238  ( 238 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 38  ( 38 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 96  ( 96 )
-TOLERANCE   : MaxTol   = 0.004142079219  ( 0.004142079219 )  AvgTol   =  0.0002795801884  (  0.0002808051902 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 38 -shape 238
+checkstatshape res_1 -solid 0 -shell 1 -face 38 -freewire 0 -freeedge 0 -sharededge 96
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.004142079219 -avg 0.0002808051902]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 38 -shape 238 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 38 -freewire 0 -freeedge 0 -sharededge 96 -max_solid 0 -max_shell 1 -max_face 38 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.004142079219 -avg 0.0002795801884 -max_tol ${max_tol_res_1}
+
index 9897d5faaad1e00b5f8565d36c6e4a5efa100883..61245a4e0cf559777c6da176fc577291f3ea0fb5 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj5_k1-sh-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 14 )  Summary  = 2  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 44  ( 44 )   Summary  = 291  ( 291 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 44  ( 44 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 119  ( 119 )
-TOLERANCE   : MaxTol   = 0.0002407463375  ( 0.0002407463376 )  AvgTol   =  5.378526367e-006  (  6.563075369e-006 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 44 -shape 291
+checkstatshape res_1 -solid 0 -shell 1 -face 44 -freewire 0 -freeedge 0 -sharededge 119
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0002407463376 -avg 6.563075369e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 44 -shape 291 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 44 -freewire 0 -freeedge 0 -sharededge 119 -max_solid 0 -max_shell 1 -max_face 44 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0002407463375 -avg 5.378526367e-006 -max_tol ${max_tol_res_1}
+
index 05131f3fca6e977a50fb35038b6e477b53505cc2..3b9ed8778cf35b7baf88427c6a96be5068ae1dec 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_as1-ug-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 14 )  Summary  = 0  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 39  ( 39 )   Summary  = 269  ( 269 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 125  ( 125 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 91  ( 91 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  (         1e-005 )  AvgTol   =  1.00006917e-007  (  2.879948407e-006 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 5  ( 5 )   LayerLabels = 5  ( 5 )
-PROPS       : Centroid = 9  ( 9 )  Volume   = 9  ( 9 )  Area     = 9  ( 9 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 GREEN RED  ( BLUE1 GREEN RED )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = 1 2 3  ( 1 2 3 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 9 -volume 9 -area 9 -colors { BLUE1 GREEN RED } -nbcolors 3 -layers { 1 2 3 } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 39 -shape 269
+checkstatshape res_1 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 91
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 2.879948407e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 9 -volume 9 -area 9 -nbcolors 3 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 5 -centroid 9 -volume 9 -area 9 -colors { BLUE1 GREEN RED  } -nbcolors 3 -layers { 1 2 3  } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 39 -shape 269 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 91 -max_solid 18 -max_shell 18 -max_face 125 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00006917e-007 -max_tol ${max_tol_res_1}
+
index b0c00b1d4384ded226321a4e0a3081b316a6a409..9f30488d0a28da6bb49e2cf8ed311271a87344cc 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_c1-ec-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 7  ( 7 )   Summary  = 46  ( 46 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 7  ( 7 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 16  ( 16 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000079123e-007  (  1.000079123e-007 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 5  ( 5 )  N2Labels = 0  ( 0 )   TotalLabels = 8  ( 8 )   NameLabels = 5  ( 5 )   ColorLabels = 4  ( 4 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = BLUE1 GREEN RED YELLOW  ( BLUE1 GREEN RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 3 -n1 5 -n2 0 -total 8 -withname 5 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED YELLOW } -nbcolors 4 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 2 -face 7 -shape 46
+checkstatshape res_1 -solid 1 -shell 2 -face 7 -freewire 0 -freeedge 0 -sharededge 16
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000079123e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 5 -n2 0 -total 8 -withname 5 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 5 -n2 0 -total 8 -withname 5 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED YELLOW  } -nbcolors 4 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 2 -face 7 -shape 46 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 2 -face 7 -freewire 0 -freeedge 0 -sharededge 16 -max_solid 1 -max_shell 2 -max_face 7 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000079123e-007 -max_tol ${max_tol_res_1}
+
index 56e6db17c99da2922ad05a9af291b969351c49b8..baf12104f412053a9c1b5cbb7ba48a90bc3d3934 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_c1-hc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   Summary  = 35  ( 35 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 12  ( 12 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.00009231e-007  (  1.00009231e-007 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 7  ( 7 )  N2Labels = 0  ( 0 )   TotalLabels = 9  ( 9 )   NameLabels = 3  ( 3 )   ColorLabels = 6  ( 6 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = RED YELLOW  ( RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 2 -n1 7 -n2 0 -total 9 -withname 3 -withcolor 6 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { RED YELLOW } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 6 -shape 35
+checkstatshape res_1 -solid 1 -shell 1 -face 6 -freewire 0 -freeedge 0 -sharededge 12
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.00009231e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 7 -n2 0 -total 9 -withname 3 -withcolor 6 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 7 -n2 0 -total 9 -withname 3 -withcolor 6 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { RED YELLOW  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 6 -shape 35 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 6 -freewire 0 -freeedge 0 -sharededge 12 -max_solid 1 -max_shell 1 -max_face 6 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00009231e-007 -max_tol ${max_tol_res_1}
+
index 35147559e685ce2d207cdea4b30bd51503a45ac4..142c8450dc11987f4dd53592f36b319cd1b78684 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_c1-pe-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 19 )  Warnings = 0  ( 0 )  Summary  = 0  ( 19 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 4 )  Summary  = 0  ( 4 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 7  ( 7 )   Summary  = 68  ( 65 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 7  ( 7 )   FreeWire = 0  ( 3 )   FreeEdge  = 6 ( 6 )   SharedEdge = 22  ( 22 )
-TOLERANCE   : MaxTol   = 1.000100003e-07  ( 1.001604854e-07 )  AvgTol   =  1.000071561e-07  (  1.00013885e-07 )
-LABELS      : N0Labels = 4  ( 4 )  N1Labels = 8  ( 8 )  N2Labels = 0  ( 0 )   TotalLabels = 12  ( 12 )   NameLabels = 7  ( 7 )   ColorLabels = 7  ( 7 )   LayerLabels = 3  ( 3 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 2  ( 2 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = DODGERBLUE2 RED WHITE YELLOW  ( DODGERBLUE2 RED WHITE YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 03___PRT_ALL_CURVES  ( 03___PRT_ALL_CURVES )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 19
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 4 -n1 8 -n2 0 -total 12 -withname 7 -withcolor 7 -withlayer 3 -centroid 1 -volume 1 -area 2 -colors { DODGERBLUE2 RED WHITE YELLOW } -nbcolors 4 -layers { "03___PRT_ALL_CURVES" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 2 -face 7 -shape 65
+checkstatshape res_1 -solid 1 -shell 2 -face 7 -freewire 3 -freeedge 6 -sharededge 22
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.001604854e-07 -avg 1.00013885e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 19
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4 -n1 8 -n2 0 -total 12 -withname 7 -withcolor 7 -withlayer 3 -centroid 1 -volume 1 -area 2 -nbcolors 4 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 8 -n2 0 -total 12 -withname 7 -withcolor 7 -withlayer 3 -centroid 1 -volume 1 -area 2 -colors { DODGERBLUE2 RED WHITE YELLOW  } -nbcolors 4 -layers { "03___PRT_ALL_CURVES" } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 2 -face 7 -shape 68 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 2 -face 7 -freewire 0 -freeedge 6 -sharededge 22 -max_solid 1 -max_shell 2 -max_face 7 -max_freewire 3 -max_freeedge 6
+checkmaxtol res_2 -tol 1.000100003e-07 -avg 1.000071561e-07 -max_tol ${max_tol_res_1}
+
index eeddf2c205c2dfe94e0c04891f6cca8054768dea..7b8581f2c9f6833aad64c88d8d59174b00fb12aa 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_c1-sd-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 18 )  Warnings = 0  ( 0 )  Summary  = 0  ( 18 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 7  ( 7 )   Summary  = 51  ( 51 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 7  ( 7 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 17  ( 17 )
-TOLERANCE   : MaxTol   = 1.000100003e-07  ( 1.000100003e-07 )  AvgTol   =  1.000082981e-07  (  1.000082981e-07 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 4  ( 4 )  N2Labels = 0  ( 0 )   TotalLabels = 9  ( 9 )   NameLabels = 7  ( 7 )   ColorLabels = 5  ( 5 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = BLUE1 MATRAGRAY MEDIUMTURQUOISE RED  ( BLUE1 MATRAGRAY MEDIUMTURQUOISE RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 18
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 5 -n1 4 -n2 0 -total 9 -withname 7 -withcolor 5 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MATRAGRAY MEDIUMTURQUOISE RED } -nbcolors 4 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 2 -face 7 -shape 51
+checkstatshape res_1 -solid 1 -shell 2 -face 7 -freewire 0 -freeedge 1 -sharededge 17
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-07 -avg 1.000082981e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 18
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 4 -n2 0 -total 9 -withname 7 -withcolor 5 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 4 -n2 0 -total 9 -withname 7 -withcolor 5 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MATRAGRAY MEDIUMTURQUOISE RED  } -nbcolors 4 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 2 -face 7 -shape 51 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 2 -face 7 -freewire 0 -freeedge 1 -sharededge 17 -max_solid 1 -max_shell 2 -max_face 7 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1.000100003e-07 -avg 1.000082981e-07 -max_tol ${max_tol_res_1}
+
index 924cdc800c4c58eedc3cb6e0ab755586e4514270..0a1cd91e28b36e20f7882ef36d03a6c89e46e5f7 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_c1-tc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 7  ( 7 )   Summary  = 50  ( 50 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 7  ( 7 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 17  ( 17 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000082981e-007  (  1.000082981e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 9  ( 9 )  N2Labels = 0  ( 0 )   TotalLabels = 10  ( 10 )   NameLabels = 1  ( 1 )   ColorLabels = 9  ( 9 )   LayerLabels = 2  ( 2 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = BLUE1 CYAN1 GREEN RED YELLOW  ( BLUE1 CYAN1 GREEN RED YELLOW )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = 001 002  ( 001 002 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 9 -n2 0 -total 10 -withname 1 -withcolor 9 -withlayer 2 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN RED YELLOW } -nbcolors 5 -layers { 001 002 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 2 -face 7 -shape 50
+checkstatshape res_1 -solid 1 -shell 2 -face 7 -freewire 0 -freeedge 1 -sharededge 17
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000082981e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 9 -n2 0 -total 10 -withname 1 -withcolor 9 -withlayer 2 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 9 -n2 0 -total 10 -withname 1 -withcolor 9 -withlayer 2 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN RED YELLOW  } -nbcolors 5 -layers { 001 002  } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 2 -face 7 -shape 50 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 2 -face 7 -freewire 0 -freeedge 1 -sharededge 17 -max_solid 1 -max_shell 2 -max_face 7 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000082981e-007 -max_tol ${max_tol_res_1}
+
index ce0c13619835b379700061e367ad2bc21f2d8d22..53efaeb7ec253271bc97802ccabd9cf465ab652a 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_c1-tu-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 7  ( 7 )   Summary  = 50  ( 50 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 7  ( 7 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 17  ( 17 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000082981e-007  (  1.000082981e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 4  ( 4 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 1  ( 1 )   ColorLabels = 4  ( 4 )   LayerLabels = 2  ( 2 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = BLUE1 CYAN1 RED YELLOW  ( BLUE1 CYAN1 RED YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 010  ( 010 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 4 -n2 0 -total 5 -withname 1 -withcolor 4 -withlayer 2 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 RED YELLOW } -nbcolors 4 -layers { 010 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 2 -face 7 -shape 50
+checkstatshape res_1 -solid 1 -shell 2 -face 7 -freewire 0 -freeedge 1 -sharededge 17
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000082981e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 4 -n2 0 -total 5 -withname 1 -withcolor 4 -withlayer 2 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 4 -n2 0 -total 5 -withname 1 -withcolor 4 -withlayer 2 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 RED YELLOW  } -nbcolors 4 -layers { 010  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 2 -face 7 -shape 50 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 2 -face 7 -freewire 0 -freeedge 1 -sharededge 17 -max_solid 1 -max_shell 2 -max_face 7 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000082981e-007 -max_tol ${max_tol_res_1}
+
index 352d410a836c996611f5ab18924d31d8c57c2d14..ca5f8cf5c2e84f8be7ffef41a97b4dbee65717bc 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_c1-ug-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 7  ( 7 )   Summary  = 50  ( 50 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 7  ( 7 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 17  ( 17 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000082981e-007  (  1.000082981e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 4  ( 4 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 1  ( 1 )   ColorLabels = 4  ( 4 )   LayerLabels = 3  ( 3 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = BLUE1 RED SALMON1 YELLOW  ( BLUE1 RED SALMON1 YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 4 -n2 0 -total 5 -withname 1 -withcolor 4 -withlayer 3 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED SALMON1 YELLOW } -nbcolors 4 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 2 -face 7 -shape 50
+checkstatshape res_1 -solid 1 -shell 2 -face 7 -freewire 0 -freeedge 1 -sharededge 17
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000082981e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 4 -n2 0 -total 5 -withname 1 -withcolor 4 -withlayer 3 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 4 -n2 0 -total 5 -withname 1 -withcolor 4 -withlayer 3 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED SALMON1 YELLOW  } -nbcolors 4 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 2 -face 7 -shape 50 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 2 -face 7 -freewire 0 -freeedge 1 -sharededge 17 -max_solid 1 -max_shell 2 -max_face 7 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000082981e-007 -max_tol ${max_tol_res_1}
+
index e1d5a6c203cf1be15b34c3d19273830f2c5e70a4..ac1972fba30f982e44876e70b77bc995afc835d3 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_d3-pe-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 30 )  Warnings = 0  ( 0 )  Summary  = 0  ( 30 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   Summary  = 55  ( 55 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 21  ( 21 )
-TOLERANCE   : MaxTol   = 1.000100003e-07  ( 1.000100003e-07 )  AvgTol   =  1.000093336e-07  (  1.000093336e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 30
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 9 -shape 55
+checkstatshape res_1 -solid 1 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 21
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-07 -avg 1.000093336e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 30
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 9 -shape 55 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 21 -max_solid 1 -max_shell 1 -max_face 9 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-07 -avg 1.000093336e-07 -max_tol ${max_tol_res_1}
+
index f410f029cac756a8ffd0f00e06095ecfec9f84bd..0937297d7457af57bcaf67937ee7074633652433 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_k1-md-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 11 )  Summary  = 1  ( 11 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 38  ( 38 )   Summary  = 238  ( 238 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 38  ( 38 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 96  ( 96 )
-TOLERANCE   : MaxTol   =  0.01052088122  (  0.01052088122 )  AvgTol   =  0.0007091327396  (  0.0007106710321 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GRAY94  ( GRAY94 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 5  ( 5 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { GRAY94 } -nbcolors 1 -layers { 5 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 38 -shape 238
+checkstatshape res_1 -solid 0 -shell 1 -face 38 -freewire 0 -freeedge 0 -sharededge 96
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01052088122 -avg 0.0007106710321]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { GRAY94  } -nbcolors 1 -layers { 5  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 38 -shape 238 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 38 -freewire 0 -freeedge 0 -sharededge 96 -max_solid 0 -max_shell 1 -max_face 38 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01052088122 -avg 0.0007091327396 -max_tol ${max_tol_res_1}
+
index 3b391bb285166c2630c60ccfe589f1bc8685a911..a2ae0dce059d81b72d3cfe7bc81ce36249f43c71 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_pm4-ug2-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 17 )  Summary  = 0  ( 17 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 35  ( 35 )   Summary  = 220  ( 220 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 35  ( 35 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 83  ( 83 )
-TOLERANCE   : MaxTol   = 0.007686697769  ( 0.007686697645 )  AvgTol   =  0.0007248364585  (  0.0007291554284 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 17 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 35 -shape 220
+checkstatshape res_1 -solid 1 -shell 1 -face 35 -freewire 0 -freeedge 0 -sharededge 83
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.007686697645 -avg 0.0007291554284]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 17 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 35 -shape 220 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 35 -freewire 0 -freeedge 0 -sharededge 83 -max_solid 1 -max_shell 1 -max_face 35 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.007686697769 -avg 0.0007248364585 -max_tol ${max_tol_res_1}
+
index 58f0490dd99932ff0684a957b97df6f0b3b955db..50989a733d72356d2336ed53e0313eaef394f734 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj7_c1-hc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   Summary  = 35  ( 35 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 12  ( 12 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.00009231e-007  (  1.00009231e-007 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 7  ( 7 )  N2Labels = 0  ( 0 )   TotalLabels = 9  ( 9 )   NameLabels = 3  ( 3 )   ColorLabels = 7  ( 7 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 2  ( 2 )  Volume   = 2  ( 2 )  Area     = 2  ( 2 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = RED YELLOW  ( RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 2 -n1 7 -n2 0 -total 9 -withname 3 -withcolor 7 -withlayer 0 -centroid 2 -volume 2 -area 2 -colors { RED YELLOW } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 6 -shape 35
+checkstatshape res_1 -solid 1 -shell 1 -face 6 -freewire 0 -freeedge 0 -sharededge 12
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.00009231e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 7 -n2 0 -total 9 -withname 3 -withcolor 7 -withlayer 0 -centroid 2 -volume 2 -area 2 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 7 -n2 0 -total 9 -withname 3 -withcolor 7 -withlayer 0 -centroid 2 -volume 2 -area 2 -colors { RED YELLOW  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 6 -shape 35 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 6 -freewire 0 -freeedge 0 -sharededge 12 -max_solid 1 -max_shell 1 -max_face 6 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00009231e-007 -max_tol ${max_tol_res_1}
+
index 6310f48965b8a3e8789e5035c947a5a92675d93a..826540c3fef92153cf613c52097d4c9f1fe1e603 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj7_c2-ec-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 16  ( 16 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 5  ( 5 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 3  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 6  ( 6 )   NameLabels = 5  ( 5 )   ColorLabels = 2  ( 2 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE1 RED  ( BLUE1 RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 3 -n1 3 -n2 0 -total 6 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 16
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 3 -n2 0 -total 6 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 3 -n2 0 -total 6 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 16 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index b2b338c3c08b62b1dfe1c661bd3ba7381773bd07..0e355596968fad6a3f9fb6f2675010e23df2c2da 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj7_c2-sd-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 18 )  Warnings = 0  ( 0 )  Summary  = 0  ( 18 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 17  ( 17 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 5  ( 5 )
-TOLERANCE   : MaxTol   =    1.00005e-07  (    1.00005e-07 )  AvgTol   =   1.0000375e-07  (   1.0000375e-07 )
-LABELS      : N0Labels = 4  ( 4 )  N1Labels = 3  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 7  ( 7 )   NameLabels = 6  ( 6 )   ColorLabels = 3  ( 3 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 CYAN1 MEDIUMTURQUOISE  ( BLUE1 CYAN1 MEDIUMTURQUOISE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 18
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 4 -n1 3 -n2 0 -total 7 -withname 6 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 MEDIUMTURQUOISE } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 17
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-07 -avg 1.0000375e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 18
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4 -n1 3 -n2 0 -total 7 -withname 6 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 3 -n2 0 -total 7 -withname 6 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 MEDIUMTURQUOISE  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 17 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1.00005e-07 -avg 1.0000375e-07 -max_tol ${max_tol_res_1}
+
index be9b7e0aa0de264310b7fd2c41b4f6c56e298ab1..7d953a0298ed07316b156503bb53cfcbf602824a 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj7_c2-tu-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 8 )  Warnings = 0  ( 0 )  Summary  = 0  ( 8 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 2 )  Summary  = 0  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 21  ( 19 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 2 ( 2 )   SharedEdge = 6  ( 6 )
-TOLERANCE   : MaxTol   =          1e-07  (          1e-07 )  AvgTol   =           1e-07  (           1e-07 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 4  ( 4 )  N2Labels = 0  ( 0 )   TotalLabels = 7  ( 7 )   NameLabels = 5  ( 5 )   ColorLabels = 3  ( 3 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = DARKSLATEGRAY2 GREEN ROYALBLUE3  ( DARKSLATEGRAY2 GREEN ROYALBLUE3 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 001  ( 001 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 8
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 3 -n1 4 -n2 0 -total 7 -withname 5 -withcolor 3 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { DARKSLATEGRAY2 GREEN ROYALBLUE3 } -nbcolors 3 -layers { 001 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 19
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 2 -sharededge 6
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-07 -avg 1e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 8
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 4 -n2 0 -total 7 -withname 5 -withcolor 3 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 4 -n2 0 -total 7 -withname 5 -withcolor 3 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { DARKSLATEGRAY2 GREEN ROYALBLUE3  } -nbcolors 3 -layers { 001  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 21 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 2 -sharededge 6 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 2
+checkmaxtol res_2 -tol 1e-07 -avg 1e-07 -max_tol ${max_tol_res_1}
+
index aee82b665498f984b6b9c2b8cfb41269b32e8ef3..f6bd42eabb824448a61030b3ddf6e7ccafcb30b6 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj7_c2-ug-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 16  ( 16 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 5  ( 5 )
-TOLERANCE   : MaxTol   =   1.00005e-007  (   1.00005e-007 )  AvgTol   =  1.0000375e-007  (  1.0000375e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 3  ( 3 )   NameLabels = 1  ( 1 )   ColorLabels = 2  ( 2 )   LayerLabels = 2  ( 2 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE1 SALMON1  ( BLUE1 SALMON1 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -colors { BLUE1 SALMON1 } -nbcolors 2 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 16
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-007 -avg 1.0000375e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -colors { BLUE1 SALMON1  } -nbcolors 2 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 16 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1.00005e-007 -avg 1.0000375e-007 -max_tol ${max_tol_res_1}
+
index 4bbace0473b5d0b6572cdd171bdb436fd603ba64..71a49efe0b1ee4dcba2874d336f144fdf8eee549 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj8_c2-ct-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 16  ( 16 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 5  ( 5 )
-TOLERANCE   : MaxTol   =   1.00005e-007  (   1.00005e-007 )  AvgTol   =  1.0000375e-007  (  1.0000375e-007 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 2  ( 2 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE1 MAGENTA1  ( BLUE1 MAGENTA1 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA1 } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 16
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-007 -avg 1.0000375e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA1  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 16 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1.00005e-007 -avg 1.0000375e-007 -max_tol ${max_tol_res_1}
+
index 46f941e73863c80eedaee4b2143dc13136d016ca..635b73cda5612487484d96f4829fc8e9a9ee5d7a 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj8_c2-db-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 16  ( 16 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 5  ( 5 )
-TOLERANCE   : MaxTol   = 0.001285959159  (  0.00128595916 )  AvgTol   =  0.0007707941989  (  0.000770794199 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 3  ( 3 )   NameLabels = 1  ( 1 )   ColorLabels = 2  ( 2 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = DEEPPINK2 DODGERBLUE2  ( DEEPPINK2 DODGERBLUE2 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPPINK2 DODGERBLUE2 } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 16
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.00128595916 -avg 0.000770794199]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPPINK2 DODGERBLUE2  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 16 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 0.001285959159 -avg 0.0007707941989 -max_tol ${max_tol_res_1}
+
index 3e8bc30104c3c8ab2083577a0b1e138f5e5834a7..868af800328ebf3e9de82b2cba9d31b340b76784 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj8_c2-ec-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 16  ( 16 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 5  ( 5 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 2  ( 2 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE1 RED  ( BLUE1 RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 16
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 16 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 785abcb485e07a893e848b6582928bd3c7aa2870..24e4f9c2032f3ac28a1c0790c5253b454e919752 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj8_c2-hc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 12  ( 12 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 4  ( 4 )
-TOLERANCE   : MaxTol   =   1.00005e-007  (   1.00005e-007 )  AvgTol   =  1.000046154e-007  (  1.000046154e-007 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 1  ( 1 )  N2Labels = 0  ( 0 )   TotalLabels = 3  ( 3 )   NameLabels = 3  ( 3 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = BLUE1  ( BLUE1 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 1 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { BLUE1 } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 12
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 0 -sharededge 4
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-007 -avg 1.000046154e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 1 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 1 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { BLUE1  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 12 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 0 -sharededge 4 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.00005e-007 -avg 1.000046154e-007 -max_tol ${max_tol_res_1}
+
index 9c20170f094126f17642a699491161c03e93491f..5a4f8c99030fc5e62a28ec6c13c2e86d20c96927 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj8_c2-id-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 7 )  Warnings = 0  ( 0 )  Summary  = 0  ( 7 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 16  ( 16 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 5  ( 5 )
-TOLERANCE   : MaxTol   =          1e-07  (          1e-07 )  AvgTol   =           1e-07  (           1e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 3  ( 3 )   NameLabels = 1  ( 1 )   ColorLabels = 2  ( 2 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE1 MAGENTA1  ( BLUE1 MAGENTA1 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 7
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA1 } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 16
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-07 -avg 1e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 7
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA1  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 16 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1e-07 -avg 1e-07 -max_tol ${max_tol_res_1}
+
index b75bc22c595cf68ec7cd83c5dcd709d28636021d..7637a3186d5b622746bd0901a3d8ad2bb8451c41 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj8_c2-pe-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 11  ( 11 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 4  ( 4 )
-TOLERANCE   : MaxTol   =   1.00005e-007  (   1.00005e-007 )  AvgTol   =  1.000046154e-007  (  1.000046154e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 1  ( 1 )  N2Labels = 0  ( 0 )   TotalLabels = 2  ( 2 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = BLUE1  ( BLUE1 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 06___PRT_ALL_SURFS  ( 06___PRT_ALL_SURFS )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 1 -n2 0 -total 2 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 1 -colors { BLUE1 } -nbcolors 1 -layers { "06___PRT_ALL_SURFS" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 11
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 0 -sharededge 4
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-007 -avg 1.000046154e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 1 -n2 0 -total 2 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 1 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 1 -n2 0 -total 2 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 1 -colors { BLUE1  } -nbcolors 1 -layers { "06___PRT_ALL_SURFS" } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 11 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 0 -sharededge 4 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.00005e-007 -avg 1.000046154e-007 -max_tol ${max_tol_res_1}
+
index 2e5ee6f809f7e8c9071eb796eed62eb3f766a559..8bc9c5d0babccdf7ac8a514f60310d8fd8b62bbf 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj8_c2-tu-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 7 )  Warnings = 0  ( 0 )  Summary  = 0  ( 7 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 28  ( 28 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 11  ( 11 )
-TOLERANCE   : MaxTol   =    1.00005e-07  (    1.00005e-07 )  AvgTol   =  1.000044118e-07  (  1.000044118e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 3  ( 3 )   NameLabels = 1  ( 1 )   ColorLabels = 2  ( 2 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = DARKORANGE1 INDIANRED1  ( DARKORANGE1 INDIANRED1 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 001  ( 001 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 7
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { DARKORANGE1 INDIANRED1 } -nbcolors 2 -layers { 001 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 28
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 11
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-07 -avg 1.000044118e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 7
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { DARKORANGE1 INDIANRED1  } -nbcolors 2 -layers { 001  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 28 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 11 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1.00005e-07 -avg 1.000044118e-07 -max_tol ${max_tol_res_1}
+
index 325b8332f620083b6b31e150844b9d4954b316e6..82daa4b3c2d2cac99561d8cc9ff37c3fe284b311 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj9_c2-oc-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 16  ( 16 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 5  ( 5 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 2  ( 2 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE1 MAGENTA1  ( BLUE1 MAGENTA1 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA1 } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 16
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA1  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 16 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index f97c4e1c3058a0259b1803dfa1940f3cd4521021..bbf7dfd202fa3ca4594a0fe5abb8a49b0be253fe 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj9_c2-oc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   Summary  = 16  ( 16 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 1  ( 1 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 5  ( 5 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 3  ( 3 )   NameLabels = 1  ( 1 )   ColorLabels = 2  ( 2 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE1 MAGENTA1  ( BLUE1 MAGENTA1 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA1 } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 1 -shape 16
+checkstatshape res_1 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA1  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 1 -shape 16 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 1 -freewire 0 -freeedge 1 -sharededge 5 -max_solid 0 -max_shell 1 -max_face 1 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 6efb048a4e05216d3ec4ae059cc947e243b8e8a9..e083cc11943340a21e84f079ce6295da47c21700 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj9_io1-id-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 12  ( 12 )  Summary  = 12  ( 12 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 17  ( 17 )   Summary  = 111  ( 111 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 17  ( 17 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 35  ( 35 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 16  ( 16 )  N2Labels = 0  ( 0 )   TotalLabels = 17  ( 17 )   NameLabels = 1  ( 1 )   ColorLabels = 17  ( 17 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 RED YELLOW  ( BLUE1 RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+checkxstat D_First -n0 1 -n1 16 -n2 0 -total 17 -withname 1 -withcolor 17 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { BLUE1 RED YELLOW } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 17 -shape 111
+checkstatshape res_1 -solid 1 -shell 1 -face 17 -freewire 0 -freeedge 0 -sharededge 35
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 16 -n2 0 -total 17 -withname 1 -withcolor 17 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 16 -n2 0 -total 17 -withname 1 -withcolor 17 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { BLUE1 RED YELLOW  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 17 -shape 111 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 17 -freewire 0 -freeedge 0 -sharededge 35 -max_solid 1 -max_shell 1 -max_face 17 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 73ea5224bb3687b3e40d0486ae0c4e37cf76f68c..1b4b1355a2c9ca9931390f259920a9d86a3a6a7a 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj9_io1-oc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 17  ( 17 )   Summary  = 111  ( 111 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 17  ( 17 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 35  ( 35 )
-TOLERANCE   : MaxTol   =   1.00005e-007  (   1.00005e-007 )  AvgTol   =  1.000038767e-007  (  1.000038767e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 7  ( 7 )  N2Labels = 0  ( 0 )   TotalLabels = 8  ( 8 )   NameLabels = 1  ( 1 )   ColorLabels = 8  ( 8 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 RED YELLOW  ( BLUE1 RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 7 -n2 0 -total 8 -withname 1 -withcolor 8 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { BLUE1 RED YELLOW } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 17 -shape 111
+checkstatshape res_1 -solid 1 -shell 1 -face 17 -freewire 0 -freeedge 0 -sharededge 35
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-007 -avg 1.000038767e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 7 -n2 0 -total 8 -withname 1 -withcolor 8 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 7 -n2 0 -total 8 -withname 1 -withcolor 8 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { BLUE1 RED YELLOW  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 17 -shape 111 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 17 -freewire 0 -freeedge 0 -sharededge 35 -max_solid 1 -max_shell 1 -max_face 17 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.00005e-007 -avg 1.000038767e-007 -max_tol ${max_tol_res_1}
+
index b1cd88f5251a12caed0c5a362a976bbaf4b61c1d..4d2df1768f21152d81f65a92e12b0bcc37e3bde8 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj9_io1-tu-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 3 )  Warnings = 0  ( 0 )  Summary  = 0  ( 3 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 16 )  Summary  = 0  ( 16 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 29  ( 29 )   Summary  = 193  ( 193 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 29  ( 29 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 70  ( 70 )
-TOLERANCE   : MaxTol   =    1.00005e-07  (    1.00005e-07 )  AvgTol   =  1.000039198e-07  (  1.000039198e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 3  ( 3 )   NameLabels = 1  ( 1 )   ColorLabels = 3  ( 3 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = RED YELLOW  ( RED YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 010  ( 010 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 3
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+checkxstat D_First -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 3 -withlayer 1 -centroid 1 -volume 1 -area 1 -colors { RED YELLOW } -nbcolors 2 -layers { 010 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 29 -shape 193
+checkstatshape res_1 -solid 1 -shell 1 -face 29 -freewire 0 -freeedge 0 -sharededge 70
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-07 -avg 1.000039198e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 3
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 3 -withlayer 1 -centroid 1 -volume 1 -area 1 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 3 -withlayer 1 -centroid 1 -volume 1 -area 1 -colors { RED YELLOW  } -nbcolors 2 -layers { 010  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 29 -shape 193 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 29 -freewire 0 -freeedge 0 -sharededge 70 -max_solid 1 -max_shell 1 -max_face 29 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.00005e-07 -avg 1.000039198e-07 -max_tol ${max_tol_res_1}
+
index 7171c5707f68aa16246f82c7f8d813f0015fc8ae..455a8a6f42ae0049ba8d9a6607980bbde30efd19 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj9_io1-ug-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 12 )  Summary  = 0  ( 12 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 17  ( 17 )   Summary  = 121  ( 121 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 17  ( 17 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 40  ( 40 )
-TOLERANCE   : MaxTol   =   1.00005e-007  (         1e-005 )  AvgTol   =  1.000040078e-007  (  6.417511167e-006 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 1  ( 1 )  N2Labels = 0  ( 0 )   TotalLabels = 2  ( 2 )   NameLabels = 1  ( 1 )   ColorLabels = 2  ( 2 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = RED YELLOW  ( RED YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+checkxstat D_First -n0 1 -n1 1 -n2 0 -total 2 -withname 1 -withcolor 2 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { RED YELLOW } -nbcolors 2 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 17 -shape 121
+checkstatshape res_1 -solid 1 -shell 1 -face 17 -freewire 0 -freeedge 0 -sharededge 40
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 6.417511167e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 1 -n2 0 -total 2 -withname 1 -withcolor 2 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 1 -n2 0 -total 2 -withname 1 -withcolor 2 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { RED YELLOW  } -nbcolors 2 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 17 -shape 121 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 17 -freewire 0 -freeedge 0 -sharededge 40 -max_solid 1 -max_shell 1 -max_face 17 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.00005e-007 -avg 1.000040078e-007 -max_tol ${max_tol_res_1}
+
index b3367bc92c110a6e9948673c380a113484261eeb..72e734471072f3a4c89b67ce60a6409d15a8a69a 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename ug_as1.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 14 )  Summary  = 0  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 39  ( 39 )   Summary  = 269  ( 269 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 125  ( 125 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 91  ( 91 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  (         1e-005 )  AvgTol   =  1.00006917e-007  (  2.879948407e-006 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 5  ( 5 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 39 -shape 269
+checkstatshape res_1 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 91
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 2.879948407e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 13 -n2 0 -total 22 -withname 22 -withcolor 5 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 39 -shape 269 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 125 -freewire 0 -freeedge 0 -sharededge 91 -max_solid 18 -max_shell 18 -max_face 125 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00006917e-007 -max_tol ${max_tol_res_1}
+
index 9a29b2f4545b1bb26c1e537e9b11c46cf6db75e3..e74911e196518dbd7e283e738cd01c39326d9d07 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename voilure-b.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 12  ( 0 )  Summary  = 12  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 20  ( 20 )   Summary  = 150  ( 150 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 20  ( 20 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 60  ( 60 )
-TOLERANCE   : MaxTol   = 6.484423484e-006  ( 6.484423307e-006 )  AvgTol   =  8.894867981e-007  (  8.894851162e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 20 -shape 150
+checkstatshape res_1 -solid 1 -shell 1 -face 20 -freewire 0 -freeedge 0 -sharededge 60
+set max_tol_res_1 [checkmaxtol res_1 -tol 6.484423307e-006 -avg 8.894851162e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 20 -shape 150 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 20 -freewire 0 -freeedge 0 -sharededge 60 -max_solid 1 -max_shell 1 -max_face 20 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 6.484423484e-006 -avg 8.894867981e-007 -max_tol ${max_tol_res_1}
+
index 43d310764565c32d369ebbe90089850f171fd814..8362475d94d71471567cbfdf1f3bda88cc627216 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr9_3dt-ct.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 2 )  Warnings = 0  ( 1 )  Summary  = 0  ( 3 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   Summary  = 34  ( 34 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 12  ( 12 )
-TOLERANCE   : MaxTol   = 1.000100003e-07  ( 1.000100003e-07 )  AvgTol   =  1.00009231e-07  (  1.00009231e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MAGENTA1  ( MAGENTA1 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 2
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1 } -nbcolors 1 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 6 -shape 34
+checkstatshape res_1 -solid 1 -shell 1 -face 6 -freewire 0 -freeedge 0 -sharededge 12
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-07 -avg 1.00009231e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 2
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1  } -nbcolors 1 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 6 -shape 34 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 6 -freewire 0 -freeedge 0 -sharededge 12 -max_solid 1 -max_shell 1 -max_face 6 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-07 -avg 1.00009231e-07 -max_tol ${max_tol_res_1}
+
index 7de6e11d4ae4ddfecc2b78e2d418091f5123e377..78857711d2836dc02b95b66eed7e4f042d61f4d8 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr9_3dt-tc.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 3 )  Warnings = 0  ( 0 )  Summary  = 0  ( 3 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   Summary  = 34  ( 34 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 12  ( 12 )
-TOLERANCE   : MaxTol   = 1.000100003e-07  ( 1.000100003e-07 )  AvgTol   =  1.00009231e-07  (  1.00009231e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = DARKVIOLET  ( DARKVIOLET )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 015  ( 015 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 3
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { DARKVIOLET } -nbcolors 1 -layers { 015 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 6 -shape 34
+checkstatshape res_1 -solid 1 -shell 1 -face 6 -freewire 0 -freeedge 0 -sharededge 12
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-07 -avg 1.00009231e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 3
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { DARKVIOLET  } -nbcolors 1 -layers { 015  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 6 -shape 34 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 6 -freewire 0 -freeedge 0 -sharededge 12 -max_solid 1 -max_shell 1 -max_face 6 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-07 -avg 1.00009231e-07 -max_tol ${max_tol_res_1}
+
index 9e1f28c0dd5949e918ab0ac91a901e68eee5adfd..8022cbf20c3e6200311930f6bb8c378bff910e18 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr9_3dt-td.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 3 )  Warnings = 0  ( 0 )  Summary  = 0  ( 3 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   Summary  = 34  ( 34 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 12  ( 12 )
-TOLERANCE   : MaxTol   = 1.000100003e-07  ( 1.000100003e-07 )  AvgTol   =  1.00009231e-07  (  1.00009231e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 000  ( 000 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 3
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { 000 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 6 -shape 34
+checkstatshape res_1 -solid 1 -shell 1 -face 6 -freewire 0 -freeedge 0 -sharededge 12
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-07 -avg 1.00009231e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 3
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 000  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 6 -shape 34 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 6 -freewire 0 -freeedge 0 -sharededge 12 -max_solid 1 -max_shell 1 -max_face 6 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-07 -avg 1.00009231e-07 -max_tol ${max_tol_res_1}
+
index 6ce60d9d30607ac9dba227abd220c5ecb886d3e9..ac5a714f4dd0b09ba319edab4af6ca77db263e89 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr9_bv1-ct.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   Summary  = 100  ( 100 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 36  ( 36 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.00009231e-007  (  1.00009231e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 3 -face 18 -shape 100
+checkstatshape res_1 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.00009231e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 18 -shape 100 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36 -max_solid 1 -max_shell 3 -max_face 18 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00009231e-007 -max_tol ${max_tol_res_1}
+
index fb653286bd2ed69a3638d189fc8f715fd9506536..cbe49cf12372f9b6a17b2ef5fc9d26f5e12596cc 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr9_bv1-db.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   Summary  = 100  ( 100 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 36  ( 36 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.00009231e-007  (  1.00009231e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 3 -face 18 -shape 100
+checkstatshape res_1 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.00009231e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 18 -shape 100 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36 -max_solid 1 -max_shell 3 -max_face 18 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00009231e-007 -max_tol ${max_tol_res_1}
+
index cbf4b2eb5281421e20c71e87d1d48985399d0aba..e22a7f37dd19b096bc95868275887600335afa4e 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr9_bv1-td.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   Summary  = 100  ( 100 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 36  ( 36 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.00009231e-007  (  1.00009231e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 000  ( 000 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { 000 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 3 -face 18 -shape 100
+checkstatshape res_1 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.00009231e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 000  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 18 -shape 100 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36 -max_solid 1 -max_shell 3 -max_face 18 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00009231e-007 -max_tol ${max_tol_res_1}
+
index bfa6f5cfd53e81422f412f85078f5131fd27e3a2..46a1da21515e3523df279247eeb6223c4bde58ba 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename brep_wv2.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 1 )  Warnings = 0  ( 0 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   Summary  = 100  ( 100 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 36  ( 36 )
-TOLERANCE   : MaxTol   = 1.000100003e-07  ( 1.000100003e-07 )  AvgTol   =  1.00009231e-07  (  1.00009231e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 3 -face 18 -shape 100
+checkstatshape res_1 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-07 -avg 1.00009231e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 18 -shape 100 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36 -max_solid 1 -max_shell 3 -max_face 18 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-07 -avg 1.00009231e-07 -max_tol ${max_tol_res_1}
+
index 5ca40e28771300c08e36649e3e08f7aa54f493ae..3d835a609bbec1ff5299b1901c7640137cf676ec 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj2_f1-db-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 26 )  Warnings = 0  ( 7 )  Summary  = 0  ( 33 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 6  ( 6 )  Summary  = 6  ( 6 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 12  ( 12 )   Summary  = 74  ( 74 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 12  ( 12 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 28  ( 28 )
-TOLERANCE   : MaxTol   = 2.387951736e-05  ( 2.442241729e-05 )  AvgTol   =  7.483015831e-06  (  7.582855671e-06 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 9 -max_faults 25
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 12 -shape 74
+checkstatshape res_1 -solid 1 -shell 1 -face 12 -freewire 0 -freeedge 0 -sharededge 28
+set max_tol_res_1 [checkmaxtol res_1 -tol 2.442241729e-05 -avg 7.582855671e-06]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 9 -max_faults 25
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 12 -shape 74 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 12 -freewire 0 -freeedge 0 -sharededge 28 -max_solid 1 -max_shell 1 -max_face 12 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 2.387951736e-05 -avg 7.483015831e-06 -max_tol ${max_tol_res_1}
+
index 2a7bec35f1ba6387de909e234407c56483114bd6..f58d78015fb32b26ceb4e0271e905ed4acde752b 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj8_k1-md-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 10 )  Summary  = 2  ( 10 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 30  ( 30 )   Summary  = 205  ( 205 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 30  ( 30 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 84  ( 84 )
-TOLERANCE   : MaxTol   = 0.0003868703974  ( 0.000614641247 )  AvgTol   =  2.28956901e-005  (  3.880765927e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 2  ( 2 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { 2 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 30 -shape 205
+checkstatshape res_1 -solid 0 -shell 1 -face 30 -freewire 0 -freeedge 0 -sharededge 84
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.000614641247 -avg 3.880765927e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 2  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 30 -shape 205 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 30 -freewire 0 -freeedge 0 -sharededge 84 -max_solid 0 -max_shell 1 -max_face 30 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0003868703974 -avg 2.28956901e-005 -max_tol ${max_tol_res_1}
+
index fea5c6212a36f504a81d08cc31f21a4f319922fd..f7623d5de3f166b5629ae3671464931372a80a78 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj2_io1-md-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 12 )  Summary  = 0  ( 12 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 17  ( 17 )   Summary  = 127  ( 127 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 17  ( 17 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 43  ( 43 )
-TOLERANCE   : MaxTol   =   1.00005e-007  (         1e-005 )  AvgTol   =  1.000039636e-007  (  6.148001564e-006 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = YELLOW  ( YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 1 -volume 1 -area 1 -colors { YELLOW } -nbcolors 1 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 17 -shape 127
+checkstatshape res_1 -solid 1 -shell 1 -face 17 -freewire 0 -freeedge 0 -sharededge 43
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 6.148001564e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 1 -volume 1 -area 1 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 1 -volume 1 -area 1 -colors { YELLOW  } -nbcolors 1 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 17 -shape 127 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 17 -freewire 0 -freeedge 0 -sharededge 43 -max_solid 1 -max_shell 1 -max_face 17 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.00005e-007 -avg 1.000039636e-007 -max_tol ${max_tol_res_1}
+
index 861a64aaf4772f89599550f76ac0eedca96744cc..dc32f82451ec2913906f82e88efe5cb7993f4485 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj3_d1-db-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 44 )  Warnings = 0  ( 0 )  Summary  = 0  ( 44 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   Summary  = 55  ( 55 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 21  ( 21 )
-TOLERANCE   : MaxTol   = 1.000100003e-07  ( 1.000100003e-07 )  AvgTol   =  1.000093336e-07  (  1.000093336e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 44
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 9 -shape 55
+checkstatshape res_1 -solid 1 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 21
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-07 -avg 1.000093336e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 44
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { "0" } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 9 -shape 55 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 21 -max_solid 1 -max_shell 1 -max_face 9 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-07 -avg 1.000093336e-07 -max_tol ${max_tol_res_1}
+
index 524ee5373f2a2484ee26bd012aab329138e5f014..82e4955cfb1d5b122a510f11aec787d9f513d4b8 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj4_d2-db-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 63 )  Warnings = 0  ( 0 )  Summary  = 0  ( 63 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   Summary  = 55  ( 55 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 21  ( 21 )
-TOLERANCE   : MaxTol   = 1.000100003e-07  ( 1.000100003e-07 )  AvgTol   =  1.000093336e-07  (  1.000093336e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 63
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 9 -shape 55
+checkstatshape res_1 -solid 1 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 21
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-07 -avg 1.000093336e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 63
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { "0" } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 9 -shape 55 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 21 -max_solid 1 -max_shell 1 -max_face 9 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-07 -avg 1.000093336e-07 -max_tol ${max_tol_res_1}
+
index 47cc0dc4727a0395295c0a636b9f481eeba0ed41..30691bb3accfa4b1a3123c289f2ef5db8d164837 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj4_d2-tu-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 28 )  Warnings = 0  ( 0 )  Summary  = 0  ( 28 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   Summary  = 55  ( 55 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 21  ( 21 )
-TOLERANCE   : MaxTol   = 1.000100003e-07  ( 1.000100003e-07 )  AvgTol   =  1.000093336e-07  (  1.000093336e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 001  ( 001 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 28
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { GREEN } -nbcolors 1 -layers { 001 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 9 -shape 55
+checkstatshape res_1 -solid 1 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 21
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-07 -avg 1.000093336e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 28
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { GREEN  } -nbcolors 1 -layers { 001  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 9 -shape 55 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 21 -max_solid 1 -max_shell 1 -max_face 9 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-07 -avg 1.000093336e-07 -max_tol ${max_tol_res_1}
+
index 163045e465886c90c6da9249fec890d5f44593dd..8a6d1d5c9a63b1dcfa4f11dc751a45d44a6e90a9 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename pr2db.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   Summary  = 34  ( 34 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 12  ( 12 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.00009231e-007  (  1.00009231e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = RED  ( RED )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { RED } -nbcolors 1 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 6 -shape 34
+checkstatshape res_1 -solid 1 -shell 1 -face 6 -freewire 0 -freeedge 0 -sharededge 12
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.00009231e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { RED  } -nbcolors 1 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 6 -shape 34 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 6 -freewire 0 -freeedge 0 -sharededge 12 -max_solid 1 -max_shell 1 -max_face 6 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00009231e-007 -max_tol ${max_tol_res_1}
+
index b86895de200efbf5606ae988f57c15a378a24926..36e061754df2da5e4c150b04b6ab55964c0546b5 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj5_d3-db-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 64 )  Warnings = 0  ( 0 )  Summary  = 0  ( 64 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   Summary  = 55  ( 55 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 21  ( 21 )
-TOLERANCE   : MaxTol   = 1.000100003e-07  ( 1.000100003e-07 )  AvgTol   =  1.000093336e-07  (  1.000093336e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 64
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 9 -shape 55
+checkstatshape res_1 -solid 1 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 21
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-07 -avg 1.000093336e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 64
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 9 -shape 55 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 21 -max_solid 1 -max_shell 1 -max_face 9 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-07 -avg 1.000093336e-07 -max_tol ${max_tol_res_1}
+
index f797ca414256481e69e8f588c57cda3b7914d88b..9a00fa03155f60dd2fb274c9cd6d32e7bc34783b 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj5_d3-tu-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 26 )  Warnings = 0  ( 0 )  Summary  = 0  ( 26 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   Summary  = 55  ( 55 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 21  ( 21 )
-TOLERANCE   : MaxTol   = 1.000100003e-07  ( 1.000100003e-07 )  AvgTol   =  1.000093336e-07  (  1.000093336e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 001  ( 001 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 26
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { GREEN } -nbcolors 1 -layers { 001 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 9 -shape 55
+checkstatshape res_1 -solid 1 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 21
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-07 -avg 1.000093336e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 26
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { GREEN  } -nbcolors 1 -layers { 001  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 9 -shape 55 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 21 -max_solid 1 -max_shell 1 -max_face 9 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-07 -avg 1.000093336e-07 -max_tol ${max_tol_res_1}
+
index c4d0e4596f5c975455cb641028f79400adaf7b2a..ecfd8be12a0b8f6279bb9d194eb35c9d9b92c667 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj5_k1-ug-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 10 )  Summary  = 0  ( 10 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 44  ( 44 )   Summary  = 287  ( 287 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 44  ( 44 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 118  ( 118 )
-TOLERANCE   : MaxTol   = 0.004260923847  ( 0.004260923847 )  AvgTol   =  0.0002558561664  (  0.0002570770616 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = CYAN1  ( CYAN1 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { CYAN1 } -nbcolors 1 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 44 -shape 287
+checkstatshape res_1 -solid 0 -shell 1 -face 44 -freewire 0 -freeedge 0 -sharededge 118
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.004260923847 -avg 0.0002570770616]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { CYAN1  } -nbcolors 1 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 44 -shape 287 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 44 -freewire 0 -freeedge 0 -sharededge 118 -max_solid 0 -max_shell 1 -max_face 44 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.004260923847 -avg 0.0002558561664 -max_tol ${max_tol_res_1}
+
index 5d34ca4b6938826f3e37cdefed569743b841dc53..3312e057c146e8113ff62711e23067b714d4362d 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_sy_lever-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 5 )  Summary  = 0  ( 5 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 50  ( 50 )   Summary  = 328  ( 328 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 50  ( 50 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 133  ( 133 )
-TOLERANCE   : MaxTol   = 4.305225726e-007  ( 0.0001910564609 )  AvgTol   =  1.039061036e-007  (  7.176472402e-006 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = RED  ( RED )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 8  ( 8 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { RED } -nbcolors 1 -layers { 8 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 50 -shape 328
+checkstatshape res_1 -solid 1 -shell 1 -face 50 -freewire 0 -freeedge 0 -sharededge 133
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0001910564609 -avg 7.176472402e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { RED  } -nbcolors 1 -layers { 8  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 50 -shape 328 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 50 -freewire 0 -freeedge 0 -sharededge 133 -max_solid 1 -max_shell 1 -max_face 50 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 4.305225726e-007 -avg 1.039061036e-007 -max_tol ${max_tol_res_1}
+
index 82ba7950cbd989a265b9b79c54aa10d263c2ec7e..03bfe7ee1fe05c033a98cd22f5f7a32e700cc62a 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr10_3dtxt_1_sd.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 8 )  Warnings = 0  ( 0 )  Summary  = 0  ( 8 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   Summary  = 34  ( 34 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 12  ( 12 )
-TOLERANCE   : MaxTol   = 1.000100003e-07  ( 1.000100003e-07 )  AvgTol   =  1.00009231e-07  (  1.00009231e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MATRAGRAY  ( MATRAGRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 8
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 6 -shape 34
+checkstatshape res_1 -solid 1 -shell 1 -face 6 -freewire 0 -freeedge 0 -sharededge 12
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-07 -avg 1.00009231e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 8
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 6 -shape 34 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 6 -freewire 0 -freeedge 0 -sharededge 12 -max_solid 1 -max_shell 1 -max_face 6 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-07 -avg 1.00009231e-07 -max_tol ${max_tol_res_1}
+
index f12dd473fa40de7e682d97efc8758612398334b6..c22702dd10750d062db2891107384d7f0580d323 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr10_3dtxt_2_sd.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 10 )  Warnings = 0  ( 0 )  Summary  = 0  ( 10 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   Summary  = 34  ( 34 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 12  ( 12 )
-TOLERANCE   : MaxTol   = 1.000100003e-07  ( 1.000100003e-07 )  AvgTol   =  1.00009231e-07  (  1.00009231e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MATRAGRAY  ( MATRAGRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 10
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 6 -shape 34
+checkstatshape res_1 -solid 1 -shell 1 -face 6 -freewire 0 -freeedge 0 -sharededge 12
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-07 -avg 1.00009231e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 10
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 6 -shape 34 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 6 -freewire 0 -freeedge 0 -sharededge 12 -max_solid 1 -max_shell 1 -max_face 6 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-07 -avg 1.00009231e-07 -max_tol ${max_tol_res_1}
+
index 421e9812eecef722aa28d6bff3b375690e529216..c0d2c1144434b4730d94744ae7d81e18f5dc6562 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_d3-db-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 63 )  Warnings = 0  ( 0 )  Summary  = 0  ( 63 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   Summary  = 55  ( 55 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 9  ( 9 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 21  ( 21 )
-TOLERANCE   : MaxTol   = 1.000100003e-07  ( 1.000100003e-07 )  AvgTol   =  1.000093336e-07  (  1.000093336e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 63
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 9 -shape 55
+checkstatshape res_1 -solid 1 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 21
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-07 -avg 1.000093336e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 63
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 9 -shape 55 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 9 -freewire 0 -freeedge 0 -sharededge 21 -max_solid 1 -max_shell 1 -max_face 9 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-07 -avg 1.000093336e-07 -max_tol ${max_tol_res_1}
+
index 213268324c173775b4d7e0430dd6144546ab6051..2db47c58c4ab536da6925d3a4d2ebbb6b7c76595 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr8_bv1_sy.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   Summary  = 100  ( 100 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 36  ( 36 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.00009231e-007  (  1.00009231e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = RED  ( RED )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 2  ( 2 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { RED } -nbcolors 1 -layers { 2 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 3 -face 18 -shape 100
+checkstatshape res_1 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.00009231e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { RED  } -nbcolors 1 -layers { 2  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 18 -shape 100 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36 -max_solid 1 -max_shell 3 -max_face 18 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00009231e-007 -max_tol ${max_tol_res_1}
+
index 826e9f97d4c0f890e24bf60564b97340172481c1..557f3d0e7c29d6218d7f997e7a8bbb34815b7f61 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr8_bv1_tc.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   Summary  = 100  ( 100 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 36  ( 36 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.00009231e-007  (  1.00009231e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 005  ( 005 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { GREEN } -nbcolors 1 -layers { 005 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 3 -face 18 -shape 100
+checkstatshape res_1 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.00009231e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { GREEN  } -nbcolors 1 -layers { 005  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 18 -shape 100 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36 -max_solid 1 -max_shell 3 -max_face 18 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00009231e-007 -max_tol ${max_tol_res_1}
+
index 26de9d6e13907c2032e6fd5fa09e049122ac6801..b250b7e4f76e56f8068964d08238d456944fe269 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr8_bv1_ug.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   Summary  = 100  ( 100 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 18  ( 18 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 36  ( 36 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.00009231e-007  (  1.00009231e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 3 -face 18 -shape 100
+checkstatshape res_1 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.00009231e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 18 -shape 100 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 18 -freewire 0 -freeedge 0 -sharededge 36 -max_solid 1 -max_shell 3 -max_face 18 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00009231e-007 -max_tol ${max_tol_res_1}
+
index f6ea90795ba20aca2c6a97687a1f15d5ee704c8a..7e0b721ec3201956454c08d1c9aec6250fbd4db1 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename extref.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 1  ( 1 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 0  ( 0 )
-TOLERANCE   : MaxTol   =              0  (              0 )  AvgTol   =               0  (               0 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 1 )  N2Labels = 0  ( 1 )   TotalLabels = 1  ( 3 )   NameLabels = 1  ( 2 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 1 -n2 1 -total 3 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 1
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 0 -sharededge 0
+set max_tol_res_1 [checkmaxtol res_1 -tol 0 -avg 0]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 1 -n2 1 -total 3 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 1 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 0 -sharededge 0 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0 -avg 0 -max_tol ${max_tol_res_1}
+
index b6a1aeacbc4212602096113f5d3b9a611ba359d5..24c4d5473af747b8bf0fc58c21ac31014e6fd684 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename s1-id-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 13  ( 13 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 0  ( 0 )
-TOLERANCE   : MaxTol   =              0  (              0 )  AvgTol   =               0  (               0 )
-LABELS      : N0Labels = 13  ( 13 )  N1Labels = 14  ( 22 )  N2Labels = 0  ( 8 )   TotalLabels = 27  ( 43 )   NameLabels = 27  ( 35 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 13 -n1 22 -n2 8 -total 43 -withname 35 -withcolor 0 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 13
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 0 -sharededge 0
+set max_tol_res_1 [checkmaxtol res_1 -tol 0 -avg 0]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 13 -n1 22 -n2 8 -total 43 -withname 35 -withcolor 0 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 13 -n1 14 -n2 0 -total 27 -withname 27 -withcolor 0 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 13 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 0 -sharededge 0 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0 -avg 0 -max_tol ${max_tol_res_1}
+
index 2373ee27ff5676394657ff08ecb6f1e866ab1694..c07a31ec2822c13e243e9ec5bad252226933236b 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: PROPS : Faulty" 
 
-
 set filename s1-pe-214-edited-update.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 13  ( 13 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 0  ( 0 )
-TOLERANCE   : MaxTol   =              0  (              0 )  AvgTol   =               0  (               0 )
-LABELS      : N0Labels = 13  ( 13 )  N1Labels = 14  ( 22 )  N2Labels = 0  ( 8 )   TotalLabels = 27  ( 43 )   NameLabels = 27  ( 35 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 13  ( 27 )  Volume   = 13  ( 13 )  Area     = 13  ( 13 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 13 -n1 22 -n2 8 -total 43 -withname 35 -withcolor 0 -withlayer 0 -centroid 27 -volume 13 -area 13 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 13
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 0 -sharededge 0
+set max_tol_res_1 [checkmaxtol res_1 -tol 0 -avg 0]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 13 -n1 22 -n2 8 -total 43 -withname 35 -withcolor 0 -withlayer 0 -centroid 27 -volume 13 -area 13 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 13 -n1 14 -n2 0 -total 27 -withname 27 -withcolor 0 -withlayer 0 -centroid 13 -volume 13 -area 13 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 13 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 0 -sharededge 0 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0 -avg 0 -max_tol ${max_tol_res_1}
+
index 43853b3b7f626c923a9b059061df567e7b1bceda..184f8931e6d3aade33af8bc1797a8481b3a8c7b0 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: PROPS : Faulty" 
 
-
 set filename s1-ec-214-update.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 13  ( 13 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 0  ( 0 )
-TOLERANCE   : MaxTol   =              0  (              0 )  AvgTol   =               0  (               0 )
-LABELS      : N0Labels = 13  ( 13 )  N1Labels = 14  ( 22 )  N2Labels = 0  ( 8 )   TotalLabels = 27  ( 43 )   NameLabels = 27  ( 35 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 13  ( 27 )  Volume   = 5  ( 5 )  Area     = 5  ( 5 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 13 -n1 22 -n2 8 -total 43 -withname 35 -withcolor 0 -withlayer 0 -centroid 27 -volume 5 -area 5 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 13
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 0 -sharededge 0
+set max_tol_res_1 [checkmaxtol res_1 -tol 0 -avg 0]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 13 -n1 22 -n2 8 -total 43 -withname 35 -withcolor 0 -withlayer 0 -centroid 27 -volume 5 -area 5 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 13 -n1 14 -n2 0 -total 27 -withname 27 -withcolor 0 -withlayer 0 -centroid 13 -volume 5 -area 5 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 13 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 0 -sharededge 0 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0 -avg 0 -max_tol ${max_tol_res_1}
+
index d40bf679d14994096b7fa8862ae2a1f43f6a6f40..e429dbe8f440bc03e6bd9a716fa2f0f4c0d82ff5 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: PROPS : Faulty" 
 
-
 set filename s1-pe-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 9 )  Warnings = 0  ( 0 )  Summary  = 0  ( 9 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 13  ( 13 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 0  ( 0 )
-TOLERANCE   : MaxTol   =              0  (              0 )  AvgTol   =               0  (               0 )
-LABELS      : N0Labels = 13  ( 13 )  N1Labels = 14  ( 22 )  N2Labels = 0  ( 8 )   TotalLabels = 27  ( 43 )   NameLabels = 27  ( 35 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 13  ( 27 )  Volume   = 13  ( 13 )  Area     = 13  ( 13 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 9
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 13 -n1 22 -n2 8 -total 43 -withname 35 -withcolor 0 -withlayer 0 -centroid 27 -volume 13 -area 13 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 13
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 0 -sharededge 0
+set max_tol_res_1 [checkmaxtol res_1 -tol 0 -avg 0]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 9
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 13 -n1 22 -n2 8 -total 43 -withname 35 -withcolor 0 -withlayer 0 -centroid 27 -volume 13 -area 13 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 13 -n1 14 -n2 0 -total 27 -withname 27 -withcolor 0 -withlayer 0 -centroid 13 -volume 13 -area 13 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 13 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 0 -sharededge 0 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0 -avg 0 -max_tol ${max_tol_res_1}
+
index d53d304ab214b6c2e71a4b24da92af77796ff064..70244669531a23c51ab30feb73eacc388b3f44d9 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: PROPS : Faulty" 
 
-
 set filename s1-tc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 28 )  Summary  = 0  ( 28 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 13  ( 13 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 0  ( 0 )
-TOLERANCE   : MaxTol   =              0  (              0 )  AvgTol   =               0  (               0 )
-LABELS      : N0Labels = 13  ( 13 )  N1Labels = 14  ( 22 )  N2Labels = 0  ( 8 )   TotalLabels = 27  ( 43 )   NameLabels = 27  ( 35 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 13  ( 27 )  Volume   = 13  ( 13 )  Area     = 13  ( 13 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+checkxstat D_First -n0 13 -n1 22 -n2 8 -total 43 -withname 35 -withcolor 0 -withlayer 0 -centroid 27 -volume 13 -area 13 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 13
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 0 -sharededge 0
+set max_tol_res_1 [checkmaxtol res_1 -tol 0 -avg 0]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 13 -n1 22 -n2 8 -total 43 -withname 35 -withcolor 0 -withlayer 0 -centroid 27 -volume 13 -area 13 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 13 -n1 14 -n2 0 -total 27 -withname 27 -withcolor 0 -withlayer 0 -centroid 13 -volume 13 -area 13 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 13 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 0 -sharededge 0 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0 -avg 0 -max_tol ${max_tol_res_1}
+
index 5578e174443802fd38b9e292be31c0ca8b9e9a7b..b4286294c7fa63a8ec85471e5a32e26f0937236a 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename bm4_db_seal_b.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 117  ( 39 )  Summary  = 117  ( 39 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 140  ( 140 )   Summary  = 704  ( 704 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 140  ( 140 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 280  ( 280 )
-TOLERANCE   : MaxTol   = 0.0004823436197  ( 0.0004827870033 )  AvgTol   =  0.0001575316088  (  0.000165115431 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = RED  ( RED )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 49  ( { 49} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 39 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { RED } -nbcolors 1 -layers { " 49" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 3 -face 140 -shape 704
+checkstatshape res_1 -solid 1 -shell 3 -face 140 -freewire 0 -freeedge 0 -sharededge 280
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0004827870033 -avg 0.000165115431]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 39 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 118 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { RED  } -nbcolors 1 -layers { "49" } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 140 -shape 704 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 140 -freewire 0 -freeedge 0 -sharededge 280 -max_solid 1 -max_shell 3 -max_face 140 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0004823436197 -avg 0.0001575316088 -max_tol ${max_tol_res_1}
+
index bd0cb9c166a2a7e362438f682f91d2f02d98f828..2fb6b77fe50787a5ec983bf5b5b38f22566fcbdf 100644 (file)
@@ -1,22 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
-set ProductMode OFF
 set filename PRO20361-2.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 4 )  Warnings = 0  ( 0 )  Summary  = 0  ( 4 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 3 )  Summary  = 0  ( 3 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 48  ( 48 )  Face     = 48  ( 48 )   Summary  = 705  ( 705 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 48  ( 48 )  Face     = 48  ( 48 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 266  ( 266 )
-TOLERANCE   : MaxTol   = 0.001635034952  ( 0.001635034951 )  AvgTol   =  1.541289792e-05  (  1.541289793e-05 )
-LABELS      : N0Labels = 1  ( 2 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 2 )   NameLabels = 1  ( 2 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename} -productmode 0
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 4
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 48 -face 48 -shape 705
+checkstatshape res_1 -solid 0 -shell 48 -face 48 -freewire 0 -freeedge 0 -sharededge 266
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.001635034951 -avg 1.541289793e-05]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 4
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 48 -face 48 -shape 705 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 48 -face 48 -freewire 0 -freeedge 0 -sharededge 266 -max_solid 0 -max_shell 48 -max_face 48 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.001635034952 -avg 1.541289792e-05 -max_tol ${max_tol_res_1}
+
index 9f5724242157dcb840b52db03e4d057d0c475e7b..5b54847365644e519b6c32b25b0a6efb8af2f514 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename ass-tol2.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 200 )  Warnings = 0  ( 0 )  Summary  = 0  ( 200 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 155  ( 30 )  Summary  = 155  ( 30 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 17  ( 17 )  Shell    = 17  ( 17 )  Face     = 366  ( 366 )   Summary  = 2774  ( 2752 )
-STATSHAPE   : Solid    = 23  ( 23 )  Shell    = 23  ( 23 )  Face     = 402  ( 402 )   FreeWire = 0  ( 0 )   FreeEdge  = 21 ( 21 )   SharedEdge = 1095  ( 1095 )
-TOLERANCE   : MaxTol   = 0.0009825722198  ( 0.0009825722195 )  AvgTol   =  5.215035253e-05  (  5.153575432e-05 )
-LABELS      : N0Labels = 14  ( 14 )  N1Labels = 19  ( 19 )  N2Labels = 0  ( 0 )   TotalLabels = 33  ( 33 )   NameLabels = 33  ( 33 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 200
+checkdoc "tpstat c" -max_warns 30 -max_faults 0
+checkxstat D_First -n0 14 -n1 19 -n2 0 -total 33 -withname 33 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 17 -shell 17 -face 366 -shape 2752
+checkstatshape res_1 -solid 23 -shell 23 -face 402 -freewire 0 -freeedge 21 -sharededge 1095
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0009825722195 -avg 5.153575432e-05]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 200
+checkdoc "tpstat c" -max_warns 30 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 155 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 14 -n1 19 -n2 0 -total 33 -withname 33 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 14 -n1 19 -n2 0 -total 33 -withname 33 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 17 -shell 17 -face 366 -shape 2774 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 23 -shell 23 -face 402 -freewire 0 -freeedge 21 -sharededge 1095 -max_solid 23 -max_shell 23 -max_face 402 -max_freewire 0 -max_freeedge 21
+checkmaxtol res_2 -tol 0.0009825722198 -avg 5.215035253e-05 -max_tol ${max_tol_res_1}
+
index 413079f06cb52471241197570db370e2ce06dbcb..e807ad812d8b92f5b4a01af28eaae4d1961692f9 100755 (executable)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr9_r0501-ug.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 398 )  Summary  = 1  ( 398 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 538  ( 538 )   Summary  = 3329  ( 3329 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 538  ( 538 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1281  ( 1281 )
-TOLERANCE   : MaxTol   = 1.956041309e-05  ( 0.0003145873437 )  AvgTol   =  8.906777274e-07  (  7.728096578e-06 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MAGENTA1  ( MAGENTA1 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 398 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1 } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 538 -shape 3329
+checkstatshape res_1 -solid 1 -shell 1 -face 538 -freewire 0 -freeedge 0 -sharededge 1281
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0003145873437 -avg 7.728096578e-06]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 398 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 538 -shape 3329 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 538 -freewire 0 -freeedge 0 -sharededge 1281 -max_solid 1 -max_shell 1 -max_face 538 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.956041309e-05 -avg 8.906777274e-07 -max_tol ${max_tol_res_1}
+
index 54943465cb52ed6f3dcd1e47abaae2100c373cae..25272f481861105255aa110e47149e1901f9a2ca 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename bm4_ug_punch_d.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 9  ( 40 )  Summary  = 9  ( 40 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 36  ( 3 )  Face     = 186  ( 186 )   Summary  = 1404  ( 1371 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 36  ( 3 )  Face     = 186  ( 186 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 548  ( 548 )
-TOLERANCE   : MaxTol   = 0.001493912454  ( 0.001493912451 )  AvgTol   =  2.360117771e-005  (  2.424782868e-005 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 37  ( 37 )  N2Labels = 0  ( 0 )   TotalLabels = 42  ( 42 )   NameLabels = 9  ( 9 )   ColorLabels = 36  ( 36 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = MAGENTA1 MEDIUMSEAGREEN RED4  ( MAGENTA1 MEDIUMSEAGREEN RED4 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 40 -max_faults 0
+checkxstat D_First -n0 5 -n1 37 -n2 0 -total 42 -withname 9 -withcolor 36 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1 MEDIUMSEAGREEN RED4 } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 186 -shape 1371
+checkstatshape res_1 -solid 3 -shell 3 -face 186 -freewire 0 -freeedge 0 -sharededge 548
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.001493912451 -avg 2.424782868e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 40 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 37 -n2 0 -total 42 -withname 9 -withcolor 36 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 37 -n2 0 -total 42 -withname 9 -withcolor 36 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1 MEDIUMSEAGREEN RED4  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 36 -face 186 -shape 1404 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 36 -face 186 -freewire 0 -freeedge 0 -sharededge 548 -max_solid 3 -max_shell 3 -max_face 186 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.001493912454 -avg 2.360117771e-005 -max_tol ${max_tol_res_1}
+
index b1a3d84370289428bc13138a2a3c2b94a2c5c429..ef54b446de30f62616e954b80daaf15c3133b054 100755 (executable)
@@ -1,19 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 
 set filename r86ug.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 127 )  Summary  = 2  ( 127 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 27  ( 27 )  Shell    = 28  ( 28 )  Face     = 479  ( 479 )   Summary  = 2919  ( 2919 )
-STATSHAPE   : Solid    = 27  ( 27 )  Shell    = 28  ( 28 )  Face     = 479  ( 479 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1120  ( 1120 )
-TOLERANCE   : MaxTol   = 8.47188394e-06  (          1e-05 )  AvgTol   =  5.153699897e-07  (  2.36694229e-06 )
-LABELS      : N0Labels = 16  ( 16 )  N1Labels = 15  ( 15 )  N2Labels = 0  ( 0 )   TotalLabels = 31  ( 31 )   NameLabels = 31  ( 31 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 127 -max_faults 0
+checkxstat D_First -n0 16 -n1 15 -n2 0 -total 31 -withname 31 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 27 -shell 28 -face 479 -shape 2919
+checkstatshape res_1 -solid 27 -shell 28 -face 479 -freewire 0 -freeedge 0 -sharededge 1120
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-05 -avg 2.36694229e-06]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 127 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 16 -n1 15 -n2 0 -total 31 -withname 31 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 16 -n1 15 -n2 0 -total 31 -withname 31 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 27 -shell 28 -face 479 -shape 2919 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 27 -shell 28 -face 479 -freewire 0 -freeedge 0 -sharededge 1120 -max_solid 27 -max_shell 28 -max_face 479 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 8.47188394e-06 -avg 5.153699897e-07 -max_tol ${max_tol_res_1}
+
index 21695dfdc9b78e57386aef361df283bee61eac7c..8ccf998173632de91f2ad65ed7005a2045722307 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 
-
 set filename t3d_opt.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 126 )  Warnings = 0  ( 210 )  Summary  = 0  ( 336 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 85 )  Summary  = 4  ( 85 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 34  ( 34 )  Shell    = 34  ( 34 )  Face     = 254  ( 254 )   Summary  = 1477  ( 1508 )
-STATSHAPE   : Solid    = 34  ( 34 )  Shell    = 34  ( 34 )  Face     = 254  ( 254 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 546  ( 577 )
-TOLERANCE   : MaxTol   =    4.686868233  (    4.686868233 )  AvgTol   =   0.06081724539  (   0.05855797358 )
-LABELS      : N0Labels = 42  ( 42 )  N1Labels = 41  ( 41 )  N2Labels = 0  ( 0 )   TotalLabels = 83  ( 83 )   NameLabels = 83  ( 83 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 210 -max_faults 126
+checkdoc "tpstat c" -max_warns 85 -max_faults 0
+checkxstat D_First -n0 42 -n1 41 -n2 0 -total 83 -withname 83 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 34 -shell 34 -face 254 -shape 1508
+checkstatshape res_1 -solid 34 -shell 34 -face 254 -freewire 0 -freeedge 0 -sharededge 577
+set max_tol_res_1 [checkmaxtol res_1 -tol 4.686868233 -avg 0.05855797358]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 210 -max_faults 126
+checkdoc "tpstat c" -max_warns 85 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 42 -n1 41 -n2 0 -total 83 -withname 83 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 42 -n1 41 -n2 0 -total 83 -withname 83 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 34 -shell 34 -face 254 -shape 1477 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 34 -shell 34 -face 254 -freewire 0 -freeedge 0 -sharededge 546 -max_solid 34 -max_shell 34 -max_face 254 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 4.686868233 -avg 0.06081724539 -max_tol ${max_tol_res_1}
+
index ba2cfc520c662139ac3e5947af53081bd9ddbf77..8e2a94a7918b844575ddbc7cd5be639cc2e7d820 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj5_pm3-ac-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 1 )  Warnings = 0  ( 0 )  Summary  = 0  ( 1 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 20  ( 31 )  Summary  = 20  ( 31 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 49  ( 49 )  Shell    = 49  ( 49 )  Face     = 615  ( 615 )   Summary  = 4330  ( 4234 )
-STATSHAPE   : Solid    = 88  ( 88 )  Shell    = 88  ( 88 )  Face     = 1079  ( 1079 )   FreeWire = 0  ( 0 )   FreeEdge  = 96 ( 96 )   SharedEdge = 1611  ( 1611 )
-TOLERANCE   : MaxTol   = 0.007650852625  (  0.00792935897 )  AvgTol   =  8.776936133e-05  (  8.913893466e-05 )
-LABELS      : N0Labels = 78  ( 78 )  N1Labels = 196  ( 202 )  N2Labels = 0  ( 0 )   TotalLabels = 274  ( 280 )   NameLabels = 178  ( 178 )   ColorLabels = 145  ( 145 )   LayerLabels = 145  ( 151 )
-PROPS       : Centroid = 74  ( 74 )  Volume   = 74  ( 74 )  Area     = 74  ( 74 )
-NCOLORS     : NColors  = 16  ( 16 )
-COLORS      : Colors   = BLUE1 CYAN1 DARKGREEN DARKORANGE1 DEEPPINK2 FIREBRICK FIREBRICK1 GREEN LIGHTGOLDENROD1 MAGENTA1 ORANGE4 PALEGREEN PURPLE RED WHITE YELLOW  ( BLUE1 CYAN1 DARKGREEN DARKORANGE1 DEEPPINK2 FIREBRICK FIREBRICK1 GREEN LIGHTGOLDENROD1 MAGENTA1 ORANGE4 PALEGREEN PURPLE RED WHITE YELLOW )
-NLAYERS     : NLayers  = 10  ( 10 )
-LAYERS      : Layers   = 0 15 18 26 27 9153S07|06 9153S08|07 9153S09|08 GU2_assy|26 TEMP  ( 0 15 18 26 27 9153S07|06 9153S08|07 9153S09|08 GU2_assy|26 TEMP )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 31 -max_faults 0
+checkxstat D_First -n0 78 -n1 202 -n2 0 -total 280 -withname 178 -withcolor 145 -withlayer 151 -centroid 74 -volume 74 -area 74 -colors { BLUE1 CYAN1 DARKGREEN DARKORANGE1 DEEPPINK2 FIREBRICK FIREBRICK1 GREEN LIGHTGOLDENROD1 MAGENTA1 ORANGE4 PALEGREEN PURPLE RED WHITE YELLOW } -nbcolors 16 -layers { "0" "15" "TEMP" "18" "27" "26" "9153S07|06" "GU2_assy|26" "9153S08|07" "9153S09|08" } -nblayers 10
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 49 -shell 49 -face 615 -shape 4234
+checkstatshape res_1 -solid 88 -shell 88 -face 1079 -freewire 0 -freeedge 96 -sharededge 1611
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.00792935897 -avg 8.913893466e-05]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 1
+checkdoc "tpstat c" -max_warns 31 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 20 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 78 -n1 202 -n2 0 -total 280 -withname 178 -withcolor 145 -withlayer 151 -centroid 74 -volume 74 -area 74 -nbcolors 16 -nblayers 10
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 78 -n1 196 -n2 0 -total 274 -withname 178 -withcolor 145 -withlayer 145 -centroid 74 -volume 74 -area 74 -colors { BLUE1 CYAN1 DARKGREEN DARKORANGE1 DEEPPINK2 FIREBRICK FIREBRICK1 GREEN LIGHTGOLDENROD1 MAGENTA1 ORANGE4 PALEGREEN PURPLE RED WHITE YELLOW  } -nbcolors 16 -layers { "0" "15" "TEMP" "18" "27" "26" "9153S07|06" "GU2_assy|26" "9153S08|07" "9153S09|08" } -nblayers 10
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 49 -shell 49 -face 615 -shape 4330 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 88 -shell 88 -face 1079 -freewire 0 -freeedge 96 -sharededge 1611 -max_solid 88 -max_shell 88 -max_face 1079 -max_freewire 0 -max_freeedge 96
+checkmaxtol res_2 -tol 0.007650852625 -avg 8.776936133e-05 -max_tol ${max_tol_res_1}
+
index 4b604b37a0a40dc6190b895c01169abb5f736dd8..2b841cbc23badc137ff8768ccc2f877a65e83384 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename CTS18541.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 22  ( 0 )  Summary  = 22  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 331  ( 6 )  Face     = 331  ( 331 )   Summary  = 4133  ( 3684 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 331  ( 6 )  Face     = 331  ( 331 )   FreeWire = 0  ( 0 )   FreeEdge  = 123 ( 123 )   SharedEdge = 1459  ( 1459 )
-TOLERANCE   : MaxTol   =  0.04894014846  (  0.04894014846 )  AvgTol   =  0.0001169607933  (  0.0001689666831 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 6 -face 331 -shape 3684
+checkstatshape res_1 -solid 0 -shell 6 -face 331 -freewire 0 -freeedge 123 -sharededge 1459
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.04894014846 -avg 0.0001689666831]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 22 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 331 -face 331 -shape 4133 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 331 -face 331 -freewire 0 -freeedge 123 -sharededge 1459 -max_solid 0 -max_shell 6 -max_face 331 -max_freewire 0 -max_freeedge 123
+checkmaxtol res_2 -tol 0.04894014846 -avg 0.0001169607933 -max_tol ${max_tol_res_1}
+
index 4149fe7559b189a3c893815aa1e33cad44d3c7c8..1a91c9c6cea8cafa48754de59e2872fd95dd310e 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename PRO10107.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 83  ( 34 )  Summary  = 83  ( 34 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 619  ( 76 )  Face     = 619  ( 619 )   Summary  = 8060  ( 7347 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 619  ( 76 )  Face     = 619  ( 619 )   FreeWire = 0  ( 0 )   FreeEdge  = 213 ( 213 )   SharedEdge = 2941  ( 2941 )
-TOLERANCE   : MaxTol   =  0.08237032966  (  0.09298535539 )  AvgTol   =  0.0004419215919  (  0.001445750058 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 9  ( 9 )  N2Labels = 0  ( 0 )   TotalLabels = 14  ( 14 )   NameLabels = 14  ( 14 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 3 -max_faults 0
+checkdoc "tpstat c" -max_warns 29 -max_faults 0
+checkxstat D_First -n0 5 -n1 9 -n2 0 -total 14 -withname 14 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 76 -face 619 -shape 7347
+checkstatshape res_1 -solid 0 -shell 76 -face 619 -freewire 0 -freeedge 213 -sharededge 2941
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.09298535539 -avg 0.001445750058]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 3 -max_faults 0
+checkdoc "tpstat c" -max_warns 29 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 39 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 9 -n2 0 -total 14 -withname 14 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 9 -n2 0 -total 14 -withname 14 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 619 -face 619 -shape 8060 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 619 -face 619 -freewire 0 -freeedge 213 -sharededge 2941 -max_solid 0 -max_shell 76 -max_face 619 -max_freewire 0 -max_freeedge 213
+checkmaxtol res_2 -tol 0.08237032966 -avg 0.0004419215919 -max_tol ${max_tol_res_1}
+
index 3407f0ceb9c1b283b01211dea13846e5aa15033c..8660280ca94169cf583f9b5fccac69e0c962d23a 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename PRO10108.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 17  ( 8 )  Summary  = 17  ( 8 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 141  ( 10 )  Face     = 141  ( 141 )   Summary  = 3556  ( 2958 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 141  ( 10 )  Face     = 141  ( 141 )   FreeWire = 0  ( 0 )   FreeEdge  = 468 ( 468 )   SharedEdge = 1106  ( 1106 )
-TOLERANCE   : MaxTol   =  0.02617992696  (  0.08193326774 )  AvgTol   =  4.94626084e-005  (  0.0004226568167 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 10 -face 141 -shape 2958
+checkstatshape res_1 -solid 0 -shell 10 -face 141 -freewire 0 -freeedge 468 -sharededge 1106
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.08193326774 -avg 0.0004226568167]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 141 -face 141 -shape 3556 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 141 -face 141 -freewire 0 -freeedge 468 -sharededge 1106 -max_solid 0 -max_shell 10 -max_face 141 -max_freewire 0 -max_freeedge 468
+checkmaxtol res_2 -tol 0.02617992696 -avg 4.94626084e-005 -max_tol ${max_tol_res_1}
+
index 23bf5b8b498bd7d31b7e99737a312d932165c8b1..6ef358b0a86f6fa351a37eae96124056177cd161 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 
-
 set filename trj10_b2-ct-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 52  ( 22 )  Summary  = 52  ( 22 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 308  ( 308 )   Summary  = 2024  ( 2024 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 308  ( 308 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 850  ( 850 )
-TOLERANCE   : MaxTol   =  0.00708774003  ( 0.005806659935 )  AvgTol   =  0.0003095425146  (  0.0005353262142 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 21 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 308 -shape 2024
+checkstatshape res_1 -solid 1 -shell 1 -face 308 -freewire 0 -freeedge 0 -sharededge 850
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.005806659935 -avg 0.0005353262142]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 21 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 308 -shape 2024 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 308 -freewire 0 -freeedge 0 -sharededge 850 -max_solid 1 -max_shell 1 -max_face 308 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.00708774003 -avg 0.0003095425146 -max_tol ${max_tol_res_1}
+
index ab31a8f775d59fdfa4446d74f9423641ca4a16bf..5005d28eb59ae73eac21696416a89a1c068f6ec3 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename welle_surface.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 392  ( 384 )  Summary  = 392  ( 384 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 469  ( 0 )  Face     = 469  ( 469 )   Summary  = 5735  ( 5266 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 469  ( 0 )  Face     = 469  ( 469 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 2160  ( 2160 )
-TOLERANCE   : MaxTol   = 0.003303397777  ( 0.007504420009 )  AvgTol   =  0.0002306033612  (  0.0009643387762 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 384 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 469 -shape 5266
+checkstatshape res_1 -solid 0 -shell 0 -face 469 -freewire 0 -freeedge 0 -sharededge 2160
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.007504420009 -avg 0.0009643387762]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 384 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 248 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 469 -face 469 -shape 5735 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 469 -face 469 -freewire 0 -freeedge 0 -sharededge 2160 -max_solid 0 -max_shell 0 -max_face 469 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003303397777 -avg 0.0002306033612 -max_tol ${max_tol_res_1}
+
index ffb575af80b466a898dd4db148177b49ae66f302..a5828ef4d9eb56ee33d07ee58989896ad0d7cb4b 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj12_b3-tu-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 67 )  Summary  = 0  ( 67 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 696  ( 696 )   Summary  = 6794  ( 6252 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 696  ( 696 )   FreeWire = 0  ( 0 )   FreeEdge  = 541 ( 541 )   SharedEdge = 2479  ( 2479 )
-TOLERANCE   : MaxTol   =  0.03072519149  (   0.3955576531 )  AvgTol   =  0.001220761433  (  0.003949950917 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 543  ( 548 )  N2Labels = 0  ( 0 )   TotalLabels = 546  ( 551 )   NameLabels = 5  ( 5 )   ColorLabels = 542  ( 394 )   LayerLabels = 542  ( 547 )
-PROPS       : Centroid = 2  ( 2 )  Volume   = 2  ( 2 )  Area     = 2  ( 2 )
-NCOLORS     : NColors  = 9  ( 9 )
-COLORS      : Colors   = CADETBLUE3 GOLDENROD3 HOTPINK3 LIGHTPINK3 MEDIUMSEAGREEN OLIVEDRAB4 STEELBLUE3 WHITE YELLOW  ( CADETBLUE3 GOLDENROD3 HOTPINK3 LIGHTPINK3 MEDIUMSEAGREEN OLIVEDRAB4 STEELBLUE3 WHITE YELLOW )
-NLAYERS     : NLayers  = 21  ( 21 )
-LAYERS      : Layers   = 001 011 012 013 014 015 016 017 018 019 020 021 022 023 024 026 027 028 029 031 051  ( 001 011 012 013 014 015 016 017 018 019 020 021 022 023 024 026 027 028 029 031 051 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 67 -max_faults 0
+checkxstat D_First -n0 3 -n1 548 -n2 0 -total 551 -withname 5 -withcolor 394 -withlayer 547 -centroid 2 -volume 2 -area 2 -colors { CADETBLUE3 GOLDENROD3 HOTPINK3 LIGHTPINK3 MEDIUMSEAGREEN OLIVEDRAB4 STEELBLUE3 WHITE YELLOW } -nbcolors 9 -layers { 001 011 012 013 014 015 016 017 018 019 020 021 022 023 024 026 027 028 029 031 051 } -nblayers 21
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 696 -shape 6252
+checkstatshape res_1 -solid 1 -shell 1 -face 696 -freewire 0 -freeedge 541 -sharededge 2479
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.3955576531 -avg 0.003949950917]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 67 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 548 -n2 0 -total 551 -withname 5 -withcolor 394 -withlayer 547 -centroid 2 -volume 2 -area 2 -nbcolors 9 -nblayers 21
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 543 -n2 0 -total 546 -withname 5 -withcolor 542 -withlayer 542 -centroid 2 -volume 2 -area 2 -colors { CADETBLUE3 GOLDENROD3 HOTPINK3 LIGHTPINK3 MEDIUMSEAGREEN OLIVEDRAB4 STEELBLUE3 WHITE YELLOW  } -nbcolors 9 -layers { 001 011 012 013 014 015 016 017 018 019 020 021 022 023 024 026 027 028 029 031 051  } -nblayers 21
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 696 -shape 6794 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 696 -freewire 0 -freeedge 541 -sharededge 2479 -max_solid 1 -max_shell 1 -max_face 696 -max_freewire 0 -max_freeedge 541
+checkmaxtol res_2 -tol 0.03072519149 -avg 0.001220761433 -max_tol ${max_tol_res_1}
+
index df216981649e0951696875191403af8ce4ae031f..826478d8b159a56d97a0d0a90550a2dfd6097ffa 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" 
 
-
 set filename trj10_b2-sy-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 16  ( 364 )  Summary  = 16  ( 364 )
-CHECKSHAPE  : Wires    = 1  ( 0 )  Faces    = 1  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 257  ( 257 )   Summary  = 1770  ( 1770 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 257  ( 257 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 746  ( 746 )
-TOLERANCE   : MaxTol   =    0.477874439  (    3.60548709 )  AvgTol   =  0.005726825988  (  0.01506499669 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = LIGHTSTEELBLUE1  ( LIGHTSTEELBLUE1 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 353 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { LIGHTSTEELBLUE1 } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 257 -shape 1770
+checkstatshape res_1 -solid 1 -shell 1 -face 257 -freewire 0 -freeedge 0 -sharededge 746
+set max_tol_res_1 [checkmaxtol res_1 -tol 3.60548709 -avg 0.01506499669]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 353 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { LIGHTSTEELBLUE1  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 257 -shape 1770 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 257 -freewire 0 -freeedge 0 -sharededge 746 -max_solid 1 -max_shell 1 -max_face 257 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.477874439 -avg 0.005726825988 -max_tol ${max_tol_res_1}
+
index 4750365e2c81350018ff2301c9ba871bfbdc2dee..c7971b489de0f7a7134911c65905ab36f1a2e0c4 100644 (file)
@@ -1,20 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
 set filename PRO20364.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 120  ( 100 )  Summary  = 120  ( 100 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 1  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 4  ( 4 )  Face     = 457  ( 457 )   Summary  = 2948  ( 2947 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 4  ( 4 )  Face     = 457  ( 457 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1203  ( 1203 )
-TOLERANCE   : MaxTol   = 0.005476437308  ( 0.009836983218 )  AvgTol   =  0.0003494138018  (  0.0006808429815 )
-LABELS      : N0Labels = 6  ( 6 )  N1Labels = 5  ( 7 )  N2Labels = 0  ( 2 )   TotalLabels = 11  ( 15 )   NameLabels = 11  ( 11 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 102 -max_faults 0
+checkxstat D_First -n0 6 -n1 7 -n2 2 -total 15 -withname 11 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 4 -face 457 -shape 2947
+checkstatshape res_1 -solid 3 -shell 4 -face 457 -freewire 0 -freeedge 0 -sharededge 1203
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009836983218 -avg 0.0006808429815]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 102 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 99 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 6 -n1 7 -n2 2 -total 15 -withname 11 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 6 -n1 5 -n2 0 -total 11 -withname 11 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 4 -face 457 -shape 2948 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 4 -face 457 -freewire 0 -freeedge 0 -sharededge 1203 -max_solid 3 -max_shell 4 -max_face 457 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.005476437308 -avg 0.0003494138018 -max_tol ${max_tol_res_1}
+
index f08a138fea825dbf2d5fd48b36632524125a7a5c..435d94510ca96af6e09bf9d47db0a3df660127de 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename trj9_b2-id-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 47  ( 49 )  Summary  = 47  ( 49 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 1  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 231  ( 231 )   Summary  = 1450  ( 1449 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 231  ( 231 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 594  ( 594 )
-TOLERANCE   : MaxTol   =   0.0061882807  ( 0.009178817508 )  AvgTol   =  0.0004704441275  (  0.0007231965608 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GRAY65  ( GRAY65 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 50 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { GRAY65 } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 3 -face 231 -shape 1449
+checkstatshape res_1 -solid 1 -shell 3 -face 231 -freewire 0 -freeedge 0 -sharededge 594
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009178817508 -avg 0.0007231965608]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 50 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 45 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { GRAY65  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 231 -shape 1450 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 231 -freewire 0 -freeedge 0 -sharededge 594 -max_solid 1 -max_shell 3 -max_face 231 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0061882807 -avg 0.0004704441275 -max_tol ${max_tol_res_1}
+
index 8142d9b6a56e6181bc72540862e271a259a0e7e2..087c51c6d0f0700f7e5a9752410de31d865e0193 100644 (file)
@@ -1,19 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 
 set filename PRO8843.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 3  ( 0 )  Warnings = 10  ( 32 )  Summary  = 13  ( 32 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 25  ( 25 )  Shell    = 45  ( 45 )  Face     = 198  ( 198 )   Summary  = 1343  ( 1343 )
-STATSHAPE   : Solid    = 25  ( 25 )  Shell    = 45  ( 45 )  Face     = 198  ( 198 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 496  ( 496 )
-TOLERANCE   : MaxTol   =  0.02054327471  (   0.0293421074 )  AvgTol   =  0.0005819945737  (  0.001390253412 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 67  ( 67 )  N2Labels = 0  ( 0 )   TotalLabels = 70  ( 70 )   NameLabels = 5  ( 5 )   ColorLabels = 45  ( 45 )   LayerLabels = 45  ( 45 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = GREEN ROYALBLUE  ( GREEN ROYALBLUE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = X  ( X )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 32 -max_faults 0
+checkxstat D_First -n0 3 -n1 67 -n2 0 -total 70 -withname 5 -withcolor 45 -withlayer 45 -centroid 0 -volume 0 -area 0 -colors { GREEN ROYALBLUE } -nbcolors 2 -layers { X } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 25 -shell 45 -face 198 -shape 1343
+checkstatshape res_1 -solid 25 -shell 45 -face 198 -freewire 0 -freeedge 0 -sharededge 496
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0293421074 -avg 0.001390253412]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 32 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 67 -n2 0 -total 70 -withname 5 -withcolor 45 -withlayer 45 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 67 -n2 0 -total 70 -withname 5 -withcolor 45 -withlayer 45 -centroid 0 -volume 0 -area 0 -colors { GREEN ROYALBLUE  } -nbcolors 2 -layers { X  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 25 -shell 45 -face 198 -shape 1343 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 25 -shell 45 -face 198 -freewire 0 -freeedge 0 -sharededge 496 -max_solid 25 -max_shell 45 -max_face 198 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.02054327471 -avg 0.0005819945737 -max_tol ${max_tol_res_1}
+
index b0adf29e58d0b4979e604269ea1b0ab485d8ba05..5c32a08cc2cb9715d331d4eac8e0adac15c24f1e 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename PRO9233.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 11  ( 11 )  Summary  = 11  ( 11 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 9  ( 2 )  Face     = 210  ( 210 )   Summary  = 1631  ( 1598 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 9  ( 2 )  Face     = 210  ( 210 )   FreeWire = 0  ( 0 )   FreeEdge  = 26 ( 26 )   SharedEdge = 677  ( 677 )
-TOLERANCE   : MaxTol   =   0.0377578426  (  0.09627168289 )  AvgTol   =  0.003150471765  (   0.01084852352 )
-LABELS      : N0Labels = 4  ( 4 )  N1Labels = 32  ( 32 )  N2Labels = 0  ( 0 )   TotalLabels = 36  ( 36 )   NameLabels = 7  ( 7 )   ColorLabels = 5  ( 5 )   LayerLabels = 26  ( 26 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE2 DEEPPINK2 YELLOW2  ( BLUE2 DEEPPINK2 YELLOW2 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = Invisible  ( Invisible )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+checkxstat D_First -n0 4 -n1 32 -n2 0 -total 36 -withname 7 -withcolor 5 -withlayer 26 -centroid 0 -volume 0 -area 0 -colors { BLUE2 DEEPPINK2 YELLOW2 } -nbcolors 3 -layers { Invisible } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 2 -face 210 -shape 1598
+checkstatshape res_1 -solid 1 -shell 2 -face 210 -freewire 0 -freeedge 26 -sharededge 677
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.09627168289 -avg 0.01084852352]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4 -n1 32 -n2 0 -total 36 -withname 7 -withcolor 5 -withlayer 26 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 32 -n2 0 -total 36 -withname 7 -withcolor 5 -withlayer 26 -centroid 0 -volume 0 -area 0 -colors { BLUE2 DEEPPINK2 YELLOW2  } -nbcolors 3 -layers { Invisible  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 9 -face 210 -shape 1631 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 9 -face 210 -freewire 0 -freeedge 26 -sharededge 677 -max_solid 1 -max_shell 2 -max_face 210 -max_freewire 0 -max_freeedge 26
+checkmaxtol res_2 -tol 0.0377578426 -avg 0.003150471765 -max_tol ${max_tol_res_1}
+
index be15ce44094b54df73b59761cf502efb53350f3a..bec164694667fdfba617b3e0dd8bd4a6385b0938 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 
-
 set filename trj9_b2-ct-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 48  ( 37 )  Summary  = 48  ( 37 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 308  ( 308 )   Summary  = 2025  ( 2024 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 308  ( 308 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 851  ( 850 )
-TOLERANCE   : MaxTol   = 0.007289138208  ( 0.006752076563 )  AvgTol   =  0.0002303853755  (  0.0002259178002 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 39 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 308 -shape 2024
+checkstatshape res_1 -solid 1 -shell 1 -face 308 -freewire 0 -freeedge 0 -sharededge 850
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.006752076563 -avg 0.0002259178002]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 39 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 47 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 308 -shape 2025 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 308 -freewire 0 -freeedge 0 -sharededge 851 -max_solid 1 -max_shell 1 -max_face 308 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.007289138208 -avg 0.0002303853755 -max_tol ${max_tol_res_1}
+
index 93f8e6b99eb5520d7922d54a33a5708c0f251616..67c7bc451aeea32e2d53871c785d6c8e295b93a7 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename TUBE.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 38  ( 52 )  Summary  = 38  ( 52 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 29  ( 29 )  Shell    = 29  ( 29 )  Face     = 656  ( 656 )   Summary  = 4410  ( 4320 )
-STATSHAPE   : Solid    = 91  ( 91 )  Shell    = 91  ( 91 )  Face     = 2181  ( 2181 )   FreeWire = 0  ( 0 )   FreeEdge  = 180 ( 180 )   SharedEdge = 1715  ( 1715 )
-TOLERANCE   : MaxTol   = 0.0002458755248  ( 0.0002458755245 )  AvgTol   =  6.914949323e-006  (  6.914949866e-006 )
-LABELS      : N0Labels = 53  ( 53 )  N1Labels = 114  ( 137 )  N2Labels = 0  ( 23 )   TotalLabels = 167  ( 213 )   NameLabels = 167  ( 168 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 52 -max_faults 0
+checkxstat D_First -n0 53 -n1 137 -n2 23 -total 213 -withname 168 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 29 -shell 29 -face 656 -shape 4320
+checkstatshape res_1 -solid 91 -shell 91 -face 2181 -freewire 0 -freeedge 180 -sharededge 1715
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0002458755245 -avg 6.914949866e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 52 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 38 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 53 -n1 137 -n2 23 -total 213 -withname 168 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 53 -n1 114 -n2 0 -total 167 -withname 167 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 29 -shell 29 -face 656 -shape 4410 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 91 -shell 91 -face 2181 -freewire 0 -freeedge 180 -sharededge 1715 -max_solid 91 -max_shell 91 -max_face 2181 -max_freewire 0 -max_freeedge 180
+checkmaxtol res_2 -tol 0.0002458755248 -avg 6.914949323e-006 -max_tol ${max_tol_res_1}
+
index e9e395b223ce38ddb94bacf75a78dcfeed692ecc..5302b71ca8fb3fbfc1f02372dcf82b210307c3f4 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj3_pm1-ac2-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 22  ( 22 )  Summary  = 22  ( 22 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 20  ( 20 )  Shell    = 20  ( 20 )  Face     = 506  ( 506 )   Summary  = 2949  ( 2949 )
-STATSHAPE   : Solid    = 20  ( 20 )  Shell    = 20  ( 20 )  Face     = 506  ( 506 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1160  ( 1160 )
-TOLERANCE   : MaxTol   = 0.0001499500712  ( 0.000149950072 )  AvgTol   =  2.5032118e-006  (  2.503211837e-006 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 1 )  N2Labels = 0  ( 1 )   TotalLabels = 1  ( 3 )   NameLabels = 1  ( 2 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 22 -max_faults 0
+checkxstat D_First -n0 1 -n1 1 -n2 1 -total 3 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 20 -shell 20 -face 506 -shape 2949
+checkstatshape res_1 -solid 20 -shell 20 -face 506 -freewire 0 -freeedge 0 -sharededge 1160
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.000149950072 -avg 2.503211837e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 22 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 22 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 1 -n2 1 -total 3 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 20 -shell 20 -face 506 -shape 2949 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 20 -shell 20 -face 506 -freewire 0 -freeedge 0 -sharededge 1160 -max_solid 20 -max_shell 20 -max_face 506 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0001499500712 -avg 2.5032118e-006 -max_tol ${max_tol_res_1}
+
index 294b0522c6a72cb8bf52de52c7333b513bee714a..07c3612a287ce44a1cdc80c3dfb119a5e7fd9edb 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj9_pm7-ct-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 14  ( 14 )  Shell    = 14  ( 14 )  Face     = 396  ( 396 )   Summary  = 2537  ( 2537 )
-STATSHAPE   : Solid    = 14  ( 14 )  Shell    = 14  ( 14 )  Face     = 396  ( 396 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1010  ( 1010 )
-TOLERANCE   : MaxTol   = 0.0006172563958  ( 0.0006172563958 )  AvgTol   =  1.062108799e-005  (  1.0621088e-005 )
-LABELS      : N0Labels = 15  ( 15 )  N1Labels = 14  ( 15 )  N2Labels = 0  ( 1 )   TotalLabels = 29  ( 31 )   NameLabels = 29  ( 29 )   ColorLabels = 14  ( 14 )   LayerLabels = 14  ( 14 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 7  ( 7 )
-COLORS      : Colors   = AQUAMARINE2 BROWN1 DARKSEAGREEN2 OLIVEDRAB2 ORCHID1 ROYALBLUE2 SLATEBLUE2  ( AQUAMARINE2 BROWN1 DARKSEAGREEN2 OLIVEDRAB2 ORCHID1 ROYALBLUE2 SLATEBLUE2 )
-NLAYERS     : NLayers  = 7  ( 7 )
-LAYERS      : Layers   = 101 102 103 104 105 106 107  ( 101 102 103 104 105 106 107 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 15 -n1 15 -n2 1 -total 31 -withname 29 -withcolor 14 -withlayer 14 -centroid 0 -volume 0 -area 0 -colors { AQUAMARINE2 BROWN1 DARKSEAGREEN2 OLIVEDRAB2 ORCHID1 ROYALBLUE2 SLATEBLUE2 } -nbcolors 7 -layers { 101 102 103 104 105 106 107 } -nblayers 7
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 14 -shell 14 -face 396 -shape 2537
+checkstatshape res_1 -solid 14 -shell 14 -face 396 -freewire 0 -freeedge 0 -sharededge 1010
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0006172563958 -avg 1.0621088e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 15 -n1 15 -n2 1 -total 31 -withname 29 -withcolor 14 -withlayer 14 -centroid 0 -volume 0 -area 0 -nbcolors 7 -nblayers 7
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 15 -n1 14 -n2 0 -total 29 -withname 29 -withcolor 14 -withlayer 14 -centroid 0 -volume 0 -area 0 -colors { AQUAMARINE2 BROWN1 DARKSEAGREEN2 OLIVEDRAB2 ORCHID1 ROYALBLUE2 SLATEBLUE2  } -nbcolors 7 -layers { 101 102 103 104 105 106 107  } -nblayers 7
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 14 -shell 14 -face 396 -shape 2537 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 14 -shell 14 -face 396 -freewire 0 -freeedge 0 -sharededge 1010 -max_solid 14 -max_shell 14 -max_face 396 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0006172563958 -avg 1.062108799e-005 -max_tol ${max_tol_res_1}
+
index c496904bfa74f358d9f55fc0d42325aebe333425..a6bb04879c8551525cfafbc4b385880627a2d4e6 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename trj4_k1_geo-ac-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 31  ( 35 )  Summary  = 31  ( 35 )
-CHECKSHAPE  : Wires    = 0  ( 2 )  Faces    = 0  ( 2 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 60  ( 0 )  Face     = 60  ( 60 )   Summary  = 768  ( 706 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 60  ( 0 )  Face     = 60  ( 60 )   FreeWire = 0  ( 0 )   FreeEdge  = 2 ( 2 )   SharedEdge = 288  ( 288 )
-TOLERANCE   : MaxTol   = 0.0003019310697  ( 0.009909450702 )  AvgTol   =  9.663091319e-006  (  0.0001746106215 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 64  ( 64 )  N2Labels = 0  ( 0 )   TotalLabels = 67  ( 67 )   NameLabels = 5  ( 5 )   ColorLabels = 62  ( 62 )   LayerLabels = 62  ( 62 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = CYAN1 YELLOW4  ( CYAN1 YELLOW4 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 35 -max_faults 0
+checkxstat D_First -n0 3 -n1 64 -n2 0 -total 67 -withname 5 -withcolor 62 -withlayer 62 -centroid 0 -volume 0 -area 1 -colors { CYAN1 YELLOW4 } -nbcolors 2 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 60 -shape 706
+checkstatshape res_1 -solid 0 -shell 0 -face 60 -freewire 0 -freeedge 2 -sharededge 288
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009909450702 -avg 0.0001746106215]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 35 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 33 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 64 -n2 0 -total 67 -withname 5 -withcolor 62 -withlayer 62 -centroid 0 -volume 0 -area 1 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 64 -n2 0 -total 67 -withname 5 -withcolor 62 -withlayer 62 -centroid 0 -volume 0 -area 1 -colors { CYAN1 YELLOW4  } -nbcolors 2 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 60 -face 60 -shape 768 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 60 -face 60 -freewire 0 -freeedge 2 -sharededge 288 -max_solid 0 -max_shell 0 -max_face 60 -max_freewire 0 -max_freeedge 2
+checkmaxtol res_2 -tol 0.0003019310697 -avg 9.663091319e-006 -max_tol ${max_tol_res_1}
+
index 38758d871d60ff745b37e715dbd3b3c6dc7db53f..e4b75807e6ad05e519ce8e7d2e002b908e825282 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename r0101_al.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 11  ( 11 )  Summary  = 11  ( 11 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 9  ( 2 )  Face     = 210  ( 210 )   Summary  = 1630  ( 1598 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 9  ( 2 )  Face     = 210  ( 210 )   FreeWire = 0  ( 0 )   FreeEdge  = 26 ( 26 )   SharedEdge = 677  ( 677 )
-TOLERANCE   : MaxTol   =  0.03020760843  (  0.09627168289 )  AvgTol   =   0.00257577559  (   0.01084852352 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 31  ( 31 )  N2Labels = 0  ( 0 )   TotalLabels = 32  ( 32 )   NameLabels = 1  ( 1 )   ColorLabels = 5  ( 5 )   LayerLabels = 26  ( 26 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE2 DEEPPINK2 YELLOW2  ( BLUE2 DEEPPINK2 YELLOW2 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = Invisible  ( Invisible )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+checkxstat D_First -n0 1 -n1 31 -n2 0 -total 32 -withname 1 -withcolor 5 -withlayer 26 -centroid 0 -volume 0 -area 0 -colors { BLUE2 DEEPPINK2 YELLOW2 } -nbcolors 3 -layers { Invisible } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 2 -face 210 -shape 1598
+checkstatshape res_1 -solid 1 -shell 2 -face 210 -freewire 0 -freeedge 26 -sharededge 677
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.09627168289 -avg 0.01084852352]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 31 -n2 0 -total 32 -withname 1 -withcolor 5 -withlayer 26 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 31 -n2 0 -total 32 -withname 1 -withcolor 5 -withlayer 26 -centroid 0 -volume 0 -area 0 -colors { BLUE2 DEEPPINK2 YELLOW2  } -nbcolors 3 -layers { Invisible  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 9 -face 210 -shape 1630 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 9 -face 210 -freewire 0 -freeedge 26 -sharededge 677 -max_solid 1 -max_shell 2 -max_face 210 -max_freewire 0 -max_freeedge 26
+checkmaxtol res_2 -tol 0.03020760843 -avg 0.00257577559 -max_tol ${max_tol_res_1}
+
index 23916056512d579fef68fb8270fd22a4571e712a..a845df7dbe6158a2b6949febe3764e356f3d72ca 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename r0401_sd.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 740 )  Warnings = 0  ( 0 )  Summary  = 0  ( 740 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 2  ( 2 )  Shell    = 4  ( 4 )  Face     = 234  ( 234 )   Summary  = 2951  ( 2581 )
-STATSHAPE   : Solid    = 2  ( 2 )  Shell    = 4  ( 4 )  Face     = 234  ( 234 )   FreeWire = 0  ( 0 )   FreeEdge  = 370 ( 370 )   SharedEdge = 957  ( 957 )
-TOLERANCE   : MaxTol   = 7.686750629e-07  ( 7.686674478e-07 )  AvgTol   =  1.10062468e-07  (  1.100624453e-07 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 385  ( 15 )  N2Labels = 0  ( 0 )   TotalLabels = 390  ( 20 )   NameLabels = 9  ( 9 )   ColorLabels = 384  ( 15 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 6  ( 6 )
-COLORS      : Colors   = FORESTGREEN MATRAGRAY MEDIUMTURQUOISE PALEGREEN1 PURPLE1 RED  ( FORESTGREEN MATRAGRAY MEDIUMTURQUOISE PALEGREEN1 PURPLE1 RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 740
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 5 -n1 15 -n2 0 -total 20 -withname 9 -withcolor 15 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { FORESTGREEN MATRAGRAY MEDIUMTURQUOISE PALEGREEN1 PURPLE1 RED } -nbcolors 6 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 2 -shell 4 -face 234 -shape 2581
+checkstatshape res_1 -solid 2 -shell 4 -face 234 -freewire 0 -freeedge 370 -sharededge 957
+set max_tol_res_1 [checkmaxtol res_1 -tol 7.686674478e-07 -avg 1.100624453e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 740
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 15 -n2 0 -total 20 -withname 9 -withcolor 15 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 6 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 385 -n2 0 -total 390 -withname 9 -withcolor 384 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { FORESTGREEN MATRAGRAY MEDIUMTURQUOISE PALEGREEN1 PURPLE1 RED  } -nbcolors 6 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 2 -shell 4 -face 234 -shape 2951 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 2 -shell 4 -face 234 -freewire 0 -freeedge 370 -sharededge 957 -max_solid 2 -max_shell 4 -max_face 234 -max_freewire 0 -max_freeedge 370
+checkmaxtol res_2 -tol 7.686750629e-07 -avg 1.10062468e-07 -max_tol ${max_tol_res_1}
+
index c226324b5bbdd31d6dc2ca24a2afd46dc3daac94..6b972700117b6557131d726edf85b443372fa530 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: PROPS : Faulty" 
 
-
 set filename trj4_s1-pe-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 0 )  Summary  = 2  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 8  ( 8 )  Shell    = 8  ( 8 )  Face     = 146  ( 146 )   Summary  = 869  ( 869 )
-STATSHAPE   : Solid    = 11  ( 11 )  Shell    = 11  ( 11 )  Face     = 188  ( 188 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 331  ( 331 )
-TOLERANCE   : MaxTol   = 0.0007596289751  ( 0.0007596289752 )  AvgTol   =  1.028305667e-005  (  1.028305667e-005 )
-LABELS      : N0Labels = 13  ( 13 )  N1Labels = 17  ( 17 )  N2Labels = 0  ( 0 )   TotalLabels = 30  ( 30 )   NameLabels = 27  ( 27 )   ColorLabels = 11  ( 11 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 13  ( 27 )  Volume   = 13  ( 13 )  Area     = 13  ( 13 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 RED YELLOW  ( BLUE1 RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 13 -n1 17 -n2 0 -total 30 -withname 27 -withcolor 11 -withlayer 0 -centroid 27 -volume 13 -area 13 -colors { BLUE1 RED YELLOW } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 8 -shell 8 -face 146 -shape 869
+checkstatshape res_1 -solid 11 -shell 11 -face 188 -freewire 0 -freeedge 0 -sharededge 331
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0007596289752 -avg 1.028305667e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 13 -n1 17 -n2 0 -total 30 -withname 27 -withcolor 11 -withlayer 0 -centroid 27 -volume 13 -area 13 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 13 -n1 17 -n2 0 -total 30 -withname 27 -withcolor 11 -withlayer 0 -centroid 13 -volume 13 -area 13 -colors { BLUE1 RED YELLOW  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 8 -shell 8 -face 146 -shape 869 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 11 -shell 11 -face 188 -freewire 0 -freeedge 0 -sharededge 331 -max_solid 11 -max_shell 11 -max_face 188 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0007596289751 -avg 1.028305667e-005 -max_tol ${max_tol_res_1}
+
index d7149df21dd2b0e068e9e517d686b355c6f499c0..08c4e87d44e3e2df36c905e3629af38c829dcd1e 100755 (executable)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-set LinuxDiff 3
 set filename r_77-sy.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 5  ( 0 )  Warnings = 8  ( 2 )  Summary  = 13  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 59  ( 59 )  Face     = 59  ( 59 )   Summary  = 889  ( 889 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 59  ( 59 )  Face     = 59  ( 59 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 356  ( 356 )
-TOLERANCE   : MaxTol   =  0.01782737572  (  0.03722151184 )  AvgTol   =  0.002033692633  (  0.003517189961 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 118  ( 118 )  N2Labels = 0  ( 0 )   TotalLabels = 119  ( 119 )   NameLabels = 1  ( 1 )   ColorLabels = 59  ( 59 )   LayerLabels = 59  ( 59 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = GREEN RED TURQUOISE  ( GREEN RED TURQUOISE )
-NLAYERS     : NLayers  = 5  ( 5 )
-LAYERS      : Layers   = 1 2 3 4 5  ( 1 2 3 4 5 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 118 -n2 0 -total 119 -withname 1 -withcolor 59 -withlayer 59 -centroid 0 -volume 0 -area 0 -colors { GREEN RED TURQUOISE } -nbcolors 3 -layers { 1 2 3 4 5 } -nblayers 5
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 59 -face 59 -shape 889
+checkstatshape res_1 -solid 0 -shell 59 -face 59 -freewire 0 -freeedge 0 -sharededge 356
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.03722151184 -avg 0.003517189961]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 118 -n2 0 -total 119 -withname 1 -withcolor 59 -withlayer 59 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 5
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 118 -n2 0 -total 119 -withname 1 -withcolor 59 -withlayer 59 -centroid 0 -volume 0 -area 0 -colors { GREEN RED TURQUOISE  } -nbcolors 3 -layers { 1 2 3 4 5  } -nblayers 5
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 59 -face 59 -shape 889 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 59 -face 59 -freewire 0 -freeedge 0 -sharededge 356 -max_solid 0 -max_shell 59 -max_face 59 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01782737572 -avg 0.002033692633 -max_tol ${max_tol_res_1}
+
index 417602f4fabd1a5437711669a9e5d0eebde9964e..3978536b4dd13c3f51e425fbb5741b741f98043d 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename trj5_pm3-in-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 41  ( 39 )  Summary  = 41  ( 39 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 283  ( 283 )   Summary  = 1860  ( 1860 )
-STATSHAPE   : Solid    = 10  ( 10 )  Shell    = 10  ( 10 )  Face     = 613  ( 613 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 752  ( 752 )
-TOLERANCE   : MaxTol   = 2.475302665e-007  ( 2.475300807e-007 )  AvgTol   =  1.007990614e-007  (  1.00594269e-007 )
-LABELS      : N0Labels = 8  ( 8 )  N1Labels = 12  ( 12 )  N2Labels = 0  ( 0 )   TotalLabels = 20  ( 20 )   NameLabels = 20  ( 20 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 39 -max_faults 0
+checkxstat D_First -n0 8 -n1 12 -n2 0 -total 20 -withname 20 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 283 -shape 1860
+checkstatshape res_1 -solid 10 -shell 10 -face 613 -freewire 0 -freeedge 0 -sharededge 752
+set max_tol_res_1 [checkmaxtol res_1 -tol 2.475300807e-007 -avg 1.00594269e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 39 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 41 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 8 -n1 12 -n2 0 -total 20 -withname 20 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 8 -n1 12 -n2 0 -total 20 -withname 20 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 283 -shape 1860 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 10 -shell 10 -face 613 -freewire 0 -freeedge 0 -sharededge 752 -max_solid 10 -max_shell 10 -max_face 613 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 2.475302665e-007 -avg 1.007990614e-007 -max_tol ${max_tol_res_1}
+
index 547280faaf7ab468f3836424b0569ea83c9a3010..e071e5d99969d72e7f7cea7a76a0780543b8a8cc 100755 (executable)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj5_pm3-ug-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 8  ( 82 )  Summary  = 8  ( 82 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 376  ( 376 )   Summary  = 2466  ( 2466 )
-STATSHAPE   : Solid    = 18  ( 18 )  Shell    = 18  ( 18 )  Face     = 376  ( 376 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 955  ( 955 )
-TOLERANCE   : MaxTol   = 0.005929066011  (  0.01678547427 )  AvgTol   =  9.716431133e-005  (  0.0001556346626 )
-LABELS      : N0Labels = 20  ( 20 )  N1Labels = 19  ( 19 )  N2Labels = 0  ( 0 )   TotalLabels = 39  ( 39 )   NameLabels = 39  ( 39 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 20  ( 20 )  Volume   = 20  ( 20 )  Area     = 20  ( 20 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 82 -max_faults 0
+checkxstat D_First -n0 20 -n1 19 -n2 0 -total 39 -withname 39 -withcolor 0 -withlayer 0 -centroid 20 -volume 20 -area 20 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 18 -shell 18 -face 376 -shape 2466
+checkstatshape res_1 -solid 18 -shell 18 -face 376 -freewire 0 -freeedge 0 -sharededge 955
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01678547427 -avg 0.0001556346626]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 82 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 20 -n1 19 -n2 0 -total 39 -withname 39 -withcolor 0 -withlayer 0 -centroid 20 -volume 20 -area 20 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 20 -n1 19 -n2 0 -total 39 -withname 39 -withcolor 0 -withlayer 0 -centroid 20 -volume 20 -area 20 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 18 -shell 18 -face 376 -shape 2466 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 18 -shell 18 -face 376 -freewire 0 -freeedge 0 -sharededge 955 -max_solid 18 -max_shell 18 -max_face 376 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.005929066011 -avg 9.716431133e-005 -max_tol ${max_tol_res_1}
+
index bae1fb272d9d4c571f419bde5ea49a932ef26ed0..c11032c011287350141aae633075d11cab017796 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename bm2_ug_t4-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 4 )  Summary  = 0  ( 4 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 14  ( 0 )  Face     = 14  ( 14 )   Summary  = 157  ( 143 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 14  ( 0 )  Face     = 14  ( 14 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 56  ( 56 )
-TOLERANCE   : MaxTol   = 0.0003158426652  ( 0.0003158424638 )  AvgTol   =  3.552299744e-005  (  3.552231384e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 14 -shape 143
+checkstatshape res_1 -solid 0 -shell 0 -face 14 -freewire 0 -freeedge 0 -sharededge 56
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0003158424638 -avg 3.552231384e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 14 -face 14 -shape 157 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 14 -face 14 -freewire 0 -freeedge 0 -sharededge 56 -max_solid 0 -max_shell 0 -max_face 14 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0003158426652 -avg 3.552299744e-005 -max_tol ${max_tol_res_1}
+
index 703c0fe1e48e4a66925a3b7a2b374d2cd3174594..dd79d2146843c34689798688b7ed279df582713d 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename tr10_r0401_al.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 11  ( 11 )  Summary  = 11  ( 11 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 9  ( 2 )  Face     = 210  ( 210 )   Summary  = 1630  ( 1598 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 9  ( 2 )  Face     = 210  ( 210 )   FreeWire = 0  ( 0 )   FreeEdge  = 26 ( 26 )   SharedEdge = 677  ( 677 )
-TOLERANCE   : MaxTol   =  0.03020760843  (  0.09627168289 )  AvgTol   =   0.00257577559  (   0.01084852352 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 31  ( 31 )  N2Labels = 0  ( 0 )   TotalLabels = 32  ( 32 )   NameLabels = 1  ( 1 )   ColorLabels = 5  ( 5 )   LayerLabels = 26  ( 26 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE2 DEEPPINK2 YELLOW2  ( BLUE2 DEEPPINK2 YELLOW2 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = Invisible  ( Invisible )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+checkxstat D_First -n0 1 -n1 31 -n2 0 -total 32 -withname 1 -withcolor 5 -withlayer 26 -centroid 0 -volume 0 -area 0 -colors { BLUE2 DEEPPINK2 YELLOW2 } -nbcolors 3 -layers { Invisible } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 2 -face 210 -shape 1598
+checkstatshape res_1 -solid 1 -shell 2 -face 210 -freewire 0 -freeedge 26 -sharededge 677
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.09627168289 -avg 0.01084852352]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 31 -n2 0 -total 32 -withname 1 -withcolor 5 -withlayer 26 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 31 -n2 0 -total 32 -withname 1 -withcolor 5 -withlayer 26 -centroid 0 -volume 0 -area 0 -colors { BLUE2 DEEPPINK2 YELLOW2  } -nbcolors 3 -layers { Invisible  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 9 -face 210 -shape 1630 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 9 -face 210 -freewire 0 -freeedge 26 -sharededge 677 -max_solid 1 -max_shell 2 -max_face 210 -max_freewire 0 -max_freeedge 26
+checkmaxtol res_2 -tol 0.03020760843 -avg 0.00257577559 -max_tol ${max_tol_res_1}
+
index 6c63ffcb879f5dbb3c9f94d5deba6eaabcc9f153..70fdde3207a7a1753cfd65c9df1d934e712b2525 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename bm4_ac_punch.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 37  ( 41 )  Summary  = 37  ( 41 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 12  ( 3 )  Face     = 196  ( 196 )   Summary  = 1463  ( 1449 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 12  ( 3 )  Face     = 196  ( 196 )   FreeWire = 0  ( 0 )   FreeEdge  = 5 ( 5 )   SharedEdge = 592  ( 592 )
-TOLERANCE   : MaxTol   = 0.007471806745  ( 0.007471806744 )  AvgTol   =  2.491824872e-005  (  2.491830323e-005 )
-LABELS      : N0Labels = 6  ( 6 )  N1Labels = 19  ( 19 )  N2Labels = 0  ( 0 )   TotalLabels = 25  ( 25 )   NameLabels = 11  ( 11 )   ColorLabels = 17  ( 17 )   LayerLabels = 17  ( 17 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 GREEN RED  ( BLUE1 GREEN RED )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 41 -max_faults 0
+checkxstat D_First -n0 6 -n1 19 -n2 0 -total 25 -withname 11 -withcolor 17 -withlayer 17 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED } -nbcolors 3 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 196 -shape 1449
+checkstatshape res_1 -solid 3 -shell 3 -face 196 -freewire 0 -freeedge 5 -sharededge 592
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.007471806744 -avg 2.491830323e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 41 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 37 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 6 -n1 19 -n2 0 -total 25 -withname 11 -withcolor 17 -withlayer 17 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 6 -n1 19 -n2 0 -total 25 -withname 11 -withcolor 17 -withlayer 17 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED  } -nbcolors 3 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 12 -face 196 -shape 1463 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 12 -face 196 -freewire 0 -freeedge 5 -sharededge 592 -max_solid 3 -max_shell 3 -max_face 196 -max_freewire 0 -max_freeedge 5
+checkmaxtol res_2 -tol 0.007471806745 -avg 2.491824872e-005 -max_tol ${max_tol_res_1}
+
index 92c5e90adeeb21841dbdddccc1fa6c22ac8b0e22..b2e173134223404fc3bf020b0ec46ed39b6fe341 100644 (file)
@@ -1,19 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 
 set filename tr10_r1101_sy.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 5  ( 0 )  Warnings = 0  ( 0 )  Summary  = 5  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 64  ( 64 )  Face     = 64  ( 64 )   Summary  = 759  ( 759 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 64  ( 64 )  Face     = 64  ( 64 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 283  ( 283 )
-TOLERANCE   : MaxTol   =  0.01969059797  (  0.03822476581 )  AvgTol   =  0.001190568033  (  0.002480845829 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 128  ( 128 )  N2Labels = 0  ( 0 )   TotalLabels = 129  ( 129 )   NameLabels = 1  ( 1 )   ColorLabels = 64  ( 64 )   LayerLabels = 64  ( 64 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = TURQUOISE  ( TURQUOISE )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = 4 X  ( 4 X )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 128 -n2 0 -total 129 -withname 1 -withcolor 64 -withlayer 64 -centroid 0 -volume 0 -area 0 -colors { TURQUOISE } -nbcolors 1 -layers { 4 X } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 64 -face 64 -shape 759
+checkstatshape res_1 -solid 0 -shell 64 -face 64 -freewire 0 -freeedge 0 -sharededge 283
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.03822476581 -avg 0.002480845829]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 128 -n2 0 -total 129 -withname 1 -withcolor 64 -withlayer 64 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 128 -n2 0 -total 129 -withname 1 -withcolor 64 -withlayer 64 -centroid 0 -volume 0 -area 0 -colors { TURQUOISE  } -nbcolors 1 -layers { 4 X  } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 64 -face 64 -shape 759 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 64 -face 64 -freewire 0 -freeedge 0 -sharededge 283 -max_solid 0 -max_shell 64 -max_face 64 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01969059797 -avg 0.001190568033 -max_tol ${max_tol_res_1}
+
index ffb838930c652abe07b8b060087987551b6bc0e0..e454b0a2805aa88224c0241c038a789490369ff8 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename bm4_id_punch_c.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 36  ( 77 )  Summary  = 36  ( 77 )
-CHECKSHAPE  : Wires    = 4  ( 4 )  Faces    = 4  ( 4 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 40  ( 3 )  Face     = 182  ( 182 )   Summary  = 1489  ( 1445 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 40  ( 3 )  Face     = 182  ( 182 )   FreeWire = 0  ( 0 )   FreeEdge  = 6 ( 6 )   SharedEdge = 586  ( 586 )
-TOLERANCE   : MaxTol   = 0.007713500664  ( 0.009978407929 )  AvgTol   =  0.0007020642139  (  0.0008074713016 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 4  ( 4 )  N2Labels = 0  ( 0 )   TotalLabels = 9  ( 9 )   NameLabels = 9  ( 9 )   ColorLabels = 3  ( 3 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = GREEN RED  ( GREEN RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 75 -max_faults 0
+checkxstat D_First -n0 5 -n1 4 -n2 0 -total 9 -withname 9 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN RED } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 4 -max_faces 4 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 182 -shape 1445
+checkstatshape res_1 -solid 3 -shell 3 -face 182 -freewire 0 -freeedge 6 -sharededge 586
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009978407929 -avg 0.0008074713016]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 75 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 4 -n2 0 -total 9 -withname 9 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 4 -n2 0 -total 9 -withname 9 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN RED  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 4 -max_faces 4 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 4 -max_faces 4 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 40 -face 182 -shape 1489 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 40 -face 182 -freewire 0 -freeedge 6 -sharededge 586 -max_solid 3 -max_shell 3 -max_face 182 -max_freewire 0 -max_freeedge 6
+checkmaxtol res_2 -tol 0.007713500664 -avg 0.0007020642139 -max_tol ${max_tol_res_1}
+
index 66c14431f499f299513caf220210821e17883319..9412bc82a0f25aebed551ac647e959ee8977e1b0 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-set LinuxDiff 4
 set filename bm4_id_punch_d.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 28  ( 69 )  Summary  = 28  ( 69 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 42  ( 5 )  Face     = 186  ( 186 )   Summary  = 1539  ( 1483 )
-STATSHAPE   : Solid    = 5  ( 5 )  Shell    = 42  ( 5 )  Face     = 186  ( 186 )   FreeWire = 0  ( 0 )   FreeEdge  = 6 ( 6 )   SharedEdge = 602  ( 602 )
-TOLERANCE   : MaxTol   = 0.007713500664  ( 0.009978407929 )  AvgTol   =  0.0006822328058  (  0.000967548793 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 8  ( 4 )  N2Labels = 0  ( 0 )   TotalLabels = 13  ( 9 )   NameLabels = 9  ( 9 )   ColorLabels = 5  ( 3 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = GREEN RED  ( GREEN RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 70 -max_faults 0
+checkxstat D_First -n0 5 -n1 4 -n2 0 -total 9 -withname 9 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN RED } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 186 -shape 1483
+checkstatshape res_1 -solid 5 -shell 5 -face 186 -freewire 0 -freeedge 6 -sharededge 602
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009978407929 -avg 0.000967548793]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 70 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 4 -n2 0 -total 9 -withname 9 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 8 -n2 0 -total 13 -withname 9 -withcolor 5 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN RED  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 42 -face 186 -shape 1539 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 5 -shell 42 -face 186 -freewire 0 -freeedge 6 -sharededge 602 -max_solid 5 -max_shell 5 -max_face 186 -max_freewire 0 -max_freeedge 6
+checkmaxtol res_2 -tol 0.007713500664 -avg 0.0006822328058 -max_tol ${max_tol_res_1}
+
index 9c6e40f97433c3ba3be5b4fdeeb1e50006929b8f..156e7b59ad873813bacc6ce230e8536e13d16c4b 100644 (file)
@@ -1,22 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
 set filename bm4_db_punch_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 13  ( 2 )  Summary  = 13  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 16  ( 16 )  Face     = 192  ( 192 )   Summary  = 1314  ( 1270 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 16  ( 16 )  Face     = 192  ( 192 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 519  ( 503 )
-TOLERANCE   : MaxTol   =    0.152467407  (    0.344407918 )  AvgTol   =  0.0008333756498  (   0.00561353742 )
-LABELS      : N0Labels = 4  ( 4 )  N1Labels = 31  ( 31 )  N2Labels = 0  ( 0 )   TotalLabels = 35  ( 35 )   NameLabels = 7  ( 7 )   ColorLabels = 16  ( 16 )   LayerLabels = 16  ( 19 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = DODGERBLUE2 GREEN RED  ( DODGERBLUE2 GREEN RED )
-NLAYERS     : NLayers  = 1  ( 2 )
-LAYERS      : Layers   = 0  ( {  0} 255 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 4 -n1 31 -n2 0 -total 35 -withname 7 -withcolor 16 -withlayer 19 -centroid 0 -volume 0 -area 0 -colors { DODGERBLUE2 GREEN RED } -nbcolors 3 -layers {  } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 16 -face 192 -shape 1270
+checkstatshape res_1 -solid 3 -shell 16 -face 192 -freewire 0 -freeedge 0 -sharededge 503
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.344407918 -avg 0.00561353742]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4 -n1 31 -n2 0 -total 35 -withname 7 -withcolor 16 -withlayer 19 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 31 -n2 0 -total 35 -withname 7 -withcolor 16 -withlayer 16 -centroid 0 -volume 0 -area 0 -colors { DODGERBLUE2 GREEN RED  } -nbcolors 3 -layers {   } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 16 -face 192 -shape 1314 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 16 -face 192 -freewire 0 -freeedge 0 -sharededge 519 -max_solid 3 -max_shell 16 -max_face 192 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.152467407 -avg 0.0008333756498 -max_tol ${max_tol_res_1}
+
index 6e016b37886a16b63e28a792aa1189007dcb85cf..8a0787c92126b76bc4c887421e90403426dcf703 100644 (file)
@@ -1,22 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
 set filename tr9_r0901-al.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 7  ( 2 )  Summary  = 7  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 19  ( 1 )  Face     = 26  ( 26 )   Summary  = 1044  ( 852 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 19  ( 1 )  Face     = 26  ( 26 )   FreeWire = 0  ( 0 )   FreeEdge  = 177 ( 177 )   SharedEdge = 319  ( 319 )
-TOLERANCE   : MaxTol   =  0.03657395096  (   0.9781270945 )  AvgTol   =  0.001146170258  (    0.0151196088 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 196  ( 197 )  N2Labels = 0  ( 0 )   TotalLabels = 197  ( 198 )   NameLabels = 1  ( 1 )   ColorLabels = 19  ( 19 )   LayerLabels = 177  ( 178 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 RED YELLOW  ( BLUE1 RED YELLOW )
-NLAYERS     : NLayers  = 4  ( 4 )
-LAYERS      : Layers   = CRVS DATAMS SRFS WHEELS  ( CRVS DATAMS SRFS WHEELS )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 1 -n1 197 -n2 0 -total 198 -withname 1 -withcolor 19 -withlayer 178 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED YELLOW } -nbcolors 3 -layers { CRVS DATAMS SRFS WHEELS } -nblayers 4
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 26 -shape 852
+checkstatshape res_1 -solid 0 -shell 1 -face 26 -freewire 0 -freeedge 177 -sharededge 319
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9781270945 -avg 0.0151196088]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 197 -n2 0 -total 198 -withname 1 -withcolor 19 -withlayer 178 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 4
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 196 -n2 0 -total 197 -withname 1 -withcolor 19 -withlayer 177 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED YELLOW  } -nbcolors 3 -layers { CRVS DATAMS SRFS WHEELS  } -nblayers 4
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 19 -face 26 -shape 1044 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 19 -face 26 -freewire 0 -freeedge 177 -sharededge 319 -max_solid 0 -max_shell 1 -max_face 26 -max_freewire 0 -max_freeedge 177
+checkmaxtol res_2 -tol 0.03657395096 -avg 0.001146170258 -max_tol ${max_tol_res_1}
+
index d85bd1933d91f10e58bc1506a5942395051f2992..f69080cbbedcd8c2958fc1f010b927ef223a568f 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj7_pm5-ac-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 92 )  Warnings = 0  ( 0 )  Summary  = 0  ( 92 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 11  ( 13 )  Summary  = 11  ( 13 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 11  ( 11 )  Shell    = 12  ( 11 )  Face     = 641  ( 641 )   Summary  = 4041  ( 4041 )
-STATSHAPE   : Solid    = 11  ( 11 )  Shell    = 12  ( 11 )  Face     = 641  ( 641 )   FreeWire = 0  ( 0 )   FreeEdge  = 1 ( 1 )   SharedEdge = 1643  ( 1643 )
-TOLERANCE   : MaxTol   = 1.000100003e-07  ( 1.000100003e-07 )  AvgTol   =  1.00004229e-07  (  1.00004229e-07 )
-LABELS      : N0Labels = 20  ( 20 )  N1Labels = 29  ( 30 )  N2Labels = 0  ( 0 )   TotalLabels = 49  ( 50 )   NameLabels = 48  ( 48 )   ColorLabels = 13  ( 13 )   LayerLabels = 13  ( 13 )
-PROPS       : Centroid = 17  ( 17 )  Volume   = 17  ( 17 )  Area     = 17  ( 17 )
-NCOLORS     : NColors  = 7  ( 7 )
-COLORS      : Colors   = GRAY22 GRAY73 KHAKI4 MAGENTA1 MATRAGRAY PURPLE4 WHITE  ( GRAY22 GRAY73 KHAKI4 MAGENTA1 MATRAGRAY PURPLE4 WHITE )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = 0 1  ( 0 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 92
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+checkxstat D_First -n0 20 -n1 30 -n2 0 -total 50 -withname 48 -withcolor 13 -withlayer 13 -centroid 17 -volume 17 -area 17 -colors { GRAY22 GRAY73 KHAKI4 MAGENTA1 MATRAGRAY PURPLE4 WHITE } -nbcolors 7 -layers { 0 1 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 11 -shell 11 -face 641 -shape 4041
+checkstatshape res_1 -solid 11 -shell 11 -face 641 -freewire 0 -freeedge 1 -sharededge 1643
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-07 -avg 1.00004229e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 92
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 20 -n1 30 -n2 0 -total 50 -withname 48 -withcolor 13 -withlayer 13 -centroid 17 -volume 17 -area 17 -nbcolors 7 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 20 -n1 29 -n2 0 -total 49 -withname 48 -withcolor 13 -withlayer 13 -centroid 17 -volume 17 -area 17 -colors { GRAY22 GRAY73 KHAKI4 MAGENTA1 MATRAGRAY PURPLE4 WHITE  } -nbcolors 7 -layers { 0 1  } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 11 -shell 12 -face 641 -shape 4041 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 11 -shell 12 -face 641 -freewire 0 -freeedge 1 -sharededge 1643 -max_solid 11 -max_shell 11 -max_face 641 -max_freewire 0 -max_freeedge 1
+checkmaxtol res_2 -tol 1.000100003e-07 -avg 1.00004229e-07 -max_tol ${max_tol_res_1}
+
index 75af7096441813e6c1a42e8cf5109cef21460003..0d01b7fcdd6be5542d8f1fabafb4883b7f783c03 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename PRO9234.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 77  ( 181 )  Summary  = 77  ( 181 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 2  ( 2 )  Shell    = 15  ( 15 )  Face     = 280  ( 280 )   Summary  = 2349  ( 2212 )
-STATSHAPE   : Solid    = 2  ( 2 )  Shell    = 15  ( 15 )  Face     = 280  ( 280 )   FreeWire = 0  ( 1 )   FreeEdge  = 137 ( 137 )   SharedEdge = 889  ( 889 )
-TOLERANCE   : MaxTol   =  0.02408475069  (  0.03962502303 )  AvgTol   =  0.001658839781  (  0.001904420668 )
-LABELS      : N0Labels = 4  ( 4 )  N1Labels = 136  ( 215 )  N2Labels = 0  ( 0 )   TotalLabels = 140  ( 219 )   NameLabels = 7  ( 7 )   ColorLabels = 133  ( 133 )   LayerLabels = 133  ( 212 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = BLUE1 GREEN LIGHTPINK1 WHITE  ( BLUE1 GREEN LIGHTPINK1 WHITE )
-NLAYERS     : NLayers  = 18  ( 19 )
-LAYERS      : Layers   = 0 11 12 13 131 14 15 20 200 21 22 30 31 32 33 34 35 36  ( 0 11 12 13 131 14 15 20 200 21 22 30 31 32 33 34 35 36 99 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 180 -max_faults 0
+checkxstat D_First -n0 4 -n1 215 -n2 0 -total 219 -withname 7 -withcolor 133 -withlayer 212 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN LIGHTPINK1 WHITE } -nbcolors 4 -layers { 0 11 12 13 131 14 15 20 200 21 22 30 31 32 33 34 35 36 99 } -nblayers 19
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 2 -shell 15 -face 280 -shape 2212
+checkstatshape res_1 -solid 2 -shell 15 -face 280 -freewire 1 -freeedge 137 -sharededge 889
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.03962502303 -avg 0.001904420668]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 180 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 78 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4 -n1 215 -n2 0 -total 219 -withname 7 -withcolor 133 -withlayer 212 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 19
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 136 -n2 0 -total 140 -withname 7 -withcolor 133 -withlayer 133 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN LIGHTPINK1 WHITE  } -nbcolors 4 -layers { 0 11 12 13 131 14 15 20 200 21 22 30 31 32 33 34 35 36  } -nblayers 18
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 2 -shell 15 -face 280 -shape 2349 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 2 -shell 15 -face 280 -freewire 0 -freeedge 137 -sharededge 889 -max_solid 2 -max_shell 15 -max_face 280 -max_freewire 1 -max_freeedge 137
+checkmaxtol res_2 -tol 0.02408475069 -avg 0.001658839781 -max_tol ${max_tol_res_1}
+
index 8fa3499f27555135ea9a6165a57152e3d3c381b7..3131045f3596ac4900ab8aa7780b5766c3c2f6ef 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: PROPS : Faulty" 
 
-
 set filename trj8_pm6-ts-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 237  ( 262 )  Summary  = 237  ( 262 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 16  ( 16 )  Shell    = 16  ( 16 )  Face     = 494  ( 494 )   Summary  = 3399  ( 3353 )
-STATSHAPE   : Solid    = 26  ( 26 )  Shell    = 26  ( 26 )  Face     = 874  ( 874 )   FreeWire = 0  ( 0 )   FreeEdge  = 58 ( 58 )   SharedEdge = 1179  ( 1179 )
-TOLERANCE   : MaxTol   = 0.001020031105  ( 0.001020031105 )  AvgTol   =  6.80978947e-006  (  6.80978947e-006 )
-LABELS      : N0Labels = 31  ( 31 )  N1Labels = 535  ( 491 )  N2Labels = 0  ( 0 )   TotalLabels = 566  ( 522 )   NameLabels = 62  ( 62 )   ColorLabels = 520  ( 481 )   LayerLabels = 16  ( 16 )
-PROPS       : Centroid = 26  ( 43 )  Volume   = 26  ( 26 )  Area     = 26  ( 26 )
-NCOLORS     : NColors  = 7  ( 7 )
-COLORS      : Colors   = DEEPSKYBLUE2 DODGERBLUE2 MAGENTA1 ORANGE ORANGERED RED WHITE  ( DEEPSKYBLUE2 DODGERBLUE2 MAGENTA1 ORANGE ORANGERED RED WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 000  ( 000 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 262 -max_faults 0
+checkxstat D_First -n0 31 -n1 491 -n2 0 -total 522 -withname 62 -withcolor 481 -withlayer 16 -centroid 43 -volume 26 -area 26 -colors { DEEPSKYBLUE2 DODGERBLUE2 MAGENTA1 ORANGE ORANGERED RED WHITE } -nbcolors 7 -layers { 000 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 16 -shell 16 -face 494 -shape 3353
+checkstatshape res_1 -solid 26 -shell 26 -face 874 -freewire 0 -freeedge 58 -sharededge 1179
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.001020031105 -avg 6.80978947e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 262 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 237 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 31 -n1 491 -n2 0 -total 522 -withname 62 -withcolor 481 -withlayer 16 -centroid 43 -volume 26 -area 26 -nbcolors 7 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 31 -n1 535 -n2 0 -total 566 -withname 62 -withcolor 520 -withlayer 16 -centroid 26 -volume 26 -area 26 -colors { DEEPSKYBLUE2 DODGERBLUE2 MAGENTA1 ORANGE ORANGERED RED WHITE  } -nbcolors 7 -layers { 000  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 16 -shell 16 -face 494 -shape 3399 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 26 -shell 26 -face 874 -freewire 0 -freeedge 58 -sharededge 1179 -max_solid 26 -max_shell 26 -max_face 874 -max_freewire 0 -max_freeedge 58
+checkmaxtol res_2 -tol 0.001020031105 -avg 6.80978947e-006 -max_tol ${max_tol_res_1}
+
index 348d760d0622b515877dad16338b765443ddcbd8..f205a2d5b8f37f9aca591922c82bcd504b346556 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename trj3_pm1-ct2-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 36  ( 27 )  Summary  = 36  ( 27 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 7  ( 1 )  Face     = 200  ( 200 )   Summary  = 1529  ( 1523 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 7  ( 1 )  Face     = 200  ( 200 )   FreeWire = 0  ( 44 )   FreeEdge  = 44 ( 44 )   SharedEdge = 613  ( 613 )
-TOLERANCE   : MaxTol   =  0.02902527695  (  0.09790099556 )  AvgTol   =  0.002306346274  (    0.0102313292 )
-LABELS      : N0Labels = 4  ( 4 )  N1Labels = 3  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 7  ( 7 )   NameLabels = 7  ( 7 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 30 -max_faults 0
+checkxstat D_First -n0 4 -n1 3 -n2 0 -total 7 -withname 7 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 200 -shape 1523
+checkstatshape res_1 -solid 1 -shell 1 -face 200 -freewire 44 -freeedge 44 -sharededge 613
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.09790099556 -avg 0.0102313292]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 30 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4 -n1 3 -n2 0 -total 7 -withname 7 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 3 -n2 0 -total 7 -withname 7 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 7 -face 200 -shape 1529 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 7 -face 200 -freewire 0 -freeedge 44 -sharededge 613 -max_solid 1 -max_shell 1 -max_face 200 -max_freewire 44 -max_freeedge 44
+checkmaxtol res_2 -tol 0.02902527695 -avg 0.002306346274 -max_tol ${max_tol_res_1}
+
index 3b0631a8b7b8d0ff381e35f57324bcf968855b6d..d45e17aa80d76c3fd9993fdb57f177f98aad5f93 100644 (file)
@@ -1,23 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-set LinuxDiff 3
 set filename trj3_s1-al-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 102  ( 95 )  Summary  = 102  ( 95 )
-CHECKSHAPE  : Wires    = 12  ( 12 )  Faces    = 12  ( 12 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 18  ( 14 )  Face     = 94  ( 94 )   Summary  = 630  ( 627 )
-STATSHAPE   : Solid    = 5  ( 5 )  Shell    = 18  ( 14 )  Face     = 94  ( 94 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 255  ( 255 )
-TOLERANCE   : MaxTol   =    5.454654424  (    20.45495409 )  AvgTol   =    0.1582231883  (    0.5075249428 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 18  ( 17 )  N2Labels = 0  ( 0 )   TotalLabels = 19  ( 18 )   NameLabels = 1  ( 1 )   ColorLabels = 18  ( 17 )   LayerLabels = 7  ( 8 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = RED YELLOW  ( RED YELLOW )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = feet main_body tail_middle  ( feet main_body tail_middle )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 91 -max_faults 0
+checkxstat D_First -n0 1 -n1 17 -n2 0 -total 18 -withname 1 -withcolor 17 -withlayer 8 -centroid 0 -volume 0 -area 0 -colors { RED YELLOW } -nbcolors 2 -layers { "main_body" "tail_middle" "feet" } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 12 -max_faces 12 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 14 -face 94 -shape 627
+checkstatshape res_1 -solid 5 -shell 14 -face 94 -freewire 0 -freeedge 0 -sharededge 255
+set max_tol_res_1 [checkmaxtol res_1 -tol 20.45495409 -avg 0.5075249428]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 91 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 101 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 17 -n2 0 -total 18 -withname 1 -withcolor 17 -withlayer 8 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 18 -n2 0 -total 19 -withname 1 -withcolor 18 -withlayer 7 -centroid 0 -volume 0 -area 0 -colors { RED YELLOW  } -nbcolors 2 -layers { "main_body" "tail_middle" "feet" } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 12 -max_faces 12 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 12 -max_faces 12 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 18 -face 94 -shape 630 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 5 -shell 18 -face 94 -freewire 0 -freeedge 0 -sharededge 255 -max_solid 5 -max_shell 14 -max_face 94 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 5.454654424 -avg 0.1582231883 -max_tol ${max_tol_res_1}
+
index 4726f81efee275148c01f7dbcd122b0847abdba6..a311a1a7e22199c09750de26b9d3cd58d4fda498 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 
-set LinuxDiff 3
 set filename r76sy.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 1  ( 4 )  Warnings = 68  ( 103 )  Summary  = 69  ( 107 )
-CHECKSHAPE  : Wires    = 1  ( 0 )  Faces    = 1  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 23  ( 23 )  Shell    = 47  ( 47 )  Face     = 194  ( 194 )   Summary  = 1350  ( 1357 )
-STATSHAPE   : Solid    = 23  ( 23 )  Shell    = 47  ( 47 )  Face     = 194  ( 194 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 502  ( 504 )
-TOLERANCE   : MaxTol   =   0.0205434719  (   0.0293421419 )  AvgTol   =  0.0005065999101  (   0.00138068504 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 69  ( 67 )  N2Labels = 0  ( 0 )   TotalLabels = 72  ( 70 )   NameLabels = 5  ( 5 )   ColorLabels = 47  ( 45 )   LayerLabels = 43  ( 45 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = GREEN ROYALBLUE  ( GREEN ROYALBLUE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = X  ( X )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 103 -max_faults 4
+checkxstat D_First -n0 3 -n1 67 -n2 0 -total 70 -withname 5 -withcolor 45 -withlayer 45 -centroid 0 -volume 0 -area 0 -colors { GREEN ROYALBLUE } -nbcolors 2 -layers { X } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 23 -shell 47 -face 194 -shape 1357
+checkstatshape res_1 -solid 23 -shell 47 -face 194 -freewire 0 -freeedge 0 -sharededge 504
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0293421419 -avg 0.00138068504]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 103 -max_faults 4
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 71 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 67 -n2 0 -total 70 -withname 5 -withcolor 45 -withlayer 45 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 69 -n2 0 -total 72 -withname 5 -withcolor 47 -withlayer 43 -centroid 0 -volume 0 -area 0 -colors { GREEN ROYALBLUE  } -nbcolors 2 -layers { X  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 23 -shell 47 -face 194 -shape 1350 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 23 -shell 47 -face 194 -freewire 0 -freeedge 0 -sharededge 502 -max_solid 23 -max_shell 47 -max_face 194 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0205434719 -avg 0.0005065999101 -max_tol ${max_tol_res_1}
+
index 90f31a085165de9b25c3a8286fc0b54b606b43b7..a21042be1d4d1b4af938fc7d83cb492f33824a12 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
-
 set filename bm4_ac_seal.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 16  ( 16 )  Summary  = 16  ( 16 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 466  ( 466 )   Summary  = 2557  ( 2557 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 466  ( 466 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1032  ( 1032 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000037844e-007  (  1.000037844e-007 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 6 )   NameLabels = 5  ( 5 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 2 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 2 )
-LAYERS      : Layers   = 0  ( 0 23 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+checkxstat D_First -n0 3 -n1 3 -n2 0 -total 6 -withname 5 -withcolor 1 -withlayer 2 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { 0 23 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 3 -face 466 -shape 2557
+checkstatshape res_1 -solid 1 -shell 3 -face 466 -freewire 0 -freeedge 0 -sharededge 1032
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000037844e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 3 -n2 0 -total 6 -withname 5 -withcolor 1 -withlayer 2 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 466 -shape 2557 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 466 -freewire 0 -freeedge 0 -sharededge 1032 -max_solid 1 -max_shell 3 -max_face 466 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000037844e-007 -max_tol ${max_tol_res_1}
+
index ae363724b357aca8254ef473e9213496cccd3b03..8b5fd4c7b793cddd62688525bd43faa61367d262 100644 (file)
@@ -1,22 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
 set filename bm4_db_punch_c.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 26  ( 14 )  Summary  = 26  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 16  ( 16 )  Face     = 192  ( 192 )   Summary  = 1314  ( 1270 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 16  ( 16 )  Face     = 192  ( 192 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 519  ( 503 )
-TOLERANCE   : MaxTol   =    0.152467407  (    0.344407918 )  AvgTol   =  0.0008368678776  (  0.005616743583 )
-LABELS      : N0Labels = 4  ( 4 )  N1Labels = 31  ( 31 )  N2Labels = 0  ( 0 )   TotalLabels = 35  ( 35 )   NameLabels = 7  ( 7 )   ColorLabels = 16  ( 16 )   LayerLabels = 16  ( 19 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = DODGERBLUE2 GREEN RED  ( DODGERBLUE2 GREEN RED )
-NLAYERS     : NLayers  = 1  ( 2 )
-LAYERS      : Layers   = 0  ( {  0} 255 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 4 -n1 31 -n2 0 -total 35 -withname 7 -withcolor 16 -withlayer 19 -centroid 0 -volume 0 -area 0 -colors { DODGERBLUE2 GREEN RED } -nbcolors 3 -layers { 0 23 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 16 -face 192 -shape 1270
+checkstatshape res_1 -solid 3 -shell 16 -face 192 -freewire 0 -freeedge 0 -sharededge 503
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.344407918 -avg 0.005616743583]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 26 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4 -n1 31 -n2 0 -total 35 -withname 7 -withcolor 16 -withlayer 19 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 31 -n2 0 -total 35 -withname 7 -withcolor 16 -withlayer 16 -centroid 0 -volume 0 -area 0 -colors { DODGERBLUE2 GREEN RED  } -nbcolors 3 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 16 -face 192 -shape 1314 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 16 -face 192 -freewire 0 -freeedge 0 -sharededge 519 -max_solid 3 -max_shell 16 -max_face 192 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.152467407 -avg 0.0008368678776 -max_tol ${max_tol_res_1}
+
index 62602346e449a039e18a725de76b46096a82ce99..f12fad50bf63567b666fb196c27b9f93ca53f871 100755 (executable)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-set LinuxDiff 1
 set filename bm4_sd_punch_c.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 6 )  Warnings = 10  ( 6 )  Summary  = 10  ( 12 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 4  ( 4 )  Face     = 198  ( 198 )   Summary  = 1355  ( 1355 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 4  ( 4 )  Face     = 198  ( 198 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 554  ( 554 )
-TOLERANCE   : MaxTol   = 6.149434256e-07  ( 6.149442686e-07 )  AvgTol   =  1.401960047e-07  (  1.401957861e-07 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 35  ( 35 )  N2Labels = 0  ( 0 )   TotalLabels = 40  ( 40 )   NameLabels = 9  ( 9 )   ColorLabels = 35  ( 35 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 GREEN RED  ( BLUE1 GREEN RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 6
+checkxstat D_First -n0 5 -n1 35 -n2 0 -total 40 -withname 9 -withcolor 35 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 4 -face 198 -shape 1355
+checkstatshape res_1 -solid 3 -shell 4 -face 198 -freewire 0 -freeedge 0 -sharededge 554
+set max_tol_res_1 [checkmaxtol res_1 -tol 6.149442686e-07 -avg 1.401957861e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 6
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 35 -n2 0 -total 40 -withname 9 -withcolor 35 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 35 -n2 0 -total 40 -withname 9 -withcolor 35 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 4 -face 198 -shape 1355 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 4 -face 198 -freewire 0 -freeedge 0 -sharededge 554 -max_solid 3 -max_shell 4 -max_face 198 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 6.149434256e-07 -avg 1.401960047e-07 -max_tol ${max_tol_res_1}
+
index 1060bf44d8ae55768e21cd85816d5cf3749ce9e0..7f53e21c491e7da579f881685e9f779a9a176826 100644 (file)
@@ -1,21 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
 set filename bm4_db_conn_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 60  ( 3 )  Shell    = 60  ( 3 )  Face     = 2526  ( 504 )   Summary  = 17140  ( 3803 )
-STATSHAPE   : Solid    = 114  ( 114 )  Shell    = 114  ( 114 )  Face     = 4044  ( 4044 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 6988  ( 1556 )
-TOLERANCE   : MaxTol   = 1.593845682e-007  ( 1.593845682e-007 )  AvgTol   =  1.001858532e-007  (  1.001858532e-007 )
-LABELS      : N0Labels = 6  ( 7 )  N1Labels = 31  ( 33 )  N2Labels = 0  ( 0 )   TotalLabels = 37  ( 40 )   NameLabels = 37  ( 36 )   ColorLabels = 3  ( 3 )   LayerLabels = 3  ( 35 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = CYAN1 WHITE YELLOW  ( CYAN1 WHITE YELLOW )
-NLAYERS     : NLayers  = 3  ( 6 )
-LAYERS      : Layers   = 1 10 5  ( {  0} {  1} {  5} { 10} 200 255 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 7 -n1 33 -n2 0 -total 40 -withname 36 -withcolor 3 -withlayer 35 -centroid 0 -volume 0 -area 0 -colors { CYAN1 WHITE YELLOW } -nbcolors 3 -layers {  } -nblayers 6
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 504 -shape 3803
+checkstatshape res_1 -solid 114 -shell 114 -face 4044 -freewire 0 -freeedge 0 -sharededge 1556
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.593845682e-007 -avg 1.001858532e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 7 -n1 33 -n2 0 -total 40 -withname 36 -withcolor 3 -withlayer 35 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 6
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 6 -n1 31 -n2 0 -total 37 -withname 37 -withcolor 3 -withlayer 3 -centroid 0 -volume 0 -area 0 -colors { CYAN1 WHITE YELLOW  } -nbcolors 3 -layers {   } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 60 -shell 60 -face 2526 -shape 17140 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 114 -shell 114 -face 4044 -freewire 0 -freeedge 0 -sharededge 6988 -max_solid 114 -max_shell 114 -max_face 4044 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.593845682e-007 -avg 1.001858532e-007 -max_tol ${max_tol_res_1}
+
index 295ba7f0929e4a76c19e15e2be4b04bc9a9fb9b0..9c4f27ac8a4b5596a1e56b4d251a0421f8759141 100644 (file)
@@ -1,22 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 puts "TODO CR23096 ALL: LAYERS : Faulty" 
 
 set filename bm4_db_conn_d.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 16  ( 8 )  Summary  = 16  ( 8 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 60  ( 3 )  Shell    = 60  ( 3 )  Face     = 2526  ( 504 )   Summary  = 17140  ( 3803 )
-STATSHAPE   : Solid    = 114  ( 114 )  Shell    = 114  ( 114 )  Face     = 4044  ( 4044 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 6988  ( 1556 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.00009393e-007  (  1.00009393e-007 )
-LABELS      : N0Labels = 6  ( 7 )  N1Labels = 31  ( 33 )  N2Labels = 0  ( 0 )   TotalLabels = 37  ( 40 )   NameLabels = 37  ( 36 )   ColorLabels = 3  ( 3 )   LayerLabels = 3  ( 35 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = CYAN1 WHITE YELLOW  ( CYAN1 WHITE YELLOW )
-NLAYERS     : NLayers  = 3  ( 6 )
-LAYERS      : Layers   = 1 10 5  ( {  0} {  1} {  5} { 10} 200 255 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+checkxstat D_First -n0 7 -n1 33 -n2 0 -total 40 -withname 36 -withcolor 3 -withlayer 35 -centroid 0 -volume 0 -area 0 -colors { CYAN1 WHITE YELLOW } -nbcolors 3 -layers {  } -nblayers 6
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 504 -shape 3803
+checkstatshape res_1 -solid 114 -shell 114 -face 4044 -freewire 0 -freeedge 0 -sharededge 1556
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.00009393e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 7 -n1 33 -n2 0 -total 40 -withname 36 -withcolor 3 -withlayer 35 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 6
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 6 -n1 31 -n2 0 -total 37 -withname 37 -withcolor 3 -withlayer 3 -centroid 0 -volume 0 -area 0 -colors { CYAN1 WHITE YELLOW  } -nbcolors 3 -layers {   } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 60 -shell 60 -face 2526 -shape 17140 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 114 -shell 114 -face 4044 -freewire 0 -freeedge 0 -sharededge 6988 -max_solid 114 -max_shell 114 -max_face 4044 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00009393e-007 -max_tol ${max_tol_res_1}
+
index 9e4305716dfcae1f23f88f772fd6dfa93e45938b..0aa1dcda59a5058c42969d02479b1b3e7a719005 100755 (executable)
@@ -1,25 +1,54 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-set LinuxDiff 3
 set filename pe_turbine-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 1 )  Summary  = 4  ( 1 )
-CHECKSHAPE  : Wires    = 1  ( 0 )  Faces    = 1  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 55  ( 54 )   Summary  = 329  ( 314 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 55  ( 54 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 139  ( 130 )
-TOLERANCE   : MaxTol   =    43.63397625  ( 0.004765335881 )  AvgTol   =     1.059548993  (  0.0005744934329 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 53  ( 54 )  N2Labels = 0  ( 0 )   TotalLabels = 54  ( 55 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 53  ( 54 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = *FLAECHEN  ( *FLAECHEN )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 54 -n2 0 -total 55 -withname 1 -withcolor 0 -withlayer 54 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers { "*FLAECHEN" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 54 -shape 314
+checkstatshape res_1 -solid 0 -shell 1 -face 54 -freewire 0 -freeedge 0 -sharededge 130
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.004765335881 -avg 0.0005744934329]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 54 -n2 0 -total 55 -withname 1 -withcolor 0 -withlayer 54 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 53 -n2 0 -total 54 -withname 1 -withcolor 0 -withlayer 53 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers { "*FLAECHEN" } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 55 -shape 329 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 55 -freewire 0 -freeedge 0 -sharededge 139 -max_solid 0 -max_shell 1 -max_face 54 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 43.63397625 -avg 1.059548993 -max_tol ${max_tol_res_1}
+
index 85a64a37ec50eacede27b1cafb8fd911427f2f24..f2cc9e538faf372dd7a5b8769a68588bea078515 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename BUC60143.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 113  ( 32 )  Summary  = 113  ( 32 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 117  ( 117 )  Face     = 117  ( 117 )   Summary  = 3604  ( 3191 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 117  ( 117 )  Face     = 117  ( 117 )   FreeWire = 0  ( 89 )   FreeEdge  = 502 ( 502 )   SharedEdge = 1120  ( 1120 )
-TOLERANCE   : MaxTol   =   0.1067914979  (   0.1067914979 )  AvgTol   =  0.003971306078  (  0.005635792771 )
-LABELS      : N0Labels = 4  ( 4 )  N1Labels = 3  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 7  ( 7 )   NameLabels = 7  ( 7 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 31 -max_faults 0
+checkxstat D_First -n0 4 -n1 3 -n2 0 -total 7 -withname 7 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 117 -face 117 -shape 3191
+checkstatshape res_1 -solid 0 -shell 117 -face 117 -freewire 89 -freeedge 502 -sharededge 1120
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1067914979 -avg 0.005635792771]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 31 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 112 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4 -n1 3 -n2 0 -total 7 -withname 7 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 3 -n2 0 -total 7 -withname 7 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 117 -face 117 -shape 3604 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 117 -face 117 -freewire 0 -freeedge 502 -sharededge 1120 -max_solid 0 -max_shell 117 -max_face 117 -max_freewire 89 -max_freeedge 502
+checkmaxtol res_2 -tol 0.1067914979 -avg 0.003971306078 -max_tol ${max_tol_res_1}
+
index ea0614506b9212ccb594995b3bd1476ffe73cf90..3102f8499f231746f335f71e5ba138976dc1599f 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename BUC61003-1.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 348 )  Warnings = 0  ( 1037 )  Summary  = 0  ( 1385 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 472  ( 472 )   Summary  = 2616  ( 2616 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 472  ( 472 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1074  ( 1074 )
-TOLERANCE   : MaxTol   = 0.0008695832754  ( 0.0008695832758 )  AvgTol   =  0.0001317960969  (  0.0001333745726 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1037 -max_faults 348
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 472 -shape 2616
+checkstatshape res_1 -solid 1 -shell 1 -face 472 -freewire 0 -freeedge 0 -sharededge 1074
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0008695832758 -avg 0.0001333745726]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1037 -max_faults 348
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 472 -shape 2616 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 472 -freewire 0 -freeedge 0 -sharededge 1074 -max_solid 1 -max_shell 1 -max_face 472 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0008695832754 -avg 0.0001317960969 -max_tol ${max_tol_res_1}
+
index 91b356b81c3107e6f0a4a8e2616bb1d51e1bc382..c9fa24e5769c89e375561a4129198b04afea45c6 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename BUC61003-2.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 12 )  Warnings = 0  ( 29 )  Summary  = 0  ( 41 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 30  ( 42 )  Summary  = 30  ( 42 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 2  ( 2 )  Shell    = 2  ( 2 )  Face     = 26  ( 26 )   Summary  = 199  ( 199 )
-STATSHAPE   : Solid    = 2  ( 2 )  Shell    = 2  ( 2 )  Face     = 26  ( 26 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 80  ( 80 )
-TOLERANCE   : MaxTol   =  0.03890832401  (  0.03890832401 )  AvgTol   =   0.00559059449  (  0.005591227372 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 29 -max_faults 12
+checkdoc "tpstat c" -max_warns 42 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 2 -shell 2 -face 26 -shape 199
+checkstatshape res_1 -solid 2 -shell 2 -face 26 -freewire 0 -freeedge 0 -sharededge 80
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.03890832401 -avg 0.005591227372]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 29 -max_faults 12
+checkdoc "tpstat c" -max_warns 42 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 30 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 2 -shell 2 -face 26 -shape 199 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 2 -shell 2 -face 26 -freewire 0 -freeedge 0 -sharededge 80 -max_solid 2 -max_shell 2 -max_face 26 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.03890832401 -avg 0.00559059449 -max_tol ${max_tol_res_1}
+
index f0f8941bbf5d5855b07998e694c29b3927945226..2743a335737fcadca6ea6b20b015db88ec9432c6 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename CC670-12.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 24  ( 27 )  Summary  = 24  ( 27 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 135  ( 135 )   Summary  = 1358  ( 1260 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 135  ( 135 )   FreeWire = 0  ( 4 )   FreeEdge  = 100 ( 100 )   SharedEdge = 464  ( 464 )
-TOLERANCE   : MaxTol   =  0.04505895972  (  0.09572273863 )  AvgTol   =  0.005281217499  (   0.01244848052 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 3  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 8  ( 8 )   NameLabels = 8  ( 8 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+checkxstat D_First -n0 5 -n1 3 -n2 0 -total 8 -withname 8 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 135 -shape 1260
+checkstatshape res_1 -solid 1 -shell 1 -face 135 -freewire 4 -freeedge 100 -sharededge 464
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.09572273863 -avg 0.01244848052]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 3 -n2 0 -total 8 -withname 8 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 3 -n2 0 -total 8 -withname 8 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 135 -shape 1358 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 135 -freewire 0 -freeedge 100 -sharededge 464 -max_solid 1 -max_shell 1 -max_face 135 -max_freewire 4 -max_freeedge 100
+checkmaxtol res_2 -tol 0.04505895972 -avg 0.005281217499 -max_tol ${max_tol_res_1}
+
index 04e186106b24d50462a797c226b22283b9a9699a..6e450baac22c582f54b31238eca6c4055c7b9190 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename CC670-12608.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 35  ( 21 )  Summary  = 35  ( 21 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 126  ( 126 )   Summary  = 1309  ( 1222 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 126  ( 126 )   FreeWire = 0  ( 8 )   FreeEdge  = 94 ( 94 )   SharedEdge = 449  ( 449 )
-TOLERANCE   : MaxTol   =  0.02385233045  (  0.09640334764 )  AvgTol   =  0.002320875309  (   0.01039707001 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 3  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 8  ( 8 )   NameLabels = 8  ( 8 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 23 -max_faults 0
+checkxstat D_First -n0 5 -n1 3 -n2 0 -total 8 -withname 8 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 126 -shape 1222
+checkstatshape res_1 -solid 1 -shell 1 -face 126 -freewire 8 -freeedge 94 -sharededge 449
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.09640334764 -avg 0.01039707001]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 23 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 3 -n2 0 -total 8 -withname 8 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 3 -n2 0 -total 8 -withname 8 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 126 -shape 1309 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 126 -freewire 0 -freeedge 94 -sharededge 449 -max_solid 1 -max_shell 1 -max_face 126 -max_freewire 8 -max_freeedge 94
+checkmaxtol res_2 -tol 0.02385233045 -avg 0.002320875309 -max_tol ${max_tol_res_1}
+
index 36249e6eb227732dc3387cede1ed9f0b1d4d31c4..81c4ab9804828b07daa9685f63db8c89506e6c88 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename CC670-12613.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 16  ( 16 )  Summary  = 16  ( 16 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 102  ( 102 )   Summary  = 1024  ( 967 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 102  ( 102 )   FreeWire = 0  ( 8 )   FreeEdge  = 64 ( 64 )   SharedEdge = 356  ( 356 )
-TOLERANCE   : MaxTol   =  0.01775256793  (  0.09055851084 )  AvgTol   =   0.00206647858  (  0.006259859734 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 3  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 8  ( 8 )   NameLabels = 8  ( 8 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+checkxstat D_First -n0 5 -n1 3 -n2 0 -total 8 -withname 8 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 102 -shape 967
+checkstatshape res_1 -solid 1 -shell 1 -face 102 -freewire 8 -freeedge 64 -sharededge 356
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.09055851084 -avg 0.006259859734]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 3 -n2 0 -total 8 -withname 8 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 3 -n2 0 -total 8 -withname 8 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 102 -shape 1024 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 102 -freewire 0 -freeedge 64 -sharededge 356 -max_solid 1 -max_shell 1 -max_face 102 -max_freewire 8 -max_freeedge 64
+checkmaxtol res_2 -tol 0.01775256793 -avg 0.00206647858 -max_tol ${max_tol_res_1}
+
index b50967a847dc77aff445f04bfceb1aa71720e0c6..086a554bcc7061a2694ebb66edf92721216300a9 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename CTS20315-1.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 24  ( 20 )  Summary  = 24  ( 20 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 182  ( 182 )  Face     = 182  ( 182 )   Summary  = 2387  ( 2387 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 182  ( 182 )  Face     = 182  ( 182 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 920  ( 920 )
-TOLERANCE   : MaxTol   =  0.03817388423  (  0.03817388423 )  AvgTol   =  0.0008054885645  (  0.001917006832 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 20 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 182 -face 182 -shape 2387
+checkstatshape res_1 -solid 0 -shell 182 -face 182 -freewire 0 -freeedge 0 -sharededge 920
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.03817388423 -avg 0.001917006832]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 20 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 24 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 182 -face 182 -shape 2387 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 182 -face 182 -freewire 0 -freeedge 0 -sharededge 920 -max_solid 0 -max_shell 182 -max_face 182 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.03817388423 -avg 0.0008054885645 -max_tol ${max_tol_res_1}
+
index 4f1808177232aa81cf04f566093c941d0c6075e0..6c653e54e5d9eb82651e9d96642de193d36eec38 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename Inventor_AdjustableBracket.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 33  ( 35 )  Summary  = 33  ( 35 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 9  ( 9 )  Shell    = 9  ( 9 )  Face     = 256  ( 256 )   Summary  = 1594  ( 1594 )
-STATSHAPE   : Solid    = 9  ( 9 )  Shell    = 9  ( 9 )  Face     = 256  ( 256 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 631  ( 631 )
-TOLERANCE   : MaxTol   =  0.04148434363  (  0.04230490857 )  AvgTol   =  0.0009235591059  (  0.0009349208901 )
-LABELS      : N0Labels = 11  ( 11 )  N1Labels = 10  ( 10 )  N2Labels = 0  ( 0 )   TotalLabels = 21  ( 21 )   NameLabels = 21  ( 21 )   ColorLabels = 9  ( 9 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = DARKSEAGREEN GOLD2 GRAY50 GRAY97  ( DARKSEAGREEN GOLD2 GRAY50 GRAY97 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 35 -max_faults 0
+checkxstat D_First -n0 11 -n1 10 -n2 0 -total 21 -withname 21 -withcolor 9 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DARKSEAGREEN GOLD2 GRAY50 GRAY97 } -nbcolors 4 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 9 -shell 9 -face 256 -shape 1594
+checkstatshape res_1 -solid 9 -shell 9 -face 256 -freewire 0 -freeedge 0 -sharededge 631
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.04230490857 -avg 0.0009349208901]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 35 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 33 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 11 -n1 10 -n2 0 -total 21 -withname 21 -withcolor 9 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 11 -n1 10 -n2 0 -total 21 -withname 21 -withcolor 9 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DARKSEAGREEN GOLD2 GRAY50 GRAY97  } -nbcolors 4 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 9 -shell 9 -face 256 -shape 1594 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 9 -shell 9 -face 256 -freewire 0 -freeedge 0 -sharededge 631 -max_solid 9 -max_shell 9 -max_face 256 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.04148434363 -avg 0.0009235591059 -max_tol ${max_tol_res_1}
+
index 955a819703004685ff8a87aad17a798c3f3dcd56..f2215eda56fbf91225180223f6776bd60bafab44 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename Inventor_Container.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 31  ( 34 )  Summary  = 31  ( 34 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 2  ( 2 )  Shell    = 2  ( 2 )  Face     = 300  ( 300 )   Summary  = 1570  ( 1570 )
-STATSHAPE   : Solid    = 2  ( 2 )  Shell    = 2  ( 2 )  Face     = 300  ( 300 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 631  ( 631 )
-TOLERANCE   : MaxTol   =  0.02983526473  (  0.02983526473 )  AvgTol   =  0.000466907808  (  0.0004669562427 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 2  ( 2 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = GRAY80 SPRINGGREEN3  ( GRAY80 SPRINGGREEN3 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 34 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY80 SPRINGGREEN3 } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 2 -shell 2 -face 300 -shape 1570
+checkstatshape res_1 -solid 2 -shell 2 -face 300 -freewire 0 -freeedge 0 -sharededge 631
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.02983526473 -avg 0.0004669562427]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 34 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 31 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY80 SPRINGGREEN3  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 2 -shell 2 -face 300 -shape 1570 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 2 -shell 2 -face 300 -freewire 0 -freeedge 0 -sharededge 631 -max_solid 2 -max_shell 2 -max_face 300 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.02983526473 -avg 0.000466907808 -max_tol ${max_tol_res_1}
+
index f5cd3c70c6a4b0bdaeefd8cd7fe768cba4031906..be4ceff5fbe2009e7df308d9dc79d62b4d0fc089 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename Inventor_iPartExample.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 16 )  Warnings = 0  ( 0 )  Summary  = 0  ( 16 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 8  ( 8 )  Shell    = 8  ( 8 )  Face     = 517  ( 517 )   Summary  = 3521  ( 3521 )
-STATSHAPE   : Solid    = 8  ( 8 )  Shell    = 8  ( 8 )  Face     = 517  ( 517 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1464  ( 1464 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.00006193e-007  (  1.00006193e-007 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 11  ( 11 )  N2Labels = 0  ( 0 )   TotalLabels = 20  ( 20 )   NameLabels = 17  ( 17 )   ColorLabels = 8  ( 8 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = GRAY66 SANDYBROWN  ( GRAY66 SANDYBROWN )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 16
+checkxstat D_First -n0 9 -n1 11 -n2 0 -total 20 -withname 17 -withcolor 8 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY66 SANDYBROWN } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 8 -shell 8 -face 517 -shape 3521
+checkstatshape res_1 -solid 8 -shell 8 -face 517 -freewire 0 -freeedge 0 -sharededge 1464
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.00006193e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 16
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 11 -n2 0 -total 20 -withname 17 -withcolor 8 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 11 -n2 0 -total 20 -withname 17 -withcolor 8 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY66 SANDYBROWN  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 8 -shell 8 -face 517 -shape 3521 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 8 -shell 8 -face 517 -freewire 0 -freeedge 0 -sharededge 1464 -max_solid 8 -max_shell 8 -max_face 517 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.00006193e-007 -max_tol ${max_tol_res_1}
+
index c437d5dc9ba3b26f44d1123864c6f6c06673cf9e..8d7357073292fe3c6b251b4b22c3b8c30626d799 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename PRO10360.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 30 )  Warnings = 0  ( 0 )  Summary  = 0  ( 30 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 9  ( 45 )  Summary  = 9  ( 45 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 6  ( 6 )  Face     = 78  ( 78 )   Summary  = 468  ( 468 )
-STATSHAPE   : Solid    = 5  ( 5 )  Shell    = 6  ( 6 )  Face     = 78  ( 78 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 179  ( 179 )
-TOLERANCE   : MaxTol   = 1.742202567e-05  ( 0.0003632648967 )  AvgTol   =  9.91071441e-07  (  6.746245548e-06 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 30
+checkdoc "tpstat c" -max_warns 43 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 6 -face 78 -shape 468
+checkstatshape res_1 -solid 5 -shell 6 -face 78 -freewire 0 -freeedge 0 -sharededge 179
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0003632648967 -avg 6.746245548e-06]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 30
+checkdoc "tpstat c" -max_warns 43 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 6 -face 78 -shape 468 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 5 -shell 6 -face 78 -freewire 0 -freeedge 0 -sharededge 179 -max_solid 5 -max_shell 6 -max_face 78 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.742202567e-05 -avg 9.91071441e-07 -max_tol ${max_tol_res_1}
+
index 88f0ec20c60c5905b299f15da0d3e7e5d4dd11be..1941c805e4b437651595beec7d7eb8875cc009bf 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename PRO10370.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 1 )  Summary  = 2  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 29  ( 29 )   Summary  = 169  ( 169 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 29  ( 29 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 68  ( 68 )
-TOLERANCE   : MaxTol   = 6.263650663e-007  ( 6.263649916e-007 )  AvgTol   =  2.054680385e-007  (  2.067806097e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 3  ( 3 )   NameLabels = 1  ( 1 )   ColorLabels = 3  ( 3 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = DEEPPINK2 MEDIUMTURQUOISE YELLOW  ( DEEPPINK2 MEDIUMTURQUOISE YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPPINK2 MEDIUMTURQUOISE YELLOW } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 29 -shape 169
+checkstatshape res_1 -solid 0 -shell 1 -face 29 -freewire 0 -freeedge 0 -sharededge 68
+set max_tol_res_1 [checkmaxtol res_1 -tol 6.263649916e-007 -avg 2.067806097e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPPINK2 MEDIUMTURQUOISE YELLOW  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 29 -shape 169 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 29 -freewire 0 -freeedge 0 -sharededge 68 -max_solid 0 -max_shell 1 -max_face 29 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 6.263650663e-007 -avg 2.054680385e-007 -max_tol ${max_tol_res_1}
+
index f781ab8b3242565be6a4e4a1377945664ed8ca83..503a200b256930d80ecf1a4d58eff0d4eb0b7530 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename PRO10371.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 153  ( 153 )   Summary  = 890  ( 890 )
-STATSHAPE   : Solid    = 9  ( 9 )  Shell    = 9  ( 9 )  Face     = 300  ( 300 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 353  ( 353 )
-TOLERANCE   : MaxTol   = 6.215531674e-007  ( 6.190520296e-007 )  AvgTol   =  2.022786755e-007  (  2.021534652e-007 )
-LABELS      : N0Labels = 7  ( 7 )  N1Labels = 7  ( 7 )  N2Labels = 0  ( 0 )   TotalLabels = 14  ( 14 )   NameLabels = 14  ( 14 )   ColorLabels = 5  ( 5 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = FORESTGREEN LIGHTSTEELBLUE3 MEDIUMPURPLE2 ROYALBLUE TAN2  ( FORESTGREEN LIGHTSTEELBLUE3 MEDIUMPURPLE2 ROYALBLUE TAN2 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 7 -n1 7 -n2 0 -total 14 -withname 14 -withcolor 5 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { FORESTGREEN LIGHTSTEELBLUE3 MEDIUMPURPLE2 ROYALBLUE TAN2 } -nbcolors 5 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 153 -shape 890
+checkstatshape res_1 -solid 9 -shell 9 -face 300 -freewire 0 -freeedge 0 -sharededge 353
+set max_tol_res_1 [checkmaxtol res_1 -tol 6.190520296e-007 -avg 2.021534652e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 7 -n1 7 -n2 0 -total 14 -withname 14 -withcolor 5 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 7 -n1 7 -n2 0 -total 14 -withname 14 -withcolor 5 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { FORESTGREEN LIGHTSTEELBLUE3 MEDIUMPURPLE2 ROYALBLUE TAN2  } -nbcolors 5 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 153 -shape 890 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 9 -shell 9 -face 300 -freewire 0 -freeedge 0 -sharededge 353 -max_solid 9 -max_shell 9 -max_face 300 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 6.215531674e-007 -avg 2.022786755e-007 -max_tol ${max_tol_res_1}
+
index 39a1b45edc10dbdb7f6886c523b7846f689a1055..6f918172a36079cbb1d107e309483c6120d2ad18 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename PRO10376.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 2 )  Summary  = 2  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 36  ( 36 )  Face     = 36  ( 36 )   Summary  = 600  ( 600 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 36  ( 36 )  Face     = 36  ( 36 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 246  ( 246 )
-TOLERANCE   : MaxTol   =   0.0200634573  (   0.0230274088 )  AvgTol   =  0.001342925364  (  0.002493523287 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 72  ( 72 )  N2Labels = 0  ( 0 )   TotalLabels = 73  ( 73 )   NameLabels = 1  ( 1 )   ColorLabels = 36  ( 36 )   LayerLabels = 36  ( 36 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = GREEN RED TURQUOISE WHITE  ( GREEN RED TURQUOISE WHITE )
-NLAYERS     : NLayers  = 4  ( 4 )
-LAYERS      : Layers   = 10 20 250 30  ( 10 20 250 30 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 1 -n1 72 -n2 0 -total 73 -withname 1 -withcolor 36 -withlayer 36 -centroid 0 -volume 0 -area 0 -colors { GREEN RED TURQUOISE WHITE } -nbcolors 4 -layers { 10 20 250 30 } -nblayers 4
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 36 -face 36 -shape 600
+checkstatshape res_1 -solid 0 -shell 36 -face 36 -freewire 0 -freeedge 0 -sharededge 246
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0230274088 -avg 0.002493523287]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 72 -n2 0 -total 73 -withname 1 -withcolor 36 -withlayer 36 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 4
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 72 -n2 0 -total 73 -withname 1 -withcolor 36 -withlayer 36 -centroid 0 -volume 0 -area 0 -colors { GREEN RED TURQUOISE WHITE  } -nbcolors 4 -layers { 10 20 250 30  } -nblayers 4
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 36 -face 36 -shape 600 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 36 -face 36 -freewire 0 -freeedge 0 -sharededge 246 -max_solid 0 -max_shell 36 -max_face 36 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0200634573 -avg 0.001342925364 -max_tol ${max_tol_res_1}
+
index b06beb6e13dfad0e058349c1e3cfaed717bfabd3..5f7660760e31e60c44f69461fad6a48eb19e3435 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename PRO7073.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 123 )  Warnings = 0  ( 0 )  Summary  = 0  ( 123 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 7  ( 19 )  Summary  = 7  ( 19 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 66  ( 66 )   Summary  = 955  ( 833 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 66  ( 66 )   FreeWire = 0  ( 0 )   FreeEdge  = 122 ( 122 )   SharedEdge = 325  ( 325 )
-TOLERANCE   : MaxTol   =   0.1618955924  (   0.3526187023 )  AvgTol   =   0.03794615013  (   0.05391633347 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 124  ( 124 )  N2Labels = 0  ( 0 )   TotalLabels = 127  ( 127 )   NameLabels = 5  ( 5 )   ColorLabels = 123  ( 123 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 7  ( 7 )
-COLORS      : Colors   = CYAN1 FORESTGREEN GREEN INDIANRED1 MAGENTA1 WHITE YELLOW  ( CYAN1 FORESTGREEN GREEN INDIANRED1 MAGENTA1 WHITE YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 123
+checkdoc "tpstat c" -max_warns 19 -max_faults 0
+checkxstat D_First -n0 3 -n1 124 -n2 0 -total 127 -withname 5 -withcolor 123 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { CYAN1 FORESTGREEN GREEN INDIANRED1 MAGENTA1 WHITE YELLOW } -nbcolors 7 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 66 -shape 833
+checkstatshape res_1 -solid 0 -shell 1 -face 66 -freewire 0 -freeedge 122 -sharededge 325
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.3526187023 -avg 0.05391633347]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 123
+checkdoc "tpstat c" -max_warns 19 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 124 -n2 0 -total 127 -withname 5 -withcolor 123 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 7 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 124 -n2 0 -total 127 -withname 5 -withcolor 123 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { CYAN1 FORESTGREEN GREEN INDIANRED1 MAGENTA1 WHITE YELLOW  } -nbcolors 7 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 66 -shape 955 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 66 -freewire 0 -freeedge 122 -sharededge 325 -max_solid 0 -max_shell 1 -max_face 66 -max_freewire 0 -max_freeedge 122
+checkmaxtol res_2 -tol 0.1618955924 -avg 0.03794615013 -max_tol ${max_tol_res_1}
+
index a757c95d81d719c25287b893c7308736bd40d1a9..9eea23f0d6230eec021d522364f2db0de754e6a2 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename PRO7747.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 13  ( 15 )  Summary  = 13  ( 15 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 2  ( 2 )  Face     = 129  ( 129 )   Summary  = 736  ( 736 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 2  ( 2 )  Face     = 129  ( 129 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 303  ( 303 )
-TOLERANCE   : MaxTol   =    3.599182522  (    3.660503978 )  AvgTol   =   0.04641182233  (   0.05502400806 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 15 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 2 -face 129 -shape 736
+checkstatshape res_1 -solid 0 -shell 2 -face 129 -freewire 0 -freeedge 0 -sharededge 303
+set max_tol_res_1 [checkmaxtol res_1 -tol 3.660503978 -avg 0.05502400806]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 15 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 2 -face 129 -shape 736 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 2 -face 129 -freewire 0 -freeedge 0 -sharededge 303 -max_solid 0 -max_shell 2 -max_face 129 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 3.599182522 -avg 0.04641182233 -max_tol ${max_tol_res_1}
+
index 23ac0a90d1a618a4a919971c80a048990ea6aba6..eecf5c6eda0779f467e4c9faf029509f8d219b87 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename PRO8845.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 13  ( 14 )  Summary  = 13  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 251  ( 251 )   Summary  = 1661  ( 1661 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 251  ( 251 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 701  ( 701 )
-TOLERANCE   : MaxTol   =  0.01076675661  (  0.01076675661 )  AvgTol   =  8.350462389e-005  (  8.350567025e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 251 -shape 1661
+checkstatshape res_1 -solid 1 -shell 1 -face 251 -freewire 0 -freeedge 0 -sharededge 701
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01076675661 -avg 8.350567025e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 251 -shape 1661 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 251 -freewire 0 -freeedge 0 -sharededge 701 -max_solid 1 -max_shell 1 -max_face 251 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01076675661 -avg 8.350462389e-005 -max_tol ${max_tol_res_1}
+
index b04f0fd12106c2cde014bb28269ab80d867d7a5d..a86714e6f3dcf58f6da05fedb82af1318b2fc179 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename PRO9236.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 6 )  Summary  = 0  ( 6 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 2  ( 2 )  Shell    = 8  ( 8 )  Face     = 816  ( 816 )   Summary  = 7171  ( 6740 )
-STATSHAPE   : Solid    = 2  ( 2 )  Shell    = 8  ( 8 )  Face     = 816  ( 816 )   FreeWire = 0  ( 0 )   FreeEdge  = 431 ( 431 )   SharedEdge = 2673  ( 2673 )
-TOLERANCE   : MaxTol   = 0.000519532422  ( 0.000519532422 )  AvgTol   =  5.643561424e-006  (  5.695706317e-006 )
-LABELS      : N0Labels = 4  ( 4 )  N1Labels = 442  ( 442 )  N2Labels = 0  ( 0 )   TotalLabels = 446  ( 446 )   NameLabels = 7  ( 7 )   ColorLabels = 439  ( 439 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 9  ( 9 )
-COLORS      : Colors   = BLUE1 CYAN1 DARKORANGE1 FORESTGREEN GRAY40 GREEN MAGENTA1 WHITE YELLOW  ( BLUE1 CYAN1 DARKORANGE1 FORESTGREEN GRAY40 GREEN MAGENTA1 WHITE YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+checkxstat D_First -n0 4 -n1 442 -n2 0 -total 446 -withname 7 -withcolor 439 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 DARKORANGE1 FORESTGREEN GRAY40 GREEN MAGENTA1 WHITE YELLOW } -nbcolors 9 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 2 -shell 8 -face 816 -shape 6740
+checkstatshape res_1 -solid 2 -shell 8 -face 816 -freewire 0 -freeedge 431 -sharededge 2673
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.000519532422 -avg 5.695706317e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4 -n1 442 -n2 0 -total 446 -withname 7 -withcolor 439 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 9 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 442 -n2 0 -total 446 -withname 7 -withcolor 439 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 DARKORANGE1 FORESTGREEN GRAY40 GREEN MAGENTA1 WHITE YELLOW  } -nbcolors 9 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 2 -shell 8 -face 816 -shape 7171 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 2 -shell 8 -face 816 -freewire 0 -freeedge 431 -sharededge 2673 -max_solid 2 -max_shell 8 -max_face 816 -max_freewire 0 -max_freeedge 431
+checkmaxtol res_2 -tol 0.000519532422 -avg 5.643561424e-006 -max_tol ${max_tol_res_1}
+
index dc5888a7f20bc8ff54f38e42ebffa1ea8837476a..8d96926e6a501c2b8951ac6759aba44b42d1b428 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename Sbottle.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 24  ( 3 )  Summary  = 24  ( 3 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 149  ( 149 )   Summary  = 826  ( 826 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 149  ( 149 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 336  ( 336 )
-TOLERANCE   : MaxTol   = 0.002984408435  ( 0.003792052185 )  AvgTol   =   0.00116306994  (  0.001318127918 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 149 -shape 826
+checkstatshape res_1 -solid 0 -shell 1 -face 149 -freewire 0 -freeedge 0 -sharededge 336
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.003792052185 -avg 0.001318127918]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 24 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 149 -shape 826 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 149 -freewire 0 -freeedge 0 -sharededge 336 -max_solid 0 -max_shell 1 -max_face 149 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.002984408435 -avg 0.00116306994 -max_tol ${max_tol_res_1}
+
index e55b7d7cee5c14f70d351df96a74bb625674a529..2d8b69c53ce822b7b66f8675d0e6662e5c843e47 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename carcasse_gauche_simpl3.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 6  ( 16 )  Summary  = 6  ( 16 )
-CHECKSHAPE  : Wires    = 1  ( 1 )  Faces    = 1  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 600  ( 600 )   Summary  = 4036  ( 4036 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 600  ( 600 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1713  ( 1713 )
-TOLERANCE   : MaxTol   =   0.2070257209  (   0.2070257209 )  AvgTol   =  0.003182074294  (  0.007107905924 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 17 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 600 -shape 4036
+checkstatshape res_1 -solid 1 -shell 1 -face 600 -freewire 0 -freeedge 0 -sharededge 1713
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.2070257209 -avg 0.007107905924]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 17 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 600 -shape 4036 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 600 -freewire 0 -freeedge 0 -sharededge 1713 -max_solid 1 -max_shell 1 -max_face 600 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.2070257209 -avg 0.003182074294 -max_tol ${max_tol_res_1}
+
index bc63bbf990c1057a9b4000c932e7d78d37c6a349..fb94a292605f8dff1697d67b6a9a453e4ebedbc4 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename nozzle.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 53 )  Summary  = 0  ( 53 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 141  ( 141 )   Summary  = 1125  ( 1125 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 141  ( 141 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 441  ( 441 )
-TOLERANCE   : MaxTol   = 9.86664844e-006  ( 4.617271574e-005 )  AvgTol   =  2.035223209e-006  (  4.455446939e-006 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 53 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 141 -shape 1125
+checkstatshape res_1 -solid 1 -shell 1 -face 141 -freewire 0 -freeedge 0 -sharededge 441
+set max_tol_res_1 [checkmaxtol res_1 -tol 4.617271574e-005 -avg 4.455446939e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 53 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 141 -shape 1125 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 141 -freewire 0 -freeedge 0 -sharededge 441 -max_solid 1 -max_shell 1 -max_face 141 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 9.86664844e-006 -avg 2.035223209e-006 -max_tol ${max_tol_res_1}
+
index 4a3a9605239a675011b2d24b1ad0f827f19aaeef..c90cc955099c752d669b650ff4b10769c5096aac 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename UKI60569-2.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 55  ( 59 )  Summary  = 55  ( 59 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 219  ( 219 )   Summary  = 1685  ( 1626 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 219  ( 219 )   FreeWire = 0  ( 0 )   FreeEdge  = 58 ( 58 )   SharedEdge = 643  ( 643 )
-TOLERANCE   : MaxTol   = 0.004786272898  ( 0.009138362239 )  AvgTol   =  0.000424289509  (  0.0008489791221 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 192  ( 192 )  N2Labels = 0  ( 0 )   TotalLabels = 195  ( 195 )   NameLabels = 5  ( 5 )   ColorLabels = 191  ( 191 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = BLUE1 DEEPSKYBLUE2 MAGENTA1 ORANGE ORANGERED  ( BLUE1 DEEPSKYBLUE2 MAGENTA1 ORANGE ORANGERED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 60 -max_faults 0
+checkxstat D_First -n0 3 -n1 192 -n2 0 -total 195 -withname 5 -withcolor 191 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 DEEPSKYBLUE2 MAGENTA1 ORANGE ORANGERED } -nbcolors 5 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 219 -shape 1626
+checkstatshape res_1 -solid 1 -shell 1 -face 219 -freewire 0 -freeedge 58 -sharededge 643
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009138362239 -avg 0.0008489791221]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 60 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 53 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 192 -n2 0 -total 195 -withname 5 -withcolor 191 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 192 -n2 0 -total 195 -withname 5 -withcolor 191 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 DEEPSKYBLUE2 MAGENTA1 ORANGE ORANGERED  } -nbcolors 5 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 219 -shape 1685 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 219 -freewire 0 -freeedge 58 -sharededge 643 -max_solid 1 -max_shell 1 -max_face 219 -max_freewire 0 -max_freeedge 58
+checkmaxtol res_2 -tol 0.004786272898 -avg 0.000424289509 -max_tol ${max_tol_res_1}
+
index 16f2649e47575a50b2bc9f024634146c6423bbfd..b8add4251835258606ff72d647fd4f14278794ea 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename USA60035.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 4581  ( 3437 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 0  ( 0 )   FreeEdge  = 1143 ( 1143 )   SharedEdge = 1143  ( 1143 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 3437
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 1143 -sharededge 1143
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 4581 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 1143 -sharededge 1143 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 0 -max_freeedge 1143
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 237e6fe2e3759baaf94743ac70f799b6b731301a..71f85706600279ce6903040590b6c346cc20f591 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename absmx.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 17 )  Warnings = 0  ( 0 )  Summary  = 0  ( 17 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 17  ( 17 )  Summary  = 17  ( 17 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 70  ( 70 )   Summary  = 415  ( 415 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 70  ( 70 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 157  ( 157 )
-TOLERANCE   : MaxTol   =          1e-07  (          1e-07 )  AvgTol   =           1e-07  (           1e-07 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 2  ( 2 )   NameLabels = 2  ( 2 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 17
+checkdoc "tpstat c" -max_warns 17 -max_faults 0
+checkxstat D_First -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 2 -face 70 -shape 415
+checkstatshape res_1 -solid 1 -shell 2 -face 70 -freewire 0 -freeedge 0 -sharededge 157
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-07 -avg 1e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 17
+checkdoc "tpstat c" -max_warns 17 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 17 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 2 -face 70 -shape 415 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 2 -face 70 -freewire 0 -freeedge 0 -sharededge 157 -max_solid 1 -max_shell 2 -max_face 70 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-07 -avg 1e-07 -max_tol ${max_tol_res_1}
+
index 82b1282c4f532bce1fe0cbce8846d218f019c778..a6bbfca4279a1b8814b1bcde4f05edd8e644dfdc 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename absmx2.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 17 )  Warnings = 0  ( 0 )  Summary  = 0  ( 17 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 11  ( 11 )  Summary  = 11  ( 11 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 70  ( 70 )   Summary  = 425  ( 425 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 70  ( 70 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 162  ( 162 )
-TOLERANCE   : MaxTol   = 8.362307401e-06  ( 1.048889537e-05 )  AvgTol   =  1.956621381e-07  (  2.202233081e-07 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 2  ( 2 )   NameLabels = 2  ( 2 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 17
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+checkxstat D_First -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 2 -face 70 -shape 425
+checkstatshape res_1 -solid 1 -shell 2 -face 70 -freewire 0 -freeedge 0 -sharededge 162
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.048889537e-05 -avg 2.202233081e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 17
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 2 -face 70 -shape 425 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 2 -face 70 -freewire 0 -freeedge 0 -sharededge 162 -max_solid 1 -max_shell 2 -max_face 70 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 8.362307401e-06 -avg 1.956621381e-07 -max_tol ${max_tol_res_1}
+
index 04b8688378488ace1ce2bcccbfb80e2b75165daa..5f174388e428d48ce55bdcf8c35f1bb25fcacf21 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename absmxn.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 17 )  Warnings = 0  ( 0 )  Summary  = 0  ( 17 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 11  ( 11 )  Summary  = 11  ( 11 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 70  ( 70 )   Summary  = 425  ( 425 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 70  ( 70 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 162  ( 162 )
-TOLERANCE   : MaxTol   = 8.362307401e-06  ( 1.048889537e-05 )  AvgTol   =  1.956621381e-07  (  2.202233081e-07 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 2  ( 2 )   NameLabels = 2  ( 2 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 17
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+checkxstat D_First -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 2 -face 70 -shape 425
+checkstatshape res_1 -solid 1 -shell 2 -face 70 -freewire 0 -freeedge 0 -sharededge 162
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.048889537e-05 -avg 2.202233081e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 17
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 2 -face 70 -shape 425 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 2 -face 70 -freewire 0 -freeedge 0 -sharededge 162 -max_solid 1 -max_shell 2 -max_face 70 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 8.362307401e-06 -avg 1.956621381e-07 -max_tol ${max_tol_res_1}
+
index 229e758eb00060e1f297f7c3b13b4149a5d28a0f..a064278bdbfe396ac400f1d94c27165f6bb478a6 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm1_pe_exhaust.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 84  ( 84 )   Summary  = 477  ( 477 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 84  ( 84 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 188  ( 188 )
-TOLERANCE   : MaxTol   =  0.06142318886  (   0.4504518198 )  AvgTol   =   0.01076191057  (   0.04960239377 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 84 -shape 477
+checkstatshape res_1 -solid 0 -shell 1 -face 84 -freewire 0 -freeedge 0 -sharededge 188
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.4504518198 -avg 0.04960239377]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 84 -shape 477 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 84 -freewire 0 -freeedge 0 -sharededge 188 -max_solid 0 -max_shell 1 -max_face 84 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.06142318886 -avg 0.01076191057 -max_tol ${max_tol_res_1}
+
index bf24d8840f383a4d745e012f4040ec24b7b3b74e..fd96d1b34fdc81f2a258eadc6bc72c62ca19eecd 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm1_sd_exhaust.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 8  ( 8 )  Shell    = 8  ( 8 )  Face     = 112  ( 112 )   Summary  = 805  ( 805 )
-STATSHAPE   : Solid    = 8  ( 8 )  Shell    = 8  ( 8 )  Face     = 112  ( 112 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 324  ( 324 )
-TOLERANCE   : MaxTol   = 0.0001990392016  ( 0.0005993176483 )  AvgTol   =  2.653422516e-005  (  8.791024979e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 8 -shell 8 -face 112 -shape 805
+checkstatshape res_1 -solid 8 -shell 8 -face 112 -freewire 0 -freeedge 0 -sharededge 324
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0005993176483 -avg 8.791024979e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 8 -shell 8 -face 112 -shape 805 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 8 -shell 8 -face 112 -freewire 0 -freeedge 0 -sharededge 324 -max_solid 8 -max_shell 8 -max_face 112 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0001990392016 -avg 2.653422516e-005 -max_tol ${max_tol_res_1}
+
index 20eb9bd4896ca92a4c2c47b70521ab8c7290f6e9..1fdd683552695df61c913f77ec90614973ecbd8c 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename bm2_id_exhaust-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 23  ( 21 )  Summary  = 23  ( 21 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 161  ( 161 )   Summary  = 867  ( 864 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 161  ( 161 )   FreeWire = 0  ( 0 )   FreeEdge  = 2 ( 2 )   SharedEdge = 339  ( 339 )
-TOLERANCE   : MaxTol   = 0.006107914079  ( 0.008375853082 )  AvgTol   =  0.001105232411  (  0.001173158255 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 21 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 161 -shape 864
+checkstatshape res_1 -solid 1 -shell 1 -face 161 -freewire 0 -freeedge 2 -sharededge 339
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.008375853082 -avg 0.001173158255]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 21 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 23 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 161 -shape 867 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 161 -freewire 0 -freeedge 2 -sharededge 339 -max_solid 1 -max_shell 1 -max_face 161 -max_freewire 0 -max_freeedge 2
+checkmaxtol res_2 -tol 0.006107914079 -avg 0.001105232411 -max_tol ${max_tol_res_1}
+
index 2dc1fec03f70110913a641ad7d624c9395841de8..f23d004af9be0529ac2dac575ba496cc494df1b7 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_id_exhaust-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 2 )  Warnings = 22  ( 23 )  Summary  = 22  ( 25 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 2  ( 2 )  Face     = 159  ( 159 )   Summary  = 862  ( 859 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 2  ( 2 )  Face     = 159  ( 159 )   FreeWire = 0  ( 0 )   FreeEdge  = 2 ( 2 )   SharedEdge = 337  ( 337 )
-TOLERANCE   : MaxTol   = 0.006107914079  ( 0.008375853082 )  AvgTol   =  0.001140158832  (  0.001241335964 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 23 -max_faults 2
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 2 -face 159 -shape 859
+checkstatshape res_1 -solid 0 -shell 2 -face 159 -freewire 0 -freeedge 2 -sharededge 337
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.008375853082 -avg 0.001241335964]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 23 -max_faults 2
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 22 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 2 -face 159 -shape 862 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 2 -face 159 -freewire 0 -freeedge 2 -sharededge 337 -max_solid 0 -max_shell 2 -max_face 159 -max_freewire 0 -max_freeedge 2
+checkmaxtol res_2 -tol 0.006107914079 -avg 0.001140158832 -max_tol ${max_tol_res_1}
+
index 7f09b2c67fbf64e4cd4d8ac5e2026b8bcd6538ba..6818b2327894401eef04e1ececd1357e961959de 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_pe_exhaust-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 62  ( 62 )   Summary  = 332  ( 332 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 62  ( 62 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 128  ( 128 )
-TOLERANCE   : MaxTol   =  0.00249989428  ( 0.002631974883 )  AvgTol   =  0.0003639077926  (  0.0003724293085 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 62 -shape 332
+checkstatshape res_1 -solid 1 -shell 1 -face 62 -freewire 0 -freeedge 0 -sharededge 128
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.002631974883 -avg 0.0003724293085]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 62 -shape 332 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 62 -freewire 0 -freeedge 0 -sharededge 128 -max_solid 1 -max_shell 1 -max_face 62 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.00249989428 -avg 0.0003639077926 -max_tol ${max_tol_res_1}
+
index 4e014a8a60b2cfe92be9e4605734c8fcc34fa181..e6bf61c5632b8d8a6c6871ab87dba8a2287be405 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_sd_exhaust-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 8  ( 8 )  Shell    = 8  ( 8 )  Face     = 112  ( 112 )   Summary  = 805  ( 805 )
-STATSHAPE   : Solid    = 8  ( 8 )  Shell    = 8  ( 8 )  Face     = 112  ( 112 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 324  ( 324 )
-TOLERANCE   : MaxTol   = 4.298829269e-007  ( 4.29759467e-007 )  AvgTol   =  1.119570039e-007  (  1.119511278e-007 )
-LABELS      : N0Labels = 8  ( 8 )  N1Labels = 41  ( 41 )  N2Labels = 0  ( 0 )   TotalLabels = 49  ( 49 )   NameLabels = 8  ( 8 )   ColorLabels = 41  ( 41 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = RED  ( RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 8 -n1 41 -n2 0 -total 49 -withname 8 -withcolor 41 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { RED } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 8 -shell 8 -face 112 -shape 805
+checkstatshape res_1 -solid 8 -shell 8 -face 112 -freewire 0 -freeedge 0 -sharededge 324
+set max_tol_res_1 [checkmaxtol res_1 -tol 4.29759467e-007 -avg 1.119511278e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 8 -n1 41 -n2 0 -total 49 -withname 8 -withcolor 41 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 8 -n1 41 -n2 0 -total 49 -withname 8 -withcolor 41 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { RED  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 8 -shell 8 -face 112 -shape 805 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 8 -shell 8 -face 112 -freewire 0 -freeedge 0 -sharededge 324 -max_solid 8 -max_shell 8 -max_face 112 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 4.298829269e-007 -avg 1.119570039e-007 -max_tol ${max_tol_res_1}
+
index 407631ff78ebc346bf2f1b19e329b7ce7431661f..1cbeb4edb9a47fb8ad907224cb9e46c75eb04888 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_sd_exhaust-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 242 )  Warnings = 0  ( 0 )  Summary  = 0  ( 242 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 8  ( 8 )  Shell    = 8  ( 8 )  Face     = 112  ( 112 )   Summary  = 805  ( 805 )
-STATSHAPE   : Solid    = 8  ( 8 )  Shell    = 8  ( 8 )  Face     = 112  ( 112 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 324  ( 324 )
-TOLERANCE   : MaxTol   = 4.482563499e-007  ( 4.480845215e-007 )  AvgTol   =  1.126909033e-007  (  1.126828552e-007 )
-LABELS      : N0Labels = 8  ( 8 )  N1Labels = 41  ( 41 )  N2Labels = 0  ( 0 )   TotalLabels = 49  ( 49 )   NameLabels = 8  ( 8 )   ColorLabels = 41  ( 41 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = RED  ( RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 726 -max_faults 242
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 8 -n1 41 -n2 0 -total 49 -withname 8 -withcolor 41 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { RED } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 8 -shell 8 -face 112 -shape 805
+checkstatshape res_1 -solid 8 -shell 8 -face 112 -freewire 0 -freeedge 0 -sharededge 324
+set max_tol_res_1 [checkmaxtol res_1 -tol 4.480845215e-007 -avg 1.126828552e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 726 -max_faults 242
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 8 -n1 41 -n2 0 -total 49 -withname 8 -withcolor 41 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 8 -n1 41 -n2 0 -total 49 -withname 8 -withcolor 41 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { RED  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 8 -shell 8 -face 112 -shape 805 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 8 -shell 8 -face 112 -freewire 0 -freeedge 0 -sharededge 324 -max_solid 8 -max_shell 8 -max_face 112 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 4.482563499e-007 -avg 1.126909033e-007 -max_tol ${max_tol_res_1}
+
index fa769012a4c8beb99c2390f67567deee5f45201e..42d432dc58fdfe6a4dbd9a0ca7392a2d0d2b0d56 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_ug_t4-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 14  ( 14 )  Face     = 14  ( 14 )   Summary  = 157  ( 157 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 14  ( 14 )  Face     = 14  ( 14 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 56  ( 56 )
-TOLERANCE   : MaxTol   = 0.0003158426652  ( 0.0003158424638 )  AvgTol   =  3.55309309e-005  (  3.553095606e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 14 -face 14 -shape 157
+checkstatshape res_1 -solid 0 -shell 14 -face 14 -freewire 0 -freeedge 0 -sharededge 56
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0003158424638 -avg 3.553095606e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 14 -face 14 -shape 157 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 14 -face 14 -freewire 0 -freeedge 0 -sharededge 56 -max_solid 0 -max_shell 14 -max_face 14 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0003158426652 -avg 3.55309309e-005 -max_tol ${max_tol_res_1}
+
index 9037dceb8d396546328ff33d47ca4fad7083a618..60a2fb0c3346d9e31174002a67648f0ae2616cac 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_ac_conn.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 499  ( 499 )   Summary  = 3633  ( 3633 )
-STATSHAPE   : Solid    = 57  ( 57 )  Shell    = 57  ( 57 )  Face     = 1804  ( 1804 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1476  ( 1476 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000093913e-007  (  1.000093913e-007 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 31  ( 31 )  N2Labels = 0  ( 0 )   TotalLabels = 36  ( 36 )   NameLabels = 36  ( 36 )   ColorLabels = 3  ( 3 )   LayerLabels = 3  ( 3 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = CYAN1 GREEN YELLOW  ( CYAN1 GREEN YELLOW )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = 0 5  ( 0 5 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 5 -n1 31 -n2 0 -total 36 -withname 36 -withcolor 3 -withlayer 3 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN YELLOW } -nbcolors 3 -layers { 0 5 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 499 -shape 3633
+checkstatshape res_1 -solid 57 -shell 57 -face 1804 -freewire 0 -freeedge 0 -sharededge 1476
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000093913e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 31 -n2 0 -total 36 -withname 36 -withcolor 3 -withlayer 3 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 31 -n2 0 -total 36 -withname 36 -withcolor 3 -withlayer 3 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN YELLOW  } -nbcolors 3 -layers { 0 5  } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 3 -face 499 -shape 3633 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 57 -shell 57 -face 1804 -freewire 0 -freeedge 0 -sharededge 1476 -max_solid 57 -max_shell 57 -max_face 1804 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000093913e-007 -max_tol ${max_tol_res_1}
+
index d8c1446e26c2efb01f68062c6d77253b73f983e4..bc11a16671094ff55e9b84f3f19ba7051d580c06 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_ac_conn_new.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 499  ( 499 )   Summary  = 3633  ( 3633 )
-STATSHAPE   : Solid    = 57  ( 57 )  Shell    = 57  ( 57 )  Face     = 1804  ( 1804 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1476  ( 1476 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000093913e-007  (  1.000093913e-007 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 31  ( 31 )  N2Labels = 0  ( 0 )   TotalLabels = 36  ( 36 )   NameLabels = 36  ( 36 )   ColorLabels = 3  ( 3 )   LayerLabels = 3  ( 3 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = CYAN1 GREEN YELLOW  ( CYAN1 GREEN YELLOW )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = 1 10 5  ( 1 10 5 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 5 -n1 31 -n2 0 -total 36 -withname 36 -withcolor 3 -withlayer 3 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN YELLOW } -nbcolors 3 -layers { 1 10 5 } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 499 -shape 3633
+checkstatshape res_1 -solid 57 -shell 57 -face 1804 -freewire 0 -freeedge 0 -sharededge 1476
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000093913e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 31 -n2 0 -total 36 -withname 36 -withcolor 3 -withlayer 3 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 31 -n2 0 -total 36 -withname 36 -withcolor 3 -withlayer 3 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN YELLOW  } -nbcolors 3 -layers { 1 10 5  } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 3 -face 499 -shape 3633 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 57 -shell 57 -face 1804 -freewire 0 -freeedge 0 -sharededge 1476 -max_solid 57 -max_shell 57 -max_face 1804 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000093913e-007 -max_tol ${max_tol_res_1}
+
index b31f7bde599f5f8e5d8071ce71e88d95c72105dd..b77df01fd5b7ad0e398e2ea49121125976417146 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_al_eye.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 5 )  Summary  = 0  ( 5 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 3  ( 3 )  Face     = 84  ( 84 )   Summary  = 514  ( 512 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 3  ( 3 )  Face     = 84  ( 84 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 214  ( 214 )
-TOLERANCE   : MaxTol   =  0.01165262121  (  0.01165262121 )  AvgTol   =  0.001853534837  (  0.002062256871 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 3 -face 84 -shape 512
+checkstatshape res_1 -solid 0 -shell 3 -face 84 -freewire 0 -freeedge 0 -sharededge 214
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01165262121 -avg 0.002062256871]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 3 -face 84 -shape 514 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 3 -face 84 -freewire 0 -freeedge 0 -sharededge 214 -max_solid 0 -max_shell 3 -max_face 84 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01165262121 -avg 0.001853534837 -max_tol ${max_tol_res_1}
+
index bedb4549cc0411750ddf7ac70300717cdceb3f8a..a074312bd9b297fd07aaad42fa41dba3db96f50b 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_ct_conn.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 33 )  Summary  = 0  ( 33 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 504  ( 504 )   Summary  = 4626  ( 4420 )
-STATSHAPE   : Solid    = 57  ( 57 )  Shell    = 57  ( 57 )  Face     = 2022  ( 2022 )   FreeWire = 0  ( 0 )   FreeEdge  = 412 ( 412 )   SharedEdge = 1762  ( 1762 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000090691e-007  (  1.000090691e-007 )
-LABELS      : N0Labels = 7  ( 7 )  N1Labels = 239  ( 239 )  N2Labels = 0  ( 0 )   TotalLabels = 246  ( 246 )   NameLabels = 40  ( 40 )   ColorLabels = 209  ( 209 )   LayerLabels = 209  ( 209 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = BLUE1 CYAN1 RED YELLOW  ( BLUE1 CYAN1 RED YELLOW )
-NLAYERS     : NLayers  = 4  ( 4 )
-LAYERS      : Layers   = 0 1 10 5  ( 0 1 10 5 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 6 -max_faults 0
+checkdoc "tpstat c" -max_warns 33 -max_faults 0
+checkxstat D_First -n0 7 -n1 239 -n2 0 -total 246 -withname 40 -withcolor 209 -withlayer 209 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 RED YELLOW } -nbcolors 4 -layers { 0 1 10 5 } -nblayers 4
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 504 -shape 4420
+checkstatshape res_1 -solid 57 -shell 57 -face 2022 -freewire 0 -freeedge 412 -sharededge 1762
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000090691e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 6 -max_faults 0
+checkdoc "tpstat c" -max_warns 33 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 7 -n1 239 -n2 0 -total 246 -withname 40 -withcolor 209 -withlayer 209 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 4
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 7 -n1 239 -n2 0 -total 246 -withname 40 -withcolor 209 -withlayer 209 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 RED YELLOW  } -nbcolors 4 -layers { 0 1 10 5  } -nblayers 4
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 3 -face 504 -shape 4626 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 57 -shell 57 -face 2022 -freewire 0 -freeedge 412 -sharededge 1762 -max_solid 57 -max_shell 57 -max_face 2022 -max_freewire 0 -max_freeedge 412
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000090691e-007 -max_tol ${max_tol_res_1}
+
index 0f7c0fccd7edda27b95408118cca9ee29b6c889c..fb77b7f54262533b70853376ef6bb2738e13e8d9 100644 (file)
@@ -1,20 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
 set filename bm4_ct_punch.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 4 )  Summary  = 0  ( 4 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 32  ( 7 )  Summary  = 32  ( 7 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 21  ( 21 )  Face     = 197  ( 197 )   Summary  = 1443  ( 1443 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 21  ( 21 )  Face     = 197  ( 197 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 573  ( 573 )
-TOLERANCE   : MaxTol   =    0.255769437  (    0.255769437 )  AvgTol   =  0.0008786095241  (  0.001031806589 )
-LABELS      : N0Labels = 6  ( 6 )  N1Labels = 45  ( 45 )  N2Labels = 0  ( 0 )   TotalLabels = 51  ( 51 )   NameLabels = 11  ( 11 )   ColorLabels = 41  ( 41 )   LayerLabels = 21  ( 21 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = BLUE1 GREEN RED YELLOW  ( BLUE1 GREEN RED YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 4 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+checkxstat D_First -n0 6 -n1 45 -n2 0 -total 51 -withname 11 -withcolor 41 -withlayer 21 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED YELLOW } -nbcolors 4 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 21 -face 197 -shape 1443
+checkstatshape res_1 -solid 3 -shell 21 -face 197 -freewire 0 -freeedge 0 -sharededge 573
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.255769437 -avg 0.001031806589]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 4 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 32 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 6 -n1 45 -n2 0 -total 51 -withname 11 -withcolor 41 -withlayer 21 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 6 -n1 45 -n2 0 -total 51 -withname 11 -withcolor 41 -withlayer 21 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED YELLOW  } -nbcolors 4 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 21 -face 197 -shape 1443 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 21 -face 197 -freewire 0 -freeedge 0 -sharededge 573 -max_solid 3 -max_shell 21 -max_face 197 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.255769437 -avg 0.0008786095241 -max_tol ${max_tol_res_1}
+
index bab94b76f0426f208bb06ce23292ba1d97c60fb4..2c6b4b3bd0a55ce0cc5b9de3392ab3719cb2f254 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_id_conn_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 4 )  Summary  = 4  ( 4 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 488  ( 488 )   Summary  = 3553  ( 3553 )
-STATSHAPE   : Solid    = 57  ( 57 )  Shell    = 57  ( 57 )  Face     = 1890  ( 1890 )   FreeWire = 0  ( 0 )   FreeEdge  = 2 ( 2 )   SharedEdge = 1439  ( 1439 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 7  ( 7 )  N1Labels = 46  ( 46 )  N2Labels = 0  ( 0 )   TotalLabels = 53  ( 53 )   NameLabels = 40  ( 40 )   ColorLabels = 16  ( 16 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = DODGERBLUE1 GREEN RED YELLOW  ( DODGERBLUE1 GREEN RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 7 -n1 46 -n2 0 -total 53 -withname 40 -withcolor 16 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DODGERBLUE1 GREEN RED YELLOW } -nbcolors 4 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 488 -shape 3553
+checkstatshape res_1 -solid 57 -shell 57 -face 1890 -freewire 0 -freeedge 2 -sharededge 1439
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 7 -n1 46 -n2 0 -total 53 -withname 40 -withcolor 16 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 7 -n1 46 -n2 0 -total 53 -withname 40 -withcolor 16 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DODGERBLUE1 GREEN RED YELLOW  } -nbcolors 4 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 3 -face 488 -shape 3553 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 57 -shell 57 -face 1890 -freewire 0 -freeedge 2 -sharededge 1439 -max_solid 57 -max_shell 57 -max_face 1890 -max_freewire 0 -max_freeedge 2
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 1bd4aead822b4f14fd943298cdc755d108ea95a7..8f0082fce6d647c7d1408f093a06bd89ac89a5d6 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_id_conn_b.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 488  ( 488 )   Summary  = 3553  ( 3553 )
-STATSHAPE   : Solid    = 57  ( 57 )  Shell    = 57  ( 57 )  Face     = 1890  ( 1890 )   FreeWire = 0  ( 0 )   FreeEdge  = 2 ( 2 )   SharedEdge = 1439  ( 1439 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000093812e-007  (  1.000093812e-007 )
-LABELS      : N0Labels = 7  ( 7 )  N1Labels = 46  ( 46 )  N2Labels = 0  ( 0 )   TotalLabels = 53  ( 53 )   NameLabels = 40  ( 40 )   ColorLabels = 16  ( 16 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = DODGERBLUE1 GREEN RED YELLOW  ( DODGERBLUE1 GREEN RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 7 -n1 46 -n2 0 -total 53 -withname 40 -withcolor 16 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DODGERBLUE1 GREEN RED YELLOW } -nbcolors 4 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 488 -shape 3553
+checkstatshape res_1 -solid 57 -shell 57 -face 1890 -freewire 0 -freeedge 2 -sharededge 1439
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000093812e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 7 -n1 46 -n2 0 -total 53 -withname 40 -withcolor 16 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 7 -n1 46 -n2 0 -total 53 -withname 40 -withcolor 16 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DODGERBLUE1 GREEN RED YELLOW  } -nbcolors 4 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 3 -face 488 -shape 3553 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 57 -shell 57 -face 1890 -freewire 0 -freeedge 2 -sharededge 1439 -max_solid 57 -max_shell 57 -max_face 1890 -max_freewire 0 -max_freeedge 2
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000093812e-007 -max_tol ${max_tol_res_1}
+
index 6e5decc0a44f2ae1075423720bc134ef7158dae3..f2e15dac8fb0b5e51b5ef210c68a0cf02f9b8bb3 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename bm4_id_punch_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 24  ( 20 )  Summary  = 24  ( 20 )
-CHECKSHAPE  : Wires    = 4  ( 4 )  Faces    = 4  ( 4 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 4  ( 4 )  Face     = 182  ( 182 )   Summary  = 1260  ( 1253 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 4  ( 4 )  Face     = 182  ( 182 )   FreeWire = 0  ( 0 )   FreeEdge  = 6 ( 6 )   SharedEdge = 508  ( 508 )
-TOLERANCE   : MaxTol   = 0.007713500664  (  0.00997839292 )  AvgTol   =  0.0007764946067  (  0.0009476325736 )
-LABELS      : N0Labels = 7  ( 7 )  N1Labels = 6  ( 6 )  N2Labels = 0  ( 0 )   TotalLabels = 13  ( 13 )   NameLabels = 13  ( 13 )   ColorLabels = 4  ( 4 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 GREEN RED  ( BLUE1 GREEN RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 18 -max_faults 0
+checkxstat D_First -n0 7 -n1 6 -n2 0 -total 13 -withname 13 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 4 -max_faces 4 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 4 -face 182 -shape 1253
+checkstatshape res_1 -solid 3 -shell 4 -face 182 -freewire 0 -freeedge 6 -sharededge 508
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.00997839292 -avg 0.0009476325736]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 18 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 7 -n1 6 -n2 0 -total 13 -withname 13 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 7 -n1 6 -n2 0 -total 13 -withname 13 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 4 -max_faces 4 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 4 -max_faces 4 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 4 -face 182 -shape 1260 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 4 -face 182 -freewire 0 -freeedge 6 -sharededge 508 -max_solid 3 -max_shell 4 -max_face 182 -max_freewire 0 -max_freeedge 6
+checkmaxtol res_2 -tol 0.007713500664 -avg 0.0007764946067 -max_tol ${max_tol_res_1}
+
index fc3e7fe2253a8eb50cbc9532d6ef1186e015204f..2f93ef8515df1ef1eba3f5ca387d73195d24c8fd 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_id_seal_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 38  ( 38 )  Summary  = 38  ( 38 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 48  ( 48 )   Summary  = 244  ( 244 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 48  ( 48 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 86  ( 86 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 44  ( 44 )  N2Labels = 0  ( 0 )   TotalLabels = 45  ( 45 )   NameLabels = 1  ( 1 )   ColorLabels = 45  ( 45 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = DODGERBLUE2 RED YELLOW  ( DODGERBLUE2 RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 38 -max_faults 0
+checkxstat D_First -n0 1 -n1 44 -n2 0 -total 45 -withname 1 -withcolor 45 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DODGERBLUE2 RED YELLOW } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 3 -face 48 -shape 244
+checkstatshape res_1 -solid 1 -shell 3 -face 48 -freewire 0 -freeedge 0 -sharededge 86
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 38 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 38 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 44 -n2 0 -total 45 -withname 1 -withcolor 45 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 44 -n2 0 -total 45 -withname 1 -withcolor 45 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DODGERBLUE2 RED YELLOW  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 48 -shape 244 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 48 -freewire 0 -freeedge 0 -sharededge 86 -max_solid 1 -max_shell 3 -max_face 48 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index bc3ba79a46d68e5f69224048f689b5b5c57bb7a0..9206cf07833f31f35f296cde9e5baaef22775f92 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_id_seal_b.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 38  ( 38 )  Summary  = 38  ( 38 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 48  ( 48 )   Summary  = 244  ( 244 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 48  ( 48 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 86  ( 86 )
-TOLERANCE   : MaxTol   =   1.00005e-007  ( 0.001600894468 )  AvgTol   =  1.000014184e-007  (  0.000181750437 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 44  ( 44 )  N2Labels = 0  ( 0 )   TotalLabels = 45  ( 45 )   NameLabels = 1  ( 1 )   ColorLabels = 45  ( 45 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = DODGERBLUE2 RED YELLOW  ( DODGERBLUE2 RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 38 -max_faults 0
+checkxstat D_First -n0 1 -n1 44 -n2 0 -total 45 -withname 1 -withcolor 45 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DODGERBLUE2 RED YELLOW } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 3 -face 48 -shape 244
+checkstatshape res_1 -solid 1 -shell 3 -face 48 -freewire 0 -freeedge 0 -sharededge 86
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.001600894468 -avg 0.000181750437]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 38 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 38 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 44 -n2 0 -total 45 -withname 1 -withcolor 45 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 44 -n2 0 -total 45 -withname 1 -withcolor 45 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DODGERBLUE2 RED YELLOW  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 48 -shape 244 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 48 -freewire 0 -freeedge 0 -sharededge 86 -max_solid 1 -max_shell 3 -max_face 48 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.00005e-007 -avg 1.000014184e-007 -max_tol ${max_tol_res_1}
+
index 19cd4f8e25a7bf9a5a5393a830fbf1adad23a56a..3f616d5427a3e2f7ea4a8a1b7cb5313630fabf17 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_pe_conn_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 492  ( 492 )   Summary  = 3576  ( 3576 )
-STATSHAPE   : Solid    = 57  ( 57 )  Shell    = 57  ( 57 )  Face     = 1894  ( 1894 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1450  ( 1450 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000093704e-007  (  1.000093704e-007 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 31  ( 31 )  N2Labels = 0  ( 0 )   TotalLabels = 36  ( 36 )   NameLabels = 36  ( 36 )   ColorLabels = 3  ( 3 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = CYAN1 GREEN YELLOW  ( CYAN1 GREEN YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 5 -n1 31 -n2 0 -total 36 -withname 36 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN YELLOW } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 492 -shape 3576
+checkstatshape res_1 -solid 57 -shell 57 -face 1894 -freewire 0 -freeedge 0 -sharededge 1450
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000093704e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 31 -n2 0 -total 36 -withname 36 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 31 -n2 0 -total 36 -withname 36 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN YELLOW  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 3 -face 492 -shape 3576 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 57 -shell 57 -face 1894 -freewire 0 -freeedge 0 -sharededge 1450 -max_solid 57 -max_shell 57 -max_face 1894 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000093704e-007 -max_tol ${max_tol_res_1}
+
index 85f7e16f03125ceea289edc860b9d3530f4fea36..e038ec659d5bb386943294396afe9a7ccc20895b 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_pe_conn_b.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 492  ( 492 )   Summary  = 3576  ( 3576 )
-STATSHAPE   : Solid    = 57  ( 57 )  Shell    = 57  ( 57 )  Face     = 1894  ( 1894 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1450  ( 1450 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 31  ( 31 )  N2Labels = 0  ( 0 )   TotalLabels = 36  ( 36 )   NameLabels = 36  ( 36 )   ColorLabels = 3  ( 3 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = CYAN1 GREEN YELLOW  ( CYAN1 GREEN YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 5 -n1 31 -n2 0 -total 36 -withname 36 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN YELLOW } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 492 -shape 3576
+checkstatshape res_1 -solid 57 -shell 57 -face 1894 -freewire 0 -freeedge 0 -sharededge 1450
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 31 -n2 0 -total 36 -withname 36 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 31 -n2 0 -total 36 -withname 36 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN YELLOW  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 3 -face 492 -shape 3576 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 57 -shell 57 -face 1894 -freewire 0 -freeedge 0 -sharededge 1450 -max_solid 57 -max_shell 57 -max_face 1894 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index e9aad2a0b1ff9862b7a89adaecc2fb9ebc8ea20e..10dede5697889e43959c2622343bea4140c813f2 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_pe_eye_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 5 )  Summary  = 2  ( 5 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 72  ( 72 )   Summary  = 414  ( 414 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 72  ( 72 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 169  ( 169 )
-TOLERANCE   : MaxTol   = 3.740766812e-005  ( 0.0007556487161 )  AvgTol   =  6.284473185e-006  (  5.687360867e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 72 -shape 414
+checkstatshape res_1 -solid 1 -shell 1 -face 72 -freewire 0 -freeedge 0 -sharededge 169
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0007556487161 -avg 5.687360867e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 72 -shape 414 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 72 -freewire 0 -freeedge 0 -sharededge 169 -max_solid 1 -max_shell 1 -max_face 72 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 3.740766812e-005 -avg 6.284473185e-006 -max_tol ${max_tol_res_1}
+
index afe3da65228615e568c62debcd7e0ca4e7fe112d..3e7eb84a72ead84114de5c6c4cd99ae16ca47da4 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_pe_eye_b.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 5 )  Summary  = 2  ( 5 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 72  ( 72 )   Summary  = 414  ( 414 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 72  ( 72 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 169  ( 169 )
-TOLERANCE   : MaxTol   = 7.338458197e-005  ( 0.0007556109356 )  AvgTol   =  7.92475203e-006  (  5.850755016e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 72 -shape 414
+checkstatshape res_1 -solid 1 -shell 1 -face 72 -freewire 0 -freeedge 0 -sharededge 169
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0007556109356 -avg 5.850755016e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 72 -shape 414 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 72 -freewire 0 -freeedge 0 -sharededge 169 -max_solid 1 -max_shell 1 -max_face 72 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 7.338458197e-005 -avg 7.92475203e-006 -max_tol ${max_tol_res_1}
+
index 2b05fe42f939413fce3cbc9e92dae3ceafb862ac..297c4ab66029fb4bc094db0df30756b7100790d4 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename bm4_pe_punch_b.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 13  ( 0 )  Summary  = 13  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 4  ( 4 )  Face     = 182  ( 182 )   Summary  = 1237  ( 1237 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 4  ( 4 )  Face     = 182  ( 182 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 500  ( 500 )
-TOLERANCE   : MaxTol   = 0.009731472373  (  0.01295381237 )  AvgTol   =  0.0005901350758  (  0.002429297443 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 37  ( 37 )  N2Labels = 0  ( 0 )   TotalLabels = 42  ( 42 )   NameLabels = 9  ( 9 )   ColorLabels = 4  ( 4 )   LayerLabels = 33  ( 33 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 GREEN RED  ( BLUE1 GREEN RED )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = A_FLAECHEN_1  ( A_FLAECHEN_1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 5 -n1 37 -n2 0 -total 42 -withname 9 -withcolor 4 -withlayer 33 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED } -nbcolors 3 -layers { "A_FLAECHEN_1" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 4 -face 182 -shape 1237
+checkstatshape res_1 -solid 3 -shell 4 -face 182 -freewire 0 -freeedge 0 -sharededge 500
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01295381237 -avg 0.002429297443]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 37 -n2 0 -total 42 -withname 9 -withcolor 4 -withlayer 33 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 37 -n2 0 -total 42 -withname 9 -withcolor 4 -withlayer 33 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED  } -nbcolors 3 -layers { "A_FLAECHEN_1" } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 4 -face 182 -shape 1237 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 4 -face 182 -freewire 0 -freeedge 0 -sharededge 500 -max_solid 3 -max_shell 4 -max_face 182 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.009731472373 -avg 0.0005901350758 -max_tol ${max_tol_res_1}
+
index 749f5c1447087a1d37cf79c12afd3832e51ac878..d132476b0798d051062ab149425446f4cbf7c1a0 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_sd_conn_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 501  ( 501 )   Summary  = 3639  ( 3639 )
-STATSHAPE   : Solid    = 57  ( 57 )  Shell    = 57  ( 57 )  Face     = 1912  ( 1912 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1478  ( 1478 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000093718e-007  (  1.000093718e-007 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 32  ( 32 )  N2Labels = 0  ( 0 )   TotalLabels = 37  ( 37 )   NameLabels = 36  ( 36 )   ColorLabels = 4  ( 4 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = GREEN MEDIUMTURQUOISE RED YELLOW  ( GREEN MEDIUMTURQUOISE RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 5 -n1 32 -n2 0 -total 37 -withname 36 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN MEDIUMTURQUOISE RED YELLOW } -nbcolors 4 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 501 -shape 3639
+checkstatshape res_1 -solid 57 -shell 57 -face 1912 -freewire 0 -freeedge 0 -sharededge 1478
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000093718e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 32 -n2 0 -total 37 -withname 36 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 32 -n2 0 -total 37 -withname 36 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN MEDIUMTURQUOISE RED YELLOW  } -nbcolors 4 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 3 -face 501 -shape 3639 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 57 -shell 57 -face 1912 -freewire 0 -freeedge 0 -sharededge 1478 -max_solid 57 -max_shell 57 -max_face 1912 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000093718e-007 -max_tol ${max_tol_res_1}
+
index 6ac984ad47d797aa424cc59be92e86afa664023c..f79e090bd78fc95031396017d9cb82570fd49706 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_sd_conn_b.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 501  ( 501 )   Summary  = 3639  ( 3639 )
-STATSHAPE   : Solid    = 57  ( 57 )  Shell    = 57  ( 57 )  Face     = 1912  ( 1912 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1478  ( 1478 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 32  ( 32 )  N2Labels = 0  ( 0 )   TotalLabels = 37  ( 37 )   NameLabels = 36  ( 36 )   ColorLabels = 4  ( 4 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = GREEN MEDIUMTURQUOISE RED YELLOW  ( GREEN MEDIUMTURQUOISE RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 5 -n1 32 -n2 0 -total 37 -withname 36 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN MEDIUMTURQUOISE RED YELLOW } -nbcolors 4 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 501 -shape 3639
+checkstatshape res_1 -solid 57 -shell 57 -face 1912 -freewire 0 -freeedge 0 -sharededge 1478
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 32 -n2 0 -total 37 -withname 36 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 32 -n2 0 -total 37 -withname 36 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN MEDIUMTURQUOISE RED YELLOW  } -nbcolors 4 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 3 -face 501 -shape 3639 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 57 -shell 57 -face 1912 -freewire 0 -freeedge 0 -sharededge 1478 -max_solid 57 -max_shell 57 -max_face 1912 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 392e3b385834c87179ea83668ad248de7c7f7918..de20eebf5b97d29afc1214ad08eec3be0501739c 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_sd_conn_c.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 501  ( 501 )   Summary  = 3639  ( 3639 )
-STATSHAPE   : Solid    = 57  ( 57 )  Shell    = 57  ( 57 )  Face     = 1912  ( 1912 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1478  ( 1478 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000093718e-007  (  1.000093718e-007 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 32  ( 32 )  N2Labels = 0  ( 0 )   TotalLabels = 37  ( 37 )   NameLabels = 36  ( 36 )   ColorLabels = 4  ( 4 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = GREEN MEDIUMTURQUOISE RED YELLOW  ( GREEN MEDIUMTURQUOISE RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 5 -n1 32 -n2 0 -total 37 -withname 36 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN MEDIUMTURQUOISE RED YELLOW } -nbcolors 4 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 501 -shape 3639
+checkstatshape res_1 -solid 57 -shell 57 -face 1912 -freewire 0 -freeedge 0 -sharededge 1478
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000093718e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 32 -n2 0 -total 37 -withname 36 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 32 -n2 0 -total 37 -withname 36 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN MEDIUMTURQUOISE RED YELLOW  } -nbcolors 4 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 3 -face 501 -shape 3639 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 57 -shell 57 -face 1912 -freewire 0 -freeedge 0 -sharededge 1478 -max_solid 57 -max_shell 57 -max_face 1912 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000093718e-007 -max_tol ${max_tol_res_1}
+
index 00695c5f4a09420ee537aaca8401608f62eb0239..1fe96ff27dc1fa05b5b7e5f70eee8b3328114c1b 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_sd_eye_b.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 82  ( 82 )   Summary  = 476  ( 476 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 82  ( 82 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 199  ( 199 )
-TOLERANCE   : MaxTol   = 7.174253459e-007  ( 7.174254492e-007 )  AvgTol   =  2.469495396e-007  (  2.469495327e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MATRAGRAY  ( MATRAGRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 82 -shape 476
+checkstatshape res_1 -solid 1 -shell 1 -face 82 -freewire 0 -freeedge 0 -sharededge 199
+set max_tol_res_1 [checkmaxtol res_1 -tol 7.174254492e-007 -avg 2.469495327e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 82 -shape 476 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 82 -freewire 0 -freeedge 0 -sharededge 199 -max_solid 1 -max_shell 1 -max_face 82 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 7.174253459e-007 -avg 2.469495396e-007 -max_tol ${max_tol_res_1}
+
index d35d49270cd370a576cdc8d43d660d02578d4489..4f52019ee7f1b4d6df93112abb30fb9414ed09ce 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_sd_eye_d.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 82  ( 82 )   Summary  = 476  ( 476 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 82  ( 82 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 199  ( 199 )
-TOLERANCE   : MaxTol   = 7.174253459e-007  ( 7.174254492e-007 )  AvgTol   =  2.54544656e-007  (  2.545445715e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MATRAGRAY  ( MATRAGRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 82 -shape 476
+checkstatshape res_1 -solid 1 -shell 1 -face 82 -freewire 0 -freeedge 0 -sharededge 199
+set max_tol_res_1 [checkmaxtol res_1 -tol 7.174254492e-007 -avg 2.545445715e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 82 -shape 476 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 82 -freewire 0 -freeedge 0 -sharededge 199 -max_solid 1 -max_shell 1 -max_face 82 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 7.174253459e-007 -avg 2.54544656e-007 -max_tol ${max_tol_res_1}
+
index 4963d6f676c8c04f7f1c6cc0f749a960c2db5e48..9b3a50b208cbb5757da3b72f83fb2cde6c021f37 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename bm4_sd_punch_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 10  ( 0 )  Summary  = 10  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 4  ( 4 )  Face     = 204  ( 204 )   Summary  = 1367  ( 1367 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 4  ( 4 )  Face     = 204  ( 204 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 554  ( 554 )
-TOLERANCE   : MaxTol   = 6.149434256e-007  ( 6.149442686e-007 )  AvgTol   =  1.42528201e-007  (  1.425280432e-007 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 41  ( 41 )  N2Labels = 0  ( 0 )   TotalLabels = 46  ( 46 )   NameLabels = 9  ( 9 )   ColorLabels = 41  ( 41 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 GREEN RED  ( BLUE1 GREEN RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 5 -n1 41 -n2 0 -total 46 -withname 9 -withcolor 41 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 4 -face 204 -shape 1367
+checkstatshape res_1 -solid 3 -shell 4 -face 204 -freewire 0 -freeedge 0 -sharededge 554
+set max_tol_res_1 [checkmaxtol res_1 -tol 6.149442686e-007 -avg 1.425280432e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 41 -n2 0 -total 46 -withname 9 -withcolor 41 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 41 -n2 0 -total 46 -withname 9 -withcolor 41 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 4 -face 204 -shape 1367 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 4 -face 204 -freewire 0 -freeedge 0 -sharededge 554 -max_solid 3 -max_shell 4 -max_face 204 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 6.149434256e-007 -avg 1.42528201e-007 -max_tol ${max_tol_res_1}
+
index 7edd02e6bc7627a5251d4ba8c4ce4e83d6e60b94..68db0b47f8bdf492593c525ef7bd0b8513f6d137 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename bm4_sd_punch_b.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 10  ( 0 )  Summary  = 10  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 4  ( 4 )  Face     = 204  ( 204 )   Summary  = 1367  ( 1367 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 4  ( 4 )  Face     = 204  ( 204 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 554  ( 554 )
-TOLERANCE   : MaxTol   = 6.188728122e-007  ( 6.18873692e-007 )  AvgTol   =  1.426129355e-007  (  1.426128757e-007 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 41  ( 41 )  N2Labels = 0  ( 0 )   TotalLabels = 46  ( 46 )   NameLabels = 9  ( 9 )   ColorLabels = 41  ( 41 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 GREEN RED  ( BLUE1 GREEN RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 5 -n1 41 -n2 0 -total 46 -withname 9 -withcolor 41 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 4 -face 204 -shape 1367
+checkstatshape res_1 -solid 3 -shell 4 -face 204 -freewire 0 -freeedge 0 -sharededge 554
+set max_tol_res_1 [checkmaxtol res_1 -tol 6.18873692e-007 -avg 1.426128757e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 41 -n2 0 -total 46 -withname 9 -withcolor 41 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 41 -n2 0 -total 46 -withname 9 -withcolor 41 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 4 -face 204 -shape 1367 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 4 -face 204 -freewire 0 -freeedge 0 -sharededge 554 -max_solid 3 -max_shell 4 -max_face 204 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 6.188728122e-007 -avg 1.426129355e-007 -max_tol ${max_tol_res_1}
+
index 5c7fe5e93fad2a90c4628f34bd1ac5e2d15b3834..9d7b6ae373e8e0e43babce344a34d05788fd0939 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_tc_conn.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 164 )  Summary  = 0  ( 164 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 674  ( 674 )   Summary  = 4906  ( 4906 )
-STATSHAPE   : Solid    = 51  ( 51 )  Shell    = 51  ( 51 )  Face     = 1708  ( 1708 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 2008  ( 2008 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  ( 1.000100003e-007 )  AvgTol   =  1.000093711e-007  (  1.000093711e-007 )
-LABELS      : N0Labels = 8  ( 8 )  N1Labels = 54  ( 54 )  N2Labels = 0  ( 0 )   TotalLabels = 62  ( 62 )   NameLabels = 62  ( 62 )   ColorLabels = 0  ( 0 )   LayerLabels = 4  ( 4 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = 001 005 010  ( 001 005 010 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 164 -max_faults 0
+checkxstat D_First -n0 8 -n1 54 -n2 0 -total 62 -withname 62 -withcolor 0 -withlayer 4 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers { 001 005 010 } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 4 -shell 4 -face 674 -shape 4906
+checkstatshape res_1 -solid 51 -shell 51 -face 1708 -freewire 0 -freeedge 0 -sharededge 2008
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.000100003e-007 -avg 1.000093711e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 164 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 8 -n1 54 -n2 0 -total 62 -withname 62 -withcolor 0 -withlayer 4 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 8 -n1 54 -n2 0 -total 62 -withname 62 -withcolor 0 -withlayer 4 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers { 001 005 010  } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 4 -shell 4 -face 674 -shape 4906 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 51 -shell 51 -face 1708 -freewire 0 -freeedge 0 -sharededge 2008 -max_solid 51 -max_shell 51 -max_face 1708 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000093711e-007 -max_tol ${max_tol_res_1}
+
index ebf22313223eeb21c0b0007c091e8af16a116b9d..87477f44b6a5d371fe9d547ec521d51dc1dde255 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_ug_conn_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 4 )  Summary  = 0  ( 4 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 497  ( 497 )   Summary  = 3615  ( 3615 )
-STATSHAPE   : Solid    = 57  ( 57 )  Shell    = 57  ( 57 )  Face     = 1908  ( 1908 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1468  ( 1468 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  (         1e-005 )  AvgTol   =  1.000093825e-007  (  1.175359303e-007 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 31  ( 31 )  N2Labels = 0  ( 0 )   TotalLabels = 36  ( 36 )   NameLabels = 36  ( 36 )   ColorLabels = 3  ( 3 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = MEDIUMSEAGREEN YELLOW  ( MEDIUMSEAGREEN YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 5 -n1 31 -n2 0 -total 36 -withname 36 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MEDIUMSEAGREEN YELLOW } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 497 -shape 3615
+checkstatshape res_1 -solid 57 -shell 57 -face 1908 -freewire 0 -freeedge 0 -sharededge 1468
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 1.175359303e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 31 -n2 0 -total 36 -withname 36 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 31 -n2 0 -total 36 -withname 36 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MEDIUMSEAGREEN YELLOW  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 3 -face 497 -shape 3615 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 57 -shell 57 -face 1908 -freewire 0 -freeedge 0 -sharededge 1468 -max_solid 57 -max_shell 57 -max_face 1908 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000093825e-007 -max_tol ${max_tol_res_1}
+
index 06d25d69f2fd200c6fd1a43908c2c35243edc256..0fc0471f1743bc914a780ba52f05816076537561 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_ug_conn_b.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 4 )  Summary  = 0  ( 4 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 497  ( 497 )   Summary  = 3615  ( 3615 )
-STATSHAPE   : Solid    = 57  ( 57 )  Shell    = 57  ( 57 )  Face     = 1908  ( 1908 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1468  ( 1468 )
-TOLERANCE   : MaxTol   = 1.000100003e-007  (         1e-005 )  AvgTol   =  1.000093825e-007  (  1.175359303e-007 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 31  ( 31 )  N2Labels = 0  ( 0 )   TotalLabels = 36  ( 36 )   NameLabels = 36  ( 36 )   ColorLabels = 3  ( 3 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = MEDIUMSEAGREEN YELLOW  ( MEDIUMSEAGREEN YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 5 -n1 31 -n2 0 -total 36 -withname 36 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MEDIUMSEAGREEN YELLOW } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 497 -shape 3615
+checkstatshape res_1 -solid 57 -shell 57 -face 1908 -freewire 0 -freeedge 0 -sharededge 1468
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-005 -avg 1.175359303e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 31 -n2 0 -total 36 -withname 36 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 31 -n2 0 -total 36 -withname 36 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MEDIUMSEAGREEN YELLOW  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 3 -face 497 -shape 3615 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 57 -shell 57 -face 1908 -freewire 0 -freeedge 0 -sharededge 1468 -max_solid 57 -max_shell 57 -max_face 1908 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.000100003e-007 -avg 1.000093825e-007 -max_tol ${max_tol_res_1}
+
index 1dfb6b8007742d8cb01706a28465fdef4fbcfca5..a94551d5ca00d1a3f00bb1412a0bc9b0dadda5e7 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename boutchauf.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 2  ( 2 )  Face     = 94  ( 94 )   Summary  = 513  ( 513 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 2  ( 2 )  Face     = 94  ( 94 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 206  ( 206 )
-TOLERANCE   : MaxTol   =  0.09976786928  (   0.1274525326 )  AvgTol   =   0.03628698111  (   0.04204721124 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 2 -face 94 -shape 513
+checkstatshape res_1 -solid 0 -shell 2 -face 94 -freewire 0 -freeedge 0 -sharededge 206
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1274525326 -avg 0.04204721124]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 2 -face 94 -shape 513 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 2 -face 94 -freewire 0 -freeedge 0 -sharededge 206 -max_solid 0 -max_shell 2 -max_face 94 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.09976786928 -avg 0.03628698111 -max_tol ${max_tol_res_1}
+
index 30145ba43bb04c4490b12a630c5c4c3df933a45a..e8ffcf23818e0d6f0c1d201566f031eeead41811 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj10_b2-pe-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 3  ( 9 )  Summary  = 3  ( 9 )
-CHECKSHAPE  : Wires    = 1  ( 1 )  Faces    = 1  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 252  ( 252 )   Summary  = 1622  ( 1622 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 252  ( 252 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 673  ( 673 )
-TOLERANCE   : MaxTol   = 0.003900261304  ( 0.007833404346 )  AvgTol   =  9.450808397e-005  (  0.0001357380201 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { WHITE } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 252 -shape 1622
+checkstatshape res_1 -solid 1 -shell 1 -face 252 -freewire 0 -freeedge 0 -sharededge 673
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.007833404346 -avg 0.0001357380201]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { WHITE  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 252 -shape 1622 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 252 -freewire 0 -freeedge 0 -sharededge 673 -max_solid 1 -max_shell 1 -max_face 252 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003900261304 -avg 9.450808397e-005 -max_tol ${max_tol_res_1}
+
index 29c698111571b970f9375e9547a639a07e8b5fb5..da9408c598da846274fad2a777ab436009f1b338 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename ca_exhaust.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 10  ( 12 )  Summary  = 10  ( 12 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 32  ( 32 )   Summary  = 194  ( 194 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 32  ( 32 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 74  ( 74 )
-TOLERANCE   : MaxTol   = 0.009164270171  ( 0.009164270166 )  AvgTol   =   0.00113814971  (  0.001138150558 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 32 -shape 194
+checkstatshape res_1 -solid 1 -shell 1 -face 32 -freewire 0 -freeedge 0 -sharededge 74
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009164270166 -avg 0.001138150558]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 32 -shape 194 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 32 -freewire 0 -freeedge 0 -sharededge 74 -max_solid 1 -max_shell 1 -max_face 32 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.009164270171 -avg 0.00113814971 -max_tol ${max_tol_res_1}
+
index a4b99a4e7e754f6ef55379abf7b0f8f5afb15b19..d31840cac993fac67ac9c1d335e58c295222a9f1 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename clamp.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 8 )  Summary  = 4  ( 8 )
-CHECKSHAPE  : Wires    = 2  ( 2 )  Faces    = 2  ( 2 )  Shells   = 1  ( 1 )   Solids   = 1 ( 1 )
-NBSHAPES    : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 40  ( 40 )   Summary  = 263  ( 263 )
-STATSHAPE   : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 40  ( 40 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 98  ( 98 )
-TOLERANCE   : MaxTol   =   0.7571968817  (    0.757178949 )  AvgTol   =   0.04326711711  (   0.04326805656 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 4  ( 4 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 1  ( 1 )   ColorLabels = 4  ( 4 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE1 MAGENTA1  ( BLUE1 MAGENTA1 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+checkxstat D_First -n0 1 -n1 4 -n2 0 -total 5 -withname 1 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA1 } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 2 -max_faces 2 -max_shells 1 -max_solids 1
+checknbshapes res_1 -solid 4 -shell 4 -face 40 -shape 263
+checkstatshape res_1 -solid 4 -shell 4 -face 40 -freewire 0 -freeedge 0 -sharededge 98
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.757178949 -avg 0.04326805656]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 4 -n2 0 -total 5 -withname 1 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 4 -n2 0 -total 5 -withname 1 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 MAGENTA1  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 2 -max_faces 2 -max_shells 1 -max_solids 1
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 2 -max_faces 2 -max_shells 1 -max_solids 1
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 4 -shell 4 -face 40 -shape 263 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 4 -shell 4 -face 40 -freewire 0 -freeedge 0 -sharededge 98 -max_solid 4 -max_shell 4 -max_face 40 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.7571968817 -avg 0.04326711711 -max_tol ${max_tol_res_1}
+
index 1d4baa1f6bd861b83a58669c1128c43506d64e82..3efb1ca68ec58f0676fa496fb172800891bbcaa9 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename coquille.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 4 )  Summary  = 4  ( 4 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 93  ( 93 )   Summary  = 733  ( 733 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 93  ( 93 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 316  ( 316 )
-TOLERANCE   : MaxTol   =  0.08340213295  (   0.1424166326 )  AvgTol   =   0.02513534544  (   0.03572527521 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 93 -shape 733
+checkstatshape res_1 -solid 0 -shell 1 -face 93 -freewire 0 -freeedge 0 -sharededge 316
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1424166326 -avg 0.03572527521]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 93 -shape 733 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 93 -freewire 0 -freeedge 0 -sharededge 316 -max_solid 0 -max_shell 1 -max_face 93 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.08340213295 -avg 0.02513534544 -max_tol ${max_tol_res_1}
+
index d4fd0da32467248edfa877528289c7b554ea6fc9..6d3420be5eadfce6d2fdc466e839f85ef746303d 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename ct_soapbox-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 25  ( 32 )  Summary  = 25  ( 32 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 108  ( 108 )   Summary  = 674  ( 669 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 108  ( 108 )   FreeWire = 0  ( 0 )   FreeEdge  = 5 ( 5 )   SharedEdge = 275  ( 275 )
-TOLERANCE   : MaxTol   =   0.1162538812  (   0.1162538812 )  AvgTol   =  0.007933501527  (    0.0113796647 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 7  ( 7 )  N2Labels = 0  ( 0 )   TotalLabels = 10  ( 10 )   NameLabels = 5  ( 5 )   ColorLabels = 6  ( 6 )   LayerLabels = 6  ( 6 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = GREEN4 WHITE  ( GREEN4 WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 32 -max_faults 0
+checkxstat D_First -n0 3 -n1 7 -n2 0 -total 10 -withname 5 -withcolor 6 -withlayer 6 -centroid 0 -volume 0 -area 0 -colors { GREEN4 WHITE } -nbcolors 2 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 108 -shape 669
+checkstatshape res_1 -solid 1 -shell 1 -face 108 -freewire 0 -freeedge 5 -sharededge 275
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1162538812 -avg 0.0113796647]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 32 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 21 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 7 -n2 0 -total 10 -withname 5 -withcolor 6 -withlayer 6 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 7 -n2 0 -total 10 -withname 5 -withcolor 6 -withlayer 6 -centroid 0 -volume 0 -area 0 -colors { GREEN4 WHITE  } -nbcolors 2 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 108 -shape 674 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 108 -freewire 0 -freeedge 5 -sharededge 275 -max_solid 1 -max_shell 1 -max_face 108 -max_freewire 0 -max_freeedge 5
+checkmaxtol res_2 -tol 0.1162538812 -avg 0.007933501527 -max_tol ${max_tol_res_1}
+
index 377c183be56b906bbba760704809ac3fd8252a98..7726a4e35bbfcd3a874436a81cc1cd771d13a522 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj12_b3-ug-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 66 )  Summary  = 2  ( 66 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 696  ( 696 )   Summary  = 4636  ( 4636 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 696  ( 696 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1943  ( 1943 )
-TOLERANCE   : MaxTol   =  0.02098499877  (  0.09930380124 )  AvgTol   =  0.002124131329  (  0.006931207463 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MEDIUMSEAGREEN  ( MEDIUMSEAGREEN )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 31  ( 31 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 66 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { MEDIUMSEAGREEN } -nbcolors 1 -layers { 31 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 696 -shape 4636
+checkstatshape res_1 -solid 1 -shell 1 -face 696 -freewire 0 -freeedge 0 -sharededge 1943
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.09930380124 -avg 0.006931207463]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 66 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { MEDIUMSEAGREEN  } -nbcolors 1 -layers { 31  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 696 -shape 4636 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 696 -freewire 0 -freeedge 0 -sharededge 1943 -max_solid 1 -max_shell 1 -max_face 696 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.02098499877 -avg 0.002124131329 -max_tol ${max_tol_res_1}
+
index 866c5cff210a5ae215178c6ce4a2ead01bebb098..a959ad53e6e5ff06c6c7b4cab06993f8477a0a95 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename db_turbine-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 12  ( 7 )  Summary  = 12  ( 7 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 40  ( 40 )   Summary  = 231  ( 231 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 40  ( 40 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 99  ( 99 )
-TOLERANCE   : MaxTol   =  0.02294322294  (  0.03059350475 )  AvgTol   =  0.003590149917  (  0.004379826317 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 40 -shape 231
+checkstatshape res_1 -solid 0 -shell 1 -face 40 -freewire 0 -freeedge 0 -sharededge 99
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.03059350475 -avg 0.004379826317]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 40 -shape 231 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 40 -freewire 0 -freeedge 0 -sharededge 99 -max_solid 0 -max_shell 1 -max_face 40 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.02294322294 -avg 0.003590149917 -max_tol ${max_tol_res_1}
+
index e98d09dfc2aefa25acb5118f164858e18dfaa3b7..3f890edfa8a47b64947acc75c08f4510b15f63de 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename db_turbine-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 26  ( 0 )  Summary  = 26  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 40  ( 40 )  Face     = 40  ( 40 )   Summary  = 465  ( 304 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 40  ( 40 )  Face     = 40  ( 40 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 176  ( 132 )
-TOLERANCE   : MaxTol   =   0.0229434463  (   0.0229434463 )  AvgTol   =  0.002472120726  (  0.004479791532 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 80  ( 80 )  N2Labels = 0  ( 0 )   TotalLabels = 81  ( 81 )   NameLabels = 1  ( 1 )   ColorLabels = 40  ( 40 )   LayerLabels = 40  ( 40 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 80 -n2 0 -total 81 -withname 1 -withcolor 40 -withlayer 40 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 40 -face 40 -shape 304
+checkstatshape res_1 -solid 0 -shell 40 -face 40 -freewire 0 -freeedge 0 -sharededge 132
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0229434463 -avg 0.004479791532]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 26 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 80 -n2 0 -total 81 -withname 1 -withcolor 40 -withlayer 40 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 80 -n2 0 -total 81 -withname 1 -withcolor 40 -withlayer 40 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 40 -face 40 -shape 465 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 40 -face 40 -freewire 0 -freeedge 0 -sharededge 176 -max_solid 0 -max_shell 40 -max_face 40 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0229434463 -avg 0.002472120726 -max_tol ${max_tol_res_1}
+
index 6b24f380a50a82c34a5130bbf16adb971d407473..cfe21094ffecbf7fa651f16cdb24e765275b6add 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename demo2.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 3  ( 0 )  Summary  = 3  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 435  ( 435 )   Summary  = 4899  ( 4899 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 435  ( 435 )   FreeWire = 0  ( 548 )   FreeEdge  = 548 ( 548 )   SharedEdge = 1677  ( 1677 )
-TOLERANCE   : MaxTol   = 0.0005349158543  ( 0.0008075170146 )  AvgTol   =  1.728722228e-005  (  2.28569033e-005 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 4359 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 435 -shape 4899
+checkstatshape res_1 -solid 1 -shell 1 -face 435 -freewire 548 -freeedge 548 -sharededge 1677
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0008075170146 -avg 2.28569033e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 4359 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 435 -shape 4899 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 435 -freewire 0 -freeedge 548 -sharededge 1677 -max_solid 1 -max_shell 1 -max_face 435 -max_freewire 548 -max_freeedge 548
+checkmaxtol res_2 -tol 0.0005349158543 -avg 1.728722228e-005 -max_tol ${max_tol_res_1}
+
index 12677891c9f0ab9600ad127677dbf0e13ec20094..432bb34455229bb060d7a402dde14089d5b465b3 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename ec_soapbox-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 86  ( 86 )   Summary  = 516  ( 516 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 86  ( 86 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 209  ( 209 )
-TOLERANCE   : MaxTol   = 0.001409420564  ( 0.007700248501 )  AvgTol   =  4.939642153e-005  (  0.0008378957883 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 86 -shape 516
+checkstatshape res_1 -solid 1 -shell 1 -face 86 -freewire 0 -freeedge 0 -sharededge 209
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.007700248501 -avg 0.0008378957883]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 86 -shape 516 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 86 -freewire 0 -freeedge 0 -sharededge 209 -max_solid 1 -max_shell 1 -max_face 86 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.001409420564 -avg 4.939642153e-005 -max_tol ${max_tol_res_1}
+
index b84e39631154a78a10d85b677fd4f742ee9a52eb..bade29b028167001b7521bbe3c1aefb28cb0e86e 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename ec_turbine-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 7 )  Warnings = 0  ( 0 )  Summary  = 0  ( 7 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 3  ( 1 )  Summary  = 3  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 53  ( 53 )   Summary  = 315  ( 314 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 53  ( 53 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 131  ( 130 )
-TOLERANCE   : MaxTol   = 3.83146359e-05  ( 4.239045465e-05 )  AvgTol   =  6.991592063e-06  (  7.802264042e-06 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 7
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 53 -shape 314
+checkstatshape res_1 -solid 0 -shell 1 -face 53 -freewire 0 -freeedge 0 -sharededge 130
+set max_tol_res_1 [checkmaxtol res_1 -tol 4.239045465e-05 -avg 7.802264042e-06]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 7
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 53 -shape 315 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 53 -freewire 0 -freeedge 0 -sharededge 131 -max_solid 0 -max_shell 1 -max_face 53 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 3.83146359e-05 -avg 6.991592063e-06 -max_tol ${max_tol_res_1}
+
index db140f692b9d7dbf207feaa58cbdf8d284b5528a..9f5158632d60d0e9a6816e54387fd3cce701ce12 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 
-
 set filename gbit2tsec.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 54  ( 37 )  Summary  = 54  ( 37 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 13  ( 13 )  Face     = 111  ( 111 )   Summary  = 989  ( 990 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 13  ( 13 )  Face     = 111  ( 111 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 434  ( 434 )
-TOLERANCE   : MaxTol   = 0.004790846572  ( 0.004790846572 )  AvgTol   =  0.0004048577679  (  0.0004618876822 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 37 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 13 -face 111 -shape 990
+checkstatshape res_1 -solid 0 -shell 13 -face 111 -freewire 0 -freeedge 0 -sharededge 434
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.004790846572 -avg 0.0004618876822]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 37 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 54 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 13 -face 111 -shape 989 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 13 -face 111 -freewire 0 -freeedge 0 -sharededge 434 -max_solid 0 -max_shell 13 -max_face 111 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.004790846572 -avg 0.0004048577679 -max_tol ${max_tol_res_1}
+
index 665e72c7c407b57a19e131d15140a4f439f3718e..f94f857c32a059a2642b6e6b3c9d325dd2bdd88f 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename gbitcomp.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 12773  ( 10349 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 0  ( 0 )   FreeEdge  = 3232 ( 3232 )   SharedEdge = 3232  ( 3232 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 10349
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 3232 -sharededge 3232
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 12773 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 3232 -sharededge 3232 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 0 -max_freeedge 3232
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 08ead2d2aa58716c0b532bf72488934c4d14779f..b37277ba6c42febeb2b0b9afcb68e9abad2fb975 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename gbpffacrad.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 24  ( 12 )  Summary  = 24  ( 12 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 81  ( 81 )   Summary  = 545  ( 545 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 81  ( 81 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 234  ( 234 )
-TOLERANCE   : MaxTol   =  0.05742720805  (   0.1569502804 )  AvgTol   =   0.01488383767  (   0.03301530791 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 81 -shape 545
+checkstatshape res_1 -solid 0 -shell 1 -face 81 -freewire 0 -freeedge 0 -sharededge 234
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1569502804 -avg 0.03301530791]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 24 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 81 -shape 545 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 81 -freewire 0 -freeedge 0 -sharededge 234 -max_solid 0 -max_shell 1 -max_face 81 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.05742720805 -avg 0.01488383767 -max_tol ${max_tol_res_1}
+
index b1a9389b6100721450881c67654a19bbbe105a95..1ae9096afa2d14fade47c709880674d3aa08d0c3 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename id_exhaust-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 8  ( 3 )  Summary  = 8  ( 3 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 273  ( 273 )   Summary  = 1611  ( 1585 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 273  ( 273 )   FreeWire = 0  ( 0 )   FreeEdge  = 25 ( 25 )   SharedEdge = 634  ( 634 )
-TOLERANCE   : MaxTol   = 0.009439063586  ( 0.009890486094 )  AvgTol   =  0.001469521991  (  0.001693442157 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 400  ( 400 )  N2Labels = 0  ( 0 )   TotalLabels = 403  ( 403 )   NameLabels = 5  ( 5 )   ColorLabels = 399  ( 399 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = ORANGE ORANGERED RED  ( ORANGE ORANGERED RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 3 -n1 400 -n2 0 -total 403 -withname 5 -withcolor 399 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { ORANGE ORANGERED RED } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 273 -shape 1585
+checkstatshape res_1 -solid 1 -shell 1 -face 273 -freewire 0 -freeedge 25 -sharededge 634
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009890486094 -avg 0.001693442157]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 400 -n2 0 -total 403 -withname 5 -withcolor 399 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 400 -n2 0 -total 403 -withname 5 -withcolor 399 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { ORANGE ORANGERED RED  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 273 -shape 1611 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 273 -freewire 0 -freeedge 25 -sharededge 634 -max_solid 1 -max_shell 1 -max_face 273 -max_freewire 0 -max_freeedge 25
+checkmaxtol res_2 -tol 0.009439063586 -avg 0.001469521991 -max_tol ${max_tol_res_1}
+
index bb68feb83dfeb0be246baa40f0ef71d7a59310bb..abc9291c4a2bb3a814e2f1b0d547fd1f9eb3508a 100644 (file)
@@ -1,22 +1,50 @@
 puts "TODO OCC12345 ALL: TPSTAT : Faulty"
 
-# !!!! This file is generated automatically, do not edit manually! See end script
+set filename id_exhaust-B.stp
 
 
-set filename id_exhaust-B.stp
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 3 -n1 400 -n2 0 -total 403 -withname 5 -withcolor 399 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { ORANGE ORANGERED RED } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 273 -shape 1585
+checkstatshape res_1 -solid 1 -shell 1 -face 273 -freewire 0 -freeedge 25 -sharededge 634
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009890486094 -avg 0.001696115857]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 400 -n2 0 -total 403 -withname 5 -withcolor 399 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 400 -n2 0 -total 403 -withname 5 -withcolor 399 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { ORANGE ORANGERED RED  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 273 -shape 1611 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 273 -freewire 0 -freeedge 25 -sharededge 634 -max_solid 1 -max_shell 1 -max_face 273 -max_freewire 0 -max_freeedge 25
+checkmaxtol res_2 -tol 0.009439063586 -avg 0.001476519142 -max_tol ${max_tol_res_1}
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 5  ( 1 )  Summary  = 5  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 273  ( 273 )   Summary  = 1611  ( 1585 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 273  ( 273 )   FreeWire = 0  ( 0 )   FreeEdge  = 25 ( 25 )   SharedEdge = 634  ( 634 )
-TOLERANCE   : MaxTol   = 0.009439063586  ( 0.009890486094 )  AvgTol   =  0.001476519142  (  0.001696115857 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 400  ( 400 )  N2Labels = 0  ( 0 )   TotalLabels = 403  ( 403 )   NameLabels = 5  ( 5 )   ColorLabels = 399  ( 399 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = ORANGE ORANGERED RED  ( ORANGE ORANGERED RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
index 1a52e845203bf5160518accc550d8a389f461352..7ce40b9c3f880d417a3a6c99d38e0d665247ba75 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename id_soapbox-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 19  ( 6 )  Summary  = 19  ( 6 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 104  ( 104 )   Summary  = 752  ( 748 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 104  ( 104 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 266  ( 262 )
-TOLERANCE   : MaxTol   = 0.006923751402  ( 0.009036344633 )  AvgTol   =  0.001364850239  (  0.001796406712 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = ORANGE  ( ORANGE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { ORANGE } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 104 -shape 748
+checkstatshape res_1 -solid 1 -shell 1 -face 104 -freewire 0 -freeedge 0 -sharededge 262
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009036344633 -avg 0.001796406712]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 19 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { ORANGE  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 104 -shape 752 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 104 -freewire 0 -freeedge 0 -sharededge 266 -max_solid 1 -max_shell 1 -max_face 104 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.006923751402 -avg 0.001364850239 -max_tol ${max_tol_res_1}
+
index d64db823ad87044362702c1b31fe742dee0a2270..f58ca36d019ab217469b1140a524ce9913c3c39a 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename id_soapbox-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 20  ( 6 )  Summary  = 20  ( 6 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 104  ( 104 )   Summary  = 752  ( 748 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 104  ( 104 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 266  ( 262 )
-TOLERANCE   : MaxTol   = 0.006923751402  ( 0.007596378198 )  AvgTol   =  0.001448520746  (  0.001714495453 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = ORANGE  ( ORANGE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { ORANGE } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 104 -shape 748
+checkstatshape res_1 -solid 1 -shell 1 -face 104 -freewire 0 -freeedge 0 -sharededge 262
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.007596378198 -avg 0.001714495453]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 21 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { ORANGE  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 104 -shape 752 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 104 -freewire 0 -freeedge 0 -sharededge 266 -max_solid 1 -max_shell 1 -max_face 104 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.006923751402 -avg 0.001448520746 -max_tol ${max_tol_res_1}
+
index d454daaa4e457244d83f8e00bf34f56df0981553..b70b4f8ebaab177eff9f7b9e2d62a8840b4a55e1 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename ie_exhaust-C.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 18  ( 16 )  Summary  = 18  ( 16 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 64  ( 64 )   Summary  = 378  ( 378 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 64  ( 64 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 150  ( 150 )
-TOLERANCE   : MaxTol   =  0.01528794944  (  0.01667849336 )  AvgTol   =  0.003242584981  (   0.00344779789 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 64 -shape 378
+checkstatshape res_1 -solid 1 -shell 1 -face 64 -freewire 0 -freeedge 0 -sharededge 150
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01667849336 -avg 0.00344779789]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 18 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 64 -shape 378 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 64 -freewire 0 -freeedge 0 -sharededge 150 -max_solid 1 -max_shell 1 -max_face 64 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01528794944 -avg 0.003242584981 -max_tol ${max_tol_res_1}
+
index 6f5d4dd2fcd0315345a4f40986d0966bb3198f36..7264c9968ccfc8c8be69e5028dc66f99349cdfe2 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 
-
 set filename ie_soapbox-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 28  ( 20 )  Summary  = 28  ( 20 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 2  ( 2 )  Shell    = 2  ( 2 )  Face     = 112  ( 112 )   Summary  = 685  ( 687 )
-STATSHAPE   : Solid    = 2  ( 2 )  Shell    = 2  ( 2 )  Face     = 112  ( 112 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 286  ( 288 )
-TOLERANCE   : MaxTol   =   0.5386330267  (    1.019942733 )  AvgTol   =  0.009444234359  (   0.01316262156 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 20 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 2 -shell 2 -face 112 -shape 687
+checkstatshape res_1 -solid 2 -shell 2 -face 112 -freewire 0 -freeedge 0 -sharededge 288
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.019942733 -avg 0.01316262156]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 20 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 2 -shell 2 -face 112 -shape 685 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 2 -shell 2 -face 112 -freewire 0 -freeedge 0 -sharededge 286 -max_solid 2 -max_shell 2 -max_face 112 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.5386330267 -avg 0.009444234359 -max_tol ${max_tol_res_1}
+
index c3c2b9c93c97a506488882b8fb935f5839e8fd6e..9a854b03c87c59f0fd42896a03d0af884713f651 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename ie_soapbox-C.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 28  ( 14 )  Summary  = 28  ( 14 )
-CHECKSHAPE  : Wires    = 2  ( 2 )  Faces    = 2  ( 2 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 2  ( 2 )  Shell    = 2  ( 2 )  Face     = 110  ( 108 )   Summary  = 681  ( 677 )
-STATSHAPE   : Solid    = 2  ( 2 )  Shell    = 2  ( 2 )  Face     = 110  ( 108 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 286  ( 286 )
-TOLERANCE   : MaxTol   = 0.009966026823  ( 0.009966026821 )  AvgTol   =   0.00112455379  (  0.001105565209 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 2 -shell 2 -face 108 -shape 677
+checkstatshape res_1 -solid 2 -shell 2 -face 108 -freewire 0 -freeedge 0 -sharededge 286
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009966026821 -avg 0.001105565209]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 2 -shell 2 -face 110 -shape 681 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 2 -shell 2 -face 110 -freewire 0 -freeedge 0 -sharededge 286 -max_solid 2 -max_shell 2 -max_face 108 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.009966026823 -avg 0.00112455379 -max_tol ${max_tol_res_1}
+
index f130a54bd800b3adff6148803bac884dd40fb6d8..0d8f0c0f612f131558b57ea76e7e518eb4df96ac 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename ie_turbine-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 51  ( 51 )  Face     = 51  ( 51 )   Summary  = 592  ( 592 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 51  ( 51 )  Face     = 51  ( 51 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 222  ( 222 )
-TOLERANCE   : MaxTol   = 0.003384329586  ( 0.003391112155 )  AvgTol   =  0.0004816527254  (  0.0005297071311 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 51 -face 51 -shape 592
+checkstatshape res_1 -solid 0 -shell 51 -face 51 -freewire 0 -freeedge 0 -sharededge 222
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.003391112155 -avg 0.0005297071311]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 51 -face 51 -shape 592 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 51 -face 51 -freewire 0 -freeedge 0 -sharededge 222 -max_solid 0 -max_shell 51 -max_face 51 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003384329586 -avg 0.0004816527254 -max_tol ${max_tol_res_1}
+
index ca43bfb3d8f4b6b773e87b83f787bcd597cfa004..56ba1ee7531ea7c2dca463cf63c844d8845bb90c 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename ie_turbine-C.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 51  ( 51 )  Face     = 51  ( 51 )   Summary  = 592  ( 592 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 51  ( 51 )  Face     = 51  ( 51 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 222  ( 222 )
-TOLERANCE   : MaxTol   = 0.003384329586  ( 0.003391112155 )  AvgTol   =  0.0004816519264  (  0.0005303843445 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 51 -face 51 -shape 592
+checkstatshape res_1 -solid 0 -shell 51 -face 51 -freewire 0 -freeedge 0 -sharededge 222
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.003391112155 -avg 0.0005303843445]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 51 -face 51 -shape 592 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 51 -face 51 -freewire 0 -freeedge 0 -sharededge 222 -max_solid 0 -max_shell 51 -max_face 51 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003384329586 -avg 0.0004816519264 -max_tol ${max_tol_res_1}
+
index 078eb6d4ad663c51d9b5fd2063db08e782388330..7205f20e890c24e704b9ae55a27e8a97085a0a4f 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename pe_exhaust-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 114  ( 114 )   Summary  = 632  ( 632 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 114  ( 114 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 252  ( 252 )
-TOLERANCE   : MaxTol   = 0.003361988918  (  0.01686781346 )  AvgTol   =   0.00128557755  (  0.002583616342 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 114 -shape 632
+checkstatshape res_1 -solid 1 -shell 1 -face 114 -freewire 0 -freeedge 0 -sharededge 252
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01686781346 -avg 0.002583616342]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 114 -shape 632 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 114 -freewire 0 -freeedge 0 -sharededge 252 -max_solid 1 -max_shell 1 -max_face 114 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003361988918 -avg 0.00128557755 -max_tol ${max_tol_res_1}
+
index 60a55375a8a9a8bd78b70494b29a8b7b5a4a6989..752791e6dcf991cf22555e4d8b93b0f2b20b1a4f 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename pe_soapbox-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 5  ( 4 )  Summary  = 5  ( 4 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 135  ( 135 )   Summary  = 831  ( 830 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 135  ( 135 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 346  ( 345 )
-TOLERANCE   : MaxTol   = 0.008167967794  (   0.0138846985 )  AvgTol   =  0.0006876792327  (  0.002088120462 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 135 -shape 830
+checkstatshape res_1 -solid 1 -shell 1 -face 135 -freewire 0 -freeedge 0 -sharededge 345
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0138846985 -avg 0.002088120462]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 135 -shape 831 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 135 -freewire 0 -freeedge 0 -sharededge 346 -max_solid 1 -max_shell 1 -max_face 135 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.008167967794 -avg 0.0006876792327 -max_tol ${max_tol_res_1}
+
index f0b06996e8700ec493aa3690ad0d35fc47079fd8..a36eea89c79b1b22e54e401531dff34554570a0f 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename pe_soapbox-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 10  ( 2 )  Summary  = 10  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 135  ( 135 )   Summary  = 834  ( 833 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 135  ( 135 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 348  ( 347 )
-TOLERANCE   : MaxTol   =   0.0154238459  (  0.01542376989 )  AvgTol   =  0.0007316545128  (  0.001217807677 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 135 -shape 833
+checkstatshape res_1 -solid 1 -shell 1 -face 135 -freewire 0 -freeedge 0 -sharededge 347
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01542376989 -avg 0.001217807677]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 135 -shape 834 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 135 -freewire 0 -freeedge 0 -sharededge 348 -max_solid 1 -max_shell 1 -max_face 135 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0154238459 -avg 0.0007316545128 -max_tol ${max_tol_res_1}
+
index 805df983409c9621a482cc5f22e829d7921bcfae..cfcfdea5f78c0370960ab6cfa85a3d21b3e77d3e 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename r103ec.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 28  ( 0 )  Summary  = 28  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 146  ( 146 )   Summary  = 860  ( 860 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 146  ( 146 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 346  ( 346 )
-TOLERANCE   : MaxTol   = 5.024535408e-007  ( 5.024535217e-007 )  AvgTol   =  1.930849396e-007  (  1.400781778e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 146 -shape 860
+checkstatshape res_1 -solid 1 -shell 1 -face 146 -freewire 0 -freeedge 0 -sharededge 346
+set max_tol_res_1 [checkmaxtol res_1 -tol 5.024535217e-007 -avg 1.400781778e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 146 -shape 860 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 146 -freewire 0 -freeedge 0 -sharededge 346 -max_solid 1 -max_shell 1 -max_face 146 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 5.024535408e-007 -avg 1.930849396e-007 -max_tol ${max_tol_res_1}
+
index 726080940a39279b675a4b81276aec5a448eb482..3b08e21975fd933f667ac468345c70e726de4e83 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename r111al.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   Summary  = 50  ( 50 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 6  ( 6 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 21  ( 21 )
-TOLERANCE   : MaxTol   = 0.009857357586  (   0.1493799144 )  AvgTol   =  0.001724165017  (   0.02015831163 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 6 -shape 50
+checkstatshape res_1 -solid 0 -shell 1 -face 6 -freewire 0 -freeedge 0 -sharededge 21
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1493799144 -avg 0.02015831163]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 6 -shape 50 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 6 -freewire 0 -freeedge 0 -sharededge 21 -max_solid 0 -max_shell 1 -max_face 6 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.009857357586 -avg 0.001724165017 -max_tol ${max_tol_res_1}
+
index b263d8049b7a2204d92b0ecceda04985d924f770..e1f409da1bd3ab85b48a4e56d83542cd8eae72eb 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename r31ct.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 14  ( 5 )  Summary  = 14  ( 5 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 127  ( 127 )   Summary  = 694  ( 694 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 127  ( 127 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 268  ( 268 )
-TOLERANCE   : MaxTol   =   0.0357587389  (  0.04624185716 )  AvgTol   =  0.0008007182634  (  0.001664746615 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 127 -shape 694
+checkstatshape res_1 -solid 3 -shell 3 -face 127 -freewire 0 -freeedge 0 -sharededge 268
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.04624185716 -avg 0.001664746615]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 3 -face 127 -shape 694 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 3 -face 127 -freewire 0 -freeedge 0 -sharededge 268 -max_solid 3 -max_shell 3 -max_face 127 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0357587389 -avg 0.0008007182634 -max_tol ${max_tol_res_1}
+
index 04fc453a20ba147e18e5fcd7e48819ec9f0d9f03..87c629ad789bae59adea33022f01f08282062990 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename r31db.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 94  ( 83 )  Summary  = 94  ( 83 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 127  ( 127 )   Summary  = 695  ( 695 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 127  ( 127 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 269  ( 269 )
-TOLERANCE   : MaxTol   =  0.03575654023  (  0.03575654023 )  AvgTol   =  0.0006545391586  (   0.00160112027 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 3  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 4  ( 4 )   NameLabels = 1  ( 1 )   ColorLabels = 3  ( 3 )   LayerLabels = 3  ( 3 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = WHITE YELLOW  ( WHITE YELLOW )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = 210 211  ( 210 211 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 83 -max_faults 0
+checkxstat D_First -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 3 -withlayer 3 -centroid 0 -volume 0 -area 0 -colors { WHITE YELLOW } -nbcolors 2 -layers { 210 211 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 127 -shape 695
+checkstatshape res_1 -solid 3 -shell 3 -face 127 -freewire 0 -freeedge 0 -sharededge 269
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.03575654023 -avg 0.00160112027]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 83 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 94 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 3 -withlayer 3 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 3 -withlayer 3 -centroid 0 -volume 0 -area 0 -colors { WHITE YELLOW  } -nbcolors 2 -layers { 210 211  } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 3 -face 127 -shape 695 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 3 -face 127 -freewire 0 -freeedge 0 -sharededge 269 -max_solid 3 -max_shell 3 -max_face 127 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.03575654023 -avg 0.0006545391586 -max_tol ${max_tol_res_1}
+
index 6a6f89c93e1895f99bcec3011d308b4b7c50269d..f7fa8ffcefeeed6e377f9a335ef3bfb820e47be8 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename r56ie.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 20  ( 17 )  Summary  = 20  ( 17 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 495  ( 495 )   Summary  = 3087  ( 3087 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 495  ( 495 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1285  ( 1285 )
-TOLERANCE   : MaxTol   = 0.007275739139  ( 0.009837971082 )  AvgTol   =  0.0003747715952  (  0.0006818197071 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 495 -shape 3087
+checkstatshape res_1 -solid 1 -shell 1 -face 495 -freewire 0 -freeedge 0 -sharededge 1285
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009837971082 -avg 0.0006818197071]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 495 -shape 3087 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 495 -freewire 0 -freeedge 0 -sharededge 1285 -max_solid 1 -max_shell 1 -max_face 495 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.007275739139 -avg 0.0003747715952 -max_tol ${max_tol_res_1}
+
index b5d77bfec3341e804540eb64a44614936db2ec31..37801e69c6c311d19e688c0414427ec61a58c948 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename r61pe.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 64  ( 56 )  Summary  = 64  ( 56 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 6  ( 6 )  Shell    = 6  ( 6 )  Face     = 461  ( 461 )   Summary  = 2954  ( 2954 )
-STATSHAPE   : Solid    = 9  ( 9 )  Shell    = 9  ( 9 )  Face     = 593  ( 593 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1214  ( 1214 )
-TOLERANCE   : MaxTol   = 0.003189265597  (  0.01213102778 )  AvgTol   =  8.562945145e-005  (  0.0003980331971 )
-LABELS      : N0Labels = 7  ( 7 )  N1Labels = 9  ( 9 )  N2Labels = 0  ( 0 )   TotalLabels = 16  ( 16 )   NameLabels = 16  ( 16 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 56 -max_faults 0
+checkxstat D_First -n0 7 -n1 9 -n2 0 -total 16 -withname 16 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 6 -shell 6 -face 461 -shape 2954
+checkstatshape res_1 -solid 9 -shell 9 -face 593 -freewire 0 -freeedge 0 -sharededge 1214
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01213102778 -avg 0.0003980331971]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 56 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 64 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 7 -n1 9 -n2 0 -total 16 -withname 16 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 7 -n1 9 -n2 0 -total 16 -withname 16 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 6 -shell 6 -face 461 -shape 2954 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 9 -shell 9 -face 593 -freewire 0 -freeedge 0 -sharededge 1214 -max_solid 9 -max_shell 9 -max_face 593 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003189265597 -avg 8.562945145e-005 -max_tol ${max_tol_res_1}
+
index a2e468f7a47b6f4374fc2963b732ced325005f20..6b9bcbe61922390f9c6206bdf3c7421733d7b3b3 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename r65a-pe.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 10  ( 0 )  Summary  = 10  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 676  ( 676 )   Summary  = 4405  ( 4405 )
-STATSHAPE   : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 676  ( 676 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1789  ( 1789 )
-TOLERANCE   : MaxTol   = 0.0006326851963  (  0.01045225195 )  AvgTol   =  9.75365417e-006  (  0.0002435784351 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 680  ( 680 )  N2Labels = 0  ( 0 )   TotalLabels = 685  ( 685 )   NameLabels = 9  ( 9 )   ColorLabels = 0  ( 0 )   LayerLabels = 676  ( 676 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 4  ( 4 )
-LAYERS      : Layers   = LAGERNIET LEITBLECH_OBEN SCHLAUCHFASSUNG_OBEN SEILROLLE_1  ( LAGERNIET LEITBLECH_OBEN SCHLAUCHFASSUNG_OBEN SEILROLLE_1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 5 -n1 680 -n2 0 -total 685 -withname 9 -withcolor 0 -withlayer 676 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers { "LAGERNIET" "LEITBLECH_OBEN" "SCHLAUCHFASSUNG_OBEN" "SEILROLLE_1" } -nblayers 4
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 4 -shell 4 -face 676 -shape 4405
+checkstatshape res_1 -solid 4 -shell 4 -face 676 -freewire 0 -freeedge 0 -sharededge 1789
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01045225195 -avg 0.0002435784351]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 680 -n2 0 -total 685 -withname 9 -withcolor 0 -withlayer 676 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 4
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 680 -n2 0 -total 685 -withname 9 -withcolor 0 -withlayer 676 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers { "LAGERNIET" "LEITBLECH_OBEN" "SCHLAUCHFASSUNG_OBEN" "SEILROLLE_1" } -nblayers 4
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 4 -shell 4 -face 676 -shape 4405 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 4 -shell 4 -face 676 -freewire 0 -freeedge 0 -sharededge 1789 -max_solid 4 -max_shell 4 -max_face 676 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0006326851963 -avg 9.75365417e-006 -max_tol ${max_tol_res_1}
+
index 217fc6c7e5cf8b66aa4b1a6e78a939db5ebe483c..665d3076193686bc3e6445c3bc5e671d59b600a9 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename r93id.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 38  ( 22 )  Summary  = 38  ( 22 )
-CHECKSHAPE  : Wires    = 1  ( 1 )  Faces    = 1  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 224  ( 224 )   Summary  = 1320  ( 1320 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 224  ( 224 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 538  ( 538 )
-TOLERANCE   : MaxTol   = 0.006032975282  ( 0.006033035609 )  AvgTol   =  0.0005119211885  (  0.0005119217262 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 22 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 224 -shape 1320
+checkstatshape res_1 -solid 1 -shell 1 -face 224 -freewire 0 -freeedge 0 -sharededge 538
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.006033035609 -avg 0.0005119217262]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 22 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 38 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 224 -shape 1320 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 224 -freewire 0 -freeedge 0 -sharededge 538 -max_solid 1 -max_shell 1 -max_face 224 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.006032975282 -avg 0.0005119211885 -max_tol ${max_tol_res_1}
+
index b67df1d64f62e761cb4e3653d46f4f7aed609dc9..d7ab37c2c384a14e78049cb00e09a66843e8a186 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename r_47-sd.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 10  ( 10 )  Shell    = 10  ( 10 )  Face     = 696  ( 696 )   Summary  = 4505  ( 4505 )
-STATSHAPE   : Solid    = 10  ( 10 )  Shell    = 10  ( 10 )  Face     = 696  ( 696 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1819  ( 1819 )
-TOLERANCE   : MaxTol   = 3.748730253e-007  ( 3.749497799e-007 )  AvgTol   =  1.004579305e-007  (  1.004580612e-007 )
-LABELS      : N0Labels = 13  ( 13 )  N1Labels = 14  ( 14 )  N2Labels = 0  ( 0 )   TotalLabels = 27  ( 27 )   NameLabels = 25  ( 25 )   ColorLabels = 12  ( 12 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 8  ( 8 )
-COLORS      : Colors   = BLUEVIOLET CHARTREUSE3 GOLD3 RED RED2 SEAGREEN1 WHITE YELLOW  ( BLUEVIOLET CHARTREUSE3 GOLD3 RED RED2 SEAGREEN1 WHITE YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 13 -n1 14 -n2 0 -total 27 -withname 25 -withcolor 12 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUEVIOLET CHARTREUSE3 GOLD3 RED RED2 SEAGREEN1 WHITE YELLOW } -nbcolors 8 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 10 -shell 10 -face 696 -shape 4505
+checkstatshape res_1 -solid 10 -shell 10 -face 696 -freewire 0 -freeedge 0 -sharededge 1819
+set max_tol_res_1 [checkmaxtol res_1 -tol 3.749497799e-007 -avg 1.004580612e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 13 -n1 14 -n2 0 -total 27 -withname 25 -withcolor 12 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 8 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 13 -n1 14 -n2 0 -total 27 -withname 25 -withcolor 12 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUEVIOLET CHARTREUSE3 GOLD3 RED RED2 SEAGREEN1 WHITE YELLOW  } -nbcolors 8 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 10 -shell 10 -face 696 -shape 4505 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 10 -shell 10 -face 696 -freewire 0 -freeedge 0 -sharededge 1819 -max_solid 10 -max_shell 10 -max_face 696 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 3.748730253e-007 -avg 1.004579305e-007 -max_tol ${max_tol_res_1}
+
index a878ea84ef57dbc9ab908f9eb92e2e9cc278573d..da48eacfd13d7b22c457621be67824e4edd3beae 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename r_64-pe.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 4 )  Summary  = 4  ( 4 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 303  ( 303 )   Summary  = 1953  ( 1953 )
-STATSHAPE   : Solid    = 37  ( 37 )  Shell    = 37  ( 37 )  Face     = 743  ( 743 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 802  ( 802 )
-TOLERANCE   : MaxTol   =  0.07416169578  (  0.08279381612 )  AvgTol   =  0.003679745563  (  0.008393331016 )
-LABELS      : N0Labels = 6  ( 6 )  N1Labels = 16  ( 16 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 22  ( 22 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 6 -n1 16 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 4 -shell 4 -face 303 -shape 1953
+checkstatshape res_1 -solid 37 -shell 37 -face 743 -freewire 0 -freeedge 0 -sharededge 802
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.08279381612 -avg 0.008393331016]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 6 -n1 16 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 6 -n1 16 -n2 0 -total 22 -withname 22 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 4 -shell 4 -face 303 -shape 1953 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 37 -shell 37 -face 743 -freewire 0 -freeedge 0 -sharededge 802 -max_solid 37 -max_shell 37 -max_face 743 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.07416169578 -avg 0.003679745563 -max_tol ${max_tol_res_1}
+
index 147f25f50b8a982783c4e88537f58fcae57425ea..5156238f58f8443440548d2b0320c89767555515 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj5_k1-al-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 23  ( 23 )  Summary  = 23  ( 23 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 39  ( 39 )   Summary  = 325  ( 325 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 39  ( 39 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 141  ( 141 )
-TOLERANCE   : MaxTol   = 0.001016447268  (  0.00101644727 )  AvgTol   =  0.0001468267462  (  0.0001468264159 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GRAY61  ( GRAY61 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 23 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY61 } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 39 -shape 325
+checkstatshape res_1 -solid 1 -shell 1 -face 39 -freewire 0 -freeedge 0 -sharededge 141
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.00101644727 -avg 0.0001468264159]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 23 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 23 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY61  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 39 -shape 325 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 39 -freewire 0 -freeedge 0 -sharededge 141 -max_solid 1 -max_shell 1 -max_face 39 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.001016447268 -avg 0.0001468267462 -max_tol ${max_tol_res_1}
+
index 3f896b5614ef3ca57c51669802607b763a93c0f7..a26e4df24583516ea720f1be1f45dbd62e595bff 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename rp1sd.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 153  ( 153 )   Summary  = 890  ( 890 )
-STATSHAPE   : Solid    = 9  ( 9 )  Shell    = 9  ( 9 )  Face     = 300  ( 300 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 353  ( 353 )
-TOLERANCE   : MaxTol   = 5.891184164e-007  ( 5.884665384e-007 )  AvgTol   =  1.983626303e-007  (  1.982839941e-007 )
-LABELS      : N0Labels = 7  ( 7 )  N1Labels = 7  ( 7 )  N2Labels = 0  ( 0 )   TotalLabels = 14  ( 14 )   NameLabels = 14  ( 14 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 7 -n1 7 -n2 0 -total 14 -withname 14 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 153 -shape 890
+checkstatshape res_1 -solid 9 -shell 9 -face 300 -freewire 0 -freeedge 0 -sharededge 353
+set max_tol_res_1 [checkmaxtol res_1 -tol 5.884665384e-007 -avg 1.982839941e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 7 -n1 7 -n2 0 -total 14 -withname 14 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 7 -n1 7 -n2 0 -total 14 -withname 14 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 153 -shape 890 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 9 -shell 9 -face 300 -freewire 0 -freeedge 0 -sharededge 353 -max_solid 9 -max_shell 9 -max_face 300 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 5.891184164e-007 -avg 1.983626303e-007 -max_tol ${max_tol_res_1}
+
index e811e64fcdf346b200743bde5420ab0246b5f736..ebf9180403790b34e74d2f516d40bd5c52445f8f 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename sd_turbine-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 14  ( 3 )  Summary  = 14  ( 3 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 69  ( 69 )   Summary  = 413  ( 413 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 69  ( 69 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 172  ( 172 )
-TOLERANCE   : MaxTol   = 5.770870575e-007  ( 5.770924319e-007 )  AvgTol   =  2.2913618e-007  (  2.274444606e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 64  ( 64 )  N2Labels = 0  ( 0 )   TotalLabels = 65  ( 65 )   NameLabels = 1  ( 1 )   ColorLabels = 65  ( 65 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = BLUE3 DARKORANGE1 GREEN MEDIUMTURQUOISE RED  ( BLUE3 DARKORANGE1 GREEN MEDIUMTURQUOISE RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 1 -n1 64 -n2 0 -total 65 -withname 1 -withcolor 65 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE3 DARKORANGE1 GREEN MEDIUMTURQUOISE RED } -nbcolors 5 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 69 -shape 413
+checkstatshape res_1 -solid 0 -shell 1 -face 69 -freewire 0 -freeedge 0 -sharededge 172
+set max_tol_res_1 [checkmaxtol res_1 -tol 5.770924319e-007 -avg 2.274444606e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 64 -n2 0 -total 65 -withname 1 -withcolor 65 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 64 -n2 0 -total 65 -withname 1 -withcolor 65 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE3 DARKORANGE1 GREEN MEDIUMTURQUOISE RED  } -nbcolors 5 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 69 -shape 413 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 69 -freewire 0 -freeedge 0 -sharededge 172 -max_solid 0 -max_shell 1 -max_face 69 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 5.770870575e-007 -avg 2.2913618e-007 -max_tol ${max_tol_res_1}
+
index 5e4a3754afef42243614a42d6d2e65de6ac12e53..7b7a0ce3b7b3358e77efc5b68bc98ddf177f64d0 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename t1m.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 2 )  Summary  = 2  ( 2 )
-CHECKSHAPE  : Wires    = 2  ( 3 )  Faces    = 2  ( 3 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 2  ( 2 )  Face     = 63  ( 63 )   Summary  = 406  ( 406 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 2  ( 2 )  Face     = 63  ( 63 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 160  ( 160 )
-TOLERANCE   : MaxTol   =  0.05215797993  (  0.05215797993 )  AvgTol   =  0.001571061394  (  0.001522362925 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 3 -max_faces 3 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 2 -face 63 -shape 406
+checkstatshape res_1 -solid 0 -shell 2 -face 63 -freewire 0 -freeedge 0 -sharededge 160
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.05215797993 -avg 0.001522362925]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 3 -max_faces 3 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 2 -face 63 -shape 406 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 2 -face 63 -freewire 0 -freeedge 0 -sharededge 160 -max_solid 0 -max_shell 2 -max_face 63 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.05215797993 -avg 0.001571061394 -max_tol ${max_tol_res_1}
+
index 2b47785f975c22c62fd35baaacf50e0f6e047bd9..e25e9c650d8a3e4eb61c6a58e5e36f948640f14d 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename t1s.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 2 )  Summary  = 2  ( 2 )
-CHECKSHAPE  : Wires    = 2  ( 3 )  Faces    = 2  ( 3 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 2  ( 2 )  Face     = 63  ( 63 )   Summary  = 406  ( 406 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 2  ( 2 )  Face     = 63  ( 63 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 160  ( 160 )
-TOLERANCE   : MaxTol   =  0.05215797993  (  0.05215797993 )  AvgTol   =  0.001571061394  (  0.001522362925 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 3 -max_faces 3 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 2 -face 63 -shape 406
+checkstatshape res_1 -solid 0 -shell 2 -face 63 -freewire 0 -freeedge 0 -sharededge 160
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.05215797993 -avg 0.001522362925]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 3 -max_faces 3 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 2 -face 63 -shape 406 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 2 -face 63 -freewire 0 -freeedge 0 -sharededge 160 -max_solid 0 -max_shell 2 -max_face 63 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.05215797993 -avg 0.001571061394 -max_tol ${max_tol_res_1}
+
index 1152ef38c6880e4f48356fba565d02e917bc5e13..7ef17206708c5abac2c81dbee86d7709b1b881a5 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename t3m.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 10 )  Warnings = 0  ( 0 )  Summary  = 0  ( 10 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 10  ( 10 )  Summary  = 10  ( 10 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 71  ( 71 )   Summary  = 449  ( 449 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 71  ( 71 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 179  ( 179 )
-TOLERANCE   : MaxTol   = 6.768863095e-06  ( 6.768863095e-06 )  AvgTol   =  3.117603961e-07  (  3.162986721e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 10
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 71 -shape 449
+checkstatshape res_1 -solid 1 -shell 1 -face 71 -freewire 0 -freeedge 0 -sharededge 179
+set max_tol_res_1 [checkmaxtol res_1 -tol 6.768863095e-06 -avg 3.162986721e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 10
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 71 -shape 449 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 71 -freewire 0 -freeedge 0 -sharededge 179 -max_solid 1 -max_shell 1 -max_face 71 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 6.768863095e-06 -avg 3.117603961e-07 -max_tol ${max_tol_res_1}
+
index 2a2b331e06bd2683d8dd899153748b73d6c1d186..9a8e0d38433273188bc9743dabd63f2667453739 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename t4mug.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 5  ( 5 )  Summary  = 5  ( 5 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 2  ( 2 )  Face     = 12  ( 12 )   Summary  = 152  ( 144 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 2  ( 2 )  Face     = 12  ( 12 )   FreeWire = 0  ( 0 )   FreeEdge  = 7 ( 7 )   SharedEdge = 45  ( 45 )
-TOLERANCE   : MaxTol   = 0.008406290248  ( 0.008408732296 )  AvgTol   =  0.001787192472  (  0.001970108735 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 2 -face 12 -shape 144
+checkstatshape res_1 -solid 0 -shell 2 -face 12 -freewire 0 -freeedge 7 -sharededge 45
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.008408732296 -avg 0.001970108735]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 2 -face 12 -shape 152 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 2 -face 12 -freewire 0 -freeedge 7 -sharededge 45 -max_solid 0 -max_shell 2 -max_face 12 -max_freewire 0 -max_freeedge 7
+checkmaxtol res_2 -tol 0.008406290248 -avg 0.001787192472 -max_tol ${max_tol_res_1}
+
index 69952b4979f3afaaec187889744da6a9920011f7..253546c3b74d24808076dbb821ea71326e405732 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_b1-tc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 6 )  Summary  = 0  ( 6 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 339  ( 339 )   Summary  = 1940  ( 1939 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 339  ( 339 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 810  ( 809 )
-TOLERANCE   : MaxTol   =  0.03775850689  (  0.07449683755 )  AvgTol   =  0.009233317918  (   0.01501864352 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 000  ( 000 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { 000 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 339 -shape 1939
+checkstatshape res_1 -solid 1 -shell 1 -face 339 -freewire 0 -freeedge 0 -sharededge 809
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.07449683755 -avg 0.01501864352]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 000  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 339 -shape 1940 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 339 -freewire 0 -freeedge 0 -sharededge 810 -max_solid 1 -max_shell 1 -max_face 339 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.03775850689 -avg 0.009233317918 -max_tol ${max_tol_res_1}
+
index fad4eac6bb8e23f8ca852c3f69c70fd951f33196..78d29c0c5ebbf02d7fcb5c4095a790d659cddcb7 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr10_r0101_sd.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 153  ( 153 )   Summary  = 890  ( 890 )
-STATSHAPE   : Solid    = 9  ( 9 )  Shell    = 9  ( 9 )  Face     = 300  ( 300 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 353  ( 353 )
-TOLERANCE   : MaxTol   = 6.215531674e-007  ( 6.190520296e-007 )  AvgTol   =  2.022786755e-007  (  2.021534652e-007 )
-LABELS      : N0Labels = 7  ( 7 )  N1Labels = 7  ( 7 )  N2Labels = 0  ( 0 )   TotalLabels = 14  ( 14 )   NameLabels = 14  ( 14 )   ColorLabels = 5  ( 5 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = FORESTGREEN LIGHTSTEELBLUE3 MEDIUMPURPLE2 ROYALBLUE TAN2  ( FORESTGREEN LIGHTSTEELBLUE3 MEDIUMPURPLE2 ROYALBLUE TAN2 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 7 -n1 7 -n2 0 -total 14 -withname 14 -withcolor 5 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { FORESTGREEN LIGHTSTEELBLUE3 MEDIUMPURPLE2 ROYALBLUE TAN2 } -nbcolors 5 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 153 -shape 890
+checkstatshape res_1 -solid 9 -shell 9 -face 300 -freewire 0 -freeedge 0 -sharededge 353
+set max_tol_res_1 [checkmaxtol res_1 -tol 6.190520296e-007 -avg 2.021534652e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 7 -n1 7 -n2 0 -total 14 -withname 14 -withcolor 5 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 7 -n1 7 -n2 0 -total 14 -withname 14 -withcolor 5 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { FORESTGREEN LIGHTSTEELBLUE3 MEDIUMPURPLE2 ROYALBLUE TAN2  } -nbcolors 5 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 153 -shape 890 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 9 -shell 9 -face 300 -freewire 0 -freeedge 0 -sharededge 353 -max_solid 9 -max_shell 9 -max_face 300 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 6.215531674e-007 -avg 2.022786755e-007 -max_tol ${max_tol_res_1}
+
index cc18f1564c70a0aba15ecb4a964ae381095de7f6..ff82f21522ce4e73f08397efa94523c8fa647efc 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename trj7_b1-id-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 31  ( 28 )  Summary  = 31  ( 28 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 357  ( 357 )   Summary  = 2004  ( 2003 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 357  ( 357 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 840  ( 839 )
-TOLERANCE   : MaxTol   = 0.007356791914  ( 0.009485808595 )  AvgTol   =  0.0003528568313  (  0.001207996284 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = DARKSLATEGRAY  ( DARKSLATEGRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 29 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DARKSLATEGRAY } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 357 -shape 2003
+checkstatshape res_1 -solid 0 -shell 1 -face 357 -freewire 0 -freeedge 0 -sharededge 839
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009485808595 -avg 0.001207996284]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 29 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 21 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DARKSLATEGRAY  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 357 -shape 2004 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 357 -freewire 0 -freeedge 0 -sharededge 840 -max_solid 0 -max_shell 1 -max_face 357 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.007356791914 -avg 0.0003528568313 -max_tol ${max_tol_res_1}
+
index 9830eb94de704c7af47ae820c4fdf803843fa763..d4452bd9ccbcc641ba78a4b634a62e74ae9d0d20 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj7_b1-ug-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 14 )  Summary  = 1  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 327  ( 327 )   Summary  = 1895  ( 1895 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 327  ( 327 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 787  ( 787 )
-TOLERANCE   : MaxTol   = 0.009955368478  (  0.01960514969 )  AvgTol   =  0.002055715355  (  0.003376235267 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = INDIANRED1  ( INDIANRED1 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 15 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { INDIANRED1 } -nbcolors 1 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 327 -shape 1895
+checkstatshape res_1 -solid 1 -shell 1 -face 327 -freewire 0 -freeedge 0 -sharededge 787
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01960514969 -avg 0.003376235267]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 15 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { INDIANRED1  } -nbcolors 1 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 327 -shape 1895 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 327 -freewire 0 -freeedge 0 -sharededge 787 -max_solid 1 -max_shell 1 -max_face 327 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.009955368478 -avg 0.002055715355 -max_tol ${max_tol_res_1}
+
index 47b4d1dab46e36cb0f92113293f319fe267c7c86..45b54c7d92debc9dab7ac96e30cb7e22d97bb096 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename tr9_r0801-sd.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 7  ( 0 )  Summary  = 7  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 165  ( 165 )   Summary  = 1320  ( 1320 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 165  ( 165 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 528  ( 528 )
-TOLERANCE   : MaxTol   = 6.887498394e-007  ( 6.887503258e-007 )  AvgTol   =  1.348970841e-007  (  1.348970739e-007 )
-LABELS      : N0Labels = 4  ( 4 )  N1Labels = 28  ( 28 )  N2Labels = 0  ( 0 )   TotalLabels = 32  ( 32 )   NameLabels = 7  ( 7 )   ColorLabels = 28  ( 28 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = BLACK RED3 ROYALBLUE2 STEELBLUE1  ( BLACK RED3 ROYALBLUE2 STEELBLUE1 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 4 -n1 28 -n2 0 -total 32 -withname 7 -withcolor 28 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLACK RED3 ROYALBLUE2 STEELBLUE1 } -nbcolors 4 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 165 -shape 1320
+checkstatshape res_1 -solid 3 -shell 3 -face 165 -freewire 0 -freeedge 0 -sharededge 528
+set max_tol_res_1 [checkmaxtol res_1 -tol 6.887503258e-007 -avg 1.348970739e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4 -n1 28 -n2 0 -total 32 -withname 7 -withcolor 28 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 28 -n2 0 -total 32 -withname 7 -withcolor 28 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLACK RED3 ROYALBLUE2 STEELBLUE1  } -nbcolors 4 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 3 -face 165 -shape 1320 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 3 -face 165 -freewire 0 -freeedge 0 -sharededge 528 -max_solid 3 -max_shell 3 -max_face 165 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 6.887498394e-007 -avg 1.348970841e-007 -max_tol ${max_tol_res_1}
+
index a8c5997310f062333d395e958ff2b5fef7e1d2ef..a3036fa75cf1ea14a58489c20a86b56f7d9ee057 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename trcol1.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 5  ( 2 )  Summary  = 5  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 138  ( 138 )   Summary  = 842  ( 842 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 138  ( 138 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 351  ( 351 )
-TOLERANCE   : MaxTol   =   0.1179467933  (   0.1462670652 )  AvgTol   =   0.02636175802  (   0.03478480279 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 138 -shape 842
+checkstatshape res_1 -solid 0 -shell 1 -face 138 -freewire 0 -freeedge 0 -sharededge 351
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1462670652 -avg 0.03478480279]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 138 -shape 842 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 138 -freewire 0 -freeedge 0 -sharededge 351 -max_solid 0 -max_shell 1 -max_face 138 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.1179467933 -avg 0.02636175802 -max_tol ${max_tol_res_1}
+
index d1f28559ebd98e0f2536e5a466766bdbc5e267fd..94e43dfcd9441fd11562b8b0f37d95cc40ee82f7 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj10_b2-ac-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 12  ( 17 )  Summary  = 12  ( 17 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 317  ( 317 )   Summary  = 2047  ( 2047 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 317  ( 317 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 857  ( 857 )
-TOLERANCE   : MaxTol   =   0.1005256507  (   0.1005256507 )  AvgTol   =  0.0006882150087  (  0.000688621996 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 1  ( 1 )  N2Labels = 0  ( 0 )   TotalLabels = 3  ( 3 )   NameLabels = 3  ( 3 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GRAY73  ( GRAY73 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 17 -max_faults 0
+checkxstat D_First -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { GRAY73 } -nbcolors 1 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 2 -face 317 -shape 2047
+checkstatshape res_1 -solid 1 -shell 2 -face 317 -freewire 0 -freeedge 0 -sharededge 857
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1005256507 -avg 0.000688621996]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 17 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { GRAY73  } -nbcolors 1 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 2 -face 317 -shape 2047 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 2 -face 317 -freewire 0 -freeedge 0 -sharededge 857 -max_solid 1 -max_shell 2 -max_face 317 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.1005256507 -avg 0.0006882150087 -max_tol ${max_tol_res_1}
+
index f04403c68ddae33a1b89ea3a4dc919db3dae194f..81952eab6ccf3365a1899eae26113d29a3288205 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename trj10_b2-oc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 15  ( 5 )  Summary  = 15  ( 5 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 251  ( 251 )   Summary  = 1623  ( 1623 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 251  ( 251 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 674  ( 674 )
-TOLERANCE   : MaxTol   = 0.002562040373  ( 0.005004494964 )  AvgTol   =  2.347361582e-005  (  7.134464059e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 251 -shape 1623
+checkstatshape res_1 -solid 1 -shell 1 -face 251 -freewire 0 -freeedge 0 -sharededge 674
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.005004494964 -avg 7.134464059e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 251 -shape 1623 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 251 -freewire 0 -freeedge 0 -sharededge 674 -max_solid 1 -max_shell 1 -max_face 251 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.002562040373 -avg 2.347361582e-005 -max_tol ${max_tol_res_1}
+
index c77799440f899928190fd5f5c5364e1e118229a1..e9b03994f7f7dc662cb7863eaac29915e994e15a 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj7_pm5-in-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 51  ( 65 )  Summary  = 51  ( 65 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 474  ( 474 )   Summary  = 2872  ( 2872 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 474  ( 474 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1180  ( 1180 )
-TOLERANCE   : MaxTol   =   0.0607818994  (  0.06078250721 )  AvgTol   =   0.00290702214  (  0.002948262692 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GRAY66  ( GRAY66 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 65 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY66 } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 474 -shape 2872
+checkstatshape res_1 -solid 1 -shell 1 -face 474 -freewire 0 -freeedge 0 -sharededge 1180
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.06078250721 -avg 0.002948262692]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 65 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 51 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY66  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 474 -shape 2872 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 474 -freewire 0 -freeedge 0 -sharededge 1180 -max_solid 1 -max_shell 1 -max_face 474 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0607818994 -avg 0.00290702214 -max_tol ${max_tol_res_1}
+
index bd2896d20424922bbc5d32278d4fa070a4571a5a..714ae5340d06452cc267ef88090cf8b93a7371d2 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj10_pm8-in-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 202  ( 209 )  Summary  = 202  ( 209 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 13  ( 13 )  Shell    = 13  ( 13 )  Face     = 627  ( 627 )   Summary  = 4255  ( 4255 )
-STATSHAPE   : Solid    = 14  ( 14 )  Shell    = 14  ( 14 )  Face     = 634  ( 634 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1716  ( 1716 )
-TOLERANCE   : MaxTol   = 0.004860951184  ( 0.004860999793 )  AvgTol   =  0.0002373535886  (  0.0002374673823 )
-LABELS      : N0Labels = 16  ( 16 )  N1Labels = 16  ( 16 )  N2Labels = 0  ( 0 )   TotalLabels = 32  ( 32 )   NameLabels = 32  ( 32 )   ColorLabels = 13  ( 13 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 8  ( 8 )
-COLORS      : Colors   = DARKSEAGREEN4 GOLDENROD3 GRAY66 LIGHTGOLDENROD4 LIGHTSLATEGRAY LIGHTSTEELBLUE4 SIENNA3 YELLOW3  ( DARKSEAGREEN4 GOLDENROD3 GRAY66 LIGHTGOLDENROD4 LIGHTSLATEGRAY LIGHTSTEELBLUE4 SIENNA3 YELLOW3 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 209 -max_faults 0
+checkxstat D_First -n0 16 -n1 16 -n2 0 -total 32 -withname 32 -withcolor 13 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DARKSEAGREEN4 GOLDENROD3 GRAY66 LIGHTGOLDENROD4 LIGHTSLATEGRAY LIGHTSTEELBLUE4 SIENNA3 YELLOW3 } -nbcolors 8 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 13 -shell 13 -face 627 -shape 4255
+checkstatshape res_1 -solid 14 -shell 14 -face 634 -freewire 0 -freeedge 0 -sharededge 1716
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.004860999793 -avg 0.0002374673823]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 209 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 202 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 16 -n1 16 -n2 0 -total 32 -withname 32 -withcolor 13 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 8 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 16 -n1 16 -n2 0 -total 32 -withname 32 -withcolor 13 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DARKSEAGREEN4 GOLDENROD3 GRAY66 LIGHTGOLDENROD4 LIGHTSLATEGRAY LIGHTSTEELBLUE4 SIENNA3 YELLOW3  } -nbcolors 8 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 13 -shell 13 -face 627 -shape 4255 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 14 -shell 14 -face 634 -freewire 0 -freeedge 0 -sharededge 1716 -max_solid 14 -max_shell 14 -max_face 634 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.004860951184 -avg 0.0002373535886 -max_tol ${max_tol_res_1}
+
index c3a1425f4b1f33db452729777ef02efd1aef5186..8474d62617c066db72ad7ca8864254755c019208 100755 (executable)
@@ -1,23 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename trj12_ttmouse-pe-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 40  ( 18 )  Summary  = 40  ( 18 )
-CHECKSHAPE  : Wires    = 64  ( 48 )  Faces    = 64  ( 48 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 15  ( 16 )  Shell    = 17  ( 17 )  Face     = 367  ( 366 )   Summary  = 2506  ( 2495 )
-STATSHAPE   : Solid    = 71  ( 79 )  Shell    = 87  ( 87 )  Face     = 2740  ( 2732 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1064  ( 1057 )
-TOLERANCE   : MaxTol   =    4.483126782  (    5.153790881 )  AvgTol   =   0.05936982281  (   0.06645133562 )
-LABELS      : N0Labels = 10  ( 10 )  N1Labels = 32  ( 32 )  N2Labels = 0  ( 0 )   TotalLabels = 42  ( 42 )   NameLabels = 22  ( 22 )   ColorLabels = 22  ( 22 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 6  ( 6 )
-COLORS      : Colors   = DEEPSKYBLUE1 GREEN MAGENTA1 RED SIENNA YELLOW2  ( DEEPSKYBLUE1 GREEN MAGENTA1 RED SIENNA YELLOW2 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 18 -max_faults 0
+checkxstat D_First -n0 10 -n1 32 -n2 0 -total 42 -withname 22 -withcolor 22 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE1 GREEN MAGENTA1 RED SIENNA YELLOW2 } -nbcolors 6 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 48 -max_faces 48 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 16 -shell 17 -face 366 -shape 2495
+checkstatshape res_1 -solid 79 -shell 87 -face 2732 -freewire 0 -freeedge 0 -sharededge 1057
+set max_tol_res_1 [checkmaxtol res_1 -tol 5.153790881 -avg 0.06645133562]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 18 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 40 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 10 -n1 32 -n2 0 -total 42 -withname 22 -withcolor 22 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 6 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 10 -n1 32 -n2 0 -total 42 -withname 22 -withcolor 22 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE1 GREEN MAGENTA1 RED SIENNA YELLOW2  } -nbcolors 6 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 48 -max_faces 48 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 64 -max_faces 64 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 15 -shell 17 -face 367 -shape 2506 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 71 -shell 87 -face 2740 -freewire 0 -freeedge 0 -sharededge 1064 -max_solid 79 -max_shell 87 -max_face 2732 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 4.483126782 -avg 0.05936982281 -max_tol ${max_tol_res_1}
+
index 2a90a47c8f51d64dfc7728ed4df58d634cc5e0c8..c16b2ff5e7ab80080a0383fec23366a387cefef6 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj9_b2-pe-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 3  ( 9 )  Summary  = 3  ( 9 )
-CHECKSHAPE  : Wires    = 1  ( 1 )  Faces    = 1  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 252  ( 252 )   Summary  = 1622  ( 1622 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 252  ( 252 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 673  ( 673 )
-TOLERANCE   : MaxTol   = 0.005365460363  ( 0.007833404346 )  AvgTol   =  9.982982836e-005  (  0.0001410844712 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { WHITE } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 252 -shape 1622
+checkstatshape res_1 -solid 1 -shell 1 -face 252 -freewire 0 -freeedge 0 -sharededge 673
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.007833404346 -avg 0.0001410844712]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { WHITE  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 252 -shape 1622 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 252 -freewire 0 -freeedge 0 -sharededge 673 -max_solid 1 -max_shell 1 -max_face 252 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.005365460363 -avg 9.982982836e-005 -max_tol ${max_tol_res_1}
+
index aa0069326abb16bfaa02c4ea935a6e635dde730d..d5cabf7fe15b88ff3867fc28d111eb25c1f008d9 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj3_pm1-al-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 61  ( 61 )   Summary  = 830  ( 830 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 61  ( 61 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 384  ( 384 )
-TOLERANCE   : MaxTol   =  0.05329654166  (  0.05427178221 )  AvgTol   =  0.005154426307  (  0.005256226004 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GRAY61  ( GRAY61 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = L  ( L )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { GRAY61 } -nbcolors 1 -layers { L } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 61 -shape 830
+checkstatshape res_1 -solid 0 -shell 1 -face 61 -freewire 0 -freeedge 0 -sharededge 384
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.05427178221 -avg 0.005256226004]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { GRAY61  } -nbcolors 1 -layers { L  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 61 -shape 830 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 61 -freewire 0 -freeedge 0 -sharededge 384 -max_solid 0 -max_shell 1 -max_face 61 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.05329654166 -avg 0.005154426307 -max_tol ${max_tol_res_1}
+
index 62bebcc41d90afaa991f5f89851aeebaee0a3866..f320d45d36ae6af5be117882b3badff837b1e20c 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename ug_soapbox-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 25  ( 5 )  Summary  = 25  ( 5 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 94  ( 94 )   Summary  = 570  ( 570 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 94  ( 94 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 232  ( 232 )
-TOLERANCE   : MaxTol   =  0.00325269835  (  0.03359335896 )  AvgTol   =  0.0004152472389  (   0.00304307701 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MAGENTA1  ( MAGENTA1 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1 } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 94 -shape 570
+checkstatshape res_1 -solid 1 -shell 1 -face 94 -freewire 0 -freeedge 0 -sharededge 232
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.03359335896 -avg 0.00304307701]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 94 -shape 570 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 94 -freewire 0 -freeedge 0 -sharededge 232 -max_solid 1 -max_shell 1 -max_face 94 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.00325269835 -avg 0.0004152472389 -max_tol ${max_tol_res_1}
+
index 6053a1daf4610fda1137e0b589f280536134e20a..5f2a357c39f6ea0332b1ad0de5ba3ce18dae5e37 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename trj4_k1_top-ec-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 12  ( 0 )  Summary  = 12  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 47  ( 47 )  Face     = 47  ( 47 )   Summary  = 614  ( 614 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 47  ( 47 )  Face     = 47  ( 47 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 240  ( 240 )
-TOLERANCE   : MaxTol   = 8.726098798e-006  ( 0.0001275978398 )  AvgTol   =  6.028713181e-007  (  4.763195785e-006 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 47 -face 47 -shape 614
+checkstatshape res_1 -solid 0 -shell 47 -face 47 -freewire 0 -freeedge 0 -sharededge 240
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0001275978398 -avg 4.763195785e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 47 -face 47 -shape 614 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 47 -face 47 -freewire 0 -freeedge 0 -sharededge 240 -max_solid 0 -max_shell 47 -max_face 47 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 8.726098798e-006 -avg 6.028713181e-007 -max_tol ${max_tol_res_1}
+
index fb7fdfd22cecb8a50fa4a710cd3373a915139d7b..f5f9a8d0819989701ab224f6c2ba148862c2763a 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename trj4_pm2-ct-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 139  ( 48 )  Summary  = 139  ( 48 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 762  ( 762 )   Summary  = 5219  ( 5151 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 762  ( 762 )   FreeWire = 0  ( 0 )   FreeEdge  = 68 ( 68 )   SharedEdge = 2111  ( 2111 )
-TOLERANCE   : MaxTol   =  0.06547014744  (  0.09657601968 )  AvgTol   =  0.001090769259  (  0.006430218535 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 48 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 762 -shape 5151
+checkstatshape res_1 -solid 1 -shell 1 -face 762 -freewire 0 -freeedge 68 -sharededge 2111
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.09657601968 -avg 0.006430218535]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 48 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 96 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 762 -shape 5219 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 762 -freewire 0 -freeedge 68 -sharededge 2111 -max_solid 1 -max_shell 1 -max_face 762 -max_freewire 0 -max_freeedge 68
+checkmaxtol res_2 -tol 0.06547014744 -avg 0.001090769259 -max_tol ${max_tol_res_1}
+
index bdc6d478991831c090d0a6535e7629871f5d8163..bf3c3610fc721c081d36de55fb6887bbb50b6bb9 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename trj4_pm2-ct2-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 76  ( 58 )  Summary  = 76  ( 58 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 572  ( 572 )   Summary  = 3459  ( 3435 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 572  ( 572 )   FreeWire = 0  ( 0 )   FreeEdge  = 24 ( 24 )   SharedEdge = 1412  ( 1412 )
-TOLERANCE   : MaxTol   =  0.07987447694  (  0.09279010735 )  AvgTol   =  0.001529989628  (  0.002688497303 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 58 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 572 -shape 3435
+checkstatshape res_1 -solid 1 -shell 1 -face 572 -freewire 0 -freeedge 24 -sharededge 1412
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.09279010735 -avg 0.002688497303]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 58 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 47 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 572 -shape 3459 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 572 -freewire 0 -freeedge 24 -sharededge 1412 -max_solid 1 -max_shell 1 -max_face 572 -max_freewire 0 -max_freeedge 24
+checkmaxtol res_2 -tol 0.07987447694 -avg 0.001529989628 -max_tol ${max_tol_res_1}
+
index 844487700e21729624f45050eef784af220bbacd..dc8097b64993c0c163b7dafc4498f0431761d08a 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_b1-ct-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 12 )  Summary  = 2  ( 12 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 403  ( 403 )   Summary  = 2339  ( 2339 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 403  ( 403 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 985  ( 985 )
-TOLERANCE   : MaxTol   = 0.006948456659  ( 0.006948526143 )  AvgTol   =  0.001375104635  (  0.001375103635 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 403 -shape 2339
+checkstatshape res_1 -solid 1 -shell 1 -face 403 -freewire 0 -freeedge 0 -sharededge 985
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.006948526143 -avg 0.001375103635]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 403 -shape 2339 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 403 -freewire 0 -freeedge 0 -sharededge 985 -max_solid 1 -max_shell 1 -max_face 403 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.006948456659 -avg 0.001375104635 -max_tol ${max_tol_res_1}
+
index 4efcc36fdc3ae9b4c578508716be2f8aba5679a5..95af6bc52575bd1d7b55b63d677b390b3cb7b6b4 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 
-set LinuxFaulties {TOLERANCE}
 set filename trj6_b1-ec-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 5  ( 11 )  Summary  = 5  ( 11 )
-CHECKSHAPE  : Wires    = 4  ( 4 )  Faces    = 4  ( 4 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 292  ( 292 )   Summary  = 1707  ( 1707 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 292  ( 292 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 718  ( 718 )
-TOLERANCE   : MaxTol   =   0.1252883206  (   0.1252874378 )  AvgTol   =  0.003079961606  (   0.01117254297 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 19  ( 19 )  N2Labels = 0  ( 0 )   TotalLabels = 20  ( 20 )   NameLabels = 1  ( 1 )   ColorLabels = 20  ( 20 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE4 MATRAGRAY  ( BLUE4 MATRAGRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+checkxstat D_First -n0 1 -n1 19 -n2 0 -total 20 -withname 1 -withcolor 20 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { BLUE4 MATRAGRAY } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 4 -max_faces 4 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 292 -shape 1707
+checkstatshape res_1 -solid 1 -shell 1 -face 292 -freewire 0 -freeedge 0 -sharededge 718
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1252874378 -avg 0.01117254297]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 19 -n2 0 -total 20 -withname 1 -withcolor 20 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 19 -n2 0 -total 20 -withname 1 -withcolor 20 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { BLUE4 MATRAGRAY  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 4 -max_faces 4 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 4 -max_faces 4 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 292 -shape 1707 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 292 -freewire 0 -freeedge 0 -sharededge 718 -max_solid 1 -max_shell 1 -max_face 292 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.1252883206 -avg 0.003079961606 -max_tol ${max_tol_res_1}
+
index 7cab7c8f0e7b32594245da39cdb657e8436d5f29..4f87ad55c43d6caf7ad437fda8da0ce05aa1360e 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 
-set LinuxDiff 2
 set filename trj6_b1-id-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 31  ( 28 )  Summary  = 31  ( 28 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 357  ( 357 )   Summary  = 2005  ( 2004 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 357  ( 357 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 840  ( 839 )
-TOLERANCE   : MaxTol   = 0.007356791914  ( 0.009485808595 )  AvgTol   =  0.0003528126958  (  0.001207999522 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 29 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 357 -shape 2004
+checkstatshape res_1 -solid 1 -shell 1 -face 357 -freewire 0 -freeedge 0 -sharededge 839
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009485808595 -avg 0.001207999522]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 29 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 21 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 357 -shape 2005 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 357 -freewire 0 -freeedge 0 -sharededge 840 -max_solid 1 -max_shell 1 -max_face 357 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.007356791914 -avg 0.0003528126958 -max_tol ${max_tol_res_1}
+
index 63b2e14b39ee967a9f633658714d54d6127f7714..867b2886707cd969c9f940959fadba633d2e411a 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_b1-pe-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 12 )  Summary  = 2  ( 12 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 371  ( 371 )   Summary  = 2101  ( 2101 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 371  ( 371 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 865  ( 865 )
-TOLERANCE   : MaxTol   = 0.003827431453  ( 0.009890984488 )  AvgTol   =  0.0005233077558  (  0.001598027633 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 28  ( 28 )  N2Labels = 0  ( 0 )   TotalLabels = 29  ( 29 )   NameLabels = 1  ( 1 )   ColorLabels = 28  ( 28 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = LIGHTSLATEGRAY  ( LIGHTSLATEGRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+checkxstat D_First -n0 1 -n1 28 -n2 0 -total 29 -withname 1 -withcolor 28 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { LIGHTSLATEGRAY } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 371 -shape 2101
+checkstatshape res_1 -solid 1 -shell 1 -face 371 -freewire 0 -freeedge 0 -sharededge 865
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009890984488 -avg 0.001598027633]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 28 -n2 0 -total 29 -withname 1 -withcolor 28 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 28 -n2 0 -total 29 -withname 1 -withcolor 28 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { LIGHTSLATEGRAY  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 371 -shape 2101 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 371 -freewire 0 -freeedge 0 -sharededge 865 -max_solid 1 -max_shell 1 -max_face 371 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003827431453 -avg 0.0005233077558 -max_tol ${max_tol_res_1}
+
index d7bf11d3c70ceff72757c979e1850a109093160b..330b1495bed9551d959ee4242ddfeb175331478a 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_b1-pe-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 12 )  Summary  = 2  ( 12 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 371  ( 371 )   Summary  = 2101  ( 2101 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 371  ( 371 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 865  ( 865 )
-TOLERANCE   : MaxTol   = 0.003827431453  ( 0.009890984488 )  AvgTol   =  0.0005233077558  (  0.001598027633 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 28  ( 28 )  N2Labels = 0  ( 0 )   TotalLabels = 29  ( 29 )   NameLabels = 1  ( 1 )   ColorLabels = 28  ( 28 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = LIGHTSLATEGRAY  ( LIGHTSLATEGRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+checkxstat D_First -n0 1 -n1 28 -n2 0 -total 29 -withname 1 -withcolor 28 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { LIGHTSLATEGRAY } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 371 -shape 2101
+checkstatshape res_1 -solid 1 -shell 1 -face 371 -freewire 0 -freeedge 0 -sharededge 865
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009890984488 -avg 0.001598027633]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 28 -n2 0 -total 29 -withname 1 -withcolor 28 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 28 -n2 0 -total 29 -withname 1 -withcolor 28 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { LIGHTSLATEGRAY  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 371 -shape 2101 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 371 -freewire 0 -freeedge 0 -sharededge 865 -max_solid 1 -max_shell 1 -max_face 371 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003827431453 -avg 0.0005233077558 -max_tol ${max_tol_res_1}
+
index c2a44d1ca9a0998dc9d8a4dddfadd1e431d60017..df6c8c981b1e10ae593ff3aab5a43a08a01f65e2 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_k1-al-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 23  ( 23 )  Summary  = 23  ( 23 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 39  ( 39 )   Summary  = 325  ( 325 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 39  ( 39 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 141  ( 141 )
-TOLERANCE   : MaxTol   = 0.000908804869  ( 0.0009088048691 )  AvgTol   =   0.00015383891  (  0.0001538386704 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GRAY61  ( GRAY61 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 23 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY61 } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 39 -shape 325
+checkstatshape res_1 -solid 1 -shell 1 -face 39 -freewire 0 -freeedge 0 -sharededge 141
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0009088048691 -avg 0.0001538386704]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 23 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 23 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY61  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 39 -shape 325 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 39 -freewire 0 -freeedge 0 -sharededge 141 -max_solid 1 -max_shell 1 -max_face 39 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.000908804869 -avg 0.00015383891 -max_tol ${max_tol_res_1}
+
index c947c98bd79a220d56090fb34899af0ac80652a6..cb8a074a31a007c4322cc7cd4fdb54948e3dde67 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_k1-ec-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 45  ( 45 )   Summary  = 291  ( 291 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 45  ( 45 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 117  ( 117 )
-TOLERANCE   : MaxTol   = 1.140748349e-007  ( 1.14074835e-007 )  AvgTol   =  1.003433159e-007  (  1.003433159e-007 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 1  ( 1 )  N2Labels = 0  ( 0 )   TotalLabels = 3  ( 3 )   NameLabels = 3  ( 3 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 45 -shape 291
+checkstatshape res_1 -solid 1 -shell 1 -face 45 -freewire 0 -freeedge 0 -sharededge 117
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.14074835e-007 -avg 1.003433159e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 45 -shape 291 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 45 -freewire 0 -freeedge 0 -sharededge 117 -max_solid 1 -max_shell 1 -max_face 45 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.140748349e-007 -avg 1.003433159e-007 -max_tol ${max_tol_res_1}
+
index d8e9edfb261cf0e187e25e37ba80fa2dd370b709..39329f7df052d66c1186143cc6a33ad4527f0263 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename trj6_k1-td-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 1 )  Summary  = 2  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 59  ( 59 )  Face     = 59  ( 59 )   Summary  = 787  ( 787 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 59  ( 59 )  Face     = 59  ( 59 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 304  ( 304 )
-TOLERANCE   : MaxTol   = 3.463377008e-005  ( 3.463377008e-005 )  AvgTol   =  7.683204691e-007  (  7.683204703e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 59  ( 59 )  N2Labels = 0  ( 0 )   TotalLabels = 60  ( 60 )   NameLabels = 1  ( 1 )   ColorLabels = 59  ( 59 )   LayerLabels = 59  ( 59 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = YELLOW3 YELLOW3 YELLOW4  ( YELLOW3 YELLOW3 YELLOW4 )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = 001 002 003  ( 001 002 003 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 59 -n2 0 -total 60 -withname 1 -withcolor 59 -withlayer 59 -centroid 0 -volume 0 -area 0 -colors { YELLOW3 YELLOW3 YELLOW4 } -nbcolors 3 -layers { 001 002 003 } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 59 -face 59 -shape 787
+checkstatshape res_1 -solid 0 -shell 59 -face 59 -freewire 0 -freeedge 0 -sharededge 304
+set max_tol_res_1 [checkmaxtol res_1 -tol 3.463377008e-005 -avg 7.683204703e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 59 -n2 0 -total 60 -withname 1 -withcolor 59 -withlayer 59 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 59 -n2 0 -total 60 -withname 1 -withcolor 59 -withlayer 59 -centroid 0 -volume 0 -area 0 -colors { YELLOW3 YELLOW3 YELLOW4  } -nbcolors 3 -layers { 001 002 003  } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 59 -face 59 -shape 787 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 59 -face 59 -freewire 0 -freeedge 0 -sharededge 304 -max_solid 0 -max_shell 59 -max_face 59 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 3.463377008e-005 -avg 7.683204691e-007 -max_tol ${max_tol_res_1}
+
index 85c2eab2fbb4160eefae30272204da85c5eb598b..b338e7b6b4d77ea256247f37556c3aabae52e83d 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_pm4-in-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 135  ( 135 )  Summary  = 135  ( 135 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 17  ( 17 )  Shell    = 17  ( 17 )  Face     = 609  ( 609 )   Summary  = 3807  ( 3807 )
-STATSHAPE   : Solid    = 27  ( 27 )  Shell    = 27  ( 27 )  Face     = 738  ( 738 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1527  ( 1527 )
-TOLERANCE   : MaxTol   = 0.003481079391  ( 0.003481079389 )  AvgTol   =  0.0001334080552  (  0.0001334936167 )
-LABELS      : N0Labels = 19  ( 19 )  N1Labels = 28  ( 28 )  N2Labels = 0  ( 0 )   TotalLabels = 47  ( 47 )   NameLabels = 47  ( 47 )   ColorLabels = 17  ( 17 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 12  ( 12 )
-COLORS      : Colors   = BLACK BLUE3 GRAY51 GRAY66 LIGHTGOLDENROD4 LIGHTSLATEGRAY LIGHTSTEELBLUE4 SANDYBROWN SIENNA SIENNA3 SPRINGGREEN3 YELLOW3  ( BLACK BLUE3 GRAY51 GRAY66 LIGHTGOLDENROD4 LIGHTSLATEGRAY LIGHTSTEELBLUE4 SANDYBROWN SIENNA SIENNA3 SPRINGGREEN3 YELLOW3 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 135 -max_faults 0
+checkxstat D_First -n0 19 -n1 28 -n2 0 -total 47 -withname 47 -withcolor 17 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLACK BLUE3 GRAY51 GRAY66 LIGHTGOLDENROD4 LIGHTSLATEGRAY LIGHTSTEELBLUE4 SANDYBROWN SIENNA SIENNA3 SPRINGGREEN3 YELLOW3 } -nbcolors 12 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 17 -shell 17 -face 609 -shape 3807
+checkstatshape res_1 -solid 27 -shell 27 -face 738 -freewire 0 -freeedge 0 -sharededge 1527
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.003481079389 -avg 0.0001334936167]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 135 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 135 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 19 -n1 28 -n2 0 -total 47 -withname 47 -withcolor 17 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 12 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 19 -n1 28 -n2 0 -total 47 -withname 47 -withcolor 17 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLACK BLUE3 GRAY51 GRAY66 LIGHTGOLDENROD4 LIGHTSLATEGRAY LIGHTSTEELBLUE4 SANDYBROWN SIENNA SIENNA3 SPRINGGREEN3 YELLOW3  } -nbcolors 12 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 17 -shell 17 -face 609 -shape 3807 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 27 -shell 27 -face 738 -freewire 0 -freeedge 0 -sharededge 1527 -max_solid 27 -max_shell 27 -max_face 738 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003481079391 -avg 0.0001334080552 -max_tol ${max_tol_res_1}
+
index c7daddeb01c51fc9b282788263f0699d8018e0a5..6adcec961661d2388abd221dfb921d9e40363e39 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj7_b1-ct-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 13 )  Summary  = 2  ( 13 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 403  ( 403 )   Summary  = 2339  ( 2339 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 403  ( 403 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 985  ( 985 )
-TOLERANCE   : MaxTol   =  0.00694845675  ( 0.006948526234 )  AvgTol   =  0.001372890784  (  0.001372901267 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 30  ( 30 )  N2Labels = 0  ( 0 )   TotalLabels = 31  ( 31 )   NameLabels = 1  ( 1 )   ColorLabels = 31  ( 31 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = CYAN1 LIGHTSTEELBLUE1  ( CYAN1 LIGHTSTEELBLUE1 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+checkxstat D_First -n0 1 -n1 30 -n2 0 -total 31 -withname 1 -withcolor 31 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { CYAN1 LIGHTSTEELBLUE1 } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 403 -shape 2339
+checkstatshape res_1 -solid 1 -shell 1 -face 403 -freewire 0 -freeedge 0 -sharededge 985
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.006948526234 -avg 0.001372901267]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 30 -n2 0 -total 31 -withname 1 -withcolor 31 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 30 -n2 0 -total 31 -withname 1 -withcolor 31 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { CYAN1 LIGHTSTEELBLUE1  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 403 -shape 2339 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 403 -freewire 0 -freeedge 0 -sharededge 985 -max_solid 1 -max_shell 1 -max_face 403 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.00694845675 -avg 0.001372890784 -max_tol ${max_tol_res_1}
+
index 66a19677ea2cae23aa68d55fba8ffef04ed1dd25..465133f82dfad4bb62c205009077c78b58617ab0 100755 (executable)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 
-
 set filename trj7_b1-ec-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 2 )  Warnings = 4  ( 29 )  Summary  = 4  ( 31 )
-CHECKSHAPE  : Wires    = 1  ( 2 )  Faces    = 1  ( 2 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 416  ( 415 )   Summary  = 2778  ( 2760 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 416  ( 415 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1194  ( 1178 )
-TOLERANCE   : MaxTol   =    133200.3972  (   0.9492387908 )  AvgTol   =     320.1207295  (    0.0392895506 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 28  ( 28 )  N2Labels = 0  ( 0 )   TotalLabels = 29  ( 29 )   NameLabels = 1  ( 1 )   ColorLabels = 29  ( 29 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE4 MATRAGRAY  ( BLUE4 MATRAGRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 30 -max_faults 2
+checkxstat D_First -n0 1 -n1 28 -n2 0 -total 29 -withname 1 -withcolor 29 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { BLUE4 MATRAGRAY } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 415 -shape 2760
+checkstatshape res_1 -solid 1 -shell 1 -face 415 -freewire 0 -freeedge 0 -sharededge 1178
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9492387908 -avg 0.0392895506]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 30 -max_faults 2
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 28 -n2 0 -total 29 -withname 1 -withcolor 29 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 28 -n2 0 -total 29 -withname 1 -withcolor 29 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { BLUE4 MATRAGRAY  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 416 -shape 2778 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 416 -freewire 0 -freeedge 0 -sharededge 1194 -max_solid 1 -max_shell 1 -max_face 415 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 133200.3972 -avg 320.1207295 -max_tol ${max_tol_res_1}
+
index df86a4eb33c5346cd2436fe8dfd597d83e8162d2..85516b7b1e53c8b9fbbc2686915dace1cc073aaf 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj7_b1-pe-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 12 )  Summary  = 2  ( 12 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 371  ( 371 )   Summary  = 2101  ( 2101 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 371  ( 371 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 865  ( 865 )
-TOLERANCE   : MaxTol   = 0.003827431453  ( 0.009890984488 )  AvgTol   =  0.000523307756  (  0.001598027633 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 28  ( 28 )  N2Labels = 0  ( 0 )   TotalLabels = 29  ( 29 )   NameLabels = 1  ( 1 )   ColorLabels = 28  ( 28 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = LIGHTSLATEGRAY  ( LIGHTSLATEGRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+checkxstat D_First -n0 1 -n1 28 -n2 0 -total 29 -withname 1 -withcolor 28 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { LIGHTSLATEGRAY } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 371 -shape 2101
+checkstatshape res_1 -solid 1 -shell 1 -face 371 -freewire 0 -freeedge 0 -sharededge 865
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009890984488 -avg 0.001598027633]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 28 -n2 0 -total 29 -withname 1 -withcolor 28 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 28 -n2 0 -total 29 -withname 1 -withcolor 28 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { LIGHTSLATEGRAY  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 371 -shape 2101 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 371 -freewire 0 -freeedge 0 -sharededge 865 -max_solid 1 -max_shell 1 -max_face 371 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003827431453 -avg 0.000523307756 -max_tol ${max_tol_res_1}
+
index 7c4f752df2f2450b0f5ba07ce6afe22ebe641038..498da0ab98f240e8297ade3e7e2028e0dd23dbb5 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj7_b1-pe-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 12 )  Summary  = 2  ( 12 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 371  ( 371 )   Summary  = 2101  ( 2101 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 371  ( 371 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 865  ( 865 )
-TOLERANCE   : MaxTol   = 0.003827431453  ( 0.009890984488 )  AvgTol   =  0.000523307756  (  0.001598027633 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 28  ( 28 )  N2Labels = 0  ( 0 )   TotalLabels = 29  ( 29 )   NameLabels = 1  ( 1 )   ColorLabels = 28  ( 28 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = LIGHTSLATEGRAY  ( LIGHTSLATEGRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+checkxstat D_First -n0 1 -n1 28 -n2 0 -total 29 -withname 1 -withcolor 28 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { LIGHTSLATEGRAY } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 371 -shape 2101
+checkstatshape res_1 -solid 1 -shell 1 -face 371 -freewire 0 -freeedge 0 -sharededge 865
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009890984488 -avg 0.001598027633]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 28 -n2 0 -total 29 -withname 1 -withcolor 28 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 28 -n2 0 -total 29 -withname 1 -withcolor 28 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { LIGHTSLATEGRAY  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 371 -shape 2101 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 371 -freewire 0 -freeedge 0 -sharededge 865 -max_solid 1 -max_shell 1 -max_face 371 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003827431453 -avg 0.000523307756 -max_tol ${max_tol_res_1}
+
index 5689e990fad777881e0578ded3d405b4e4b2896b..12a5f1073b37a65c2d02bcf2347aad7d6e0cbd1f 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj7_b1-tc-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 6 )  Summary  = 4  ( 6 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 335  ( 335 )   Summary  = 1923  ( 1923 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 335  ( 335 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 805  ( 805 )
-TOLERANCE   : MaxTol   =  0.03696608743  (  0.07449683755 )  AvgTol   =  0.009024715928  (   0.01498533653 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 335 -shape 1923
+checkstatshape res_1 -solid 1 -shell 1 -face 335 -freewire 0 -freeedge 0 -sharededge 805
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.07449683755 -avg 0.01498533653]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 335 -shape 1923 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 335 -freewire 0 -freeedge 0 -sharededge 805 -max_solid 1 -max_shell 1 -max_face 335 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.03696608743 -avg 0.009024715928 -max_tol ${max_tol_res_1}
+
index 36e1c0eba6978ce2dd78fbbce45a6a8c3f74f796..5888b3ebfed30ed4b90702902577f4155c269273 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj7_k1-al-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 23  ( 23 )  Summary  = 23  ( 23 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 3  ( 3 )  Face     = 57  ( 57 )   Summary  = 417  ( 417 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 3  ( 3 )  Face     = 57  ( 57 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 177  ( 177 )
-TOLERANCE   : MaxTol   = 0.001141394308  ( 0.009811807981 )  AvgTol   =  0.0001654781889  (  0.0007151230078 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 3  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 4  ( 4 )   NameLabels = 1  ( 1 )   ColorLabels = 3  ( 3 )   LayerLabels = 2  ( 2 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GRAY61  ( GRAY61 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = L1  ( L1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 23 -max_faults 0
+checkxstat D_First -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 3 -withlayer 2 -centroid 0 -volume 0 -area 0 -colors { GRAY61 } -nbcolors 1 -layers { L1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 3 -face 57 -shape 417
+checkstatshape res_1 -solid 0 -shell 3 -face 57 -freewire 0 -freeedge 0 -sharededge 177
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009811807981 -avg 0.0007151230078]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 23 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 23 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 3 -withlayer 2 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 3 -withlayer 2 -centroid 0 -volume 0 -area 0 -colors { GRAY61  } -nbcolors 1 -layers { L1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 3 -face 57 -shape 417 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 3 -face 57 -freewire 0 -freeedge 0 -sharededge 177 -max_solid 0 -max_shell 3 -max_face 57 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.001141394308 -avg 0.0001654781889 -max_tol ${max_tol_res_1}
+
index da92381c299467c815106ab2462713a86ddfbcc7..ee16b5d9230a9e0de3fff11c3ab6e7cfae130a13 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj7_k1-ec-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 45  ( 45 )   Summary  = 290  ( 290 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 45  ( 45 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 117  ( 117 )
-TOLERANCE   : MaxTol   = 1.140748349e-007  ( 1.14074835e-007 )  AvgTol   =  1.003433159e-007  (  1.003433159e-007 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 1  ( 1 )  N2Labels = 0  ( 0 )   TotalLabels = 3  ( 3 )   NameLabels = 3  ( 3 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 45 -shape 290
+checkstatshape res_1 -solid 0 -shell 1 -face 45 -freewire 0 -freeedge 0 -sharededge 117
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.14074835e-007 -avg 1.003433159e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 45 -shape 290 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 45 -freewire 0 -freeedge 0 -sharededge 117 -max_solid 0 -max_shell 1 -max_face 45 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.140748349e-007 -avg 1.003433159e-007 -max_tol ${max_tol_res_1}
+
index 2c6f62ebc4717c9156b7b4877bfa3e14a9cc2996..4d68d8ea31cd0e4bf606e1991604ce37e9c800d8 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj7_pm5-ts-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 22 )  Summary  = 0  ( 22 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 16  ( 16 )  Shell    = 16  ( 16 )  Face     = 494  ( 494 )   Summary  = 3259  ( 3259 )
-STATSHAPE   : Solid    = 26  ( 26 )  Shell    = 26  ( 26 )  Face     = 874  ( 874 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1135  ( 1135 )
-TOLERANCE   : MaxTol   = 0.001020030728  ( 0.001020030728 )  AvgTol   =  6.898953015e-006  (  6.898953015e-006 )
-LABELS      : N0Labels = 21  ( 21 )  N1Labels = 485  ( 485 )  N2Labels = 0  ( 0 )   TotalLabels = 506  ( 506 )   NameLabels = 42  ( 42 )   ColorLabels = 476  ( 476 )   LayerLabels = 16  ( 16 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 7  ( 7 )
-COLORS      : Colors   = DEEPSKYBLUE2 DODGERBLUE2 MAGENTA1 ORANGE ORANGERED RED WHITE  ( DEEPSKYBLUE2 DODGERBLUE2 MAGENTA1 ORANGE ORANGERED RED WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 000  ( 000 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 22 -max_faults 0
+checkxstat D_First -n0 21 -n1 485 -n2 0 -total 506 -withname 42 -withcolor 476 -withlayer 16 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE2 DODGERBLUE2 MAGENTA1 ORANGE ORANGERED RED WHITE } -nbcolors 7 -layers { 000 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 16 -shell 16 -face 494 -shape 3259
+checkstatshape res_1 -solid 26 -shell 26 -face 874 -freewire 0 -freeedge 0 -sharededge 1135
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.001020030728 -avg 6.898953015e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 22 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 21 -n1 485 -n2 0 -total 506 -withname 42 -withcolor 476 -withlayer 16 -centroid 0 -volume 0 -area 0 -nbcolors 7 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 21 -n1 485 -n2 0 -total 506 -withname 42 -withcolor 476 -withlayer 16 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE2 DODGERBLUE2 MAGENTA1 ORANGE ORANGERED RED WHITE  } -nbcolors 7 -layers { 000  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 16 -shell 16 -face 494 -shape 3259 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 26 -shell 26 -face 874 -freewire 0 -freeedge 0 -sharededge 1135 -max_solid 26 -max_shell 26 -max_face 874 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.001020030728 -avg 6.898953015e-006 -max_tol ${max_tol_res_1}
+
index 482c329d1328140c411ead3121e8c9c7fd557698..7baa51d0c58aec1f556b7b809579f88b927809c2 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj8_b1-ct-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 11  ( 28 )  Summary  = 11  ( 28 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 403  ( 403 )   Summary  = 2339  ( 2339 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 403  ( 403 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 985  ( 985 )
-TOLERANCE   : MaxTol   = 0.001828077728  ( 0.001828077728 )  AvgTol   =  0.0002142764424  (  0.0003099078585 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 403  ( 403 )  N2Labels = 0  ( 0 )   TotalLabels = 404  ( 404 )   NameLabels = 1  ( 1 )   ColorLabels = 404  ( 404 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = CYAN1 LIGHTSTEELBLUE1 RED  ( CYAN1 LIGHTSTEELBLUE1 RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 30 -max_faults 0
+checkxstat D_First -n0 1 -n1 403 -n2 0 -total 404 -withname 1 -withcolor 404 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { CYAN1 LIGHTSTEELBLUE1 RED } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 403 -shape 2339
+checkstatshape res_1 -solid 1 -shell 1 -face 403 -freewire 0 -freeedge 0 -sharededge 985
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.001828077728 -avg 0.0003099078585]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 30 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 403 -n2 0 -total 404 -withname 1 -withcolor 404 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 403 -n2 0 -total 404 -withname 1 -withcolor 404 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { CYAN1 LIGHTSTEELBLUE1 RED  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 403 -shape 2339 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 403 -freewire 0 -freeedge 0 -sharededge 985 -max_solid 1 -max_shell 1 -max_face 403 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.001828077728 -avg 0.0002142764424 -max_tol ${max_tol_res_1}
+
index aca76ada7682ad90702c3db7a8218ba20e2b80a8..fa99ead615def341a7e861e35f7ece1a9ba14f6b 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj8_b1-ec-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 26 )  Summary  = 1  ( 26 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 415  ( 415 )   Summary  = 2769  ( 2754 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 415  ( 415 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1190  ( 1175 )
-TOLERANCE   : MaxTol   =  0.09895712553  (   0.9492387908 )  AvgTol   =   0.01313889085  (   0.04014418394 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 28  ( 28 )  N2Labels = 0  ( 0 )   TotalLabels = 29  ( 29 )   NameLabels = 1  ( 1 )   ColorLabels = 29  ( 29 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE4 MATRAGRAY  ( BLUE4 MATRAGRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 26 -max_faults 0
+checkxstat D_First -n0 1 -n1 28 -n2 0 -total 29 -withname 1 -withcolor 29 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { BLUE4 MATRAGRAY } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 415 -shape 2754
+checkstatshape res_1 -solid 1 -shell 1 -face 415 -freewire 0 -freeedge 0 -sharededge 1175
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.9492387908 -avg 0.04014418394]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 26 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 28 -n2 0 -total 29 -withname 1 -withcolor 29 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 28 -n2 0 -total 29 -withname 1 -withcolor 29 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { BLUE4 MATRAGRAY  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 415 -shape 2769 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 415 -freewire 0 -freeedge 0 -sharededge 1190 -max_solid 1 -max_shell 1 -max_face 415 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.09895712553 -avg 0.01313889085 -max_tol ${max_tol_res_1}
+
index eadad1c7fea418531881e448ca6d59b286b28e09..666057e2f92d44009ef45a0e284a6654e68a8058 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj8_b1-in-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 32  ( 55 )  Summary  = 32  ( 55 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 346  ( 346 )   Summary  = 2106  ( 2106 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 346  ( 346 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 880  ( 880 )
-TOLERANCE   : MaxTol   = 0.008701080699  ( 0.008701080695 )  AvgTol   =  0.0004033161467  (  0.0004033855141 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GRAY65  ( GRAY65 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 55 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY65 } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 346 -shape 2106
+checkstatshape res_1 -solid 1 -shell 1 -face 346 -freewire 0 -freeedge 0 -sharededge 880
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.008701080695 -avg 0.0004033855141]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 55 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 32 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY65  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 346 -shape 2106 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 346 -freewire 0 -freeedge 0 -sharededge 880 -max_solid 1 -max_shell 1 -max_face 346 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.008701080699 -avg 0.0004033161467 -max_tol ${max_tol_res_1}
+
index 69e86e95c1971c604f4a6bba82d850b8a34b34cc..636305ad295a766e7d251c40c763a1ab6b30e103 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename trj8_b1-tc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1 )  Summary  = 0  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 339  ( 339 )   Summary  = 1941  ( 1941 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 339  ( 339 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 810  ( 810 )
-TOLERANCE   : MaxTol   =  0.03775853832  (  0.05770441607 )  AvgTol   =  0.009180726225  (   0.01351048369 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 22  ( 22 )  N2Labels = 0  ( 0 )   TotalLabels = 23  ( 23 )   NameLabels = 1  ( 1 )   ColorLabels = 23  ( 23 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = GRAY75 LIGHTSTEELBLUE2  ( GRAY75 LIGHTSTEELBLUE2 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 030  ( 030 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 1 -n1 22 -n2 0 -total 23 -withname 1 -withcolor 23 -withlayer 1 -centroid 1 -volume 1 -area 1 -colors { GRAY75 LIGHTSTEELBLUE2 } -nbcolors 2 -layers { 030 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 339 -shape 1941
+checkstatshape res_1 -solid 1 -shell 1 -face 339 -freewire 0 -freeedge 0 -sharededge 810
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.05770441607 -avg 0.01351048369]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 22 -n2 0 -total 23 -withname 1 -withcolor 23 -withlayer 1 -centroid 1 -volume 1 -area 1 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 22 -n2 0 -total 23 -withname 1 -withcolor 23 -withlayer 1 -centroid 1 -volume 1 -area 1 -colors { GRAY75 LIGHTSTEELBLUE2  } -nbcolors 2 -layers { 030  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 339 -shape 1941 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 339 -freewire 0 -freeedge 0 -sharededge 810 -max_solid 1 -max_shell 1 -max_face 339 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.03775853832 -avg 0.009180726225 -max_tol ${max_tol_res_1}
+
index f945fb01311abbc9c8bb11caf54be546b18eee12..99b1c3e63d2ab25076f227fcbed942723779f43f 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj8_k1-db-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 14  ( 14 )  Summary  = 14  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 58  ( 58 )   Summary  = 367  ( 367 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 58  ( 58 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 149  ( 149 )
-TOLERANCE   : MaxTol   = 0.006251011624  ( 0.006251011625 )  AvgTol   =  0.001208891819  (  0.001208891819 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 58  ( 58 )  N2Labels = 0  ( 0 )   TotalLabels = 59  ( 59 )   NameLabels = 1  ( 1 )   ColorLabels = 59  ( 59 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = DEEPPINK2 DEEPPINK2  ( DEEPPINK2 DEEPPINK2 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 1 -n1 58 -n2 0 -total 59 -withname 1 -withcolor 59 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPPINK2 DEEPPINK2 } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 58 -shape 367
+checkstatshape res_1 -solid 0 -shell 1 -face 58 -freewire 0 -freeedge 0 -sharededge 149
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.006251011625 -avg 0.001208891819]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 58 -n2 0 -total 59 -withname 1 -withcolor 59 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 58 -n2 0 -total 59 -withname 1 -withcolor 59 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPPINK2 DEEPPINK2  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 58 -shape 367 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 58 -freewire 0 -freeedge 0 -sharededge 149 -max_solid 0 -max_shell 1 -max_face 58 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.006251011624 -avg 0.001208891819 -max_tol ${max_tol_res_1}
+
index 667c0346b33be0ffd19df7231059064e000c3754..28e367dc3029ef115bbfd0981968d9835d82c495 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj8_pm6-ac-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 14  ( 35 )  Summary  = 14  ( 35 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 445  ( 445 )   Summary  = 2937  ( 2879 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 445  ( 445 )   FreeWire = 0  ( 0 )   FreeEdge  = 56 ( 56 )   SharedEdge = 1140  ( 1138 )
-TOLERANCE   : MaxTol   = 0.007489276519  ( 0.007492673692 )  AvgTol   =  0.0001042245368  (  0.0001043222816 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 58  ( 58 )  N2Labels = 0  ( 0 )   TotalLabels = 61  ( 61 )   NameLabels = 5  ( 5 )   ColorLabels = 57  ( 57 )   LayerLabels = 57  ( 57 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = PURPLE WHITE  ( PURPLE WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 35 -max_faults 0
+checkxstat D_First -n0 3 -n1 58 -n2 0 -total 61 -withname 5 -withcolor 57 -withlayer 57 -centroid 0 -volume 0 -area 0 -colors { PURPLE WHITE } -nbcolors 2 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 445 -shape 2879
+checkstatshape res_1 -solid 1 -shell 1 -face 445 -freewire 0 -freeedge 56 -sharededge 1138
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.007492673692 -avg 0.0001043222816]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 35 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 58 -n2 0 -total 61 -withname 5 -withcolor 57 -withlayer 57 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 58 -n2 0 -total 61 -withname 5 -withcolor 57 -withlayer 57 -centroid 0 -volume 0 -area 0 -colors { PURPLE WHITE  } -nbcolors 2 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 445 -shape 2937 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 445 -freewire 0 -freeedge 56 -sharededge 1140 -max_solid 1 -max_shell 1 -max_face 445 -max_freewire 0 -max_freeedge 56
+checkmaxtol res_2 -tol 0.007489276519 -avg 0.0001042245368 -max_tol ${max_tol_res_1}
+
index bca75a366a5db497f6faa4f94f3bccd33ffc01aa..863ccc7730aeacb6284212fc8bbade2b6461bae8 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj8_pm6-in-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 51  ( 65 )  Summary  = 51  ( 65 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 474  ( 474 )   Summary  = 2872  ( 2872 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 474  ( 474 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1180  ( 1180 )
-TOLERANCE   : MaxTol   =   0.0607818994  (  0.06078250721 )  AvgTol   =   0.00290702214  (  0.002948262692 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GRAY66  ( GRAY66 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 65 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY66 } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 474 -shape 2872
+checkstatshape res_1 -solid 1 -shell 1 -face 474 -freewire 0 -freeedge 0 -sharededge 1180
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.06078250721 -avg 0.002948262692]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 65 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 51 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY66  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 474 -shape 2872 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 474 -freewire 0 -freeedge 0 -sharededge 1180 -max_solid 1 -max_shell 1 -max_face 474 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0607818994 -avg 0.00290702214 -max_tol ${max_tol_res_1}
+
index d1145568e53c20347b6c0d001744a47b58b8b9c1..ae6f796d89fa1471eeee78da3752473e02f6f63f 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj9_b2-ac-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 12  ( 17 )  Summary  = 12  ( 17 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 317  ( 317 )   Summary  = 2047  ( 2047 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 317  ( 317 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 857  ( 857 )
-TOLERANCE   : MaxTol   =   0.1005256507  (   0.1005256507 )  AvgTol   =  0.0006882150087  (  0.000688621996 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 1  ( 1 )  N2Labels = 0  ( 0 )   TotalLabels = 3  ( 3 )   NameLabels = 3  ( 3 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GRAY73  ( GRAY73 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 17 -max_faults 0
+checkxstat D_First -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { GRAY73 } -nbcolors 1 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 2 -face 317 -shape 2047
+checkstatshape res_1 -solid 1 -shell 2 -face 317 -freewire 0 -freeedge 0 -sharededge 857
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1005256507 -avg 0.000688621996]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 17 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { GRAY73  } -nbcolors 1 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 2 -face 317 -shape 2047 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 2 -face 317 -freewire 0 -freeedge 0 -sharededge 857 -max_solid 1 -max_shell 2 -max_face 317 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.1005256507 -avg 0.0006882150087 -max_tol ${max_tol_res_1}
+
index 11c573d081b168f06578f399344820e2a17d0050..0da243a720240c0abc5df685bbd45f98aca37773 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename trj9_b2-oc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 10  ( 5 )  Summary  = 10  ( 5 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 250  ( 250 )   Summary  = 1618  ( 1618 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 250  ( 250 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 672  ( 672 )
-TOLERANCE   : MaxTol   = 0.002562040373  ( 0.005004494964 )  AvgTol   =  2.080413824e-005  (  6.882111124e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 250 -shape 1618
+checkstatshape res_1 -solid 1 -shell 1 -face 250 -freewire 0 -freeedge 0 -sharededge 672
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.005004494964 -avg 6.882111124e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 250 -shape 1618 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 250 -freewire 0 -freeedge 0 -sharededge 672 -max_solid 1 -max_shell 1 -max_face 250 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.002562040373 -avg 2.080413824e-005 -max_tol ${max_tol_res_1}
+
index 290e72be83f7e38d07136d812da35be2323a04c3..0dd8e62c0dbd74107ae477c4e7ccbb743eb488f7 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename turbine2.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   Summary  = 3067  ( 2301 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 0  ( 0 )  Face     = 0  ( 0 )   FreeWire = 0  ( 0 )   FreeEdge  = 766 ( 766 )   SharedEdge = 766  ( 766 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 2  ( 2 )   NameLabels = 2  ( 2 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 0 -shape 2301
+checkstatshape res_1 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 766 -sharededge 766
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 0 -n2 0 -total 2 -withname 2 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 0 -face 0 -shape 3067 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 0 -face 0 -freewire 0 -freeedge 766 -sharededge 766 -max_solid 0 -max_shell 0 -max_face 0 -max_freewire 0 -max_freeedge 766
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index a1d75db03c15d96ccc6044b76882e98c38cf2256..582d11011905b136ab05d847845669c626f3bbdf 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename welle_solid.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 52  ( 0 )  Summary  = 52  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 469  ( 469 )   Summary  = 2647  ( 2647 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 469  ( 469 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1080  ( 1080 )
-TOLERANCE   : MaxTol   = 0.006604322767  (  0.00750479523 )  AvgTol   =  0.0008116667087  (  0.002278120543 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 469 -shape 2647
+checkstatshape res_1 -solid 1 -shell 1 -face 469 -freewire 0 -freeedge 0 -sharededge 1080
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.00750479523 -avg 0.002278120543]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 52 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 469 -shape 2647 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 469 -freewire 0 -freeedge 0 -sharededge 1080 -max_solid 1 -max_shell 1 -max_face 469 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.006604322767 -avg 0.0008116667087 -max_tol ${max_tol_res_1}
+
index 432e47abc8060769fb2b7f92182f5eb10795f7f3..e7fc4d8982f44aeb7ba10b3cefaccc4bdf607278 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj7_b1-in-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 32  ( 55 )  Summary  = 32  ( 55 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 346  ( 346 )   Summary  = 2106  ( 2106 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 346  ( 346 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 880  ( 880 )
-TOLERANCE   : MaxTol   = 0.008701080699  ( 0.008701080695 )  AvgTol   =  0.0004033161467  (  0.0004033855141 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GRAY65  ( GRAY65 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 55 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY65 } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 346 -shape 2106
+checkstatshape res_1 -solid 1 -shell 1 -face 346 -freewire 0 -freeedge 0 -sharededge 880
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.008701080695 -avg 0.0004033855141]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 55 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 32 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY65  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 346 -shape 2106 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 346 -freewire 0 -freeedge 0 -sharededge 880 -max_solid 1 -max_shell 1 -max_face 346 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.008701080699 -avg 0.0004033161467 -max_tol ${max_tol_res_1}
+
index 82e849270949d7a4c380a23f3ad58cd49653a316..f4a1d23771ffcb86a2f42c5f90b59aa769bead6b 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_sd_eye_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 82  ( 82 )   Summary  = 476  ( 476 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 82  ( 82 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 199  ( 199 )
-TOLERANCE   : MaxTol   = 7.174253459e-007  ( 7.174254492e-007 )  AvgTol   =  2.469633936e-007  (  2.46963419e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MATRAGRAY  ( MATRAGRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 82 -shape 476
+checkstatshape res_1 -solid 1 -shell 1 -face 82 -freewire 0 -freeedge 0 -sharededge 199
+set max_tol_res_1 [checkmaxtol res_1 -tol 7.174254492e-007 -avg 2.46963419e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 82 -shape 476 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 82 -freewire 0 -freeedge 0 -sharededge 199 -max_solid 1 -max_shell 1 -max_face 82 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 7.174253459e-007 -avg 2.469633936e-007 -max_tol ${max_tol_res_1}
+
index 89040f3653b52148e8683f073b7d47da10a97cbe..384189e7bd89a6bf52bac31ce7f528173d2c2100 100755 (executable)
@@ -1,19 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 
 set filename bm4_sd_eye_c.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 4 )  Warnings = 0  ( 4 )  Summary  = 0  ( 8 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 78  ( 78 )   Summary  = 467  ( 467 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 78  ( 78 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 199  ( 199 )
-TOLERANCE   : MaxTol   = 7.174253459e-07  ( 7.174254492e-07 )  AvgTol   =  2.394980588e-07  (  2.394974547e-07 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MATRAGRAY  ( MATRAGRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 4
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 78 -shape 467
+checkstatshape res_1 -solid 0 -shell 1 -face 78 -freewire 0 -freeedge 0 -sharededge 199
+set max_tol_res_1 [checkmaxtol res_1 -tol 7.174254492e-07 -avg 2.394974547e-07]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 4
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 78 -shape 467 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 78 -freewire 0 -freeedge 0 -sharededge 199 -max_solid 0 -max_shell 1 -max_face 78 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 7.174253459e-07 -avg 2.394980588e-07 -max_tol ${max_tol_res_1}
+
index b99b27557ee0567b33ccdec4bc5b6e1193d4c83d..e899f864207ceff39e434112aa965e6065ef958a 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename bm4_sd_seal_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 150  ( 13 )  Summary  = 150  ( 13 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 540  ( 540 )   Summary  = 2968  ( 2968 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 540  ( 540 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1202  ( 1202 )
-TOLERANCE   : MaxTol   = 6.818588609e-006  ( 6.818587037e-006 )  AvgTol   =  8.112277988e-007  (  8.079385019e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MATRAGRAY  ( MATRAGRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 3 -face 540 -shape 2968
+checkstatshape res_1 -solid 1 -shell 3 -face 540 -freewire 0 -freeedge 0 -sharededge 1202
+set max_tol_res_1 [checkmaxtol res_1 -tol 6.818587037e-006 -avg 8.079385019e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 150 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 540 -shape 2968 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 540 -freewire 0 -freeedge 0 -sharededge 1202 -max_solid 1 -max_shell 3 -max_face 540 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 6.818588609e-006 -avg 8.112277988e-007 -max_tol ${max_tol_res_1}
+
index b6c84f6f85966f6a740efea4d1c7f1c2f71e813b..9556f0e55aa4bc2b0e21ef71a737a42e70464c76 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename bm4_sd_seal_c.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 150  ( 13 )  Summary  = 150  ( 13 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 540  ( 540 )   Summary  = 2968  ( 2968 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 540  ( 540 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1202  ( 1202 )
-TOLERANCE   : MaxTol   = 6.818588609e-006  ( 6.818587037e-006 )  AvgTol   =  8.112277988e-007  (  8.079385019e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MATRAGRAY  ( MATRAGRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 3 -face 540 -shape 2968
+checkstatshape res_1 -solid 1 -shell 3 -face 540 -freewire 0 -freeedge 0 -sharededge 1202
+set max_tol_res_1 [checkmaxtol res_1 -tol 6.818587037e-006 -avg 8.079385019e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 150 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 540 -shape 2968 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 540 -freewire 0 -freeedge 0 -sharededge 1202 -max_solid 1 -max_shell 3 -max_face 540 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 6.818588609e-006 -avg 8.112277988e-007 -max_tol ${max_tol_res_1}
+
index 9b78289f018acbe3fdcc79914c6eb1a5063dd9b8..3284960575fd00396251c56c553885415d13ca44 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj10_b2-in-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 12  ( 17 )  Summary  = 12  ( 17 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 306  ( 306 )   Summary  = 1975  ( 1975 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 306  ( 306 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 826  ( 826 )
-TOLERANCE   : MaxTol   =   0.1005256507  (   0.1005256507 )  AvgTol   =  0.0007133931622  (  0.0007138150401 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GRAY  ( GRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 17 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 2 -face 306 -shape 1975
+checkstatshape res_1 -solid 1 -shell 2 -face 306 -freewire 0 -freeedge 0 -sharededge 826
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1005256507 -avg 0.0007138150401]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 17 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 2 -face 306 -shape 1975 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 2 -face 306 -freewire 0 -freeedge 0 -sharededge 826 -max_solid 1 -max_shell 2 -max_face 306 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.1005256507 -avg 0.0007133931622 -max_tol ${max_tol_res_1}
+
index 953fb8c1d068c280fede650eb6c92b407dd48f63..be6ac7e8b7a6ef2cdad5f9b4bd99d952fef956fc 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj10_b2-pe-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 3  ( 9 )  Summary  = 3  ( 9 )
-CHECKSHAPE  : Wires    = 1  ( 1 )  Faces    = 1  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 252  ( 252 )   Summary  = 1622  ( 1622 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 252  ( 252 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 673  ( 673 )
-TOLERANCE   : MaxTol   = 0.003900261304  ( 0.007833404346 )  AvgTol   =  9.450808397e-005  (  0.0001357380201 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { WHITE } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 252 -shape 1622
+checkstatshape res_1 -solid 1 -shell 1 -face 252 -freewire 0 -freeedge 0 -sharededge 673
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.007833404346 -avg 0.0001357380201]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { WHITE  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 252 -shape 1622 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 252 -freewire 0 -freeedge 0 -sharededge 673 -max_solid 1 -max_shell 1 -max_face 252 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003900261304 -avg 9.450808397e-005 -max_tol ${max_tol_res_1}
+
index 8a5217631b788d2bc89a641cf7c30bdccc517d4b..863eb8be27e075caf24469fbd39450c3b9e8e7b6 100644 (file)
@@ -1,19 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-set filename db_soapbox-A.stp
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 29  ( 30 )  Summary  = 29  ( 30 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 108  ( 108 )   Summary  = 652  ( 652 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 108  ( 108 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 270  ( 270 )
-TOLERANCE   : MaxTol   =   0.1381688089  (   0.1381688071 )  AvgTol   =   0.01295053427  (    0.0152247749 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN4  ( GREEN4 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+set filename db_soapbox-A.stp
+
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { GREEN4 } -nbcolors 1 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 108 -shape 652
+checkstatshape res_1 -solid 1 -shell 1 -face 108 -freewire 0 -freeedge 0 -sharededge 270
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1381688071 -avg 0.0152247749]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 30 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { GREEN4  } -nbcolors 1 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 108 -shape 652 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 108 -freewire 0 -freeedge 0 -sharededge 270 -max_solid 1 -max_shell 1 -max_face 108 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.1381688089 -avg 0.01295053427 -max_tol ${max_tol_res_1}
+
index 9ae9e4df6753b62958b7543493f714f8f32b8cd0..36e5f9ff877978f3a3e6939be841c634c750251c 100644 (file)
@@ -1,19 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-set filename db_soapbox-B.stp
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 32  ( 32 )  Summary  = 32  ( 32 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 108  ( 108 )   Summary  = 652  ( 652 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 108  ( 108 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 270  ( 270 )
-TOLERANCE   : MaxTol   =   0.1274164441  (   0.1274164441 )  AvgTol   =   0.01201852752  (   0.01771888311 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN4  ( GREEN4 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+set filename db_soapbox-B.stp
+
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 30 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { GREEN4 } -nbcolors 1 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 108 -shape 652
+checkstatshape res_1 -solid 1 -shell 1 -face 108 -freewire 0 -freeedge 0 -sharededge 270
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1274164441 -avg 0.01771888311]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 30 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 32 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { GREEN4  } -nbcolors 1 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 108 -shape 652 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 108 -freewire 0 -freeedge 0 -sharededge 270 -max_solid 1 -max_shell 1 -max_face 108 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.1274164441 -avg 0.01201852752 -max_tol ${max_tol_res_1}
+
index 325904c63e013073b624da7c661fb75d6d9d7b27..d475c9644864775336c06488f13106f60a15785e 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj8_b1-md-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 21  ( 49 )  Summary  = 21  ( 49 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 113  ( 113 )   Summary  = 726  ( 726 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 113  ( 113 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 304  ( 304 )
-TOLERANCE   : MaxTol   = 0.000924662559  ( 0.0009246625273 )  AvgTol   =  4.001921218e-005  (  4.077466401e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MAGENTA2  ( MAGENTA2 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 7  ( 7 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 49 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { MAGENTA2 } -nbcolors 1 -layers { 7 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 113 -shape 726
+checkstatshape res_1 -solid 1 -shell 1 -face 113 -freewire 0 -freeedge 0 -sharededge 304
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0009246625273 -avg 4.077466401e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 49 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 21 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { MAGENTA2  } -nbcolors 1 -layers { 7  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 113 -shape 726 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 113 -freewire 0 -freeedge 0 -sharededge 304 -max_solid 1 -max_shell 1 -max_face 113 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.000924662559 -avg 4.001921218e-005 -max_tol ${max_tol_res_1}
+
index d1b5883508568c9d4c3f6cd824ad8db4c292e82d..ab2c87a5d1020a6a5b36950240ab9b5acf04108d 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj9_b2-in-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 12  ( 17 )  Summary  = 12  ( 17 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 306  ( 306 )   Summary  = 1975  ( 1975 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 2  ( 2 )  Face     = 306  ( 306 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 826  ( 826 )
-TOLERANCE   : MaxTol   =   0.1005256507  (   0.1005256507 )  AvgTol   =  0.0007133931622  (  0.0007138150401 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GRAY  ( GRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 17 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 2 -face 306 -shape 1975
+checkstatshape res_1 -solid 1 -shell 2 -face 306 -freewire 0 -freeedge 0 -sharededge 826
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1005256507 -avg 0.0007138150401]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 17 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 2 -face 306 -shape 1975 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 2 -face 306 -freewire 0 -freeedge 0 -sharededge 826 -max_solid 1 -max_shell 2 -max_face 306 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.1005256507 -avg 0.0007133931622 -max_tol ${max_tol_res_1}
+
index 0a327bbe7eeb15511536af2d3b6a1ae03eee0788..104c48c18f1727e8757f9065f98caff40d961bd6 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj9_b2-pe-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 3  ( 9 )  Summary  = 3  ( 9 )
-CHECKSHAPE  : Wires    = 1  ( 1 )  Faces    = 1  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 252  ( 252 )   Summary  = 1622  ( 1622 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 252  ( 252 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 673  ( 673 )
-TOLERANCE   : MaxTol   = 0.005365460363  ( 0.007833404346 )  AvgTol   =  9.982982836e-005  (  0.0001410844712 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { WHITE } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 252 -shape 1622
+checkstatshape res_1 -solid 1 -shell 1 -face 252 -freewire 0 -freeedge 0 -sharededge 673
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.007833404346 -avg 0.0001410844712]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { WHITE  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 252 -shape 1622 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 252 -freewire 0 -freeedge 0 -sharededge 673 -max_solid 1 -max_shell 1 -max_face 252 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.005365460363 -avg 9.982982836e-005 -max_tol ${max_tol_res_1}
+
index fa3c05ca4137c599e5bae209448fd9cb4f5e68a3..382415dd2f930bc6acc06e3dfe147a6724632ca9 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename trj9_b2-sy-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 113  ( 103 )  Summary  = 113  ( 103 )
-CHECKSHAPE  : Wires    = 2  ( 2 )  Faces    = 2  ( 2 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 260  ( 260 )   Summary  = 1745  ( 1745 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 260  ( 260 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 730  ( 730 )
-TOLERANCE   : MaxTol   = 0.004437798931  (  0.03878259147 )  AvgTol   =  0.0002767147005  (  0.001694294606 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MAGENTA1  ( MAGENTA1 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 103 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1 } -nbcolors 1 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 260 -shape 1745
+checkstatshape res_1 -solid 1 -shell 1 -face 260 -freewire 0 -freeedge 0 -sharededge 730
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.03878259147 -avg 0.001694294606]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 103 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 113 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1  } -nbcolors 1 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 260 -shape 1745 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 260 -freewire 0 -freeedge 0 -sharededge 730 -max_solid 1 -max_shell 1 -max_face 260 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.004437798931 -avg 0.0002767147005 -max_tol ${max_tol_res_1}
+
index 92b36988bb9aecd3b66ff0897804ee2634efdbfc..c96f065d950e6be2f9db2e15b352620103ea31a4 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj9_pm7-in-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 51  ( 65 )  Summary  = 51  ( 65 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 474  ( 474 )   Summary  = 2872  ( 2872 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 474  ( 474 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1180  ( 1180 )
-TOLERANCE   : MaxTol   =   0.0607818994  (  0.06078250721 )  AvgTol   =   0.00290702214  (  0.002948262692 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GRAY66  ( GRAY66 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 65 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY66 } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 474 -shape 2872
+checkstatshape res_1 -solid 1 -shell 1 -face 474 -freewire 0 -freeedge 0 -sharededge 1180
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.06078250721 -avg 0.002948262692]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 65 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 51 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY66  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 474 -shape 2872 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 474 -freewire 0 -freeedge 0 -sharededge 1180 -max_solid 1 -max_shell 1 -max_face 474 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0607818994 -avg 0.00290702214 -max_tol ${max_tol_res_1}
+
index 2e5d4f3ec8cab6026b278667b133d1ee58ccd78e..006a092098153d2579dac25aea4de67be60f66cc 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename ug_turbine-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 58  ( 58 )   Summary  = 319  ( 319 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 1  ( 1 )  Face     = 58  ( 58 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 131  ( 131 )
-TOLERANCE   : MaxTol   = 1.225663151e-005  ( 1.225663088e-005 )  AvgTol   =  1.692620711e-006  (  1.692620773e-006 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = CYAN1  ( CYAN1 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { CYAN1 } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 1 -face 58 -shape 319
+checkstatshape res_1 -solid 0 -shell 1 -face 58 -freewire 0 -freeedge 0 -sharededge 131
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.225663088e-005 -avg 1.692620773e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { CYAN1  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 1 -face 58 -shape 319 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 1 -face 58 -freewire 0 -freeedge 0 -sharededge 131 -max_solid 0 -max_shell 1 -max_face 58 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1.225663151e-005 -avg 1.692620711e-006 -max_tol ${max_tol_res_1}
+
index d4ffd1613bb3690d3a381d68174b3ed15db9d919..0ca151f75117f6c634cb669822f176b237ab9000 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename sd_soapbox-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 6  ( 0 )  Summary  = 6  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 111  ( 111 )   Summary  = 689  ( 689 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 111  ( 111 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 286  ( 286 )
-TOLERANCE   : MaxTol   = 6.842023688e-007  ( 6.84202055e-007 )  AvgTol   =  1.98769779e-007  (  1.987697803e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MATRAGRAY  ( MATRAGRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 111 -shape 689
+checkstatshape res_1 -solid 1 -shell 1 -face 111 -freewire 0 -freeedge 0 -sharededge 286
+set max_tol_res_1 [checkmaxtol res_1 -tol 6.84202055e-007 -avg 1.987697803e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 111 -shape 689 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 111 -freewire 0 -freeedge 0 -sharededge 286 -max_solid 1 -max_shell 1 -max_face 111 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 6.842023688e-007 -avg 1.98769779e-007 -max_tol ${max_tol_res_1}
+
index 815a862c4d7c8ab87abbac599c418d593311d76e..de368a5f51606d54f7a04f6d8d77ff01434e8e8d 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename sd_soapbox-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 6  ( 0 )  Summary  = 6  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 111  ( 111 )   Summary  = 689  ( 689 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 111  ( 111 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 286  ( 286 )
-TOLERANCE   : MaxTol   = 6.842023688e-007  ( 6.84202055e-007 )  AvgTol   =  1.98769779e-007  (  1.987697802e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MATRAGRAY  ( MATRAGRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 111 -shape 689
+checkstatshape res_1 -solid 1 -shell 1 -face 111 -freewire 0 -freeedge 0 -sharededge 286
+set max_tol_res_1 [checkmaxtol res_1 -tol 6.84202055e-007 -avg 1.987697802e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 111 -shape 689 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 111 -freewire 0 -freeedge 0 -sharededge 286 -max_solid 1 -max_shell 1 -max_face 111 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 6.842023688e-007 -avg 1.98769779e-007 -max_tol ${max_tol_res_1}
+
index 4d0aeaf3ceac40dbf4cfcabbc4da9d001d727405..7bf4a03ade11f6171c186465094a1c0343437a89 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_b1-md-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 21  ( 49 )  Summary  = 21  ( 49 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 113  ( 113 )   Summary  = 726  ( 726 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 113  ( 113 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 304  ( 304 )
-TOLERANCE   : MaxTol   = 0.000924662559  ( 0.0009246625273 )  AvgTol   =  4.001921218e-005  (  4.077466401e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MAGENTA2  ( MAGENTA2 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 7  ( 7 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 49 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { MAGENTA2 } -nbcolors 1 -layers { 7 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 113 -shape 726
+checkstatshape res_1 -solid 1 -shell 1 -face 113 -freewire 0 -freeedge 0 -sharededge 304
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0009246625273 -avg 4.077466401e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 49 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 21 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { MAGENTA2  } -nbcolors 1 -layers { 7  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 113 -shape 726 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 113 -freewire 0 -freeedge 0 -sharededge 304 -max_solid 1 -max_shell 1 -max_face 113 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.000924662559 -avg 4.001921218e-005 -max_tol ${max_tol_res_1}
+
index a27cf4617d56eb7c48ba3f4660f77569b53475b6..65011353eb8a2cfe45309e520ffab2318989117e 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_b1-ug-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 14 )  Summary  = 1  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 327  ( 327 )   Summary  = 1895  ( 1895 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 327  ( 327 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 787  ( 787 )
-TOLERANCE   : MaxTol   =  0.01146233865  (  0.01858460173 )  AvgTol   =  0.002324025457  (  0.003534492623 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = INDIANRED1  ( INDIANRED1 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 1  ( 1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 15 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { INDIANRED1 } -nbcolors 1 -layers { 1 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 327 -shape 1895
+checkstatshape res_1 -solid 1 -shell 1 -face 327 -freewire 0 -freeedge 0 -sharededge 787
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01858460173 -avg 0.003534492623]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 15 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { INDIANRED1  } -nbcolors 1 -layers { 1  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 327 -shape 1895 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 327 -freewire 0 -freeedge 0 -sharededge 787 -max_solid 1 -max_shell 1 -max_face 327 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01146233865 -avg 0.002324025457 -max_tol ${max_tol_res_1}
+
index ea640d9d0ab291163332732284297cfb4892c09b..66ed28011dff9e1bb0550ff701b7b42fb4efb82f 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_db_eye_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 4 )  Summary  = 4  ( 4 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 83  ( 83 )   Summary  = 490  ( 490 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 83  ( 83 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 204  ( 204 )
-TOLERANCE   : MaxTol   = 0.003929037241  (  0.03181394455 )  AvgTol   =  0.0004814695376  (  0.003318266161 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MAGENTA4  ( MAGENTA4 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { MAGENTA4 } -nbcolors 1 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 83 -shape 490
+checkstatshape res_1 -solid 1 -shell 1 -face 83 -freewire 0 -freeedge 0 -sharededge 204
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.03181394455 -avg 0.003318266161]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { MAGENTA4  } -nbcolors 1 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 83 -shape 490 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 83 -freewire 0 -freeedge 0 -sharededge 204 -max_solid 1 -max_shell 1 -max_face 83 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003929037241 -avg 0.0004814695376 -max_tol ${max_tol_res_1}
+
index b798a697a31ff0286f7918362514920248810135..12ce058323f3025f74ff8ddee0890e11e23db594 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_db_eye_b.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 4 )  Summary  = 4  ( 4 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 83  ( 83 )   Summary  = 490  ( 490 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 83  ( 83 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 204  ( 204 )
-TOLERANCE   : MaxTol   = 0.003929037241  (  0.03181394455 )  AvgTol   =  0.0004809897221  (  0.003317484731 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MAGENTA4  ( MAGENTA4 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { MAGENTA4 } -nbcolors 1 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 83 -shape 490
+checkstatshape res_1 -solid 1 -shell 1 -face 83 -freewire 0 -freeedge 0 -sharededge 204
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.03181394455 -avg 0.003317484731]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { MAGENTA4  } -nbcolors 1 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 83 -shape 490 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 83 -freewire 0 -freeedge 0 -sharededge 204 -max_solid 1 -max_shell 1 -max_face 83 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003929037241 -avg 0.0004809897221 -max_tol ${max_tol_res_1}
+
index 86229083768c24bd584c3cf42328e24535fe651f..91abfd4d05aa3e70515a7cb31eff9f40688d5974 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_db_eye_c.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 4 )  Summary  = 4  ( 4 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 83  ( 83 )   Summary  = 490  ( 490 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 83  ( 83 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 204  ( 204 )
-TOLERANCE   : MaxTol   = 0.007552761385  (  0.03357940673 )  AvgTol   =  0.0009865539933  (  0.004986205427 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MAGENTA4  ( MAGENTA4 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { MAGENTA4 } -nbcolors 1 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 83 -shape 490
+checkstatshape res_1 -solid 1 -shell 1 -face 83 -freewire 0 -freeedge 0 -sharededge 204
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.03357940673 -avg 0.004986205427]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { MAGENTA4  } -nbcolors 1 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 83 -shape 490 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 83 -freewire 0 -freeedge 0 -sharededge 204 -max_solid 1 -max_shell 1 -max_face 83 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.007552761385 -avg 0.0009865539933 -max_tol ${max_tol_res_1}
+
index 8cc61288773587bcd57759ff1b4974ebab5f1a45..3cce1b02abf817210956bec0e685fc1081648028 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_pm4-pe-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 7 )  Summary  = 4  ( 7 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 453  ( 453 )   Summary  = 2835  ( 2835 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 453  ( 453 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1169  ( 1169 )
-TOLERANCE   : MaxTol   =  0.03659878417  (  0.07247642707 )  AvgTol   =  0.001283268686  (  0.005742789733 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = THISTLE  ( THISTLE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { THISTLE } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 453 -shape 2835
+checkstatshape res_1 -solid 1 -shell 1 -face 453 -freewire 0 -freeedge 0 -sharededge 1169
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.07247642707 -avg 0.005742789733]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { THISTLE  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 453 -shape 2835 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 453 -freewire 0 -freeedge 0 -sharededge 1169 -max_solid 1 -max_shell 1 -max_face 453 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.03659878417 -avg 0.001283268686 -max_tol ${max_tol_res_1}
+
index a36b39e710414d5b95827826fa2d7074d7db042e..7c2d9e009990d5ad5c40a9d79be18945a36a5f22 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename BUC60810.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 9 )  Warnings = 0  ( 0 )  Summary  = 0  ( 9 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 77  ( 39 )  Summary  = 77  ( 39 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 1  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 10  ( 10 )  Shell    = 12  ( 12 )  Face     = 269  ( 269 )   Summary  = 1638  ( 1636 )
-STATSHAPE   : Solid    = 10  ( 10 )  Shell    = 12  ( 12 )  Face     = 269  ( 269 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 636  ( 636 )
-TOLERANCE   : MaxTol   =  0.01008857123  (  0.01008857108 )  AvgTol   =  0.0003104589496  (  0.0003616303196 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 3 )  N2Labels = 0  ( 1 )   TotalLabels = 5  ( 7 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 9
+checkdoc "tpstat c" -max_warns 38 -max_faults 0
+checkxstat D_First -n0 3 -n1 3 -n2 1 -total 7 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 10 -shell 12 -face 269 -shape 1636
+checkstatshape res_1 -solid 10 -shell 12 -face 269 -freewire 0 -freeedge 0 -sharededge 636
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01008857108 -avg 0.0003616303196]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 9
+checkdoc "tpstat c" -max_warns 38 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 52 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 3 -n2 1 -total 7 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 10 -shell 12 -face 269 -shape 1638 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 10 -shell 12 -face 269 -freewire 0 -freeedge 0 -sharededge 636 -max_solid 10 -max_shell 12 -max_face 269 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01008857123 -avg 0.0003104589496 -max_tol ${max_tol_res_1}
+
index a6e96e7d6465c6bdd4790588dccc4ca769ccadca..c557f453b990219aeeb2f17024640f59d03401e2 100644 (file)
@@ -1,6 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-puts "TODO CR23096 ALL: Error: First - file was not read - exception " 
-puts "TODO CR23096 ALL: Error : Here is reading problem" 
-
+puts "TODO CR23096 ALL: Error: file tr9_r0301-pe-adjusted.stp was not read"
+puts "TODO CR23096 ALL: DATA : Faulty comparison ref number of faults in command data c with max possible"
+puts "TODO CR23096 ALL: Tcl Exception: res_1 is not a topological shape"
+puts "TODO CR23096 ALL: TEST INCOMPLETE"
 
 set filename tr9_r0301-pe-adjusted.stp
+
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 9
+checkdoc "tpstat c" -max_warns 39 -max_faults 0
+checkxstat D_First -n0 3 -n1 3 -n2 1 -total 7 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 10 -shell 12 -face 269 -shape 1636
+checkstatshape res_1 -solid 10 -shell 12 -face 269 -freewire 0 -freeedge 0 -sharededge 636
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01008857108 -avg 0.0003616303196]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 9
+checkdoc "tpstat c" -max_warns 39 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 3 -n2 1 -total 7 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 10 -shell 12 -face 269 -shape 1638 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 10 -shell 12 -face 269 -freewire 0 -freeedge 0 -sharededge 636 -max_solid 10 -max_shell 12 -max_face 269 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01008857123 -avg 0.0003104589496 -max_tol ${max_tol_res_1}
+
index adbde44c476430ad3abc00c576c4d48d44952a4a..963aa4d6b2880355b8611f3618b8650aa47ae6ea 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename TUBE1.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 1435 )  Warnings = 0  ( 0 )  Summary  = 0  ( 1435 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 1047 )  Summary  = 0  ( 1047 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 211  ( 211 )  Shell    = 212  ( 212 )  Face     = 1585  ( 1585 )   Summary  = 8951  ( 8951 )
-STATSHAPE   : Solid    = 211  ( 211 )  Shell    = 212  ( 212 )  Face     = 1585  ( 1585 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 3084  ( 3084 )
-TOLERANCE   : MaxTol   = 0.003688364238  ( 0.003688364252 )  AvgTol   =  2.561768589e-05  (  2.887753385e-05 )
-LABELS      : N0Labels = 206  ( 206 )  N1Labels = 205  ( 205 )  N2Labels = 0  ( 0 )   TotalLabels = 411  ( 411 )   NameLabels = 411  ( 411 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 1435
+checkdoc "tpstat c" -max_warns 1047 -max_faults 0
+checkxstat D_First -n0 206 -n1 205 -n2 0 -total 411 -withname 411 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 211 -shell 212 -face 1585 -shape 8951
+checkstatshape res_1 -solid 211 -shell 212 -face 1585 -freewire 0 -freeedge 0 -sharededge 3084
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.003688364252 -avg 2.887753385e-05]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 1435
+checkdoc "tpstat c" -max_warns 1047 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 206 -n1 205 -n2 0 -total 411 -withname 411 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 206 -n1 205 -n2 0 -total 411 -withname 411 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 211 -shell 212 -face 1585 -shape 8951 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 211 -shell 212 -face 1585 -freewire 0 -freeedge 0 -sharededge 3084 -max_solid 211 -max_shell 212 -max_face 1585 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003688364238 -avg 2.561768589e-05 -max_tol ${max_tol_res_1}
+
index 61d79936d519fe2ba3a611351810a92d9b0a8b16..e3730762b06ddc93bca4b8227d619bf727647aae 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename tr9_r0601-db.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 169  ( 3 )  Summary  = 169  ( 3 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 4252  ( 61 )  Face     = 4252  ( 4252 )   Summary  = 46792  ( 42470 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 4252  ( 61 )  Face     = 4252  ( 4252 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 17172  ( 17172 )
-TOLERANCE   : MaxTol   =  0.01863822385  (  0.02412563427 )  AvgTol   =  2.362731616e-005  (  0.0001293919275 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 4313  ( 4313 )  N2Labels = 0  ( 0 )   TotalLabels = 4314  ( 4314 )   NameLabels = 1  ( 1 )   ColorLabels = 4242  ( 4242 )   LayerLabels = 4252  ( 4252 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = RED WHITE  ( RED WHITE )
-NLAYERS     : NLayers  = 40  ( 40 )
-LAYERS      : Layers   = 1 10 100 101 11 12 138 139 15 16 17 175 176 177 178 18 181 182 183 2 245 246 29 3 30 31 32 33 34 35 36 37 4 5 7 8 9 96 97 99  ( {  1} {  2} {  3} {  4} {  5} {  7} {  8} {  9} { 10} { 11} { 12} { 15} { 16} { 17} { 18} { 29} { 30} { 31} { 32} { 33} { 34} { 35} { 36} { 37} { 96} { 97} { 99} 100 101 138 139 175 176 177 178 181 182 183 245 246 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 1 -n1 4313 -n2 0 -total 4314 -withname 1 -withcolor 4242 -withlayer 4252 -centroid 0 -volume 0 -area 0 -colors { RED WHITE } -nbcolors 2 -layers { "  1" "  2" "  3" "  4" "  5" "  7" "  8" "  9" " 10" " 11" " 12" " 15" " 16" " 17" " 18" " 29" " 30" " 31" " 32" " 33" " 34" " 35" " 36" " 37" " 96" " 97" " 99" "100" "101" "138" "139" "175" "176" "177" "178" "181" "182" "183" "245" "246" } -nblayers 40
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 61 -face 4252 -shape 42470
+checkstatshape res_1 -solid 0 -shell 61 -face 4252 -freewire 0 -freeedge 0 -sharededge 17172
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.02412563427 -avg 0.0001293919275]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 169 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 4313 -n2 0 -total 4314 -withname 1 -withcolor 4242 -withlayer 4252 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 40
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 4313 -n2 0 -total 4314 -withname 1 -withcolor 4242 -withlayer 4252 -centroid 0 -volume 0 -area 0 -colors { RED WHITE  } -nbcolors 2 -layers { "1" "2" "3" "4" "5" "7" "8" "9" "10" "11" "12" "15" "16" "17" "18" "29" "30" "31" "32" "33" "34" "35" "36" "37" "96" "97" "99" "100" "101" "138" "139" "175" "176" "177" "178" "181" "182" "183" "245" "246" } -nblayers 40
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 4252 -face 4252 -shape 46792 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 4252 -face 4252 -freewire 0 -freeedge 0 -sharededge 17172 -max_solid 0 -max_shell 61 -max_face 4252 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01863822385 -avg 2.362731616e-005 -max_tol ${max_tol_res_1}
+
index fbcb11a9a1ad18d76311c31f03a55a2a737b15ac..e51f37ba93e117e370442028e67a1b715ebd325d 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename CTS20315-2.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 322  ( 148 )  Summary  = 322  ( 148 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 797  ( 797 )  Face     = 797  ( 797 )   Summary  = 11927  ( 11927 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 797  ( 797 )  Face     = 797  ( 797 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 4820  ( 4820 )
-TOLERANCE   : MaxTol   =  0.03846819732  (   0.0394709482 )  AvgTol   =  0.0008687242138  (  0.002865279517 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 148 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 797 -face 797 -shape 11927
+checkstatshape res_1 -solid 0 -shell 797 -face 797 -freewire 0 -freeedge 0 -sharededge 4820
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0394709482 -avg 0.002865279517]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 148 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 322 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 797 -face 797 -shape 11927 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 797 -face 797 -freewire 0 -freeedge 0 -sharededge 4820 -max_solid 0 -max_shell 797 -max_face 797 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.03846819732 -avg 0.0008687242138 -max_tol ${max_tol_res_1}
+
index dcb4c97a7d50b10c513fe93d30e24c41015c1e2a..89873f5abb44e1166ec609ae6c4f6aa31463b609 100755 (executable)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" 
 
-
 set filename trj8_pm6-hc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 20 )  Warnings = 0  ( 0 )  Summary  = 0  ( 20 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 11  ( 544 )  Summary  = 11  ( 544 )
-CHECKSHAPE  : Wires    = 10  ( 0 )  Faces    = 10  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 98  ( 98 )  Shell    = 98  ( 98 )  Face     = 1506  ( 1506 )   Summary  = 9228  ( 9224 )
-STATSHAPE   : Solid    = 272  ( 272 )  Shell    = 272  ( 272 )  Face     = 3216  ( 3216 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 3297  ( 3293 )
-TOLERANCE   : MaxTol   =   0.9562231856  (      3.3196868 )  AvgTol   =  0.0007146007958  (  0.003703900307 )
-LABELS      : N0Labels = 230  ( 230 )  N1Labels = 1909  ( 1909 )  N2Labels = 0  ( 0 )   TotalLabels = 2139  ( 2139 )   NameLabels = 633  ( 633 )   ColorLabels = 1604  ( 1604 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 161  ( 161 )  Volume   = 161  ( 161 )  Area     = 161  ( 161 )
-NCOLORS     : NColors  = 6  ( 6 )
-COLORS      : Colors   = DARKSEAGREEN1 LAVENDER LIGHTGOLDENROD LIGHTSTEELBLUE1 LIGHTSTEELBLUE3 STEELBLUE3  ( DARKSEAGREEN1 LAVENDER LIGHTGOLDENROD LIGHTSTEELBLUE1 LIGHTSTEELBLUE3 STEELBLUE3 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 60 -max_faults 20
+checkdoc "tpstat c" -max_warns 545 -max_faults 0
+checkxstat D_First -n0 230 -n1 1909 -n2 0 -total 2139 -withname 633 -withcolor 1604 -withlayer 0 -centroid 161 -volume 161 -area 161 -colors { DARKSEAGREEN1 LAVENDER LIGHTGOLDENROD LIGHTSTEELBLUE1 LIGHTSTEELBLUE3 STEELBLUE3 } -nbcolors 6 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 98 -shell 98 -face 1506 -shape 9224
+checkstatshape res_1 -solid 272 -shell 272 -face 3216 -freewire 0 -freeedge 0 -sharededge 3293
+set max_tol_res_1 [checkmaxtol res_1 -tol 3.3196868 -avg 0.003703900307]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 60 -max_faults 20
+checkdoc "tpstat c" -max_warns 545 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 230 -n1 1909 -n2 0 -total 2139 -withname 633 -withcolor 1604 -withlayer 0 -centroid 161 -volume 161 -area 161 -nbcolors 6 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 230 -n1 1909 -n2 0 -total 2139 -withname 633 -withcolor 1604 -withlayer 0 -centroid 161 -volume 161 -area 161 -colors { DARKSEAGREEN1 LAVENDER LIGHTGOLDENROD LIGHTSTEELBLUE1 LIGHTSTEELBLUE3 STEELBLUE3  } -nbcolors 6 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 10 -max_faces 10 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 98 -shell 98 -face 1506 -shape 9228 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 272 -shell 272 -face 3216 -freewire 0 -freeedge 0 -sharededge 3297 -max_solid 272 -max_shell 272 -max_face 3216 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9562231856 -avg 0.0007146007958 -max_tol ${max_tol_res_1}
+
index 1d3e5f29d9187b61125d9f270dc0488d0b93abcf..f3eacf7cbaa05ae7e6dd9fdb23ee4e8cf7b19dce 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename bm4_ug_seal_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 12 )  Summary  = 4  ( 12 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 5  ( 5 )  Face     = 33  ( 33 )   Summary  = 179  ( 180 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 5  ( 5 )  Face     = 33  ( 33 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 66  ( 66 )
-TOLERANCE   : MaxTol   = 0.006927894742  (  0.00692789498 )  AvgTol   =  0.0002918389799  (  0.000292341891 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 3  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 4  ( 3 )   NameLabels = 1  ( 1 )   ColorLabels = 3  ( 2 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = GREEN MEDIUMSEAGREEN  ( GREEN MEDIUMSEAGREEN )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+checkxstat D_First -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN MEDIUMSEAGREEN } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 5 -face 33 -shape 180
+checkstatshape res_1 -solid 3 -shell 5 -face 33 -freewire 0 -freeedge 0 -sharededge 66
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.00692789498 -avg 0.000292341891]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN MEDIUMSEAGREEN  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 5 -face 33 -shape 179 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 5 -face 33 -freewire 0 -freeedge 0 -sharededge 66 -max_solid 3 -max_shell 5 -max_face 33 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.006927894742 -avg 0.0002918389799 -max_tol ${max_tol_res_1}
+
index 2f350b159a1cac12760ff1799f85243dfa081b60..6dc5b5019f0156dbf728a0f64b814571c2c92e7c 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename bm4_ug_seal_b.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 12 )  Summary  = 4  ( 12 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 5  ( 5 )  Face     = 33  ( 33 )   Summary  = 180  ( 180 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 5  ( 5 )  Face     = 33  ( 33 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 67  ( 66 )
-TOLERANCE   : MaxTol   = 0.0005609682904  ( 0.0005609682907 )  AvgTol   =  1.661428836e-005  (  1.72402699e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 3  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 4  ( 3 )   NameLabels = 1  ( 1 )   ColorLabels = 3  ( 2 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = GREEN MEDIUMSEAGREEN  ( GREEN MEDIUMSEAGREEN )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+checkxstat D_First -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN MEDIUMSEAGREEN } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 5 -face 33 -shape 180
+checkstatshape res_1 -solid 3 -shell 5 -face 33 -freewire 0 -freeedge 0 -sharededge 66
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0005609682907 -avg 1.72402699e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 12 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 3 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN MEDIUMSEAGREEN  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 5 -face 33 -shape 180 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 5 -face 33 -freewire 0 -freeedge 0 -sharededge 67 -max_solid 3 -max_shell 5 -max_face 33 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0005609682904 -avg 1.661428836e-005 -max_tol ${max_tol_res_1}
+
index cb95fa9ecef97449e46e6a5b695d81ef19093b31..8d1645419a8aba0d83b4941b801a497512e8a777 100644 (file)
@@ -1,22 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-set LinuxDiff 4
-set LinuxFaulties {CHECKSHAPE TOLERANCE}
 set filename PRO10109.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 47  ( 41 )  Summary  = 47  ( 41 )
-CHECKSHAPE  : Wires    = 0  ( 1 )  Faces    = 1  ( 2 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 209  ( 129 )  Face     = 209  ( 209 )   Summary  = 3032  ( 2883 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 209  ( 129 )  Face     = 209  ( 209 )   FreeWire = 0  ( 1 )   FreeEdge  = 67 ( 67 )   SharedEdge = 1152  ( 1150 )
-TOLERANCE   : MaxTol   =   0.3035246255  (   0.3035246024 )  AvgTol   =  0.001361092422  (  0.003604130581 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 41 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 2 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 129 -face 209 -shape 2883
+checkstatshape res_1 -solid 0 -shell 129 -face 209 -freewire 1 -freeedge 67 -sharededge 1150
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.3035246024 -avg 0.003604130581]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 41 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 41 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 2 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 209 -face 209 -shape 3032 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 209 -face 209 -freewire 0 -freeedge 67 -sharededge 1152 -max_solid 0 -max_shell 129 -max_face 209 -max_freewire 1 -max_freeedge 67
+checkmaxtol res_2 -tol 0.3035246255 -avg 0.001361092422 -max_tol ${max_tol_res_1}
+
index 320b7cb839aec4d7dcd71045b7536a1c7e4ab1c7..48e8bb6b0c2c03bdd71dfa002d9a598eaa863a33 100755 (executable)
@@ -1,19 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 
 set filename trj7_pm5-hc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 20 )  Warnings = 0  ( 0 )  Summary  = 0  ( 20 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 19  ( 555 )  Summary  = 19  ( 555 )
-CHECKSHAPE  : Wires    = 10  ( 0 )  Faces    = 10  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 98  ( 98 )  Shell    = 98  ( 98 )  Face     = 1506  ( 1506 )   Summary  = 9228  ( 9224 )
-STATSHAPE   : Solid    = 272  ( 272 )  Shell    = 272  ( 272 )  Face     = 3216  ( 3216 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 3297  ( 3293 )
-TOLERANCE   : MaxTol   =   0.9562231856  (      3.3196868 )  AvgTol   =  0.0007140087235  (  0.003703307656 )
-LABELS      : N0Labels = 230  ( 230 )  N1Labels = 403  ( 403 )  N2Labels = 0  ( 0 )   TotalLabels = 633  ( 633 )   NameLabels = 633  ( 633 )   ColorLabels = 98  ( 98 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 99  ( 99 )  Volume   = 99  ( 99 )  Area     = 99  ( 99 )
-NCOLORS     : NColors  = 6  ( 6 )
-COLORS      : Colors   = DARKSEAGREEN1 LAVENDER LIGHTGOLDENROD LIGHTSTEELBLUE1 LIGHTSTEELBLUE3 STEELBLUE3  ( DARKSEAGREEN1 LAVENDER LIGHTGOLDENROD LIGHTSTEELBLUE1 LIGHTSTEELBLUE3 STEELBLUE3 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 60 -max_faults 20
+checkdoc "tpstat c" -max_warns 557 -max_faults 0
+checkxstat D_First -n0 230 -n1 403 -n2 0 -total 633 -withname 633 -withcolor 98 -withlayer 0 -centroid 99 -volume 99 -area 99 -colors { DARKSEAGREEN1 LAVENDER LIGHTGOLDENROD LIGHTSTEELBLUE1 LIGHTSTEELBLUE3 STEELBLUE3 } -nbcolors 6 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 98 -shell 98 -face 1506 -shape 9224
+checkstatshape res_1 -solid 272 -shell 272 -face 3216 -freewire 0 -freeedge 0 -sharededge 3293
+set max_tol_res_1 [checkmaxtol res_1 -tol 3.3196868 -avg 0.003703307656]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 60 -max_faults 20
+checkdoc "tpstat c" -max_warns 557 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 21 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 230 -n1 403 -n2 0 -total 633 -withname 633 -withcolor 98 -withlayer 0 -centroid 99 -volume 99 -area 99 -nbcolors 6 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 230 -n1 403 -n2 0 -total 633 -withname 633 -withcolor 98 -withlayer 0 -centroid 99 -volume 99 -area 99 -colors { DARKSEAGREEN1 LAVENDER LIGHTGOLDENROD LIGHTSTEELBLUE1 LIGHTSTEELBLUE3 STEELBLUE3  } -nbcolors 6 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 10 -max_faces 10 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 98 -shell 98 -face 1506 -shape 9228 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 272 -shell 272 -face 3216 -freewire 0 -freeedge 0 -sharededge 3297 -max_solid 272 -max_shell 272 -max_face 3216 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9562231856 -avg 0.0007140087235 -max_tol ${max_tol_res_1}
+
index 7420edf8d1d5a2eaf2fcaba351f3a1be2cee82aa..c9bb24f37bbbdbe825aaa44e3e45b643cd623ec1 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: PROPS : Faulty" 
 
-
 set filename trj7_pm5-id-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 237  ( 237 )  Summary  = 237  ( 237 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 16  ( 16 )  Shell    = 16  ( 16 )  Face     = 494  ( 494 )   Summary  = 3402  ( 3355 )
-STATSHAPE   : Solid    = 26  ( 26 )  Shell    = 26  ( 26 )  Face     = 874  ( 874 )   FreeWire = 0  ( 0 )   FreeEdge  = 58 ( 58 )   SharedEdge = 1179  ( 1179 )
-TOLERANCE   : MaxTol   = 0.001020031074  (  0.00102003115 )  AvgTol   =  6.808274139e-006  (  6.808274478e-006 )
-LABELS      : N0Labels = 27  ( 27 )  N1Labels = 257  ( 257 )  N2Labels = 0  ( 0 )   TotalLabels = 284  ( 284 )   NameLabels = 54  ( 54 )   ColorLabels = 242  ( 242 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 15  ( 32 )  Volume   = 15  ( 15 )  Area     = 15  ( 15 )
-NCOLORS     : NColors  = 6  ( 6 )
-COLORS      : Colors   = DEEPSKYBLUE2 DODGERBLUE2 MAGENTA1 ORANGE ORANGERED RED  ( DEEPSKYBLUE2 DODGERBLUE2 MAGENTA1 ORANGE ORANGERED RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 237 -max_faults 0
+checkxstat D_First -n0 27 -n1 257 -n2 0 -total 284 -withname 54 -withcolor 242 -withlayer 0 -centroid 32 -volume 15 -area 15 -colors { DEEPSKYBLUE2 DODGERBLUE2 MAGENTA1 ORANGE ORANGERED RED } -nbcolors 6 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 16 -shell 16 -face 494 -shape 3355
+checkstatshape res_1 -solid 26 -shell 26 -face 874 -freewire 0 -freeedge 58 -sharededge 1179
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.00102003115 -avg 6.808274478e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 237 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 237 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 27 -n1 257 -n2 0 -total 284 -withname 54 -withcolor 242 -withlayer 0 -centroid 32 -volume 15 -area 15 -nbcolors 6 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 27 -n1 257 -n2 0 -total 284 -withname 54 -withcolor 242 -withlayer 0 -centroid 15 -volume 15 -area 15 -colors { DEEPSKYBLUE2 DODGERBLUE2 MAGENTA1 ORANGE ORANGERED RED  } -nbcolors 6 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 16 -shell 16 -face 494 -shape 3402 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 26 -shell 26 -face 874 -freewire 0 -freeedge 58 -sharededge 1179 -max_solid 26 -max_shell 26 -max_face 874 -max_freewire 0 -max_freeedge 58
+checkmaxtol res_2 -tol 0.001020031074 -avg 6.808274139e-006 -max_tol ${max_tol_res_1}
+
index 49c10b316b546ffae6459091fe019d9aa917a151..9ad09c7d58107db99fd840b3815a2de234443b97 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: PROPS : Faulty" 
 
-
 set filename trj7_pm5-pe-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 7  ( 2 )  Summary  = 7  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 1067  ( 1067 )   Summary  = 7192  ( 7192 )
-STATSHAPE   : Solid    = 6  ( 6 )  Shell    = 6  ( 6 )  Face     = 1083  ( 1083 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 3028  ( 3028 )
-TOLERANCE   : MaxTol   = 0.0008521598214  ( 0.001299198834 )  AvgTol   =  1.420819957e-005  (  0.0004704251775 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 107  ( 107 )  N2Labels = 0  ( 0 )   TotalLabels = 112  ( 112 )   NameLabels = 11  ( 11 )   ColorLabels = 104  ( 104 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 5  ( 11 )  Volume   = 5  ( 5 )  Area     = 5  ( 5 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = AZURE4 GRAY10 GRAY50 RED YELLOW  ( AZURE4 GRAY10 GRAY50 RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 5 -n1 107 -n2 0 -total 112 -withname 11 -withcolor 104 -withlayer 0 -centroid 11 -volume 5 -area 5 -colors { AZURE4 GRAY10 GRAY50 RED YELLOW } -nbcolors 5 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 4 -shell 4 -face 1067 -shape 7192
+checkstatshape res_1 -solid 6 -shell 6 -face 1083 -freewire 0 -freeedge 0 -sharededge 3028
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.001299198834 -avg 0.0004704251775]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 107 -n2 0 -total 112 -withname 11 -withcolor 104 -withlayer 0 -centroid 11 -volume 5 -area 5 -nbcolors 5 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 107 -n2 0 -total 112 -withname 11 -withcolor 104 -withlayer 0 -centroid 5 -volume 5 -area 5 -colors { AZURE4 GRAY10 GRAY50 RED YELLOW  } -nbcolors 5 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 4 -shell 4 -face 1067 -shape 7192 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 6 -shell 6 -face 1083 -freewire 0 -freeedge 0 -sharededge 3028 -max_solid 6 -max_shell 6 -max_face 1083 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0008521598214 -avg 1.420819957e-005 -max_tol ${max_tol_res_1}
+
index 5fef87e0d5c724f3e3345d9aaae38b90d6162286..196ea9b2fe93a06f7e9bbb78b4258c10fc3ccbd1 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj12_b3-id-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 451  ( 435 )  Summary  = 451  ( 435 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 691  ( 691 )   Summary  = 4597  ( 4593 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 691  ( 691 )   FreeWire = 0  ( 0 )   FreeEdge  = 4 ( 4 )   SharedEdge = 1921  ( 1921 )
-TOLERANCE   : MaxTol   = 0.009713246079  ( 0.009813593708 )  AvgTol   =  0.0007698614465  (  0.001110514786 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 765  ( 761 )  N2Labels = 0  ( 0 )   TotalLabels = 768  ( 764 )   NameLabels = 5  ( 5 )   ColorLabels = 73  ( 70 )   LayerLabels = 691  ( 691 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLACK GREEN MEDIUMSEAGREEN  ( BLACK GREEN MEDIUMSEAGREEN )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 31  ( 31 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 435 -max_faults 0
+checkxstat D_First -n0 3 -n1 761 -n2 0 -total 764 -withname 5 -withcolor 70 -withlayer 691 -centroid 1 -volume 1 -area 1 -colors { BLACK GREEN MEDIUMSEAGREEN } -nbcolors 3 -layers { 31 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 691 -shape 4593
+checkstatshape res_1 -solid 1 -shell 1 -face 691 -freewire 0 -freeedge 4 -sharededge 1921
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009813593708 -avg 0.001110514786]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 435 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 451 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 761 -n2 0 -total 764 -withname 5 -withcolor 70 -withlayer 691 -centroid 1 -volume 1 -area 1 -nbcolors 3 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 765 -n2 0 -total 768 -withname 5 -withcolor 73 -withlayer 691 -centroid 1 -volume 1 -area 1 -colors { BLACK GREEN MEDIUMSEAGREEN  } -nbcolors 3 -layers { 31  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 691 -shape 4597 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 691 -freewire 0 -freeedge 4 -sharededge 1921 -max_solid 1 -max_shell 1 -max_face 691 -max_freewire 0 -max_freeedge 4
+checkmaxtol res_2 -tol 0.009713246079 -avg 0.0007698614465 -max_tol ${max_tol_res_1}
+
index ed865150c1d5386b8f384ff8540681a09089a0af..7c1b30bdb8d127890cb6f9a9201730f56d59875a 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj12_ttmouse-ct-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 506  ( 256 )  Summary  = 506  ( 256 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 31  ( 31 )  Shell    = 349  ( 349 )  Face     = 1547  ( 1547 )   Summary  = 13546  ( 13344 )
-STATSHAPE   : Solid    = 40  ( 40 )  Shell    = 359  ( 359 )  Face     = 1923  ( 1923 )   FreeWire = 0  ( 3 )   FreeEdge  = 208 ( 208 )   SharedEdge = 5414  ( 5414 )
-TOLERANCE   : MaxTol   =  0.01535715949  (  0.01940049859 )  AvgTol   =  0.000510121635  (  0.001069993247 )
-LABELS      : N0Labels = 13  ( 13 )  N1Labels = 2197  ( 2323 )  N2Labels = 0  ( 0 )   TotalLabels = 2210  ( 2336 )   NameLabels = 31  ( 31 )   ColorLabels = 2183  ( 2183 )   LayerLabels = 483  ( 609 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 7  ( 7 )
-COLORS      : Colors   = BLUE1 GREEN GREEN4 MAGENTA1 TURQUOISE3 WHITE YELLOW  ( BLUE1 GREEN GREEN4 MAGENTA1 TURQUOISE3 WHITE YELLOW )
-NLAYERS     : NLayers  = 11  ( 11 )
-LAYERS      : Layers   = 0 1 10 2 3 4 5 6 7 8 9  ( 0 1 10 2 3 4 5 6 7 8 9 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 8 -max_faults 0
+checkdoc "tpstat c" -max_warns 274 -max_faults 0
+checkxstat D_First -n0 13 -n1 2323 -n2 0 -total 2336 -withname 31 -withcolor 2183 -withlayer 609 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN GREEN4 MAGENTA1 TURQUOISE3 WHITE YELLOW } -nbcolors 7 -layers { 0 1 10 2 3 4 5 6 7 8 9 } -nblayers 11
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 31 -shell 349 -face 1547 -shape 13344
+checkstatshape res_1 -solid 40 -shell 359 -face 1923 -freewire 3 -freeedge 208 -sharededge 5414
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01940049859 -avg 0.001069993247]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 8 -max_faults 0
+checkdoc "tpstat c" -max_warns 274 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 395 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 13 -n1 2323 -n2 0 -total 2336 -withname 31 -withcolor 2183 -withlayer 609 -centroid 0 -volume 0 -area 0 -nbcolors 7 -nblayers 11
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 13 -n1 2197 -n2 0 -total 2210 -withname 31 -withcolor 2183 -withlayer 483 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN GREEN4 MAGENTA1 TURQUOISE3 WHITE YELLOW  } -nbcolors 7 -layers { 0 1 10 2 3 4 5 6 7 8 9  } -nblayers 11
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 31 -shell 349 -face 1547 -shape 13546 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 40 -shell 359 -face 1923 -freewire 0 -freeedge 208 -sharededge 5414 -max_solid 40 -max_shell 359 -max_face 1923 -max_freewire 3 -max_freeedge 208
+checkmaxtol res_2 -tol 0.01535715949 -avg 0.000510121635 -max_tol ${max_tol_res_1}
+
index 0d3b1b664021d4635066876ecee5c32a6a9f2501..3316be47ce13031bab1016dbe172ede13f6b1694 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename 612319029MB-HEAD-CYLINDER.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1869  ( 2152 )  Summary  = 1869  ( 2152 )
-CHECKSHAPE  : Wires    = 36  ( 36 )  Faces    = 36  ( 36 )  Shells   = 0  ( 0 )   Solids   = 1 ( 1 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 17  ( 17 )  Face     = 6173  ( 6173 )   Summary  = 41176  ( 41161 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 17  ( 17 )  Face     = 6173  ( 6173 )   FreeWire = 0  ( 0 )   FreeEdge  = 4 ( 4 )   SharedEdge = 17483  ( 17472 )
-TOLERANCE   : MaxTol   =  0.07753055119  (  0.08114875624 )  AvgTol   =  0.002252828596  (  0.008808842178 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2189 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 36 -max_faces 36 -max_shells 0 -max_solids 1
+checknbshapes res_1 -solid 1 -shell 17 -face 6173 -shape 41161
+checkstatshape res_1 -solid 1 -shell 17 -face 6173 -freewire 0 -freeedge 4 -sharededge 17472
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.08114875624 -avg 0.008808842178]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2189 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1660 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 36 -max_faces 36 -max_shells 0 -max_solids 1
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 36 -max_faces 36 -max_shells 0 -max_solids 1
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 17 -face 6173 -shape 41176 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 17 -face 6173 -freewire 0 -freeedge 4 -sharededge 17483 -max_solid 1 -max_shell 17 -max_face 6173 -max_freewire 0 -max_freeedge 4
+checkmaxtol res_2 -tol 0.07753055119 -avg 0.002252828596 -max_tol ${max_tol_res_1}
+
index 5301ff9557128c1a827b1d4b9cca6a4e4a1c8200..27fd37734775c4c27030cc812a893971a033a628 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename tr9_r0601-td.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 228  ( 1 )  Summary  = 228  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 4242  ( 61 )  Face     = 4242  ( 4242 )   Summary  = 46642  ( 42462 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 4242  ( 61 )  Face     = 4242  ( 4242 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 17100  ( 17100 )
-TOLERANCE   : MaxTol   = 0.0003292944598  ( 0.0009787303794 )  AvgTol   =  3.190255905e-007  (  8.698017989e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 4242  ( 4242 )  N2Labels = 0  ( 0 )   TotalLabels = 4243  ( 4243 )   NameLabels = 1  ( 1 )   ColorLabels = 4242  ( 4242 )   LayerLabels = 4242  ( 4242 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = RED WHITE  ( RED WHITE )
-NLAYERS     : NLayers  = 39  ( 39 )
-LAYERS      : Layers   = 001 002 003 004 005 008 009 010 011 012 015 016 017 018 029 030 031 032 033 034 035 036 037 096 097 099 100 101 138 139 175 176 177 178 181 182 183 245 246  ( 001 002 003 004 005 008 009 010 011 012 015 016 017 018 029 030 031 032 033 034 035 036 037 096 097 099 100 101 138 139 175 176 177 178 181 182 183 245 246 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 1 -n1 4242 -n2 0 -total 4243 -withname 1 -withcolor 4242 -withlayer 4242 -centroid 0 -volume 0 -area 0 -colors { RED WHITE } -nbcolors 2 -layers { 001 002 003 004 005 008 009 010 011 012 015 016 017 018 029 030 031 032 033 034 035 036 037 096 097 099 100 101 138 139 175 176 177 178 181 182 183 245 246 } -nblayers 39
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 61 -face 4242 -shape 42462
+checkstatshape res_1 -solid 0 -shell 61 -face 4242 -freewire 0 -freeedge 0 -sharededge 17100
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0009787303794 -avg 8.698017989e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 194 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 4242 -n2 0 -total 4243 -withname 1 -withcolor 4242 -withlayer 4242 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 39
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 4242 -n2 0 -total 4243 -withname 1 -withcolor 4242 -withlayer 4242 -centroid 0 -volume 0 -area 0 -colors { RED WHITE  } -nbcolors 2 -layers { 001 002 003 004 005 008 009 010 011 012 015 016 017 018 029 030 031 032 033 034 035 036 037 096 097 099 100 101 138 139 175 176 177 178 181 182 183 245 246  } -nblayers 39
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 4242 -face 4242 -shape 46642 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 4242 -face 4242 -freewire 0 -freeedge 0 -sharededge 17100 -max_solid 0 -max_shell 61 -max_face 4242 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0003292944598 -avg 3.190255905e-007 -max_tol ${max_tol_res_1}
+
index f4eff205b2c4cbbc5e6a6fb98f8e20d1f9ec6a4a..74fa1f5d576a5bc637fb1d4549b80e55308c8840 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename PRO7072.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 163  ( 223 )  Summary  = 163  ( 223 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 779  ( 770 )  Face     = 800  ( 800 )   Summary  = 9160  ( 9152 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 779  ( 770 )  Face     = 800  ( 800 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 3403  ( 3404 )
-TOLERANCE   : MaxTol   =   0.1585551198  (   0.1585551198 )  AvgTol   =  0.0004822446021  (  0.0004842914724 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 222 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 770 -face 800 -shape 9152
+checkstatshape res_1 -solid 0 -shell 770 -face 800 -freewire 0 -freeedge 0 -sharededge 3404
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1585551198 -avg 0.0004842914724]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 222 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 161 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 779 -face 800 -shape 9160 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 779 -face 800 -freewire 0 -freeedge 0 -sharededge 3403 -max_solid 0 -max_shell 770 -max_face 800 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.1585551198 -avg 0.0004822446021 -max_tol ${max_tol_res_1}
+
index d6ec70cc417ec096b62d6b6becbb8d5678835cb7..fa626b0147c545a42ba6dff2536d250ae2f7b924 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename gehaeuse_solid.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 2 )  Warnings = 0  ( 0 )  Summary  = 0  ( 2 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 120  ( 77 )  Summary  = 120  ( 77 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 12  ( 12 )  Shell    = 28  ( 28 )  Face     = 3042  ( 3042 )   Summary  = 17827  ( 17827 )
-STATSHAPE   : Solid    = 42  ( 42 )  Shell    = 58  ( 58 )  Face     = 3464  ( 3464 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 7281  ( 7281 )
-TOLERANCE   : MaxTol   =  0.08182857582  (  0.08182857582 )  AvgTol   =  0.001536334725  (  0.005273191285 )
-LABELS      : N0Labels = 18  ( 18 )  N1Labels = 47  ( 47 )  N2Labels = 0  ( 0 )   TotalLabels = 65  ( 65 )   NameLabels = 65  ( 65 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 78 -max_faults 0
+checkxstat D_First -n0 18 -n1 47 -n2 0 -total 65 -withname 65 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 12 -shell 28 -face 3042 -shape 17827
+checkstatshape res_1 -solid 42 -shell 58 -face 3464 -freewire 0 -freeedge 0 -sharededge 7281
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.08182857582 -avg 0.005273191285]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 78 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 62 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 18 -n1 47 -n2 0 -total 65 -withname 65 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 18 -n1 47 -n2 0 -total 65 -withname 65 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 12 -shell 28 -face 3042 -shape 17827 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 42 -shell 58 -face 3464 -freewire 0 -freeedge 0 -sharededge 7281 -max_solid 42 -max_shell 58 -max_face 3464 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.08182857582 -avg 0.001536334725 -max_tol ${max_tol_res_1}
+
index b6c65f054713d96dbdcb7db37507edf754e20dd2..a41a30441a743805cb21dcf05b9f8b8ab7f7c1d6 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
-puts "TODO CR25013 ALL: Error : 1 differences with reference data found
+puts "TODO CR25013 ALL: Error: Max tolerance of res_1
 
-set LinuxDiff 2
 set filename wgehaeuse_surface.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 167  ( 910 )  Summary  = 167  ( 910 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 2823  ( 0 )  Face     = 2823  ( 2823 )   Summary  = 35042  ( 32218 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 3347  ( 0 )  Face     = 3347  ( 3347 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 13234  ( 13233 )
-TOLERANCE   : MaxTol   =  0.07507769847  (  0.07507769847 )  AvgTol   =  0.0002646721739  (  0.002834192939 )
-LABELS      : N0Labels = 37  ( 37 )  N1Labels = 76  ( 76 )  N2Labels = 0  ( 0 )   TotalLabels = 113  ( 113 )   NameLabels = 113  ( 113 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 910 -max_faults 0
+checkxstat D_First -n0 37 -n1 76 -n2 0 -total 113 -withname 113 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 2823 -shape 32218
+checkstatshape res_1 -solid 0 -shell 0 -face 3347 -freewire 0 -freeedge 0 -sharededge 13233
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.07507769847 -avg 0.002834192939]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 910 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 70 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 37 -n1 76 -n2 0 -total 113 -withname 113 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 37 -n1 76 -n2 0 -total 113 -withname 113 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 2823 -face 2823 -shape 35042 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 3347 -face 3347 -freewire 0 -freeedge 0 -sharededge 13234 -max_solid 0 -max_shell 0 -max_face 3347 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.07507769847 -avg 0.0002646721739 -max_tol ${max_tol_res_1}
+
index 11b10b0a8b86e79bd45ebe387664b0548f56a97f..394901e6d1a1d369ac041977acc729b0b71fc1d1 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename trj4_pm2-in-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 158  ( 150 )  Summary  = 158  ( 150 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 17  ( 17 )  Shell    = 17  ( 17 )  Face     = 1556  ( 1556 )   Summary  = 10319  ( 10319 )
-STATSHAPE   : Solid    = 35  ( 35 )  Shell    = 35  ( 35 )  Face     = 1828  ( 1828 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 4290  ( 4290 )
-TOLERANCE   : MaxTol   =   0.1193605745  (   0.1225157466 )  AvgTol   =  0.001496894526  (  0.001550453364 )
-LABELS      : N0Labels = 22  ( 22 )  N1Labels = 39  ( 39 )  N2Labels = 0  ( 0 )   TotalLabels = 61  ( 61 )   NameLabels = 61  ( 61 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 150 -max_faults 0
+checkxstat D_First -n0 22 -n1 39 -n2 0 -total 61 -withname 61 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 17 -shell 17 -face 1556 -shape 10319
+checkstatshape res_1 -solid 35 -shell 35 -face 1828 -freewire 0 -freeedge 0 -sharededge 4290
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1225157466 -avg 0.001550453364]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 150 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 159 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 22 -n1 39 -n2 0 -total 61 -withname 61 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 22 -n1 39 -n2 0 -total 61 -withname 61 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 17 -shell 17 -face 1556 -shape 10319 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 35 -shell 35 -face 1828 -freewire 0 -freeedge 0 -sharededge 4290 -max_solid 35 -max_shell 35 -max_face 1828 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.1193605745 -avg 0.001496894526 -max_tol ${max_tol_res_1}
+
index 42a6228d76fcd22922650d03711406992af9fa5d..fb2f5efe76e694c5721cc89ce81ef36cd055be4c 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 
-
 set filename trj4_pm2-pe-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 4 )  Summary  = 4  ( 4 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 31  ( 31 )  Face     = 1756  ( 1756 )   Summary  = 10785  ( 10781 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 31  ( 31 )  Face     = 1756  ( 1756 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 4486  ( 4482 )
-TOLERANCE   : MaxTol   =  0.03512124284  (   0.0303925904 )  AvgTol   =  0.002074437616  (  0.003864115961 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 249  ( 249 )  N2Labels = 0  ( 0 )   TotalLabels = 252  ( 252 )   NameLabels = 5  ( 5 )   ColorLabels = 31  ( 31 )   LayerLabels = 217  ( 217 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 2  ( 2 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = GESENK_NULL QUERSCHNITT_S SPIBI  ( GESENK_NULL QUERSCHNITT_S SPIBI )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 3 -n1 249 -n2 0 -total 252 -withname 5 -withcolor 31 -withlayer 217 -centroid 1 -volume 1 -area 2 -colors { WHITE } -nbcolors 1 -layers { "GESENK_NULL" "QUERSCHNITT_S" "SPIBI" } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 31 -face 1756 -shape 10781
+checkstatshape res_1 -solid 1 -shell 31 -face 1756 -freewire 0 -freeedge 0 -sharededge 4482
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0303925904 -avg 0.003864115961]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 249 -n2 0 -total 252 -withname 5 -withcolor 31 -withlayer 217 -centroid 1 -volume 1 -area 2 -nbcolors 1 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 249 -n2 0 -total 252 -withname 5 -withcolor 31 -withlayer 217 -centroid 1 -volume 1 -area 2 -colors { WHITE  } -nbcolors 1 -layers { "GESENK_NULL" "QUERSCHNITT_S" "SPIBI" } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 31 -face 1756 -shape 10785 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 31 -face 1756 -freewire 0 -freeedge 0 -sharededge 4486 -max_solid 1 -max_shell 31 -max_face 1756 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.03512124284 -avg 0.002074437616 -max_tol ${max_tol_res_1}
+
index 7a938af727fe3874fb818325b20b1bcb8e25dc99..134bdbc236bd8930394b5267d7eb8ddcc668b4a0 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename tr10_r0501_db.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 61 )  Warnings = 0  ( 0 )  Summary  = 0  ( 61 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 170  ( 3 )  Summary  = 170  ( 3 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 4252  ( 61 )  Face     = 4252  ( 4252 )   Summary  = 46793  ( 42467 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 4252  ( 61 )  Face     = 4252  ( 4252 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 17171  ( 17171 )
-TOLERANCE   : MaxTol   =  0.01863822385  (  0.02412563428 )  AvgTol   =  2.362737276e-05  (  0.0001293920562 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 4313  ( 4313 )  N2Labels = 0  ( 0 )   TotalLabels = 4314  ( 4314 )   NameLabels = 1  ( 1 )   ColorLabels = 4242  ( 4242 )   LayerLabels = 4252  ( 4252 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = RED WHITE  ( RED WHITE )
-NLAYERS     : NLayers  = 40  ( 40 )
-LAYERS      : Layers   = 1 10 100 101 11 12 138 139 15 16 17 175 176 177 178 18 181 182 183 2 245 246 29 3 30 31 32 33 34 35 36 37 4 5 7 8 9 96 97 99  ( {  1} {  2} {  3} {  4} {  5} {  7} {  8} {  9} { 10} { 11} { 12} { 15} { 16} { 17} { 18} { 29} { 30} { 31} { 32} { 33} { 34} { 35} { 36} { 37} { 96} { 97} { 99} 100 101 138 139 175 176 177 178 181 182 183 245 246 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 61
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 1 -n1 4313 -n2 0 -total 4314 -withname 1 -withcolor 4242 -withlayer 4252 -centroid 0 -volume 0 -area 0 -colors { RED WHITE } -nbcolors 2 -layers { "  1" "  2" "  3" "  4" "  5" "  7" "  8" "  9" " 10" " 11" " 12" " 15" " 16" " 17" " 18" " 29" " 30" " 31" " 32" " 33" " 34" " 35" " 36" " 37" " 96" " 97" " 99" "100" "101" "138" "139" "175" "176" "177" "178" "181" "182" "183" "245" "246"  } -nblayers 40
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 61 -face 4252 -shape 42467
+checkstatshape res_1 -solid 0 -shell 61 -face 4252 -freewire 0 -freeedge 0 -sharededge 17171
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.02412563428 -avg 0.0001293920562]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 61
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 170 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 4313 -n2 0 -total 4314 -withname 1 -withcolor 4242 -withlayer 4252 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 40
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 4313 -n2 0 -total 4314 -withname 1 -withcolor 4242 -withlayer 4252 -centroid 0 -volume 0 -area 0 -colors { RED WHITE  } -nbcolors 2 -layers { "1" "2" "3" "4" "5" "7" "8" "9" "10" "11" "12" "15" "16" "17" "18" "29" "30" "31" "32" "33" "34" "35" "36" "37" "96" "97" "99" "100" "101" "138" "139" "175" "176" "177" "178" "181" "182" "183" "245" "246"  } -nblayers 40
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 4252 -face 4252 -shape 46793 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 4252 -face 4252 -freewire 0 -freeedge 0 -sharededge 17171 -max_solid 0 -max_shell 61 -max_face 4252 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01863822385 -avg 2.362737276e-05 -max_tol ${max_tol_res_1}
+
index 02c2ed55fef1ddb73518d6ebf6cc39648597928a..babb49dbdcd582647585a49ab2a12764fe6c84b6 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename UKI60591.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 6 )  Warnings = 0  ( 0 )  Summary  = 0  ( 6 )
-TPSTAT      : Faulties = 0  ( 6 )  Warnings = 16  ( 35 )  Summary  = 16  ( 41 )
-CHECKSHAPE  : Wires    = 1  ( 1 )  Faces    = 1  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 4  ( 4 )  Shell    = 27  ( 27 )  Face     = 183  ( 183 )   Summary  = 1491  ( 1486 )
-STATSHAPE   : Solid    = 4  ( 4 )  Shell    = 27  ( 27 )  Face     = 183  ( 183 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 623  ( 622 )
-TOLERANCE   : MaxTol   =   0.2224706003  (   0.2224706003 )  AvgTol   =  0.004510221387  (  0.004579916902 )
-LABELS      : N0Labels = 28  ( 28 )  N1Labels = 32  ( 23 )  N2Labels = 0  ( 0 )   TotalLabels = 60  ( 51 )   NameLabels = 51  ( 51 )   ColorLabels = 27  ( 22 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = GRAY20 RED  ( GRAY20 RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 6
+checkdoc "tpstat c" -max_warns 36 -max_faults 6
+checkxstat D_First -n0 28 -n1 23 -n2 0 -total 51 -withname 51 -withcolor 22 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY20 RED } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 4 -shell 27 -face 183 -shape 1486
+checkstatshape res_1 -solid 4 -shell 27 -face 183 -freewire 0 -freeedge 0 -sharededge 622
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.2224706003 -avg 0.004579916902]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 6
+checkdoc "tpstat c" -max_warns 36 -max_faults 6
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 17 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 28 -n1 23 -n2 0 -total 51 -withname 51 -withcolor 22 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 28 -n1 32 -n2 0 -total 60 -withname 51 -withcolor 27 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY20 RED  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 4 -shell 27 -face 183 -shape 1491 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 4 -shell 27 -face 183 -freewire 0 -freeedge 0 -sharededge 623 -max_solid 4 -max_shell 27 -max_face 183 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.2224706003 -avg 0.004510221387 -max_tol ${max_tol_res_1}
+
index c990ac4c4ea500c3db042ddc7d56c2290c1035d5..9ac6742c610d842e4dac4751dbd4bc2313aa0323 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename trj3_pm1-ct-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 127  ( 100 )  Summary  = 127  ( 100 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 1  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 45  ( 44 )  Face     = 804  ( 804 )   Summary  = 5323  ( 5318 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 45  ( 44 )  Face     = 804  ( 804 )   FreeWire = 0  ( 6 )   FreeEdge  = 6 ( 6 )   SharedEdge = 2213  ( 2208 )
-TOLERANCE   : MaxTol   =  0.06389681961  (  0.09956703386 )  AvgTol   =  0.001998735132  (  0.009098714937 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 4  ( 4 )  N2Labels = 0  ( 0 )   TotalLabels = 9  ( 9 )   NameLabels = 9  ( 9 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 99 -max_faults 0
+checkxstat D_First -n0 5 -n1 4 -n2 0 -total 9 -withname 9 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 44 -face 804 -shape 5318
+checkstatshape res_1 -solid 1 -shell 44 -face 804 -freewire 6 -freeedge 6 -sharededge 2208
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.09956703386 -avg 0.009098714937]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 99 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 33 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 4 -n2 0 -total 9 -withname 9 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 4 -n2 0 -total 9 -withname 9 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 45 -face 804 -shape 5323 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 45 -face 804 -freewire 0 -freeedge 6 -sharededge 2213 -max_solid 1 -max_shell 44 -max_face 804 -max_freewire 6 -max_freeedge 6
+checkmaxtol res_2 -tol 0.06389681961 -avg 0.001998735132 -max_tol ${max_tol_res_1}
+
index 03bcbd1eb1ba6e496f178b7e05e6999c8ad51705..83cbd4c9e51fe64caa2a2de19000f57beb2ee2e0 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" 
 
-
 set filename trj3_pm1-ug-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 23  ( 499 )  Summary  = 23  ( 499 )
-CHECKSHAPE  : Wires    = 1  ( 0 )  Faces    = 2  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 98  ( 98 )  Shell    = 98  ( 98 )  Face     = 3829  ( 3829 )   Summary  = 22284  ( 22284 )
-STATSHAPE   : Solid    = 116  ( 116 )  Shell    = 116  ( 116 )  Face     = 4144  ( 4144 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 8834  ( 8834 )
-TOLERANCE   : MaxTol   =  0.00815099718  (  0.06761346589 )  AvgTol   =  3.973824812e-006  (  3.72116487e-005 )
-LABELS      : N0Labels = 14  ( 14 )  N1Labels = 25  ( 25 )  N2Labels = 0  ( 0 )   TotalLabels = 39  ( 39 )   NameLabels = 39  ( 39 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 501 -max_faults 0
+checkxstat D_First -n0 14 -n1 25 -n2 0 -total 39 -withname 39 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 98 -shell 98 -face 3829 -shape 22284
+checkstatshape res_1 -solid 116 -shell 116 -face 4144 -freewire 0 -freeedge 0 -sharededge 8834
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.06761346589 -avg 3.72116487e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 501 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 24 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 14 -n1 25 -n2 0 -total 39 -withname 39 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 14 -n1 25 -n2 0 -total 39 -withname 39 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 2 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 98 -shell 98 -face 3829 -shape 22284 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 116 -shell 116 -face 4144 -freewire 0 -freeedge 0 -sharededge 8834 -max_solid 116 -max_shell 116 -max_face 4144 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.00815099718 -avg 3.973824812e-006 -max_tol ${max_tol_res_1}
+
index 338f2ceabc301f490d3777cd91dc43743e92b980..102dbe083894805cea11d16a4b00fc639c99cc2c 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename bm1_db_exhaust.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 1 )  Warnings = 0  ( 1 )  Summary  = 0  ( 2 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 9  ( 6 )  Summary  = 9  ( 6 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 11  ( 3 )  Face     = 48  ( 48 )   Summary  = 891  ( 868 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 11  ( 3 )  Face     = 48  ( 48 )   FreeWire = 0  ( 0 )   FreeEdge  = 12 ( 12 )   SharedEdge = 391  ( 388 )
-TOLERANCE   : MaxTol   = 0.003918698947  (  0.01715433608 )  AvgTol   =  0.0003235734452  (   0.00126844198 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 1
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 48 -shape 868
+checkstatshape res_1 -solid 3 -shell 3 -face 48 -freewire 0 -freeedge 12 -sharededge 388
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01715433608 -avg 0.00126844198]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 1
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 11 -face 48 -shape 891 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 11 -face 48 -freewire 0 -freeedge 12 -sharededge 391 -max_solid 3 -max_shell 3 -max_face 48 -max_freewire 0 -max_freeedge 12
+checkmaxtol res_2 -tol 0.003918698947 -avg 0.0003235734452 -max_tol ${max_tol_res_1}
+
index 71edb3466febc22e53238b9e92c4e1d4b0b36790..92890b75d0d7dda4f01024fae461f42f8a749862 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename vorstufe_surface.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 125  ( 461 )  Summary  = 125  ( 461 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 810  ( 0 )  Face     = 810  ( 810 )   Summary  = 10386  ( 9576 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 964  ( 0 )  Face     = 964  ( 964 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 3971  ( 3971 )
-TOLERANCE   : MaxTol   = 0.009818924747  (  0.04427038115 )  AvgTol   =   0.00029913369  (  0.002929666529 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 22  ( 22 )  N2Labels = 0  ( 0 )   TotalLabels = 31  ( 31 )   NameLabels = 31  ( 31 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 461 -max_faults 0
+checkxstat D_First -n0 9 -n1 22 -n2 0 -total 31 -withname 31 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 810 -shape 9576
+checkstatshape res_1 -solid 0 -shell 0 -face 964 -freewire 0 -freeedge 0 -sharededge 3971
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.04427038115 -avg 0.002929666529]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 461 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 109 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 22 -n2 0 -total 31 -withname 31 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 22 -n2 0 -total 31 -withname 31 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 810 -face 810 -shape 10386 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 964 -face 964 -freewire 0 -freeedge 0 -sharededge 3971 -max_solid 0 -max_shell 0 -max_face 964 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.009818924747 -avg 0.00029913369 -max_tol ${max_tol_res_1}
+
index 5b14b318a22d20662258dbc00f8972de9b98498c..c71fdc05a0d84f938b2c90051a85a823a794aee0 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 
-
 set filename r0501_pe.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 48  ( 180 )  Summary  = 48  ( 180 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 7  ( 7 )  Shell    = 7  ( 7 )  Face     = 2117  ( 2117 )   Summary  = 12742  ( 12741 )
-STATSHAPE   : Solid    = 7  ( 7 )  Shell    = 7  ( 7 )  Face     = 2117  ( 2117 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 5273  ( 5272 )
-TOLERANCE   : MaxTol   =   0.2357145058  (   0.2065786276 )  AvgTol   =  0.009610117691  (    0.0246139599 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 1311  ( 1311 )  N2Labels = 0  ( 0 )   TotalLabels = 1320  ( 1320 )   NameLabels = 17  ( 17 )   ColorLabels = 1303  ( 1303 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 10  ( 10 )
-COLORS      : Colors   = AZURE4 CYAN1 GRAY10 GRAY10 GRAY26 GRAY33 GRAY74 ORANGERED RED YELLOW  ( AZURE4 CYAN1 GRAY10 GRAY10 GRAY26 GRAY33 GRAY74 ORANGERED RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 182 -max_faults 0
+checkxstat D_First -n0 9 -n1 1311 -n2 0 -total 1320 -withname 17 -withcolor 1303 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { AZURE4 CYAN1 GRAY10 GRAY10 GRAY26 GRAY33 GRAY74 ORANGERED RED YELLOW } -nbcolors 10 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 7 -shell 7 -face 2117 -shape 12741
+checkstatshape res_1 -solid 7 -shell 7 -face 2117 -freewire 0 -freeedge 0 -sharededge 5272
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.2065786276 -avg 0.0246139599]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 182 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 1311 -n2 0 -total 1320 -withname 17 -withcolor 1303 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 10 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 1311 -n2 0 -total 1320 -withname 17 -withcolor 1303 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { AZURE4 CYAN1 GRAY10 GRAY10 GRAY26 GRAY33 GRAY74 ORANGERED RED YELLOW  } -nbcolors 10 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 7 -shell 7 -face 2117 -shape 12742 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 7 -shell 7 -face 2117 -freewire 0 -freeedge 0 -sharededge 5273 -max_solid 7 -max_shell 7 -max_face 2117 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.2357145058 -avg 0.009610117691 -max_tol ${max_tol_res_1}
+
index 91ab3c3652a3fc86ec03ef23628bb536e0f98895..b6e68b5d8873bddfcde1dc6bbc3d6134031dc9fc 100755 (executable)
@@ -1,20 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
 set filename r0601_sy.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 11  ( 0 )  Warnings = 78  ( 24 )  Summary  = 89  ( 24 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 106  ( 106 )  Face     = 106  ( 106 )   Summary  = 1665  ( 1665 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 106  ( 106 )  Face     = 106  ( 106 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 670  ( 670 )
-TOLERANCE   : MaxTol   =  0.02881427566  (  0.03703290736 )  AvgTol   =  0.002876539025  (  0.004091781903 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 212  ( 212 )  N2Labels = 0  ( 0 )   TotalLabels = 213  ( 213 )   NameLabels = 1  ( 1 )   ColorLabels = 106  ( 106 )   LayerLabels = 106  ( 106 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = GREEN RED ROYALBLUE STEELBLUE2 TURQUOISE  ( GREEN RED ROYALBLUE STEELBLUE2 TURQUOISE )
-NLAYERS     : NLayers  = 8  ( 8 )
-LAYERS      : Layers   = 1 2 21 22 23 24 25 3  ( 1 2 21 22 23 24 25 3 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 20 -max_faults 0
+checkxstat D_First -n0 1 -n1 212 -n2 0 -total 213 -withname 1 -withcolor 106 -withlayer 106 -centroid 0 -volume 0 -area 0 -colors { GREEN RED ROYALBLUE STEELBLUE2 TURQUOISE } -nbcolors 5 -layers { 1 2 21 22 23 24 25 3 } -nblayers 8
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 106 -face 106 -shape 1665
+checkstatshape res_1 -solid 0 -shell 106 -face 106 -freewire 0 -freeedge 0 -sharededge 670
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.03703290736 -avg 0.004091781903]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 20 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 76 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 212 -n2 0 -total 213 -withname 1 -withcolor 106 -withlayer 106 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 8
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 212 -n2 0 -total 213 -withname 1 -withcolor 106 -withlayer 106 -centroid 0 -volume 0 -area 0 -colors { GREEN RED ROYALBLUE STEELBLUE2 TURQUOISE  } -nbcolors 5 -layers { 1 2 21 22 23 24 25 3  } -nblayers 8
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 106 -face 106 -shape 1665 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 106 -face 106 -freewire 0 -freeedge 0 -sharededge 670 -max_solid 0 -max_shell 106 -max_face 106 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.02881427566 -avg 0.002876539025 -max_tol ${max_tol_res_1}
+
index 03bd84b18b7d19d3b22f9a3e612319b80cb5add6..79ce638721d8f6373688f97f1cbfd3df29f2eb76 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename bm2_ct_t4-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 9  ( 7 )  Summary  = 9  ( 7 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 17  ( 15 )  Face     = 17  ( 17 )   Summary  = 214  ( 207 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 17  ( 15 )  Face     = 17  ( 17 )   FreeWire = 0  ( 0 )   FreeEdge  = 5 ( 5 )   SharedEdge = 74  ( 74 )
-TOLERANCE   : MaxTol   = 0.0005650418556  ( 0.0005650418556 )  AvgTol   =  2.41320432e-005  (  2.413204307e-005 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 15 -face 17 -shape 207
+checkstatshape res_1 -solid 0 -shell 15 -face 17 -freewire 0 -freeedge 5 -sharededge 74
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0005650418556 -avg 2.413204307e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 17 -face 17 -shape 214 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 17 -face 17 -freewire 0 -freeedge 5 -sharededge 74 -max_solid 0 -max_shell 15 -max_face 17 -max_freewire 0 -max_freeedge 5
+checkmaxtol res_2 -tol 0.0005650418556 -avg 2.41320432e-005 -max_tol ${max_tol_res_1}
+
index 8d39937697630cd776ddc236dac055cbd817adfa..bf5f3f87953f644fc93f4c2bc7f62e48e703d20d 100644 (file)
@@ -1,21 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 
-set LinuxDiff 1
-set LinuxFaulties {CHECKSHAPE}
 set filename r122-ai.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 395 )  Warnings = 0  ( 0 )  Summary  = 0  ( 395 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 2 )  Summary  = 0  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 149  ( 149 )  Face     = 149  ( 149 )   Summary  = 2144  ( 2144 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 149  ( 149 )  Face     = 149  ( 149 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 846  ( 846 )
-TOLERANCE   : MaxTol   = 0.0009108451735  ( 0.0009108451735 )  AvgTol   =  3.593153987e-005  (  3.593209779e-005 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1185 -max_faults 395
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 149 -face 149 -shape 2144
+checkstatshape res_1 -solid 0 -shell 149 -face 149 -freewire 0 -freeedge 0 -sharededge 846
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0009108451735 -avg 3.593209779e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1185 -max_faults 395
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 149 -face 149 -shape 2144 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 149 -face 149 -freewire 0 -freeedge 0 -sharededge 846 -max_solid 0 -max_shell 149 -max_face 149 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0009108451735 -avg 3.593153987e-005 -max_tol ${max_tol_res_1}
+
index dfa3465d3ba5bc0e91e75fd00403242e431667ef..ee1f1eb39c5b929383107471ddf73d74026999c5 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename bm2_db_t4-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 10  ( 6 )  Summary  = 10  ( 6 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 17  ( 15 )  Face     = 17  ( 17 )   Summary  = 208  ( 169 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 17  ( 15 )  Face     = 17  ( 17 )   FreeWire = 0  ( 0 )   FreeEdge  = 5 ( 5 )   SharedEdge = 72  ( 71 )
-TOLERANCE   : MaxTol   = 0.001403080873  ( 0.004988239556 )  AvgTol   =  0.0001282768841  (  0.0006150874603 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 79  ( 79 )  N2Labels = 0  ( 0 )   TotalLabels = 80  ( 80 )   NameLabels = 1  ( 1 )   ColorLabels = 62  ( 62 )   LayerLabels = 79  ( 79 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+checkxstat D_First -n0 1 -n1 79 -n2 0 -total 80 -withname 1 -withcolor 62 -withlayer 79 -centroid 0 -volume 0 -area 0 -colors { GREEN } -nbcolors 1 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 15 -face 17 -shape 169
+checkstatshape res_1 -solid 0 -shell 15 -face 17 -freewire 0 -freeedge 5 -sharededge 71
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.004988239556 -avg 0.0006150874603]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 79 -n2 0 -total 80 -withname 1 -withcolor 62 -withlayer 79 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 79 -n2 0 -total 80 -withname 1 -withcolor 62 -withlayer 79 -centroid 0 -volume 0 -area 0 -colors { GREEN  } -nbcolors 1 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 17 -face 17 -shape 208 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 17 -face 17 -freewire 0 -freeedge 5 -sharededge 72 -max_solid 0 -max_shell 15 -max_face 17 -max_freewire 0 -max_freeedge 5
+checkmaxtol res_2 -tol 0.001403080873 -avg 0.0001282768841 -max_tol ${max_tol_res_1}
+
index f78d651f0e662d0bc340cf58d19cf26cf8cc2dfe..99cf76a61d6abadfdb4439a8eec2c14bd541f0b5 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename bm2_db_t4-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 10  ( 6 )  Summary  = 10  ( 6 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 17  ( 15 )  Face     = 17  ( 17 )   Summary  = 208  ( 169 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 17  ( 15 )  Face     = 17  ( 17 )   FreeWire = 0  ( 0 )   FreeEdge  = 5 ( 5 )   SharedEdge = 72  ( 71 )
-TOLERANCE   : MaxTol   = 0.001403080873  ( 0.004988239556 )  AvgTol   =  0.0001282768841  (  0.0006150874603 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 79  ( 79 )  N2Labels = 0  ( 0 )   TotalLabels = 80  ( 80 )   NameLabels = 1  ( 1 )   ColorLabels = 62  ( 62 )   LayerLabels = 79  ( 79 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+checkxstat D_First -n0 1 -n1 79 -n2 0 -total 80 -withname 1 -withcolor 62 -withlayer 79 -centroid 0 -volume 0 -area 0 -colors { GREEN } -nbcolors 1 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 15 -face 17 -shape 169
+checkstatshape res_1 -solid 0 -shell 15 -face 17 -freewire 0 -freeedge 5 -sharededge 71
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.004988239556 -avg 0.0006150874603]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 79 -n2 0 -total 80 -withname 1 -withcolor 62 -withlayer 79 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 79 -n2 0 -total 80 -withname 1 -withcolor 62 -withlayer 79 -centroid 0 -volume 0 -area 0 -colors { GREEN  } -nbcolors 1 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 17 -face 17 -shape 208 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 17 -face 17 -freewire 0 -freeedge 5 -sharededge 72 -max_solid 0 -max_shell 15 -max_face 17 -max_freewire 0 -max_freeedge 5
+checkmaxtol res_2 -tol 0.001403080873 -avg 0.0001282768841 -max_tol ${max_tol_res_1}
+
index b60ec3a4e028a31e88c0066e6a67ffc70ec4050c..f5f6900c1de2d6074f8f249f5c182bef09d6c0c3 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename bm2_db_t4-C.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 8  ( 6 )  Summary  = 8  ( 6 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 17  ( 15 )  Face     = 17  ( 17 )   Summary  = 208  ( 169 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 17  ( 15 )  Face     = 17  ( 17 )   FreeWire = 0  ( 0 )   FreeEdge  = 5 ( 5 )   SharedEdge = 72  ( 71 )
-TOLERANCE   : MaxTol   = 0.001435442939  ( 0.004988239556 )  AvgTol   =  0.0001654464982  (  0.001105220326 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 79  ( 79 )  N2Labels = 0  ( 0 )   TotalLabels = 80  ( 80 )   NameLabels = 1  ( 1 )   ColorLabels = 62  ( 62 )   LayerLabels = 79  ( 79 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+checkxstat D_First -n0 1 -n1 79 -n2 0 -total 80 -withname 1 -withcolor 62 -withlayer 79 -centroid 0 -volume 0 -area 0 -colors { GREEN } -nbcolors 1 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 15 -face 17 -shape 169
+checkstatshape res_1 -solid 0 -shell 15 -face 17 -freewire 0 -freeedge 5 -sharededge 71
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.004988239556 -avg 0.001105220326]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 79 -n2 0 -total 80 -withname 1 -withcolor 62 -withlayer 79 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 79 -n2 0 -total 80 -withname 1 -withcolor 62 -withlayer 79 -centroid 0 -volume 0 -area 0 -colors { GREEN  } -nbcolors 1 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 17 -face 17 -shape 208 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 17 -face 17 -freewire 0 -freeedge 5 -sharededge 72 -max_solid 0 -max_shell 15 -max_face 17 -max_freewire 0 -max_freeedge 5
+checkmaxtol res_2 -tol 0.001435442939 -avg 0.0001654464982 -max_tol ${max_tol_res_1}
+
index f8ad569aa3006cafa3697a0b698d0dd86b2093bb..f417de38ea2c98e25fab81bf743a4af9a1fbc379 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: PROPS : Faulty" 
 
-
 set filename trj6_pm4-ec-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 20 )  Summary  = 4  ( 20 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 13  ( 13 )  Shell    = 13  ( 13 )  Face     = 801  ( 801 )   Summary  = 4580  ( 4580 )
-STATSHAPE   : Solid    = 32  ( 32 )  Shell    = 32  ( 32 )  Face     = 840  ( 840 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1833  ( 1833 )
-TOLERANCE   : MaxTol   = 0.000994818338  ( 0.009298751842 )  AvgTol   =  1.273917467e-005  (  0.0002831776234 )
-LABELS      : N0Labels = 21  ( 21 )  N1Labels = 39  ( 39 )  N2Labels = 0  ( 0 )   TotalLabels = 60  ( 60 )   NameLabels = 60  ( 60 )   ColorLabels = 13  ( 13 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 21  ( 60 )  Volume   = 21  ( 21 )  Area     = 21  ( 21 )
-NCOLORS     : NColors  = 7  ( 7 )
-COLORS      : Colors   = GRAY20 GRAY8 GREEN GREENYELLOW PURPLE STEELBLUE YELLOW  ( GRAY20 GRAY8 GREEN GREENYELLOW PURPLE STEELBLUE YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 22 -max_faults 0
+checkxstat D_First -n0 21 -n1 39 -n2 0 -total 60 -withname 60 -withcolor 13 -withlayer 0 -centroid 60 -volume 21 -area 21 -colors { GRAY20 GRAY8 GREEN GREENYELLOW PURPLE STEELBLUE YELLOW } -nbcolors 7 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 13 -shell 13 -face 801 -shape 4580
+checkstatshape res_1 -solid 32 -shell 32 -face 840 -freewire 0 -freeedge 0 -sharededge 1833
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009298751842 -avg 0.0002831776234]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 22 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 21 -n1 39 -n2 0 -total 60 -withname 60 -withcolor 13 -withlayer 0 -centroid 60 -volume 21 -area 21 -nbcolors 7 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 21 -n1 39 -n2 0 -total 60 -withname 60 -withcolor 13 -withlayer 0 -centroid 21 -volume 21 -area 21 -colors { GRAY20 GRAY8 GREEN GREENYELLOW PURPLE STEELBLUE YELLOW  } -nbcolors 7 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 13 -shell 13 -face 801 -shape 4580 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 32 -shell 32 -face 840 -freewire 0 -freeedge 0 -sharededge 1833 -max_solid 32 -max_shell 32 -max_face 840 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.000994818338 -avg 1.273917467e-005 -max_tol ${max_tol_res_1}
+
index ae83511d297060aa8172af5ca585f00772ca1a58..a627f48a0191c0965d01c053b7ef9d30c1f1dbe6 100755 (executable)
@@ -1,20 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-puts "TODO CR25013 Linux: Error : 1 differences with reference data found" 
+puts "TODO CR25013 Linux: Error :  is WRONG because number of SHAPE entities in shape"
 
 set filename trj6_pm4-hc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 20 )  Warnings = 0  ( 60 )  Summary  = 0  ( 80 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 21  ( 557 )  Summary  = 21  ( 557 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 98  ( 98 )  Shell    = 98  ( 98 )  Face     = 1506  ( 1506 )   Summary  = 9262  ( 9257 )
-STATSHAPE   : Solid    = 272  ( 272 )  Shell    = 272  ( 272 )  Face     = 3216  ( 3216 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 3315  ( 3311 )
-TOLERANCE   : MaxTol   =   0.9562231856  (      3.3196868 )  AvgTol   =  0.0007127405962  (  0.003722159881 )
-LABELS      : N0Labels = 230  ( 230 )  N1Labels = 1909  ( 1909 )  N2Labels = 0  ( 0 )   TotalLabels = 2139  ( 2139 )   NameLabels = 633  ( 633 )   ColorLabels = 1506  ( 1506 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 98  ( 98 )  Volume   = 98  ( 98 )  Area     = 98  ( 98 )
-NCOLORS     : NColors  = 6  ( 6 )
-COLORS      : Colors   = DARKSEAGREEN1 LAVENDER LIGHTGOLDENROD LIGHTSTEELBLUE1 LIGHTSTEELBLUE3 STEELBLUE3  ( DARKSEAGREEN1 LAVENDER LIGHTGOLDENROD LIGHTSTEELBLUE1 LIGHTSTEELBLUE3 STEELBLUE3 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 60 -max_faults 20
+checkdoc "tpstat c" -max_warns 557 -max_faults 0
+checkxstat D_First -n0 230 -n1 1909 -n2 0 -total 2139 -withname 633 -withcolor 1506 -withlayer 0 -centroid 98 -volume 98 -area 98 -colors { DARKSEAGREEN1 LAVENDER LIGHTGOLDENROD LIGHTSTEELBLUE1 LIGHTSTEELBLUE3 STEELBLUE3 } -nbcolors 6 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 98 -shell 98 -face 1506 -shape 9257
+checkstatshape res_1 -solid 272 -shell 272 -face 3216 -freewire 0 -freeedge 0 -sharededge 3311
+set max_tol_res_1 [checkmaxtol res_1 -tol 3.3196868 -avg 0.003722159881]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 60 -max_faults 20
+checkdoc "tpstat c" -max_warns 557 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 21 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 230 -n1 1909 -n2 0 -total 2139 -withname 633 -withcolor 1506 -withlayer 0 -centroid 98 -volume 98 -area 98 -nbcolors 6 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 230 -n1 1909 -n2 0 -total 2139 -withname 633 -withcolor 1506 -withlayer 0 -centroid 98 -volume 98 -area 98 -colors { DARKSEAGREEN1 LAVENDER LIGHTGOLDENROD LIGHTSTEELBLUE1 LIGHTSTEELBLUE3 STEELBLUE3  } -nbcolors 6 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 98 -shell 98 -face 1506 -shape 9262 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 272 -shell 272 -face 3216 -freewire 0 -freeedge 0 -sharededge 3315 -max_solid 272 -max_shell 272 -max_face 3216 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.9562231856 -avg 0.0007127405962 -max_tol ${max_tol_res_1}
+
index 469cca1933b7caf55c4fd9acb1d8c5669982bcef..89784ba5d55d5538144d29921c3610c727de31d6 100755 (executable)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 
-set LinuxDiff 3
 set filename 53921163S0.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 17  ( 27 )  Summary  = 17  ( 27 )
-CHECKSHAPE  : Wires    = 10  ( 10 )  Faces    = 10  ( 10 )  Shells   = 0  ( 0 )   Solids   = 1 ( 1 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 556  ( 556 )   Summary  = 3658  ( 3661 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 556  ( 556 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1523  ( 1526 )
-TOLERANCE   : MaxTol   =    60.79282309  (    60.87483475 )  AvgTol   =     1.272227708  (     1.266017009 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 26 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 10 -max_faces 10 -max_shells 0 -max_solids 1
+checknbshapes res_1 -solid 1 -shell 3 -face 556 -shape 3661
+checkstatshape res_1 -solid 1 -shell 3 -face 556 -freewire 0 -freeedge 0 -sharededge 1526
+set max_tol_res_1 [checkmaxtol res_1 -tol 60.87483475 -avg 1.266017009]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 26 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 10 -max_faces 10 -max_shells 0 -max_solids 1
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 10 -max_faces 10 -max_shells 0 -max_solids 1
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 556 -shape 3658 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 556 -freewire 0 -freeedge 0 -sharededge 1523 -max_solid 1 -max_shell 3 -max_face 556 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 60.79282309 -avg 1.272227708 -max_tol ${max_tol_res_1}
+
index 71d66d6c89c361680546d71891504afb041c17c2..2dd63bdbc4b2df51c64ffb8284f4c6a9563a176f 100644 (file)
@@ -1,23 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename PRO10364.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 44  ( 1 )  Summary  = 44  ( 1 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 13  ( 13 )  Shell    = 300  ( 298 )  Face     = 482  ( 482 )   Summary  = 5637  ( 5527 )
-STATSHAPE   : Solid    = 13  ( 13 )  Shell    = 300  ( 298 )  Face     = 482  ( 482 )   FreeWire = 0  ( 0 )   FreeEdge  = 107 ( 107 )   SharedEdge = 2116  ( 2116 )
-TOLERANCE   : MaxTol   =  0.02930428273  (  0.09893741783 )  AvgTol   =  0.0003509175902  (  0.003693447129 )
-LABELS      : N0Labels = 7  ( 7 )  N1Labels = 504  ( 515 )  N2Labels = 0  ( 0 )   TotalLabels = 511  ( 522 )   NameLabels = 12  ( 12 )   ColorLabels = 498  ( 498 )   LayerLabels = 407  ( 418 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = BLUE1 CYAN1 GREEN MAGENTA1 YELLOW  ( BLUE1 CYAN1 GREEN MAGENTA1 YELLOW )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = 0 2  ( 0 2 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 2 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+checkxstat D_First -n0 7 -n1 515 -n2 0 -total 522 -withname 12 -withcolor 498 -withlayer 418 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 YELLOW } -nbcolors 5 -layers { 0 2 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 13 -shell 298 -face 482 -shape 5527
+checkstatshape res_1 -solid 13 -shell 298 -face 482 -freewire 0 -freeedge 107 -sharededge 2116
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.09893741783 -avg 0.003693447129]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 2 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 7 -n1 515 -n2 0 -total 522 -withname 12 -withcolor 498 -withlayer 418 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 7 -n1 504 -n2 0 -total 511 -withname 12 -withcolor 498 -withlayer 407 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 GREEN MAGENTA1 YELLOW  } -nbcolors 5 -layers { 0 2  } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 13 -shell 300 -face 482 -shape 5637 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 13 -shell 300 -face 482 -freewire 0 -freeedge 107 -sharededge 2116 -max_solid 13 -max_shell 298 -max_face 482 -max_freewire 0 -max_freeedge 107
+checkmaxtol res_2 -tol 0.02930428273 -avg 0.0003509175902 -max_tol ${max_tol_res_1}
+
index d8c77f920c6facfe06f262064df20583824b86fd..c4891af71030c44d96b83f40521f6f31e07a3b02 100644 (file)
@@ -1,22 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-set LinuxDiff 3
-set LinuxFaulties {TOLERANCE}
 set filename ct_exhaust-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 24  ( 0 )  Summary  = 24  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 5  ( 3 )  Face     = 43  ( 43 )   Summary  = 635  ( 631 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 5  ( 3 )  Face     = 43  ( 43 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 284  ( 282 )
-TOLERANCE   : MaxTol   =  0.00199721673  ( 0.008663672498 )  AvgTol   =  0.0001953469228  (  0.001153460099 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 7  ( 7 )  N2Labels = 0  ( 0 )   TotalLabels = 10  ( 10 )   NameLabels = 5  ( 5 )   ColorLabels = 3  ( 3 )   LayerLabels = 5  ( 5 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = 0 2  ( 0 2 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 3 -n1 7 -n2 0 -total 10 -withname 5 -withcolor 3 -withlayer 5 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { 0 2 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 43 -shape 631
+checkstatshape res_1 -solid 3 -shell 3 -face 43 -freewire 0 -freeedge 0 -sharededge 282
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.008663672498 -avg 0.001153460099]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 7 -n2 0 -total 10 -withname 5 -withcolor 3 -withlayer 5 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 7 -n2 0 -total 10 -withname 5 -withcolor 3 -withlayer 5 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 0 2  } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 5 -face 43 -shape 635 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 5 -face 43 -freewire 0 -freeedge 0 -sharededge 284 -max_solid 3 -max_shell 3 -max_face 43 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.00199721673 -avg 0.0001953469228 -max_tol ${max_tol_res_1}
+
index 31381593c7eb91fd70f9a4a7097f2c6d48fae82d..767cf6d345f909451dfd1a621bb391a9cc388b98 100644 (file)
@@ -1,23 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj12_ttscale-ct-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 438  ( 219 )  Summary  = 438  ( 219 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 312  ( 303 )  Face     = 1000  ( 1000 )   Summary  = 9962  ( 9702 )
-STATSHAPE   : Solid    = 4  ( 4 )  Shell    = 313  ( 304 )  Face     = 1231  ( 1231 )   FreeWire = 0  ( 3 )   FreeEdge  = 251 ( 251 )   SharedEdge = 3918  ( 3918 )
-TOLERANCE   : MaxTol   =  0.01535715949  (  0.01648925136 )  AvgTol   =  0.0007749108723  (  0.001520406253 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 2126  ( 2252 )  N2Labels = 0  ( 0 )   TotalLabels = 2131  ( 2257 )   NameLabels = 10  ( 10 )   ColorLabels = 2113  ( 2113 )   LayerLabels = 498  ( 624 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 6  ( 6 )
-COLORS      : Colors   = BLUE1 GREEN GREEN4 TURQUOISE3 WHITE YELLOW  ( BLUE1 GREEN GREEN4 TURQUOISE3 WHITE YELLOW )
-NLAYERS     : NLayers  = 6  ( 6 )
-LAYERS      : Layers   = 0 1 10 2 3 7  ( 0 1 10 2 3 7 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 2 -max_faults 0
+checkdoc "tpstat c" -max_warns 230 -max_faults 0
+checkxstat D_First -n0 5 -n1 2252 -n2 0 -total 2257 -withname 10 -withcolor 2113 -withlayer 624 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN GREEN4 TURQUOISE3 WHITE YELLOW } -nbcolors 6 -layers { 0 1 10 2 3 7 } -nblayers 6
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 303 -face 1000 -shape 9702
+checkstatshape res_1 -solid 4 -shell 304 -face 1231 -freewire 3 -freeedge 251 -sharededge 3918
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01648925136 -avg 0.001520406253]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 2 -max_faults 0
+checkdoc "tpstat c" -max_warns 230 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 345 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 2252 -n2 0 -total 2257 -withname 10 -withcolor 2113 -withlayer 624 -centroid 0 -volume 0 -area 0 -nbcolors 6 -nblayers 6
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 2126 -n2 0 -total 2131 -withname 10 -withcolor 2113 -withlayer 498 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN GREEN4 TURQUOISE3 WHITE YELLOW  } -nbcolors 6 -layers { 0 1 10 2 3 7  } -nblayers 6
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 312 -face 1000 -shape 9962 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 4 -shell 313 -face 1231 -freewire 0 -freeedge 251 -sharededge 3918 -max_solid 4 -max_shell 304 -max_face 1231 -max_freewire 3 -max_freeedge 251
+checkmaxtol res_2 -tol 0.01535715949 -avg 0.0007749108723 -max_tol ${max_tol_res_1}
+
index baf3e977cb560ef381ccda3fc336de5eed01a7f9..f16e3cf8e0621b0908d128a967b3318f203faeae 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-
 set filename gehaeuse_surface.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 222  ( 1131 )  Summary  = 222  ( 1131 )
-CHECKSHAPE  : Wires    = 8  ( 8 )  Faces    = 8  ( 8 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 3067  ( 0 )  Face     = 3067  ( 3067 )   Summary  = 38169  ( 35102 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 3550  ( 0 )  Face     = 3550  ( 3550 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 14457  ( 14457 )
-TOLERANCE   : MaxTol   =  0.08182775785  (  0.08182775785 )  AvgTol   =  0.0002907732443  (  0.002393164469 )
-LABELS      : N0Labels = 17  ( 17 )  N1Labels = 46  ( 46 )  N2Labels = 0  ( 0 )   TotalLabels = 63  ( 63 )   NameLabels = 63  ( 63 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1131 -max_faults 0
+checkxstat D_First -n0 17 -n1 46 -n2 0 -total 63 -withname 63 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 8 -max_faces 8 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 0 -face 3067 -shape 35102
+checkstatshape res_1 -solid 0 -shell 0 -face 3550 -freewire 0 -freeedge 0 -sharededge 14457
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.08182775785 -avg 0.002393164469]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1131 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 108 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 17 -n1 46 -n2 0 -total 63 -withname 63 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 17 -n1 46 -n2 0 -total 63 -withname 63 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 8 -max_faces 8 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 8 -max_faces 8 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 3067 -face 3067 -shape 38169 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 3550 -face 3550 -freewire 0 -freeedge 0 -sharededge 14457 -max_solid 0 -max_shell 0 -max_face 3550 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.08182775785 -avg 0.0002907732443 -max_tol ${max_tol_res_1}
+
index bae0c9bd1f9e000e31317bfe6405b070fb5c3d4a..6967d15acc5937cfe74529147046183b51416444 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj9_ap209-mp.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 26  ( 7 )  Summary  = 26  ( 7 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 8  ( 4 )  Shell    = 8  ( 4 )  Face     = 48  ( 24 )   Summary  = 277  ( 141 )
-STATSHAPE   : Solid    = 24  ( 24 )  Shell    = 24  ( 24 )  Face     = 144  ( 144 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 96  ( 48 )
-TOLERANCE   : MaxTol   = 0.0009551590893  ( 0.0009551590893 )  AvgTol   =  0.0002351494334  (  0.0002351494334 )
-LABELS      : N0Labels = 4  ( 4 )  N1Labels = 6  ( 6 )  N2Labels = 0  ( 0 )   TotalLabels = 10  ( 10 )   NameLabels = 10  ( 9 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+checkxstat D_First -n0 4 -n1 6 -n2 0 -total 10 -withname 9 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 4 -shell 4 -face 24 -shape 141
+checkstatshape res_1 -solid 24 -shell 24 -face 144 -freewire 0 -freeedge 0 -sharededge 48
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0009551590893 -avg 0.0002351494334]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 26 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 4 -n1 6 -n2 0 -total 10 -withname 9 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 4 -n1 6 -n2 0 -total 10 -withname 10 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 8 -shell 8 -face 48 -shape 277 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 24 -shell 24 -face 144 -freewire 0 -freeedge 0 -sharededge 96 -max_solid 24 -max_shell 24 -max_face 144 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0009551590893 -avg 0.0002351494334 -max_tol ${max_tol_res_1}
+
index 04714b9e207cfecd07b409ea8f8cd0d7b9bf7592..c62d0fe808e4fcde70a80327d9ac0c3850fe089c 100755 (executable)
@@ -1,22 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
 set filename Z8M6SAT.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 3  ( 0 )  Warnings = 944  ( 3168 )  Summary  = 947  ( 3168 )
-CHECKSHAPE  : Wires    = 50  ( 41 )  Faces    = 50  ( 48 )  Shells   = 0  ( 2 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 28  ( 28 )  Shell    = 768  ( 30 )  Face     = 3240  ( 3239 )   Summary  = 29374  ( 28630 )
-STATSHAPE   : Solid    = 28  ( 28 )  Shell    = 768  ( 30 )  Face     = 3240  ( 3239 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 12587  ( 12579 )
-TOLERANCE   : MaxTol   =    15.00300076  (    20.46526799 )  AvgTol   =   0.02248945623  (   0.03724082116 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3168 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 41 -max_faces 48 -max_shells 2 -max_solids 0
+checknbshapes res_1 -solid 28 -shell 30 -face 3239 -shape 28630
+checkstatshape res_1 -solid 28 -shell 30 -face 3239 -freewire 0 -freeedge 0 -sharededge 12579
+set max_tol_res_1 [checkmaxtol res_1 -tol 20.46526799 -avg 0.03724082116]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3168 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 944 -max_faults 3
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 41 -max_faces 48 -max_shells 2 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 50 -max_faces 50 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 28 -shell 768 -face 3240 -shape 29374 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 28 -shell 768 -face 3240 -freewire 0 -freeedge 0 -sharededge 12587 -max_solid 28 -max_shell 30 -max_face 3239 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 15.00300076 -avg 0.02248945623 -max_tol ${max_tol_res_1}
+
index d5449828212d33839d31354e5b371fff99f10412..2e9e4bd8a410509ce81ccf3b2804f1fe88a684a2 100644 (file)
@@ -1,23 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename r0301_db.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1188  ( 892 )  Summary  = 1188  ( 892 )
-CHECKSHAPE  : Wires    = 2  ( 2 )  Faces    = 2  ( 2 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 94  ( 94 )  Shell    = 288  ( 270 )  Face     = 3469  ( 3469 )   Summary  = 30724  ( 27788 )
-STATSHAPE   : Solid    = 94  ( 94 )  Shell    = 288  ( 270 )  Face     = 3469  ( 3469 )   FreeWire = 0  ( 102 )   FreeEdge  = 2219 ( 2219 )   SharedEdge = 11315  ( 11109 )
-TOLERANCE   : MaxTol   =   0.6657106829  (   0.6657106829 )  AvgTol   =   0.00118387315  (  0.004767889079 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 1838  ( 1839 )  N2Labels = 0  ( 0 )   TotalLabels = 1839  ( 1840 )   NameLabels = 1  ( 1 )   ColorLabels = 164  ( 164 )   LayerLabels = 1761  ( 1762 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 9  ( 9 )
-COLORS      : Colors   = CYAN1 DARKORANGE1 DODGERBLUE2 GREEN MAGENTA1 MAGENTA4 RED WHITE YELLOW  ( CYAN1 DARKORANGE1 DODGERBLUE2 GREEN MAGENTA1 MAGENTA4 RED WHITE YELLOW )
-NLAYERS     : NLayers  = 19  ( 19 )
-LAYERS      : Layers   = 0 10 101 103 104 105 122 15 16 17 171 18 20 21 25 27 51 71 72  ( {  0} { 10} { 15} { 16} { 17} { 18} { 20} { 21} { 25} { 27} { 51} { 71} { 72} 101 103 104 105 122 171 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 891 -max_faults 0
+checkxstat D_First -n0 1 -n1 1839 -n2 0 -total 1840 -withname 1 -withcolor 164 -withlayer 1762 -centroid 0 -volume 0 -area 0 -colors { CYAN1 DARKORANGE1 DODGERBLUE2 GREEN MAGENTA1 MAGENTA4 RED WHITE YELLOW } -nbcolors 9 -layers { "  0" " 10" " 15" " 16" " 17" " 18" " 20" " 21" " 25" " 27" " 51" " 71" " 72" "101" "103" "104" "105" "122" "171"  } -nblayers 19
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 94 -shell 270 -face 3469 -shape 27788
+checkstatshape res_1 -solid 94 -shell 270 -face 3469 -freewire 102 -freeedge 2219 -sharededge 11109
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.6657106829 -avg 0.004767889079]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 891 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1190 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 1839 -n2 0 -total 1840 -withname 1 -withcolor 164 -withlayer 1762 -centroid 0 -volume 0 -area 0 -nbcolors 9 -nblayers 19
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 1838 -n2 0 -total 1839 -withname 1 -withcolor 164 -withlayer 1761 -centroid 0 -volume 0 -area 0 -colors { CYAN1 DARKORANGE1 DODGERBLUE2 GREEN MAGENTA1 MAGENTA4 RED WHITE YELLOW  } -nbcolors 9 -layers { "0" "10" "15" "16" "17" "18" "20" "21" "25" "27" "51" "71" "72" "101" "103" "104" "105" "122" "171" } -nblayers 19
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 94 -shell 288 -face 3469 -shape 30724 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 94 -shell 288 -face 3469 -freewire 0 -freeedge 2219 -sharededge 11315 -max_solid 94 -max_shell 270 -max_face 3469 -max_freewire 102 -max_freeedge 2219
+checkmaxtol res_2 -tol 0.6657106829 -avg 0.00118387315 -max_tol ${max_tol_res_1}
+
index 110a5ea3c4e757d6741ae80ca8ca464b9fd3f94d..6ba3b9cca9f4d0d8ad2457ce956cc0af758363f4 100644 (file)
@@ -1,23 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename r0301soe_db.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1207  ( 1000 )  Summary  = 1207  ( 1000 )
-CHECKSHAPE  : Wires    = 2  ( 2 )  Faces    = 2  ( 2 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 95  ( 95 )  Shell    = 289  ( 271 )  Face     = 3569  ( 3569 )   Summary  = 31394  ( 28458 )
-STATSHAPE   : Solid    = 95  ( 95 )  Shell    = 289  ( 271 )  Face     = 3569  ( 3569 )   FreeWire = 0  ( 102 )   FreeEdge  = 2219 ( 2219 )   SharedEdge = 11600  ( 11394 )
-TOLERANCE   : MaxTol   =   0.6657106806  (   0.6657106806 )  AvgTol   =  0.001017158361  (  0.003936202705 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 1839  ( 1840 )  N2Labels = 0  ( 0 )   TotalLabels = 1840  ( 1841 )   NameLabels = 1  ( 1 )   ColorLabels = 165  ( 165 )   LayerLabels = 1762  ( 1763 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 9  ( 9 )
-COLORS      : Colors   = CYAN1 DARKORANGE1 DODGERBLUE2 GREEN MAGENTA1 MAGENTA4 RED WHITE YELLOW  ( CYAN1 DARKORANGE1 DODGERBLUE2 GREEN MAGENTA1 MAGENTA4 RED WHITE YELLOW )
-NLAYERS     : NLayers  = 19  ( 19 )
-LAYERS      : Layers   = 0 10 101 103 104 105 122 15 16 17 171 18 20 21 25 27 51 71 72  ( {  0} { 10} { 15} { 16} { 17} { 18} { 20} { 21} { 25} { 27} { 51} { 71} { 72} 101 103 104 105 122 171 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1019 -max_faults 0
+checkxstat D_First -n0 1 -n1 1840 -n2 0 -total 1841 -withname 1 -withcolor 165 -withlayer 1763 -centroid 0 -volume 0 -area 0 -colors { CYAN1 DARKORANGE1 DODGERBLUE2 GREEN MAGENTA1 MAGENTA4 RED WHITE YELLOW } -nbcolors 9 -layers { "  0" " 10" " 15" " 16" " 17" " 18" " 20" " 21" " 25" " 27" " 51" " 71" " 72" "101" "103" "104" "105" "122" "171"  } -nblayers 19
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 95 -shell 271 -face 3569 -shape 28458
+checkstatshape res_1 -solid 95 -shell 271 -face 3569 -freewire 102 -freeedge 2219 -sharededge 11394
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.6657106806 -avg 0.003936202705]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1019 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1093 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 1840 -n2 0 -total 1841 -withname 1 -withcolor 165 -withlayer 1763 -centroid 0 -volume 0 -area 0 -nbcolors 9 -nblayers 19
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 1839 -n2 0 -total 1840 -withname 1 -withcolor 165 -withlayer 1762 -centroid 0 -volume 0 -area 0 -colors { CYAN1 DARKORANGE1 DODGERBLUE2 GREEN MAGENTA1 MAGENTA4 RED WHITE YELLOW  } -nbcolors 9 -layers { "0" "10" "15" "16" "17" "18" "20" "21" "25" "27" "51" "71" "72" "101" "103" "104" "105" "122" "171" } -nblayers 19
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 95 -shell 289 -face 3569 -shape 31394 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 95 -shell 289 -face 3569 -freewire 0 -freeedge 2219 -sharededge 11600 -max_solid 95 -max_shell 271 -max_face 3569 -max_freewire 102 -max_freeedge 2219
+checkmaxtol res_2 -tol 0.6657106806 -avg 0.001017158361 -max_tol ${max_tol_res_1}
+
index 394684e8f9e311615bfd0b3dc1a11946fa647890..24c6da456a6e33916e45ebd80b77ca72090567e3 100644 (file)
@@ -1,22 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 
-set LinuxDiff 3
-set LinuxFaulties {TOLERANCE}
 set filename bm2_ct_exhaust-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 24  ( 0 )  Summary  = 24  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 5  ( 3 )  Face     = 43  ( 43 )   Summary  = 635  ( 631 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 5  ( 3 )  Face     = 43  ( 43 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 284  ( 282 )
-TOLERANCE   : MaxTol   =  0.00199721673  ( 0.008663672498 )  AvgTol   =  0.0001953469228  (  0.001153460099 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 43 -shape 631
+checkstatshape res_1 -solid 3 -shell 3 -face 43 -freewire 0 -freeedge 0 -sharededge 282
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.008663672498 -avg 0.001153460099]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 5 -face 43 -shape 635 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 5 -face 43 -freewire 0 -freeedge 0 -sharededge 284 -max_solid 3 -max_shell 3 -max_face 43 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.00199721673 -avg 0.0001953469228 -max_tol ${max_tol_res_1}
+
index e41f3d45e724738748c5b3b0bbb8e8cf68800a3d..48f20587060fe3f9c12906d667f82e762fbf65ed 100644 (file)
@@ -1,24 +1,53 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename tr9_r0601-ct.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 125  ( 22 )  Summary  = 125  ( 22 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 4252  ( 61 )  Face     = 4252  ( 4252 )   Summary  = 58212  ( 51172 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 4252  ( 61 )  Face     = 4252  ( 4252 )   FreeWire = 0  ( 1 )   FreeEdge  = 2854 ( 2854 )   SharedEdge = 20022  ( 20024 )
-TOLERANCE   : MaxTol   =   0.8498047902  (  0.01572488678 )  AvgTol   =  5.25293974e-005  (  2.100507096e-005 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 7107  ( 7169 )  N2Labels = 0  ( 0 )   TotalLabels = 7110  ( 7172 )   NameLabels = 5  ( 5 )   ColorLabels = 7105  ( 7105 )   LayerLabels = 7105  ( 7167 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = RED WHITE YELLOW  ( RED WHITE YELLOW )
-NLAYERS     : NLayers  = 46  ( 46 )
-LAYERS      : Layers   = 0 1 10 100 101 102 11 12 138 139 15 16 17 175 176 177 178 18 181 182 183 2 200 243 244 245 246 29 3 30 31 32 33 34 35 36 37 4 5 52 7 8 9 96 97 99  ( 0 1 10 100 101 102 11 12 138 139 15 16 17 175 176 177 178 18 181 182 183 2 200 243 244 245 246 29 3 30 31 32 33 34 35 36 37 4 5 52 7 8 9 96 97 99 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 21 -max_faults 0
+checkxstat D_First -n0 3 -n1 7169 -n2 0 -total 7172 -withname 5 -withcolor 7105 -withlayer 7167 -centroid 0 -volume 0 -area 0 -colors { RED WHITE YELLOW } -nbcolors 3 -layers { 0 1 10 100 101 102 11 12 138 139 15 16 17 175 176 177 178 18 181 182 183 2 200 243 244 245 246 29 3 30 31 32 33 34 35 36 37 4 5 52 7 8 9 96 97 99 } -nblayers 46
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 61 -face 4252 -shape 51172
+checkstatshape res_1 -solid 0 -shell 61 -face 4252 -freewire 1 -freeedge 2854 -sharededge 20024
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01572488678 -avg 2.100507096e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 21 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 126 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 7169 -n2 0 -total 7172 -withname 5 -withcolor 7105 -withlayer 7167 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 46
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 7107 -n2 0 -total 7110 -withname 5 -withcolor 7105 -withlayer 7105 -centroid 0 -volume 0 -area 0 -colors { RED WHITE YELLOW  } -nbcolors 3 -layers { 0 1 10 100 101 102 11 12 138 139 15 16 17 175 176 177 178 18 181 182 183 2 200 243 244 245 246 29 3 30 31 32 33 34 35 36 37 4 5 52 7 8 9 96 97 99  } -nblayers 46
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 4252 -face 4252 -shape 58212 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 4252 -face 4252 -freewire 0 -freeedge 2854 -sharededge 20022 -max_solid 0 -max_shell 61 -max_face 4252 -max_freewire 1 -max_freeedge 2854
+checkmaxtol res_2 -tol 0.8498047902 -avg 5.25293974e-005 -max_tol ${max_tol_res_1}
+
index 5a1de261d969150c093ffdec852a2baffc439093..4043eaf6079f30f2f3d0012e4bd704ee35947d9f 100644 (file)
@@ -1,19 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 
 set filename PRO10368.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 204  ( 165 )  Summary  = 204  ( 165 )
-CHECKSHAPE  : Wires    = 1  ( 0 )  Faces    = 1  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 3  ( 3 )  Face     = 773  ( 773 )   Summary  = 4594  ( 4557 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 3  ( 3 )  Face     = 773  ( 773 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1943  ( 1943 )
-TOLERANCE   : MaxTol   =  0.06070038815  (   0.0607003883 )  AvgTol   =  0.002533300901  (  0.003394184033 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 3  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 4  ( 4 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 3  ( 3 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 164 -max_faults 0
+checkxstat D_First -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 0 -withlayer 3 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 3 -face 773 -shape 4557
+checkstatshape res_1 -solid 0 -shell 3 -face 773 -freewire 0 -freeedge 0 -sharededge 1943
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0607003883 -avg 0.003394184033]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 164 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 127 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 0 -withlayer 3 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 0 -withlayer 3 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 3 -face 773 -shape 4594 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 3 -face 773 -freewire 0 -freeedge 0 -sharededge 1943 -max_solid 0 -max_shell 3 -max_face 773 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.06070038815 -avg 0.002533300901 -max_tol ${max_tol_res_1}
+
index 874b06f7c3cffcf46783ef25e31706a04554b5d4..0d36b73565c0f4c01b4dd45dcd1a5025aad83889 100644 (file)
@@ -1,22 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
-puts "TODO CR23096 Linux: Error : 2 differences with reference data found :" 
+puts "TODO CR23096 Linux: Error :  is WRONG because number of SHAPE entities in shape"
+puts "TODO CR23096 Linux: STATSHAPE : Faulty ref number of shared edges in command statshape"
 
-set LinuxDiff 2
 set filename trj12_b3-sy-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 283  ( 203 )  Summary  = 283  ( 203 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 862  ( 862 )   Summary  = 5603  ( 5611 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 862  ( 862 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 2367  ( 2375 )
-TOLERANCE   : MaxTol   =   0.2981250817  (   0.1424276318 )  AvgTol   =  0.001247316194  (  0.000646415041 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 203 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 862 -shape 5611
+checkstatshape res_1 -solid 1 -shell 1 -face 862 -freewire 0 -freeedge 0 -sharededge 2375
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1424276318 -avg 0.000646415041]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 203 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 57 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 862 -shape 5603 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 862 -freewire 0 -freeedge 0 -sharededge 2367 -max_solid 1 -max_shell 1 -max_face 862 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.2981250817 -avg 0.001247316194 -max_tol ${max_tol_res_1}
+
index bf2a803c348c7017ab50dd316f8d05ac5da99ad1..18a924aa1227062891837797cc794140193b66c4 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename trj3_pm1-id-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1168  ( 895 )  Summary  = 1168  ( 895 )
-CHECKSHAPE  : Wires    = 1  ( 1 )  Faces    = 1  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 3826  ( 3826 )   Summary  = 23862  ( 23856 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 3826  ( 3826 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 9969  ( 9964 )
-TOLERANCE   : MaxTol   = 0.009023403931  ( 0.009980833943 )  AvgTol   =  0.0003371911058  (  0.000825361244 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 3047  ( 3047 )  N2Labels = 0  ( 0 )   TotalLabels = 3048  ( 3048 )   NameLabels = 1  ( 1 )   ColorLabels = 3048  ( 3048 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE1 YELLOW  ( BLUE1 YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 893 -max_faults 0
+checkxstat D_First -n0 1 -n1 3047 -n2 0 -total 3048 -withname 1 -withcolor 3048 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 YELLOW } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 3826 -shape 23856
+checkstatshape res_1 -solid 1 -shell 1 -face 3826 -freewire 0 -freeedge 0 -sharededge 9964
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009980833943 -avg 0.000825361244]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 893 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 924 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 3047 -n2 0 -total 3048 -withname 1 -withcolor 3048 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 3047 -n2 0 -total 3048 -withname 1 -withcolor 3048 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 YELLOW  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 3826 -shape 23862 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 3826 -freewire 0 -freeedge 0 -sharededge 9969 -max_solid 1 -max_shell 1 -max_face 3826 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.009023403931 -avg 0.0003371911058 -max_tol ${max_tol_res_1}
+
index ac27aa4c8b9fa31b3d1ffe20e07139853ae3bf90..189050fa8e93f8eb7eebf1dd61a3ef8372e9de65 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: STATSHAPE : Faulty" 
 puts "TODO CR23096 ALL: LABELS : Faulty" 
 
-
 set filename trj4_pm2-id-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 54  ( 43 )  Summary  = 54  ( 43 )
-CHECKSHAPE  : Wires    = 0  ( 2 )  Faces    = 0  ( 2 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 8  ( 8 )  Shell    = 230  ( 230 )  Face     = 734  ( 730 )   Summary  = 5894  ( 5886 )
-STATSHAPE   : Solid    = 8  ( 8 )  Shell    = 230  ( 230 )  Face     = 734  ( 730 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 2325  ( 2325 )
-TOLERANCE   : MaxTol   = 0.007776555629  ( 0.009838987775 )  AvgTol   =  0.0001629422998  (  0.0003475330146 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 3 )  N2Labels = 0  ( 1 )   TotalLabels = 5  ( 7 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 38 -max_faults 0
+checkxstat D_First -n0 3 -n1 3 -n2 1 -total 7 -withname 5 -withcolor 0 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 8 -shell 230 -face 730 -shape 5886
+checkstatshape res_1 -solid 8 -shell 230 -face 730 -freewire 0 -freeedge 0 -sharededge 2325
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009838987775 -avg 0.0003475330146]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 38 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 24 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 3 -n2 1 -total 7 -withname 5 -withcolor 0 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 8 -shell 230 -face 734 -shape 5894 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 8 -shell 230 -face 734 -freewire 0 -freeedge 0 -sharededge 2325 -max_solid 8 -max_shell 230 -max_face 730 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.007776555629 -avg 0.0001629422998 -max_tol ${max_tol_res_1}
+
index 9c80a6f67d531e55d831c8513dcd669d2759b870..8b67e139b08dc46e1f3626077bd742765ebeed90 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename 1084837_solide.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 7  ( 10 )  Summary  = 7  ( 10 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 96  ( 96 )  Shell    = 96  ( 96 )  Face     = 1550  ( 1550 )   Summary  = 9569  ( 9569 )
-STATSHAPE   : Solid    = 157  ( 157 )  Shell    = 157  ( 157 )  Face     = 2165  ( 2165 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 3746  ( 3746 )
-TOLERANCE   : MaxTol   =  0.09605390893  (   0.2017069355 )  AvgTol   =  0.004037409197  (  0.008789463002 )
-LABELS      : N0Labels = 112  ( 112 )  N1Labels = 170  ( 170 )  N2Labels = 0  ( 0 )   TotalLabels = 282  ( 282 )   NameLabels = 282  ( 282 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+checkxstat D_First -n0 112 -n1 170 -n2 0 -total 282 -withname 282 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 96 -shell 96 -face 1550 -shape 9569
+checkstatshape res_1 -solid 157 -shell 157 -face 2165 -freewire 0 -freeedge 0 -sharededge 3746
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.2017069355 -avg 0.008789463002]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 112 -n1 170 -n2 0 -total 282 -withname 282 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 112 -n1 170 -n2 0 -total 282 -withname 282 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 96 -shell 96 -face 1550 -shape 9569 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 157 -shell 157 -face 2165 -freewire 0 -freeedge 0 -sharededge 3746 -max_solid 157 -max_shell 157 -max_face 2165 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.09605390893 -avg 0.004037409197 -max_tol ${max_tol_res_1}
+
index 11d6066f715fa1825f7285ee5f7d844665978fa8..37fb560081559262d64467d9ae9bd2e28000a3d6 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename 16.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 7 )  Summary  = 4  ( 7 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 9  ( 9 )  Shell    = 9  ( 9 )  Face     = 103  ( 103 )   Summary  = 654  ( 654 )
-STATSHAPE   : Solid    = 9  ( 9 )  Shell    = 9  ( 9 )  Face     = 103  ( 103 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 244  ( 244 )
-TOLERANCE   : MaxTol   = 0.0008797425518  ( 0.0008797425526 )  AvgTol   =  0.0001325839995  (  0.0001325704996 )
-LABELS      : N0Labels = 14  ( 14 )  N1Labels = 13  ( 13 )  N2Labels = 0  ( 0 )   TotalLabels = 27  ( 27 )   NameLabels = 27  ( 27 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+checkxstat D_First -n0 14 -n1 13 -n2 0 -total 27 -withname 27 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 9 -shell 9 -face 103 -shape 654
+checkstatshape res_1 -solid 9 -shell 9 -face 103 -freewire 0 -freeedge 0 -sharededge 244
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0008797425526 -avg 0.0001325704996]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 3 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 14 -n1 13 -n2 0 -total 27 -withname 27 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 14 -n1 13 -n2 0 -total 27 -withname 27 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 9 -shell 9 -face 103 -shape 654 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 9 -shell 9 -face 103 -freewire 0 -freeedge 0 -sharededge 244 -max_solid 9 -max_shell 9 -max_face 103 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0008797425518 -avg 0.0001325839995 -max_tol ${max_tol_res_1}
+
index 8936ad573ea21be2c9fe4897cfd795a127fe6de9..fed3e11a714d425b8ae404a5929564d142c513b3 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename BUC50070.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 71  ( 65 )  Summary  = 71  ( 65 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 445  ( 445 )  Face     = 445  ( 445 )   Summary  = 5378  ( 3758 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 445  ( 445 )  Face     = 445  ( 445 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 2023  ( 1600 )
-TOLERANCE   : MaxTol   =  0.08129076078  (   0.1779929979 )  AvgTol   =  0.002456311675  (   0.01536489548 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 893  ( 893 )  N2Labels = 0  ( 0 )   TotalLabels = 894  ( 894 )   NameLabels = 1  ( 1 )   ColorLabels = 448  ( 448 )   LayerLabels = 448  ( 448 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 6  ( 6 )
-COLORS      : Colors   = CYAN1 GRAY53 GREEN RED WHITE YELLOW  ( CYAN1 GRAY53 GREEN RED WHITE YELLOW )
-NLAYERS     : NLayers  = 4  ( 4 )
-LAYERS      : Layers   = 215 242 254 5  ( 215 242 254 5 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 64 -max_faults 0
+checkxstat D_First -n0 1 -n1 893 -n2 0 -total 894 -withname 1 -withcolor 448 -withlayer 448 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GRAY53 GREEN RED WHITE YELLOW } -nbcolors 6 -layers { 215 242 254 5 } -nblayers 4
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 445 -face 445 -shape 3758
+checkstatshape res_1 -solid 0 -shell 445 -face 445 -freewire 0 -freeedge 0 -sharededge 1600
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1779929979 -avg 0.01536489548]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 64 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 73 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 893 -n2 0 -total 894 -withname 1 -withcolor 448 -withlayer 448 -centroid 0 -volume 0 -area 0 -nbcolors 6 -nblayers 4
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 893 -n2 0 -total 894 -withname 1 -withcolor 448 -withlayer 448 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GRAY53 GREEN RED WHITE YELLOW  } -nbcolors 6 -layers { 215 242 254 5  } -nblayers 4
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 445 -face 445 -shape 5378 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 445 -face 445 -freewire 0 -freeedge 0 -sharededge 2023 -max_solid 0 -max_shell 445 -max_face 445 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.08129076078 -avg 0.002456311675 -max_tol ${max_tol_res_1}
+
index a15f3dde0b4aaffca73b14b0af3120bf5c6cf74e..0088652c1d8f87eb64ecb1725e5a1efd278cc184 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename BUC60031.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 22  ( 22 )   Summary  = 188  ( 171 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 22  ( 22 )   FreeWire = 0  ( 0 )   FreeEdge  = 17 ( 17 )   SharedEdge = 63  ( 63 )
-TOLERANCE   : MaxTol   =  0.01755162064  (  0.05734823138 )  AvgTol   =  0.004026464306  (  0.008726035474 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 19  ( 19 )  N2Labels = 0  ( 0 )   TotalLabels = 22  ( 22 )   NameLabels = 5  ( 5 )   ColorLabels = 18  ( 18 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = CYAN1 GREEN MAGENTA1 MEDIUMSEAGREEN  ( CYAN1 GREEN MAGENTA1 MEDIUMSEAGREEN )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 3 -n1 19 -n2 0 -total 22 -withname 5 -withcolor 18 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN MAGENTA1 MEDIUMSEAGREEN } -nbcolors 4 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 22 -shape 171
+checkstatshape res_1 -solid 1 -shell 1 -face 22 -freewire 0 -freeedge 17 -sharededge 63
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.05734823138 -avg 0.008726035474]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 19 -n2 0 -total 22 -withname 5 -withcolor 18 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 19 -n2 0 -total 22 -withname 5 -withcolor 18 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { CYAN1 GREEN MAGENTA1 MEDIUMSEAGREEN  } -nbcolors 4 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 22 -shape 188 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 22 -freewire 0 -freeedge 17 -sharededge 63 -max_solid 1 -max_shell 1 -max_face 22 -max_freewire 0 -max_freeedge 17
+checkmaxtol res_2 -tol 0.01755162064 -avg 0.004026464306 -max_tol ${max_tol_res_1}
+
index ba126401a99a8eb924637be2ed3a7d32c38dcc62..3f8f3966872772c9fc840ec67b03920e9100a81f 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename BUC61003-4.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 232 )  Warnings = 0  ( 681 )  Summary  = 0  ( 913 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 22  ( 22 )  Summary  = 22  ( 22 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 2  ( 2 )  Shell    = 2  ( 2 )  Face     = 350  ( 350 )   Summary  = 2203  ( 2203 )
-STATSHAPE   : Solid    = 2  ( 2 )  Shell    = 2  ( 2 )  Face     = 350  ( 350 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 866  ( 866 )
-TOLERANCE   : MaxTol   =  0.04160902668  (  0.04160944277 )  AvgTol   =  0.0008790179633  (  0.0008790209723 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 681 -max_faults 232
+checkdoc "tpstat c" -max_warns 22 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 2 -shell 2 -face 350 -shape 2203
+checkstatshape res_1 -solid 2 -shell 2 -face 350 -freewire 0 -freeedge 0 -sharededge 866
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.04160944277 -avg 0.0008790209723]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 681 -max_faults 232
+checkdoc "tpstat c" -max_warns 22 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 22 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 2 -shell 2 -face 350 -shape 2203 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 2 -shell 2 -face 350 -freewire 0 -freeedge 0 -sharededge 866 -max_solid 2 -max_shell 2 -max_face 350 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.04160902668 -avg 0.0008790179633 -max_tol ${max_tol_res_1}
+
index e212b71ed6777054133b44d87dfc0114c8fc949d..565759625f840e76c7328aa244dd99672fe17064 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename CTS21491.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 247  ( 293 )  Summary  = 247  ( 293 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 477  ( 477 )  Face     = 477  ( 477 )   Summary  = 7321  ( 7321 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 477  ( 477 )  Face     = 477  ( 477 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 2944  ( 2944 )
-TOLERANCE   : MaxTol   =  0.07455430074  (  0.07455430075 )  AvgTol   =   0.00330432696  (  0.003326327937 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 293 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 477 -face 477 -shape 7321
+checkstatshape res_1 -solid 0 -shell 477 -face 477 -freewire 0 -freeedge 0 -sharededge 2944
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.07455430075 -avg 0.003326327937]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 293 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 246 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 477 -face 477 -shape 7321 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 477 -face 477 -freewire 0 -freeedge 0 -sharededge 2944 -max_solid 0 -max_shell 477 -max_face 477 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.07455430074 -avg 0.00330432696 -max_tol ${max_tol_res_1}
+
index d04270acd6bc00d8df73d8707dd3620fc27e91f7..0f12c6d407f7a2f4bce0da07a4ea392c366976a9 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 
-
 set filename CTS21866.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 126  ( 67 )  Summary  = 126  ( 67 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 1393  ( 1393 )   Summary  = 9157  ( 9157 )
-STATSHAPE   : Solid    = 6  ( 6 )  Shell    = 6  ( 6 )  Face     = 1459  ( 1459 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 3853  ( 3853 )
-TOLERANCE   : MaxTol   =   0.1527629212  (   0.1473148116 )  AvgTol   =  0.0009767377272  (  0.001291090251 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 1261  ( 1261 )  N2Labels = 0  ( 0 )   TotalLabels = 1266  ( 1266 )   NameLabels = 11  ( 11 )   ColorLabels = 0  ( 0 )   LayerLabels = 1255  ( 1255 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = DECKEL GEHAEUSE KONTAKTE  ( DECKEL GEHAEUSE KONTAKTE )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 66 -max_faults 0
+checkxstat D_First -n0 5 -n1 1261 -n2 0 -total 1266 -withname 11 -withcolor 0 -withlayer 1255 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers { DECKEL GEHAEUSE KONTAKTE } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 4 -shell 4 -face 1393 -shape 9157
+checkstatshape res_1 -solid 6 -shell 6 -face 1459 -freewire 0 -freeedge 0 -sharededge 3853
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1473148116 -avg 0.001291090251]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 66 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 63 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 1261 -n2 0 -total 1266 -withname 11 -withcolor 0 -withlayer 1255 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 1261 -n2 0 -total 1266 -withname 11 -withcolor 0 -withlayer 1255 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers { DECKEL GEHAEUSE KONTAKTE  } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 4 -shell 4 -face 1393 -shape 9157 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 6 -shell 6 -face 1459 -freewire 0 -freeedge 0 -sharededge 3853 -max_solid 6 -max_shell 6 -max_face 1459 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.1527629212 -avg 0.0009767377272 -max_tol ${max_tol_res_1}
+
index 3046458a00bf8a514287202451c924f0c574d578..f46c266014cd4f84f645bfa8f77eb5fbc80c7223 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename Inventor_TireRim.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 91  ( 169 )  Summary  = 91  ( 169 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 466  ( 466 )   Summary  = 2894  ( 2894 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 466  ( 466 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1225  ( 1225 )
-TOLERANCE   : MaxTol   =  0.04984111402  (  0.04984111401 )  AvgTol   =  0.002492874968  (  0.002498774731 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 169 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 466 -shape 2894
+checkstatshape res_1 -solid 1 -shell 1 -face 466 -freewire 0 -freeedge 0 -sharededge 1225
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.04984111401 -avg 0.002498774731]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 169 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 91 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 466 -shape 2894 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 466 -freewire 0 -freeedge 0 -sharededge 1225 -max_solid 1 -max_shell 1 -max_face 466 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.04984111402 -avg 0.002492874968 -max_tol ${max_tol_res_1}
+
index a089c2d6ce1b89b88f64b1d5b353da66c33ad2bf..56e8b871457cec07011f18836e99608432d6933d 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename PRO10373.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 27  ( 26 )  Summary  = 27  ( 26 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 9  ( 9 )  Face     = 61  ( 61 )   Summary  = 377  ( 377 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 9  ( 9 )  Face     = 61  ( 61 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 143  ( 143 )
-TOLERANCE   : MaxTol   =   0.5015928415  (     0.50770021 )  AvgTol   =   0.01708363244  (   0.01729370712 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 26 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 9 -face 61 -shape 377
+checkstatshape res_1 -solid 1 -shell 9 -face 61 -freewire 0 -freeedge 0 -sharededge 143
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.50770021 -avg 0.01729370712]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 26 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 27 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 9 -face 61 -shape 377 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 9 -face 61 -freewire 0 -freeedge 0 -sharededge 143 -max_solid 1 -max_shell 9 -max_face 61 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.5015928415 -avg 0.01708363244 -max_tol ${max_tol_res_1}
+
index da1a86f240bb6e231474cd055e8b7fa3a53105cd..6692700b92957c4e46ea8ed1eac3fb92a00809d7 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename PRO10377.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 24  ( 24 )  Summary  = 24  ( 24 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 3  ( 3 )  Face     = 354  ( 354 )   Summary  = 2188  ( 2188 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 3  ( 3 )  Face     = 354  ( 354 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 930  ( 930 )
-TOLERANCE   : MaxTol   =  0.09560277261  (   0.1543839281 )  AvgTol   =   0.03139788864  (   0.04139291286 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 24 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 3 -face 354 -shape 2188
+checkstatshape res_1 -solid 0 -shell 3 -face 354 -freewire 0 -freeedge 0 -sharededge 930
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1543839281 -avg 0.04139291286]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 24 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 24 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 3 -face 354 -shape 2188 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 3 -face 354 -freewire 0 -freeedge 0 -sharededge 930 -max_solid 0 -max_shell 3 -max_face 354 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.09560277261 -avg 0.03139788864 -max_tol ${max_tol_res_1}
+
index 6385a5e1704635a3eb713ebe17a581eb52664c94..dc7d0d99af5b64c1983111d74450d410a658280f 100644 (file)
@@ -1,23 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-set LinuxDiff 1
-set LinuxFaulties {TOLERANCE}
 set filename PRO7226.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 76  ( 68 )  Summary  = 76  ( 68 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 101  ( 101 )  Face     = 101  ( 101 )   Summary  = 6262  ( 6272 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 101  ( 101 )  Face     = 101  ( 101 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 2988  ( 2998 )
-TOLERANCE   : MaxTol   =   0.1351488154  (   0.1351488154 )  AvgTol   =   0.00169512314  (  0.006333173283 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 68 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 101 -face 101 -shape 6272
+checkstatshape res_1 -solid 0 -shell 101 -face 101 -freewire 0 -freeedge 0 -sharededge 2998
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1351488154 -avg 0.006333173283]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 68 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 69 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 101 -face 101 -shape 6262 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 101 -face 101 -freewire 0 -freeedge 0 -sharededge 2988 -max_solid 0 -max_shell 101 -max_face 101 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.1351488154 -avg 0.00169512314 -max_tol ${max_tol_res_1}
+
index cffe1eeca88d38c6c3d23cb3e116a90dd3f3e33e..db05f2df614f1f4fccc31b3efdc67564808c76c3 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename PRO7656.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 109  ( 112 )  Summary  = 109  ( 112 )
-CHECKSHAPE  : Wires    = 6  ( 6 )  Faces    = 6  ( 6 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 5  ( 5 )  Face     = 627  ( 627 )   Summary  = 3983  ( 3978 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 5  ( 5 )  Face     = 627  ( 627 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1693  ( 1693 )
-TOLERANCE   : MaxTol   =    14.02132488  (    14.02132488 )  AvgTol   =    0.1145137668  (    0.1145273704 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 112 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 6 -max_faces 6 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 5 -face 627 -shape 3978
+checkstatshape res_1 -solid 0 -shell 5 -face 627 -freewire 0 -freeedge 0 -sharededge 1693
+set max_tol_res_1 [checkmaxtol res_1 -tol 14.02132488 -avg 0.1145273704]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 112 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 109 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 6 -max_faces 6 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 6 -max_faces 6 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 5 -face 627 -shape 3983 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 5 -face 627 -freewire 0 -freeedge 0 -sharededge 1693 -max_solid 0 -max_shell 5 -max_face 627 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 14.02132488 -avg 0.1145137668 -max_tol ${max_tol_res_1}
+
index e9fe3613748de3315c3534a619eaf3dd6c3c0efe..940ccff1cbb493923f7c8462cb76725283c2e7dc 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename PRO9235.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 295  ( 277 )  Summary  = 295  ( 277 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 2  ( 2 )  Shell    = 14  ( 14 )  Face     = 279  ( 279 )   Summary  = 1792  ( 1791 )
-STATSHAPE   : Solid    = 2  ( 2 )  Shell    = 14  ( 14 )  Face     = 279  ( 279 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 751  ( 751 )
-TOLERANCE   : MaxTol   =  0.02066365379  (   0.1558132402 )  AvgTol   =  0.002609634055  (  0.003802439206 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 3  ( 3 )   NameLabels = 1  ( 1 )   ColorLabels = 2  ( 2 )   LayerLabels = 2  ( 2 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = 131 200  ( 131 200 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 277 -max_faults 0
+checkxstat D_First -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { 131 200 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 2 -shell 14 -face 279 -shape 1791
+checkstatshape res_1 -solid 2 -shell 14 -face 279 -freewire 0 -freeedge 0 -sharededge 751
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1558132402 -avg 0.003802439206]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 277 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 295 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 131 200  } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 2 -shell 14 -face 279 -shape 1792 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 2 -shell 14 -face 279 -freewire 0 -freeedge 0 -sharededge 751 -max_solid 2 -max_shell 14 -max_face 279 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.02066365379 -avg 0.002609634055 -max_tol ${max_tol_res_1}
+
index d99ce34080bdcec8d56e2f4830acc2dcd40142b6..01b4002b592ff20351963aeae569006629d0742a 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename UKI60569-1.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 77  ( 57 )  Summary  = 77  ( 57 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 219  ( 219 )  Face     = 219  ( 219 )   Summary  = 2949  ( 2949 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 219  ( 219 )  Face     = 219  ( 219 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1169  ( 1169 )
-TOLERANCE   : MaxTol   = 0.003116412498  ( 0.003116412498 )  AvgTol   =  8.305379074e-006  (  8.305941009e-006 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 57 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 219 -face 219 -shape 2949
+checkstatshape res_1 -solid 0 -shell 219 -face 219 -freewire 0 -freeedge 0 -sharededge 1169
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.003116412498 -avg 8.305941009e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 57 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 77 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 219 -face 219 -shape 2949 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 219 -face 219 -freewire 0 -freeedge 0 -sharededge 1169 -max_solid 0 -max_shell 219 -max_face 219 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003116412498 -avg 8.305379074e-006 -max_tol ${max_tol_res_1}
+
index aac82034427882a710e691041588619cd8208424..bddc9e0d84ca2ac298ff5f59a48e4e4559d92183 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename Z1MDT6.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 29  ( 195 )  Summary  = 29  ( 195 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 2 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 2  ( 2 )  Shell    = 2  ( 2 )  Face     = 372  ( 372 )   Summary  = 2869  ( 2869 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 384  ( 384 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1244  ( 1244 )
-TOLERANCE   : MaxTol   = 0.0007170960464  ( 0.0007171032164 )  AvgTol   =  1.914460687e-005  (  2.129229514e-005 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 3  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 6  ( 6 )   NameLabels = 6  ( 6 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 196 -max_faults 0
+checkxstat D_First -n0 3 -n1 3 -n2 0 -total 6 -withname 6 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 2 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 2 -shell 2 -face 372 -shape 2869
+checkstatshape res_1 -solid 3 -shell 3 -face 384 -freewire 0 -freeedge 0 -sharededge 1244
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0007171032164 -avg 2.129229514e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 196 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 29 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 3 -n2 0 -total 6 -withname 6 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 3 -n2 0 -total 6 -withname 6 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 2 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 2 -shell 2 -face 372 -shape 2869 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 3 -face 384 -freewire 0 -freeedge 0 -sharededge 1244 -max_solid 3 -max_shell 3 -max_face 384 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0007170960464 -avg 1.914460687e-005 -max_tol ${max_tol_res_1}
+
index 99d83f44dbb6630c668669b5883c221ff67fe240..4f3be46421d94c5994857acaceb0c29f50304295 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_db_exhaust-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 6 )  Summary  = 4  ( 6 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 41  ( 41 )   Summary  = 612  ( 612 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 41  ( 41 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 275  ( 275 )
-TOLERANCE   : MaxTol   = 0.003916476016  (  0.02740530648 )  AvgTol   =   0.00042102894  (  0.001697797351 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 3  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 4  ( 4 )   NameLabels = 1  ( 1 )   ColorLabels = 3  ( 3 )   LayerLabels = 3  ( 3 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 2  ( {  2} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 3 -withlayer 3 -centroid 0 -volume 0 -area 0 -colors { GREEN } -nbcolors 1 -layers { "  2" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 41 -shape 612
+checkstatshape res_1 -solid 3 -shell 3 -face 41 -freewire 0 -freeedge 0 -sharededge 275
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.02740530648 -avg 0.001697797351]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 3 -withlayer 3 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 3 -withlayer 3 -centroid 0 -volume 0 -area 0 -colors { GREEN  } -nbcolors 1 -layers { 2 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 3 -face 41 -shape 612 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 3 -face 41 -freewire 0 -freeedge 0 -sharededge 275 -max_solid 3 -max_shell 3 -max_face 41 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003916476016 -avg 0.00042102894 -max_tol ${max_tol_res_1}
+
index c23d27a55de8867d9ebaaab65fffb651ae3db147..b008695a555a9516e75faaae554b1b94bb8d98a6 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_db_exhaust-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 7 )  Summary  = 4  ( 7 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 41  ( 41 )   Summary  = 612  ( 612 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 41  ( 41 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 275  ( 275 )
-TOLERANCE   : MaxTol   = 0.003916476016  (  0.02740530648 )  AvgTol   =  0.0004210271522  (  0.001697795563 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 3  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 4  ( 4 )   NameLabels = 1  ( 1 )   ColorLabels = 3  ( 3 )   LayerLabels = 3  ( 3 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 2  ( {  2} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+checkxstat D_First -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 3 -withlayer 3 -centroid 0 -volume 0 -area 0 -colors { GREEN } -nbcolors 1 -layers { "  2" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 41 -shape 612
+checkstatshape res_1 -solid 3 -shell 3 -face 41 -freewire 0 -freeedge 0 -sharededge 275
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.02740530648 -avg 0.001697795563]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 3 -withlayer 3 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 3 -withlayer 3 -centroid 0 -volume 0 -area 0 -colors { GREEN  } -nbcolors 1 -layers { 2 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 3 -face 41 -shape 612 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 3 -face 41 -freewire 0 -freeedge 0 -sharededge 275 -max_solid 3 -max_shell 3 -max_face 41 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003916476016 -avg 0.0004210271522 -max_tol ${max_tol_res_1}
+
index 6ad9972de13737aaf69df8d02fa2200e60a59f6f..a1fff4aef862d292162fa2ae81b914721bfbbfc2 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_db_exhaust-C.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 7 )  Summary  = 4  ( 7 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 41  ( 41 )   Summary  = 612  ( 612 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 41  ( 41 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 275  ( 275 )
-TOLERANCE   : MaxTol   = 0.003917262203  (  0.02740530648 )  AvgTol   =  0.0004367734404  (  0.001885763158 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 3  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 4  ( 4 )   NameLabels = 1  ( 1 )   ColorLabels = 3  ( 3 )   LayerLabels = 3  ( 3 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GREEN  ( GREEN )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 2  ( {  2} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+checkxstat D_First -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 3 -withlayer 3 -centroid 0 -volume 0 -area 0 -colors { GREEN } -nbcolors 1 -layers { "  2" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 41 -shape 612
+checkstatshape res_1 -solid 3 -shell 3 -face 41 -freewire 0 -freeedge 0 -sharededge 275
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.02740530648 -avg 0.001885763158]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 3 -withlayer 3 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 3 -withlayer 3 -centroid 0 -volume 0 -area 0 -colors { GREEN  } -nbcolors 1 -layers { 2 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 3 -face 41 -shape 612 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 3 -face 41 -freewire 0 -freeedge 0 -sharededge 275 -max_solid 3 -max_shell 3 -max_face 41 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003917262203 -avg 0.0004367734404 -max_tol ${max_tol_res_1}
+
index e29a334cc2497485743ae50908dafb1599104db6..4e5d7baddcdb7a707d462953bbb243acafd60a9c 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_ug_exhaust-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 25 )  Summary  = 0  ( 25 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 50  ( 50 )   Summary  = 273  ( 273 )
-STATSHAPE   : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 50  ( 50 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 96  ( 96 )
-TOLERANCE   : MaxTol   = 0.006784355905  (  0.00678435592 )  AvgTol   =  0.0007838067287  (  0.0007869237263 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 25 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 50 -shape 273
+checkstatshape res_1 -solid 5 -shell 5 -face 50 -freewire 0 -freeedge 0 -sharededge 96
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.00678435592 -avg 0.0007869237263]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 25 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 50 -shape 273 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 5 -shell 5 -face 50 -freewire 0 -freeedge 0 -sharededge 96 -max_solid 5 -max_shell 5 -max_face 50 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.006784355905 -avg 0.0007838067287 -max_tol ${max_tol_res_1}
+
index 75db32c4a3e861a4eb47f66350d480e6311abaa7..ecb6de0ba87122e33178a677530eca050aa7c8ee 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm2_ug_exhaust-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 25 )  Summary  = 0  ( 25 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 50  ( 50 )   Summary  = 273  ( 273 )
-STATSHAPE   : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 50  ( 50 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 96  ( 96 )
-TOLERANCE   : MaxTol   = 0.001619917869  ( 0.001619918114 )  AvgTol   =  0.0001230803969  (  0.0001261972435 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 25 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 50 -shape 273
+checkstatshape res_1 -solid 5 -shell 5 -face 50 -freewire 0 -freeedge 0 -sharededge 96
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.001619918114 -avg 0.0001261972435]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 25 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 50 -shape 273 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 5 -shell 5 -face 50 -freewire 0 -freeedge 0 -sharededge 96 -max_solid 5 -max_shell 5 -max_face 50 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.001619917869 -avg 0.0001230803969 -max_tol ${max_tol_res_1}
+
index dcb6558bc6b0472eda9e89d46f45c60c4209966b..5041a280672d91f00774cf0a69f2cb40fd10815d 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_ca_seal.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 13  ( 13 )  Summary  = 13  ( 13 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 15  ( 15 )   Summary  = 516  ( 445 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 15  ( 15 )   FreeWire = 0  ( 0 )   FreeEdge  = 70 ( 70 )   SharedEdge = 109  ( 109 )
-TOLERANCE   : MaxTol   =         1e-007  ( 1.00010073e-007 )  AvgTol   =          1e-007  (  1.000025586e-007 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 15 -shape 445
+checkstatshape res_1 -solid 1 -shell 1 -face 15 -freewire 0 -freeedge 70 -sharededge 109
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00010073e-007 -avg 1.000025586e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 15 -shape 516 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 15 -freewire 0 -freeedge 70 -sharededge 109 -max_solid 1 -max_shell 1 -max_face 15 -max_freewire 0 -max_freeedge 70
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index c8cd8f8c44ca3b479d1b97b4790cca0bf25535bc..590cf9aa466ee80751db2a8b1686a84192932ac5 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_pe_seal_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 24  ( 24 )   Summary  = 124  ( 124 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 24  ( 24 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 48  ( 48 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 3 -face 24 -shape 124
+checkstatshape res_1 -solid 1 -shell 3 -face 24 -freewire 0 -freeedge 0 -sharededge 48
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 24 -shape 124 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 24 -freewire 0 -freeedge 0 -sharededge 48 -max_solid 1 -max_shell 3 -max_face 24 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 70536bab4034feedf7550356492c66c8f07c0438..0c6094924a7e4adc885ab0c38ab7261fb481a0dd 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename bm4_sd_conn_d.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 501  ( 501 )   Summary  = 3639  ( 3639 )
-STATSHAPE   : Solid    = 57  ( 57 )  Shell    = 57  ( 57 )  Face     = 1912  ( 1912 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1478  ( 1478 )
-TOLERANCE   : MaxTol   =         1e-007  (         1e-007 )  AvgTol   =          1e-007  (          1e-007 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 32  ( 32 )  N2Labels = 0  ( 0 )   TotalLabels = 37  ( 37 )   NameLabels = 36  ( 36 )   ColorLabels = 4  ( 4 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = GREEN MEDIUMTURQUOISE RED YELLOW  ( GREEN MEDIUMTURQUOISE RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 5 -n1 32 -n2 0 -total 37 -withname 36 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN MEDIUMTURQUOISE RED YELLOW } -nbcolors 4 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 501 -shape 3639
+checkstatshape res_1 -solid 57 -shell 57 -face 1912 -freewire 0 -freeedge 0 -sharededge 1478
+set max_tol_res_1 [checkmaxtol res_1 -tol 1e-007 -avg 1e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 32 -n2 0 -total 37 -withname 36 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 32 -n2 0 -total 37 -withname 36 -withcolor 4 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GREEN MEDIUMTURQUOISE RED YELLOW  } -nbcolors 4 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 3 -face 501 -shape 3639 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 57 -shell 57 -face 1912 -freewire 0 -freeedge 0 -sharededge 1478 -max_solid 57 -max_shell 57 -max_face 1912 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 1e-007 -avg 1e-007 -max_tol ${max_tol_res_1}
+
index 02f0eb354e960dd7f80af658e88d0272faf8dd3b..ab5e9b503347c0681c4cb5cbb69ee22ee0e6cd9f 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename bm4_sd_punch_d.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 10  ( 0 )  Summary  = 10  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 4  ( 4 )  Face     = 204  ( 204 )   Summary  = 1367  ( 1367 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 4  ( 4 )  Face     = 204  ( 204 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 554  ( 554 )
-TOLERANCE   : MaxTol   = 6.188728122e-007  ( 7.498981519e-007 )  AvgTol   =  1.4369871e-007  (  1.554329149e-007 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 41  ( 41 )  N2Labels = 0  ( 0 )   TotalLabels = 46  ( 46 )   NameLabels = 9  ( 9 )   ColorLabels = 41  ( 41 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 3  ( 3 )
-COLORS      : Colors   = BLUE1 GREEN RED  ( BLUE1 GREEN RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 5 -n1 41 -n2 0 -total 46 -withname 9 -withcolor 41 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED } -nbcolors 3 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 4 -face 204 -shape 1367
+checkstatshape res_1 -solid 3 -shell 4 -face 204 -freewire 0 -freeedge 0 -sharededge 554
+set max_tol_res_1 [checkmaxtol res_1 -tol 7.498981519e-007 -avg 1.554329149e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 10 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 41 -n2 0 -total 46 -withname 9 -withcolor 41 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 3 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 41 -n2 0 -total 46 -withname 9 -withcolor 41 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 GREEN RED  } -nbcolors 3 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 4 -face 204 -shape 1367 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 4 -face 204 -freewire 0 -freeedge 0 -sharededge 554 -max_solid 3 -max_shell 4 -max_face 204 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 6.188728122e-007 -avg 1.4369871e-007 -max_tol ${max_tol_res_1}
+
index 50cd400978580bf1d6f10dc606ac3ed40ddfd3f3..2bb63fa9907b6424566b8579a53c0a74e8997ee2 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 
-
 set filename bm4_tc_seal.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 13  ( 13 )  Summary  = 13  ( 13 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 15  ( 15 )   Summary  = 360  ( 445 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 15  ( 15 )   FreeWire = 0  ( 0 )   FreeEdge  = 70 ( 70 )   SharedEdge = 109  ( 109 )
-TOLERANCE   : MaxTol   =   1.00005e-007  (   1.00005e-007 )  AvgTol   =  1.000022658e-007  (  1.000016966e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 1  ( 1 )  N2Labels = 0  ( 0 )   TotalLabels = 2  ( 2 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MEDIUMVIOLETRED  ( MEDIUMVIOLETRED )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 050  ( 050 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+checkxstat D_First -n0 1 -n1 1 -n2 0 -total 2 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { MEDIUMVIOLETRED } -nbcolors 1 -layers { 050 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 15 -shape 445
+checkstatshape res_1 -solid 1 -shell 1 -face 15 -freewire 0 -freeedge 70 -sharededge 109
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.00005e-007 -avg 1.000016966e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 13 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 1 -n2 0 -total 2 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 1 -n2 0 -total 2 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { MEDIUMVIOLETRED  } -nbcolors 1 -layers { 050  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 15 -shape 360 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 15 -freewire 0 -freeedge 70 -sharededge 109 -max_solid 1 -max_shell 1 -max_face 15 -max_freewire 0 -max_freeedge 70
+checkmaxtol res_2 -tol 1.00005e-007 -avg 1.000022658e-007 -max_tol ${max_tol_res_1}
+
index 8dee702bd08dab6b1949f3d4aa364128a5aa4279..fd700659e99313cc5e61f0f182ad8da3e11150fb 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename db_exhaust-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 6 )  Summary  = 4  ( 6 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 41  ( 41 )   Summary  = 612  ( 612 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 41  ( 41 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 275  ( 275 )
-TOLERANCE   : MaxTol   =   0.0039188913  (  0.02740530648 )  AvgTol   =  0.0003818758305  (  0.001491000686 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 3  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 4  ( 4 )   NameLabels = 1  ( 1 )   ColorLabels = 3  ( 3 )   LayerLabels = 3  ( 3 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 2  ( {  2} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 3 -withlayer 3 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { "  2" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 41 -shape 612
+checkstatshape res_1 -solid 3 -shell 3 -face 41 -freewire 0 -freeedge 0 -sharededge 275
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.02740530648 -avg 0.001491000686]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 3 -withlayer 3 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 3 -withlayer 3 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 2 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 3 -face 41 -shape 612 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 3 -face 41 -freewire 0 -freeedge 0 -sharededge 275 -max_solid 3 -max_shell 3 -max_face 41 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0039188913 -avg 0.0003818758305 -max_tol ${max_tol_res_1}
+
index 3bf180ff314be97ec422989356cb130d636e30c1..3ac0d0ab551583520db53263fdbfd0ac51b32fb5 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename db_exhaust-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 6 )  Summary  = 4  ( 6 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 41  ( 41 )   Summary  = 612  ( 612 )
-STATSHAPE   : Solid    = 3  ( 3 )  Shell    = 3  ( 3 )  Face     = 41  ( 41 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 275  ( 275 )
-TOLERANCE   : MaxTol   =   0.0039188913  (  0.02740530648 )  AvgTol   =  0.0003818776183  (  0.001491002474 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 3  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 4  ( 4 )   NameLabels = 1  ( 1 )   ColorLabels = 3  ( 3 )   LayerLabels = 3  ( 3 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 2  ( {  2} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 3 -withlayer 3 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { "  2" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 3 -shell 3 -face 41 -shape 612
+checkstatshape res_1 -solid 3 -shell 3 -face 41 -freewire 0 -freeedge 0 -sharededge 275
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.02740530648 -avg 0.001491002474]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 3 -withlayer 3 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 3 -n2 0 -total 4 -withname 1 -withcolor 3 -withlayer 3 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 2 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 3 -shell 3 -face 41 -shape 612 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 3 -shell 3 -face 41 -freewire 0 -freeedge 0 -sharededge 275 -max_solid 3 -max_shell 3 -max_face 41 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0039188913 -avg 0.0003818776183 -max_tol ${max_tol_res_1}
+
index 1f271de9de2fc1858bb2db87a5bf089396230d62..cbbe63dd856174c60ae2121752d83f835b3cc6dd 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename ie_soapbox-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 10  ( 14 )  Summary  = 10  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 2  ( 2 )  Shell    = 2  ( 2 )  Face     = 108  ( 108 )   Summary  = 673  ( 673 )
-STATSHAPE   : Solid    = 2  ( 2 )  Shell    = 2  ( 2 )  Face     = 108  ( 108 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 282  ( 282 )
-TOLERANCE   : MaxTol   =   0.5386330267  (    1.019942733 )  AvgTol   =   0.01216555298  (   0.01597193199 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 2 -shell 2 -face 108 -shape 673
+checkstatshape res_1 -solid 2 -shell 2 -face 108 -freewire 0 -freeedge 0 -sharededge 282
+set max_tol_res_1 [checkmaxtol res_1 -tol 1.019942733 -avg 0.01597193199]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 2 -shell 2 -face 108 -shape 673 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 2 -shell 2 -face 108 -freewire 0 -freeedge 0 -sharededge 282 -max_solid 2 -max_shell 2 -max_face 108 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.5386330267 -avg 0.01216555298 -max_tol ${max_tol_res_1}
+
index 975ded3201813e7e730f8fa3cdb97734b2a889ce..b59b060717aa9e3fb099cfb610b9d520528f5c79 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename ie_turbine-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 51  ( 51 )  Face     = 51  ( 51 )   Summary  = 592  ( 592 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 51  ( 51 )  Face     = 51  ( 51 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 222  ( 222 )
-TOLERANCE   : MaxTol   = 0.005061094119  (  0.00682077312 )  AvgTol   =  0.001395581121  (  0.001517402039 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 51 -face 51 -shape 592
+checkstatshape res_1 -solid 0 -shell 51 -face 51 -freewire 0 -freeedge 0 -sharededge 222
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.00682077312 -avg 0.001517402039]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 51 -face 51 -shape 592 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 51 -face 51 -freewire 0 -freeedge 0 -sharededge 222 -max_solid 0 -max_shell 51 -max_face 51 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.005061094119 -avg 0.001395581121 -max_tol ${max_tol_res_1}
+
index 7a2a02bc6984dfff2e112c3874e7c15fc0b18d13..f40c70c6cc587f1f5c92eafb575bf737ea0cb67d 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename pe_exhaust-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 114  ( 114 )   Summary  = 632  ( 632 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 114  ( 114 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 252  ( 252 )
-TOLERANCE   : MaxTol   = 0.000614038038  ( 0.002229059815 )  AvgTol   =  0.0001163919322  (  0.0003895058511 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 114 -shape 632
+checkstatshape res_1 -solid 1 -shell 1 -face 114 -freewire 0 -freeedge 0 -sharededge 252
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.002229059815 -avg 0.0003895058511]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 114 -shape 632 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 114 -freewire 0 -freeedge 0 -sharededge 252 -max_solid 1 -max_shell 1 -max_face 114 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.000614038038 -avg 0.0001163919322 -max_tol ${max_tol_res_1}
+
index 1310b7d5c35c164513a04f8e935586b07a49a68a..5227f8fbf05b166a98d6f642358cf7283e26bd43 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename r0901_ec.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 15  ( 7 )  Summary  = 15  ( 7 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 438  ( 438 )   Summary  = 2798  ( 2798 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 438  ( 438 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1136  ( 1136 )
-TOLERANCE   : MaxTol   = 0.0001456659717  ( 0.0001456659717 )  AvgTol   =  8.859916294e-007  (  9.13363077e-007 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 438 -shape 2798
+checkstatshape res_1 -solid 1 -shell 1 -face 438 -freewire 0 -freeedge 0 -sharededge 1136
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0001456659717 -avg 9.13363077e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 7 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 15 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 438 -shape 2798 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 438 -freewire 0 -freeedge 0 -sharededge 1136 -max_solid 1 -max_shell 1 -max_face 438 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0001456659717 -avg 8.859916294e-007 -max_tol ${max_tol_res_1}
+
index cbc3f1d8126c8f64e99afd0916ebfecf3a640655..3665b768a1a166770f580c9f70d1f4ff270e2ff8 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename r44sd.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 19 )  Warnings = 0  ( 0 )  Summary  = 0  ( 19 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 2 )  Summary  = 2  ( 2 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 383  ( 383 )   Summary  = 2241  ( 2241 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 383  ( 383 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 922  ( 922 )
-TOLERANCE   : MaxTol   =  0.01482060006  (  0.01482060006 )  AvgTol   =  0.0001304365465  (  0.0001304365466 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 57 -max_faults 19
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 383 -shape 2241
+checkstatshape res_1 -solid 1 -shell 1 -face 383 -freewire 0 -freeedge 0 -sharededge 922
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01482060006 -avg 0.0001304365466]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 57 -max_faults 19
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 383 -shape 2241 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 383 -freewire 0 -freeedge 0 -sharededge 922 -max_solid 1 -max_shell 1 -max_face 383 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01482060006 -avg 0.0001304365465 -max_tol ${max_tol_res_1}
+
index 69aea35df867461798519ca03f233214bcb3b16b..fe5ac91d2e4fc297f3e745af2f6d3a033349a67a 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename r65b-pe.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 14  ( 4 )  Summary  = 14  ( 4 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 676  ( 676 )   Summary  = 4405  ( 4405 )
-STATSHAPE   : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 676  ( 676 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1789  ( 1789 )
-TOLERANCE   : MaxTol   = 0.002842802207  (  0.01045213326 )  AvgTol   =  9.202667589e-005  (  0.001200450607 )
-LABELS      : N0Labels = 5  ( 5 )  N1Labels = 680  ( 680 )  N2Labels = 0  ( 0 )   TotalLabels = 685  ( 685 )   NameLabels = 9  ( 9 )   ColorLabels = 0  ( 0 )   LayerLabels = 676  ( 676 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 4  ( 4 )
-LAYERS      : Layers   = LAGERNIET LEITBLECH_OBEN SCHLAUCHFASSUNG_OBEN SEILROLLE_1  ( LAGERNIET LEITBLECH_OBEN SCHLAUCHFASSUNG_OBEN SEILROLLE_1 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 5 -n1 680 -n2 0 -total 685 -withname 9 -withcolor 0 -withlayer 676 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers { "LAGERNIET" "LEITBLECH_OBEN" "SCHLAUCHFASSUNG_OBEN" "SEILROLLE_1" } -nblayers 4
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 4 -shell 4 -face 676 -shape 4405
+checkstatshape res_1 -solid 4 -shell 4 -face 676 -freewire 0 -freeedge 0 -sharededge 1789
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01045213326 -avg 0.001200450607]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 5 -n1 680 -n2 0 -total 685 -withname 9 -withcolor 0 -withlayer 676 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 4
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 5 -n1 680 -n2 0 -total 685 -withname 9 -withcolor 0 -withlayer 676 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers { "LAGERNIET" "LEITBLECH_OBEN" "SCHLAUCHFASSUNG_OBEN" "SEILROLLE_1" } -nblayers 4
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 4 -shell 4 -face 676 -shape 4405 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 4 -shell 4 -face 676 -freewire 0 -freeedge 0 -sharededge 1789 -max_solid 4 -max_shell 4 -max_face 676 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.002842802207 -avg 9.202667589e-005 -max_tol ${max_tol_res_1}
+
index 509aac45cbbf42a5344b57cc370cffae4e893144..d748ffb872920472a9150191f5fbe93b65af49d8 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename r_39-db.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 230  ( 126 )  Summary  = 230  ( 126 )
-CHECKSHAPE  : Wires    = 3  ( 3 )  Faces    = 3  ( 3 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 12  ( 12 )  Shell    = 297  ( 297 )  Face     = 449  ( 449 )   Summary  = 4991  ( 3865 )
-STATSHAPE   : Solid    = 12  ( 12 )  Shell    = 297  ( 297 )  Face     = 449  ( 449 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1935  ( 1842 )
-TOLERANCE   : MaxTol   =  0.09813029449  (   0.1674907116 )  AvgTol   =   0.00279894343  (   0.01426972934 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 582  ( 582 )  N2Labels = 0  ( 0 )   TotalLabels = 583  ( 583 )   NameLabels = 1  ( 1 )   ColorLabels = 289  ( 289 )   LayerLabels = 297  ( 297 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 6  ( 6 )
-COLORS      : Colors   = CYAN1 DODGERBLUE2 GREEN MAGENTA1 WHITE YELLOW  ( CYAN1 DODGERBLUE2 GREEN MAGENTA1 WHITE YELLOW )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( {  0} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 126 -max_faults 0
+checkxstat D_First -n0 1 -n1 582 -n2 0 -total 583 -withname 1 -withcolor 289 -withlayer 297 -centroid 0 -volume 0 -area 0 -colors { CYAN1 DODGERBLUE2 GREEN MAGENTA1 WHITE YELLOW } -nbcolors 6 -layers { "  0" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 3 -max_faces 3 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 12 -shell 297 -face 449 -shape 3865
+checkstatshape res_1 -solid 12 -shell 297 -face 449 -freewire 0 -freeedge 0 -sharededge 1842
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1674907116 -avg 0.01426972934]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 126 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 230 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 582 -n2 0 -total 583 -withname 1 -withcolor 289 -withlayer 297 -centroid 0 -volume 0 -area 0 -nbcolors 6 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 582 -n2 0 -total 583 -withname 1 -withcolor 289 -withlayer 297 -centroid 0 -volume 0 -area 0 -colors { CYAN1 DODGERBLUE2 GREEN MAGENTA1 WHITE YELLOW  } -nbcolors 6 -layers { 0 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 3 -max_faces 3 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 3 -max_faces 3 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 12 -shell 297 -face 449 -shape 4991 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 12 -shell 297 -face 449 -freewire 0 -freeedge 0 -sharededge 1935 -max_solid 12 -max_shell 297 -max_face 449 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.09813029449 -avg 0.00279894343 -max_tol ${max_tol_res_1}
+
index b5f9c05841375e7a6a2fe2fabe983075be7dde45..0638e091ca8b6c2f523d33518f5b54f1bcee1ebe 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename test-m020306-v1.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 308  ( 115 )  Summary  = 308  ( 115 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 742  ( 742 )   Summary  = 5060  ( 5060 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 742  ( 742 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 2108  ( 2108 )
-TOLERANCE   : MaxTol   = 0.008481946718  (  0.01167681549 )  AvgTol   =  0.0001367132065  (  0.0002869491135 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 114 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 742 -shape 5060
+checkstatshape res_1 -solid 1 -shell 1 -face 742 -freewire 0 -freeedge 0 -sharededge 2108
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01167681549 -avg 0.0002869491135]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 114 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 152 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 742 -shape 5060 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 742 -freewire 0 -freeedge 0 -sharededge 2108 -max_solid 1 -max_shell 1 -max_face 742 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.008481946718 -avg 0.0001367132065 -max_tol ${max_tol_res_1}
+
index a6476b3cd4eba7c189867c2cfa1ca75650b00ee3..bd4fd03f291eb030a0b25e6b524efe03aa84075f 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename test-m020306-v2.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 317  ( 158 )  Summary  = 317  ( 158 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 956  ( 956 )   Summary  = 6474  ( 6474 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 956  ( 956 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 2681  ( 2681 )
-TOLERANCE   : MaxTol   = 0.008481946718  (  0.01167681549 )  AvgTol   =  0.0001210014254  (  0.0003580069299 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 157 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 956 -shape 6474
+checkstatshape res_1 -solid 1 -shell 1 -face 956 -freewire 0 -freeedge 0 -sharededge 2681
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01167681549 -avg 0.0003580069299]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 157 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 66 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 956 -shape 6474 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 956 -freewire 0 -freeedge 0 -sharededge 2681 -max_solid 1 -max_shell 1 -max_face 956 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.008481946718 -avg 0.0001210014254 -max_tol ${max_tol_res_1}
+
index cdd9ab34294f9c765d990fd3c57baab94add1133..2572422e7fd781806da4e04638ab7291da73d203 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr10_r1301_ms.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 41 )  Summary  = 1  ( 41 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 183  ( 183 )   Summary  = 1130  ( 1129 )
-STATSHAPE   : Solid    = 4  ( 4 )  Shell    = 4  ( 4 )  Face     = 183  ( 183 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 452  ( 451 )
-TOLERANCE   : MaxTol   = 0.005574366633  ( 0.008564797627 )  AvgTol   =  0.001164173051  (   0.00186707582 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 3  ( 3 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 2  ( 2 )   ColorLabels = 4  ( 4 )   LayerLabels = 4  ( 4 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = MAGENTA1 RED  ( MAGENTA1 RED )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = 3 4  ( 3 4 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 41 -max_faults 0
+checkxstat D_First -n0 2 -n1 3 -n2 0 -total 5 -withname 2 -withcolor 4 -withlayer 4 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1 RED } -nbcolors 2 -layers { 3 4 } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 4 -shell 4 -face 183 -shape 1129
+checkstatshape res_1 -solid 4 -shell 4 -face 183 -freewire 0 -freeedge 0 -sharededge 451
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.008564797627 -avg 0.00186707582]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 41 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 3 -n2 0 -total 5 -withname 2 -withcolor 4 -withlayer 4 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 3 -n2 0 -total 5 -withname 2 -withcolor 4 -withlayer 4 -centroid 0 -volume 0 -area 0 -colors { MAGENTA1 RED  } -nbcolors 2 -layers { 3 4  } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 4 -shell 4 -face 183 -shape 1130 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 4 -shell 4 -face 183 -freewire 0 -freeedge 0 -sharededge 452 -max_solid 4 -max_shell 4 -max_face 183 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.005574366633 -avg 0.001164173051 -max_tol ${max_tol_res_1}
+
index 9a71ad6466f522abb7723d444e2879dae232122c..434cc007965bd27d23b972a2483385b03c3ca699 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr9_r0101-pe.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 8 )  Summary  = 1  ( 8 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 621  ( 621 )   Summary  = 3645  ( 3645 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 621  ( 621 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1508  ( 1508 )
-TOLERANCE   : MaxTol   = 0.009440276946  (  0.06828121929 )  AvgTol   =  0.002406489515  (  0.006125964434 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = LIGHTGOLDENROD2  ( LIGHTGOLDENROD2 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { LIGHTGOLDENROD2 } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 621 -shape 3645
+checkstatshape res_1 -solid 1 -shell 1 -face 621 -freewire 0 -freeedge 0 -sharededge 1508
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.06828121929 -avg 0.006125964434]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { LIGHTGOLDENROD2  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 621 -shape 3645 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 621 -freewire 0 -freeedge 0 -sharededge 1508 -max_solid 1 -max_shell 1 -max_face 621 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.009440276946 -avg 0.002406489515 -max_tol ${max_tol_res_1}
+
index 9d944658528a7946b486ed7369020f8602f188d9..b008da7a628e2d22e0d4501767a85d46bc1b55fe 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename tr9_r1001-ec.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 133  ( 5 )  Summary  = 133  ( 5 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 918  ( 918 )   Summary  = 6350  ( 6350 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 918  ( 918 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 2660  ( 2660 )
-TOLERANCE   : MaxTol   = 0.002778645525  ( 0.005865678105 )  AvgTol   =  0.0001074213183  (  0.0001402835312 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 918 -shape 6350
+checkstatshape res_1 -solid 1 -shell 1 -face 918 -freewire 0 -freeedge 0 -sharededge 2660
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.005865678105 -avg 0.0001402835312]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 133 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 918 -shape 6350 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 918 -freewire 0 -freeedge 0 -sharededge 2660 -max_solid 1 -max_shell 1 -max_face 918 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.002778645525 -avg 0.0001074213183 -max_tol ${max_tol_res_1}
+
index 4fd0640986f9b1a4abd2315eb394021c44120d3e..690d2d46b0fe915cc8d50c0b796cd37894e543fc 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename trj10_b2-os-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 25  ( 6 )  Summary  = 25  ( 6 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 16  ( 16 )  Shell    = 16  ( 16 )  Face     = 950  ( 950 )   Summary  = 6131  ( 6131 )
-STATSHAPE   : Solid    = 31  ( 31 )  Shell    = 31  ( 31 )  Face     = 1105  ( 1105 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 2501  ( 2501 )
-TOLERANCE   : MaxTol   = 7.535366351e-007  ( 7.53535827e-007 )  AvgTol   =  1.408558019e-007  (  1.408560905e-007 )
-LABELS      : N0Labels = 19  ( 19 )  N1Labels = 33  ( 33 )  N2Labels = 0  ( 0 )   TotalLabels = 52  ( 52 )   NameLabels = 52  ( 52 )   ColorLabels = 16  ( 16 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = BLUE1 CYAN1 MATRAGRAY RED YELLOW  ( BLUE1 CYAN1 MATRAGRAY RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+checkxstat D_First -n0 19 -n1 33 -n2 0 -total 52 -withname 52 -withcolor 16 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 MATRAGRAY RED YELLOW } -nbcolors 5 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 16 -shell 16 -face 950 -shape 6131
+checkstatshape res_1 -solid 31 -shell 31 -face 1105 -freewire 0 -freeedge 0 -sharededge 2501
+set max_tol_res_1 [checkmaxtol res_1 -tol 7.53535827e-007 -avg 1.408560905e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 25 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 19 -n1 33 -n2 0 -total 52 -withname 52 -withcolor 16 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 19 -n1 33 -n2 0 -total 52 -withname 52 -withcolor 16 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 CYAN1 MATRAGRAY RED YELLOW  } -nbcolors 5 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 16 -shell 16 -face 950 -shape 6131 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 31 -shell 31 -face 1105 -freewire 0 -freeedge 0 -sharededge 2501 -max_solid 31 -max_shell 31 -max_face 1105 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 7.535366351e-007 -avg 1.408558019e-007 -max_tol ${max_tol_res_1}
+
index 9a5a9434daba0df532e35705a412b58a7f1749ba..c91b43885bb2796bb47b4f37d7053c090d015dd6 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
 
-
 set filename trj12_b3-ac-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 27  ( 108 )  Summary  = 27  ( 108 )
-CHECKSHAPE  : Wires    = 4  ( 6 )  Faces    = 4  ( 6 )  Shells   = 1  ( 1 )   Solids   = 1 ( 1 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 1173  ( 1173 )   Summary  = 7998  ( 8005 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 1173  ( 1173 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 3392  ( 3399 )
-TOLERANCE   : MaxTol   =    7.063782203  (    7.063782203 )  AvgTol   =  0.002932793725  (  0.002941805253 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 1  ( 1 )  N2Labels = 0  ( 0 )   TotalLabels = 3  ( 3 )   NameLabels = 3  ( 3 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 0  ( 0 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 107 -max_faults 0
+checkxstat D_First -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers { 0 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 6 -max_faces 6 -max_shells 1 -max_solids 1
+checknbshapes res_1 -solid 1 -shell 1 -face 1173 -shape 8005
+checkstatshape res_1 -solid 1 -shell 1 -face 1173 -freewire 0 -freeedge 0 -sharededge 3399
+set max_tol_res_1 [checkmaxtol res_1 -tol 7.063782203 -avg 0.002941805253]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 107 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 27 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers { 0  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 6 -max_faces 6 -max_shells 1 -max_solids 1
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 4 -max_faces 4 -max_shells 1 -max_solids 1
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 1173 -shape 7998 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 1173 -freewire 0 -freeedge 0 -sharededge 3392 -max_solid 1 -max_shell 1 -max_face 1173 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 7.063782203 -avg 0.002932793725 -max_tol ${max_tol_res_1}
+
index a06f06533b95b5a159a3eb1eb5f7a2f72d0ee1e4..dd5d0e65cfa0e14a4248e5f75b9d22cb4d727034 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj12_pm10-ac-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 57  ( 95 )  Summary  = 57  ( 95 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 20  ( 20 )  Shell    = 20  ( 20 )  Face     = 1441  ( 1441 )   Summary  = 9567  ( 9567 )
-STATSHAPE   : Solid    = 40  ( 40 )  Shell    = 40  ( 40 )  Face     = 2036  ( 2036 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 3936  ( 3936 )
-TOLERANCE   : MaxTol   = 0.004932484407  ( 0.004932484407 )  AvgTol   =  2.75392155e-005  (  2.77391027e-005 )
-LABELS      : N0Labels = 41  ( 41 )  N1Labels = 50  ( 50 )  N2Labels = 0  ( 0 )   TotalLabels = 91  ( 91 )   NameLabels = 91  ( 91 )   ColorLabels = 20  ( 20 )   LayerLabels = 20  ( 20 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 15  ( 15 )
-COLORS      : Colors   = CYAN4 DARKOLIVEGREEN1 DARKSLATEGRAY1 GAINSBORO LIGHTSLATEBLUE MATRAGRAY MEDIUMSPRINGGREEN PURPLE PURPLE SKYBLUE1 SKYBLUE1 SPRINGGREEN2 SPRINGGREEN4 STEELBLUE VIOLET  ( CYAN4 DARKOLIVEGREEN1 DARKSLATEGRAY1 GAINSBORO LIGHTSLATEBLUE MATRAGRAY MEDIUMSPRINGGREEN PURPLE PURPLE SKYBLUE1 SKYBLUE1 SPRINGGREEN2 SPRINGGREEN4 STEELBLUE VIOLET )
-NLAYERS     : NLayers  = 17  ( 17 )
-LAYERS      : Layers   = 072498_01A|MODEL 072498_01B|MODEL 082399_02|Model 082399_03|MODEL 082399_04A|MODEL 082399_04B|MODEL 082399_05|MODEL 082399_06|MODEL 082399_07|MODEL 082499_03|MODEL 082599_02|Model 082599_03A|Model 082599_03B|Model 082699_01|MODEL LE_Diode|Model Optics_Housing|MODEL Phototransistor|Model  ( 072498_01A|MODEL 072498_01B|MODEL 082399_02|Model 082399_03|MODEL 082399_04A|MODEL 082399_04B|MODEL 082399_05|MODEL 082399_06|MODEL 082399_07|MODEL 082499_03|MODEL 082599_02|Model 082599_03A|Model 082599_03B|Model 082699_01|MODEL {LE Diode|Model} {Optics Housing|MODEL} Phototransistor|Model )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 98 -max_faults 0
+checkxstat D_First -n0 41 -n1 50 -n2 0 -total 91 -withname 91 -withcolor 20 -withlayer 20 -centroid 0 -volume 0 -area 0 -colors { CYAN4 DARKOLIVEGREEN1 DARKSLATEGRAY1 GAINSBORO LIGHTSLATEBLUE MATRAGRAY MEDIUMSPRINGGREEN PURPLE PURPLE SKYBLUE1 SKYBLUE1 SPRINGGREEN2 SPRINGGREEN4 STEELBLUE VIOLET } -nbcolors 15 -layers { "072498_01A|MODEL" "072498_01B|MODEL" "082499_03|MODEL" "Optics Housing|MODEL" "LE Diode|Model" "Phototransistor|Model" "082399_04A|MODEL" "082399_04B|MODEL" "082399_07|MODEL" "082399_05|MODEL" "082399_03|MODEL" "082699_01|MODEL" "082599_02|Model" "082399_02|Model" "082399_06|MODEL" "082599_03A|Model" "082599_03B|Model"  } -nblayers 17
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 20 -shell 20 -face 1441 -shape 9567
+checkstatshape res_1 -solid 40 -shell 40 -face 2036 -freewire 0 -freeedge 0 -sharededge 3936
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.004932484407 -avg 2.77391027e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 98 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 57 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 41 -n1 50 -n2 0 -total 91 -withname 91 -withcolor 20 -withlayer 20 -centroid 0 -volume 0 -area 0 -nbcolors 15 -nblayers 17
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 41 -n1 50 -n2 0 -total 91 -withname 91 -withcolor 20 -withlayer 20 -centroid 0 -volume 0 -area 0 -colors { CYAN4 DARKOLIVEGREEN1 DARKSLATEGRAY1 GAINSBORO LIGHTSLATEBLUE MATRAGRAY MEDIUMSPRINGGREEN PURPLE PURPLE SKYBLUE1 SKYBLUE1 SPRINGGREEN2 SPRINGGREEN4 STEELBLUE VIOLET  } -nbcolors 15 -layers { "072498_01A|MODEL" "072498_01B|MODEL" "082499_03|MODEL" "Optics_Housing|MODEL" "LE_Diode|Model" "Phototransistor|Model" "082399_04A|MODEL" "082399_04B|MODEL" "082399_07|MODEL" "082399_05|MODEL" "082399_03|MODEL" "082699_01|MODEL" "082599_02|Model" "082399_02|Model" "082399_06|MODEL" "082599_03A|Model" "082599_03B|Model"  } -nblayers 17
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 20 -shell 20 -face 1441 -shape 9567 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 40 -shell 40 -face 2036 -freewire 0 -freeedge 0 -sharededge 3936 -max_solid 40 -max_shell 40 -max_face 2036 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.004932484407 -avg 2.75392155e-005 -max_tol ${max_tol_res_1}
+
index a42f98cd348d13b0eef72214e9a5ac263840eb55..45f360469360336f0dfa481f78c5f22253dd9cb4 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename trj3_pm1-pe-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 0 )  Summary  = 2  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 22  ( 22 )  Shell    = 22  ( 22 )  Face     = 1355  ( 1355 )   Summary  = 9094  ( 9094 )
-STATSHAPE   : Solid    = 24  ( 24 )  Shell    = 24  ( 24 )  Face     = 1388  ( 1388 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 3746  ( 3746 )
-TOLERANCE   : MaxTol   = 0.001976478297  (  0.01468477155 )  AvgTol   =  1.143821627e-005  (  6.778351767e-005 )
-LABELS      : N0Labels = 21  ( 21 )  N1Labels = 22  ( 22 )  N2Labels = 0  ( 0 )   TotalLabels = 43  ( 43 )   NameLabels = 43  ( 43 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 21 -n1 22 -n2 0 -total 43 -withname 43 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 22 -shell 22 -face 1355 -shape 9094
+checkstatshape res_1 -solid 24 -shell 24 -face 1388 -freewire 0 -freeedge 0 -sharededge 3746
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.01468477155 -avg 6.778351767e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 2 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 21 -n1 22 -n2 0 -total 43 -withname 43 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 21 -n1 22 -n2 0 -total 43 -withname 43 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 22 -shell 22 -face 1355 -shape 9094 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 24 -shell 24 -face 1388 -freewire 0 -freeedge 0 -sharededge 3746 -max_solid 24 -max_shell 24 -max_face 1388 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.001976478297 -avg 1.143821627e-005 -max_tol ${max_tol_res_1}
+
index d245be8e3de40465c3138852fd77cc30ace531a4..3397565aa71324cc2299752e6dde879a5662a2cf 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj4_pm2-ec-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 20 )  Summary  = 4  ( 20 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 13  ( 13 )  Shell    = 13  ( 13 )  Face     = 801  ( 801 )   Summary  = 4580  ( 4580 )
-STATSHAPE   : Solid    = 32  ( 32 )  Shell    = 32  ( 32 )  Face     = 840  ( 840 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1833  ( 1833 )
-TOLERANCE   : MaxTol   = 0.000994818338  ( 0.001450971274 )  AvgTol   =  8.127480807e-006  (  2.899963831e-005 )
-LABELS      : N0Labels = 21  ( 21 )  N1Labels = 39  ( 39 )  N2Labels = 0  ( 0 )   TotalLabels = 60  ( 60 )   NameLabels = 60  ( 60 )   ColorLabels = 13  ( 13 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 21  ( 21 )  Volume   = 21  ( 21 )  Area     = 21  ( 21 )
-NCOLORS     : NColors  = 7  ( 7 )
-COLORS      : Colors   = GRAY20 GRAY80 GREEN GREENYELLOW PURPLE STEELBLUE YELLOW  ( GRAY20 GRAY80 GREEN GREENYELLOW PURPLE STEELBLUE YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 22 -max_faults 0
+checkxstat D_First -n0 21 -n1 39 -n2 0 -total 60 -withname 60 -withcolor 13 -withlayer 0 -centroid 21 -volume 21 -area 21 -colors { GRAY20 GRAY80 GREEN GREENYELLOW PURPLE STEELBLUE YELLOW } -nbcolors 7 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 13 -shell 13 -face 801 -shape 4580
+checkstatshape res_1 -solid 32 -shell 32 -face 840 -freewire 0 -freeedge 0 -sharededge 1833
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.001450971274 -avg 2.899963831e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 22 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 21 -n1 39 -n2 0 -total 60 -withname 60 -withcolor 13 -withlayer 0 -centroid 21 -volume 21 -area 21 -nbcolors 7 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 21 -n1 39 -n2 0 -total 60 -withname 60 -withcolor 13 -withlayer 0 -centroid 21 -volume 21 -area 21 -colors { GRAY20 GRAY80 GREEN GREENYELLOW PURPLE STEELBLUE YELLOW  } -nbcolors 7 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 13 -shell 13 -face 801 -shape 4580 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 32 -shell 32 -face 840 -freewire 0 -freeedge 0 -sharededge 1833 -max_solid 32 -max_shell 32 -max_face 840 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.000994818338 -avg 8.127480807e-006 -max_tol ${max_tol_res_1}
+
index 67b964e478fc56d78c67c31218b56f1dc3157b4d..8314a48f9cc5d1f358162451db0947ab2d62ea0a 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj4_pm2-pe2-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 2  ( 23 )  Summary  = 2  ( 23 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 5  ( 5 )  Face     = 784  ( 784 )   Summary  = 4701  ( 4701 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 5  ( 5 )  Face     = 784  ( 784 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1925  ( 1925 )
-TOLERANCE   : MaxTol   =  0.02086436459  (  0.02261143715 )  AvgTol   =  0.003291519582  (  0.004212332857 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 5  ( 5 )   NameLabels = 5  ( 5 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 25 -max_faults 0
+checkxstat D_First -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 5 -face 784 -shape 4701
+checkstatshape res_1 -solid 1 -shell 5 -face 784 -freewire 0 -freeedge 0 -sharededge 1925
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.02261143715 -avg 0.004212332857]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 25 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 2 -n2 0 -total 5 -withname 5 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 5 -face 784 -shape 4701 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 5 -face 784 -freewire 0 -freeedge 0 -sharededge 1925 -max_solid 1 -max_shell 5 -max_face 784 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.02086436459 -avg 0.003291519582 -max_tol ${max_tol_res_1}
+
index 7c78818668f60650818fb5d2ba3d5637052d1304..405ce388386f5cd6a9d144580d8375788f9b5216 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename trj5_pm3-db-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 314  ( 268 )  Summary  = 314  ( 268 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 2  ( 2 )  Shell    = 2  ( 2 )  Face     = 318  ( 318 )   Summary  = 1823  ( 1823 )
-STATSHAPE   : Solid    = 2  ( 2 )  Shell    = 2  ( 2 )  Face     = 318  ( 318 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 732  ( 732 )
-TOLERANCE   : MaxTol   = 0.002724429926  ( 0.002724429936 )  AvgTol   =  0.0001682038323  (  0.0002576266755 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 2  ( 2 )  N2Labels = 0  ( 0 )   TotalLabels = 3  ( 3 )   NameLabels = 1  ( 1 )   ColorLabels = 2  ( 2 )   LayerLabels = 2  ( 2 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = YELLOW3  ( YELLOW3 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 2  ( {  2} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 268 -max_faults 0
+checkxstat D_First -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -colors { YELLOW3 } -nbcolors 1 -layers { "  2" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 2 -shell 2 -face 318 -shape 1823
+checkstatshape res_1 -solid 2 -shell 2 -face 318 -freewire 0 -freeedge 0 -sharededge 732
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.002724429936 -avg 0.0002576266755]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 268 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 314 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 2 -n2 0 -total 3 -withname 1 -withcolor 2 -withlayer 2 -centroid 0 -volume 0 -area 0 -colors { YELLOW3  } -nbcolors 1 -layers { 2 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 2 -shell 2 -face 318 -shape 1823 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 2 -shell 2 -face 318 -freewire 0 -freeedge 0 -sharededge 732 -max_solid 2 -max_shell 2 -max_face 318 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.002724429926 -avg 0.0001682038323 -max_tol ${max_tol_res_1}
+
index 13c29760f614cec631d746509f8df657737fb314..9abe7c367ab79e82b0abdba8a7ec31b623dcc652 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename trj5_pm3-pe-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 29  ( 0 )  Summary  = 29  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 599  ( 599 )   Summary  = 3807  ( 3807 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 599  ( 599 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1570  ( 1570 )
-TOLERANCE   : MaxTol   =  0.06047362453  (  0.09420298458 )  AvgTol   =  0.004157765445  (  0.006770439496 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 17  ( 17 )  N2Labels = 0  ( 0 )   TotalLabels = 18  ( 18 )   NameLabels = 1  ( 1 )   ColorLabels = 18  ( 18 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE1 PALETURQUOISE2  ( BLUE1 PALETURQUOISE2 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 1 -n1 17 -n2 0 -total 18 -withname 1 -withcolor 18 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { BLUE1 PALETURQUOISE2 } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 599 -shape 3807
+checkstatshape res_1 -solid 1 -shell 1 -face 599 -freewire 0 -freeedge 0 -sharededge 1570
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.09420298458 -avg 0.006770439496]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 27 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 17 -n2 0 -total 18 -withname 1 -withcolor 18 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 17 -n2 0 -total 18 -withname 1 -withcolor 18 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { BLUE1 PALETURQUOISE2  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 599 -shape 3807 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 599 -freewire 0 -freeedge 0 -sharededge 1570 -max_solid 1 -max_shell 1 -max_face 599 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.06047362453 -avg 0.004157765445 -max_tol ${max_tol_res_1}
+
index c98fac82b71465bf50a9c89f7e40c0c1b8f2655f..51798add26151485ea6ef6e28bc9727baa18f36b 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj6_b1-hc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 74 )  Warnings = 0  ( 0 )  Summary  = 0  ( 74 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 14 )  Summary  = 0  ( 14 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 265  ( 265 )   Summary  = 1552  ( 1552 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 265  ( 265 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 642  ( 642 )
-TOLERANCE   : MaxTol   = 0.006613321445  ( 0.006613387574 )  AvgTol   =  0.0003157957339  (  0.0003790149885 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 266  ( 266 )  N2Labels = 0  ( 0 )   TotalLabels = 268  ( 268 )   NameLabels = 3  ( 3 )   ColorLabels = 265  ( 265 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 222 -max_faults 74
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+checkxstat D_First -n0 2 -n1 266 -n2 0 -total 268 -withname 3 -withcolor 265 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 265 -shape 1552
+checkstatshape res_1 -solid 1 -shell 1 -face 265 -freewire 0 -freeedge 0 -sharededge 642
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.006613387574 -avg 0.0003790149885]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 222 -max_faults 74
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 266 -n2 0 -total 268 -withname 3 -withcolor 265 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 266 -n2 0 -total 268 -withname 3 -withcolor 265 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 265 -shape 1552 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 265 -freewire 0 -freeedge 0 -sharededge 642 -max_solid 1 -max_shell 1 -max_face 265 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.006613321445 -avg 0.0003157957339 -max_tol ${max_tol_res_1}
+
index af39c9f8370a5b95423053c271221c8de8eaf550..8882952ae5216f31c403bec91dd501a2a7d7dbc9 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename trj6_b1-sd-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 8  ( 0 )  Summary  = 8  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 343  ( 343 )   Summary  = 2042  ( 2042 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 343  ( 343 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 865  ( 865 )
-TOLERANCE   : MaxTol   = 7.625392261e-007  ( 7.625403546e-007 )  AvgTol   =  2.087070625e-007  (  2.087070074e-007 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 1  ( 1 )  N2Labels = 0  ( 0 )   TotalLabels = 3  ( 3 )   NameLabels = 3  ( 3 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MATRAGRAY  ( MATRAGRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 343 -shape 2042
+checkstatshape res_1 -solid 1 -shell 1 -face 343 -freewire 0 -freeedge 0 -sharededge 865
+set max_tol_res_1 [checkmaxtol res_1 -tol 7.625403546e-007 -avg 2.087070074e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 343 -shape 2042 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 343 -freewire 0 -freeedge 0 -sharededge 865 -max_solid 1 -max_shell 1 -max_face 343 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 7.625392261e-007 -avg 2.087070625e-007 -max_tol ${max_tol_res_1}
+
index f9a4038a528e1cd16c9bf7cb005cd2746f183fc5..65367c596ec2fe8deb2012b09e32a4de8178960a 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj7_b1-ac-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 146  ( 164 )  Summary  = 146  ( 164 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 500  ( 500 )   Summary  = 3324  ( 3230 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 500  ( 500 )   FreeWire = 0  ( 0 )   FreeEdge  = 94 ( 94 )   SharedEdge = 1327  ( 1327 )
-TOLERANCE   : MaxTol   = 0.007482480837  ( 0.007482835673 )  AvgTol   =  0.0004883286474  (  0.0004975892507 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 96  ( 96 )  N2Labels = 0  ( 0 )   TotalLabels = 99  ( 99 )   NameLabels = 5  ( 5 )   ColorLabels = 95  ( 95 )   LayerLabels = 95  ( 95 )
-PROPS       : Centroid = 2  ( 2 )  Volume   = 2  ( 2 )  Area     = 2  ( 2 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = DARKORANGE1 RED  ( DARKORANGE1 RED )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = 0 AMV_17_HATCH AMV_18_HATCH  ( 0 AMV_17_HATCH AMV_18_HATCH )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 164 -max_faults 0
+checkxstat D_First -n0 3 -n1 96 -n2 0 -total 99 -withname 5 -withcolor 95 -withlayer 95 -centroid 2 -volume 2 -area 2 -colors { DARKORANGE1 RED } -nbcolors 2 -layers { "0" "AMV_18_HATCH" "AMV_17_HATCH" } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 500 -shape 3230
+checkstatshape res_1 -solid 1 -shell 1 -face 500 -freewire 0 -freeedge 94 -sharededge 1327
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.007482835673 -avg 0.0004975892507]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 164 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 146 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 96 -n2 0 -total 99 -withname 5 -withcolor 95 -withlayer 95 -centroid 2 -volume 2 -area 2 -nbcolors 2 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 96 -n2 0 -total 99 -withname 5 -withcolor 95 -withlayer 95 -centroid 2 -volume 2 -area 2 -colors { DARKORANGE1 RED  } -nbcolors 2 -layers { "0" "AMV_18_HATCH" "AMV_17_HATCH" } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 500 -shape 3324 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 500 -freewire 0 -freeedge 94 -sharededge 1327 -max_solid 1 -max_shell 1 -max_face 500 -max_freewire 0 -max_freeedge 94
+checkmaxtol res_2 -tol 0.007482480837 -avg 0.0004883286474 -max_tol ${max_tol_res_1}
+
index 426bd39894127678d60c5e6c3616f1b00f00bcf4..10e4f0e05483381d687bf712ca50ad3d5df8560e 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj7_b1-hc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 74 )  Warnings = 0  ( 0 )  Summary  = 0  ( 74 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 13 )  Summary  = 0  ( 13 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 265  ( 265 )   Summary  = 1552  ( 1552 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 265  ( 265 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 642  ( 642 )
-TOLERANCE   : MaxTol   = 0.006613321442  ( 0.006613387576 )  AvgTol   =  0.0003137797984  (  0.0003518496817 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 266  ( 266 )  N2Labels = 0  ( 0 )   TotalLabels = 268  ( 268 )   NameLabels = 3  ( 3 )   ColorLabels = 266  ( 266 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 2  ( 2 )  Volume   = 2  ( 2 )  Area     = 2  ( 2 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = LAVENDER STEELBLUE3  ( LAVENDER STEELBLUE3 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 222 -max_faults 74
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+checkxstat D_First -n0 2 -n1 266 -n2 0 -total 268 -withname 3 -withcolor 266 -withlayer 0 -centroid 2 -volume 2 -area 2 -colors { LAVENDER STEELBLUE3 } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 265 -shape 1552
+checkstatshape res_1 -solid 1 -shell 1 -face 265 -freewire 0 -freeedge 0 -sharededge 642
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.006613387576 -avg 0.0003518496817]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 222 -max_faults 74
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 266 -n2 0 -total 268 -withname 3 -withcolor 266 -withlayer 0 -centroid 2 -volume 2 -area 2 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 266 -n2 0 -total 268 -withname 3 -withcolor 266 -withlayer 0 -centroid 2 -volume 2 -area 2 -colors { LAVENDER STEELBLUE3  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 265 -shape 1552 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 265 -freewire 0 -freeedge 0 -sharededge 642 -max_solid 1 -max_shell 1 -max_face 265 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.006613321442 -avg 0.0003137797984 -max_tol ${max_tol_res_1}
+
index 294335a0a6dab825abb9fc1811036948f4b0d443..69f77468d06013a1712cb79a2afcb202536c1f4b 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename trj7_b1-sd-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 8  ( 0 )  Summary  = 8  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 343  ( 343 )   Summary  = 2042  ( 2042 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 343  ( 343 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 865  ( 865 )
-TOLERANCE   : MaxTol   = 7.625392261e-007  ( 7.625403546e-007 )  AvgTol   =  2.087070625e-007  (  2.087070074e-007 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 1  ( 1 )  N2Labels = 0  ( 0 )   TotalLabels = 3  ( 3 )   NameLabels = 3  ( 3 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MATRAGRAY  ( MATRAGRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 343 -shape 2042
+checkstatshape res_1 -solid 1 -shell 1 -face 343 -freewire 0 -freeedge 0 -sharededge 865
+set max_tol_res_1 [checkmaxtol res_1 -tol 7.625403546e-007 -avg 2.087070074e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 1 -n2 0 -total 3 -withname 3 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 343 -shape 2042 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 343 -freewire 0 -freeedge 0 -sharededge 865 -max_solid 1 -max_shell 1 -max_face 343 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 7.625392261e-007 -avg 2.087070625e-007 -max_tol ${max_tol_res_1}
+
index 0945a6396bdc872adf2aca2f7ad26716178f8450..c97494e32d3f1e087dfe0f8d1c9934a13ec911f6 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj8_b1-ac-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 146  ( 164 )  Summary  = 146  ( 164 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 500  ( 500 )   Summary  = 3324  ( 3230 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 500  ( 500 )   FreeWire = 0  ( 0 )   FreeEdge  = 94 ( 94 )   SharedEdge = 1327  ( 1327 )
-TOLERANCE   : MaxTol   = 0.007482480837  ( 0.007482835673 )  AvgTol   =  0.0004883286474  (  0.0004975892507 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 96  ( 96 )  N2Labels = 0  ( 0 )   TotalLabels = 99  ( 99 )   NameLabels = 5  ( 5 )   ColorLabels = 95  ( 95 )   LayerLabels = 95  ( 95 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = DARKORANGE1 RED  ( DARKORANGE1 RED )
-NLAYERS     : NLayers  = 3  ( 3 )
-LAYERS      : Layers   = 0 AMV_17_HATCH AMV_18_HATCH  ( 0 AMV_17_HATCH AMV_18_HATCH )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 164 -max_faults 0
+checkxstat D_First -n0 3 -n1 96 -n2 0 -total 99 -withname 5 -withcolor 95 -withlayer 95 -centroid 0 -volume 0 -area 0 -colors { DARKORANGE1 RED } -nbcolors 2 -layers { "0" "AMV_18_HATCH" "AMV_17_HATCH" } -nblayers 3
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 500 -shape 3230
+checkstatshape res_1 -solid 1 -shell 1 -face 500 -freewire 0 -freeedge 94 -sharededge 1327
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.007482835673 -avg 0.0004975892507]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 164 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 146 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 96 -n2 0 -total 99 -withname 5 -withcolor 95 -withlayer 95 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 3
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 96 -n2 0 -total 99 -withname 5 -withcolor 95 -withlayer 95 -centroid 0 -volume 0 -area 0 -colors { DARKORANGE1 RED  } -nbcolors 2 -layers { "0" "AMV_18_HATCH" "AMV_17_HATCH" } -nblayers 3
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 500 -shape 3324 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 500 -freewire 0 -freeedge 94 -sharededge 1327 -max_solid 1 -max_shell 1 -max_face 500 -max_freewire 0 -max_freeedge 94
+checkmaxtol res_2 -tol 0.007482480837 -avg 0.0004883286474 -max_tol ${max_tol_res_1}
+
index a43cd7a21fb9e94076c98a2c045dfc64e09e404f..880cc168768a8dfc3c6211706eeb2f959398976e 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj8_b1-hc-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 74 )  Warnings = 0  ( 0 )  Summary  = 0  ( 74 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 0  ( 13 )  Summary  = 0  ( 13 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 265  ( 265 )   Summary  = 1552  ( 1552 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 265  ( 265 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 642  ( 642 )
-TOLERANCE   : MaxTol   = 0.006613321442  ( 0.006613387576 )  AvgTol   =  0.0002978527574  (  0.000335922641 )
-LABELS      : N0Labels = 2  ( 2 )  N1Labels = 266  ( 266 )  N2Labels = 0  ( 0 )   TotalLabels = 268  ( 268 )   NameLabels = 3  ( 3 )   ColorLabels = 266  ( 266 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 2  ( 2 )  Volume   = 2  ( 2 )  Area     = 2  ( 2 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = LAVENDER STEELBLUE3  ( LAVENDER STEELBLUE3 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 222 -max_faults 74
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+checkxstat D_First -n0 2 -n1 266 -n2 0 -total 268 -withname 3 -withcolor 266 -withlayer 0 -centroid 2 -volume 2 -area 2 -colors { LAVENDER STEELBLUE3 } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 265 -shape 1552
+checkstatshape res_1 -solid 1 -shell 1 -face 265 -freewire 0 -freeedge 0 -sharededge 642
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.006613387576 -avg 0.000335922641]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 222 -max_faults 74
+checkdoc "tpstat c" -max_warns 16 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 2 -n1 266 -n2 0 -total 268 -withname 3 -withcolor 266 -withlayer 0 -centroid 2 -volume 2 -area 2 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 2 -n1 266 -n2 0 -total 268 -withname 3 -withcolor 266 -withlayer 0 -centroid 2 -volume 2 -area 2 -colors { LAVENDER STEELBLUE3  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 265 -shape 1552 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 265 -freewire 0 -freeedge 0 -sharededge 642 -max_solid 1 -max_shell 1 -max_face 265 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.006613321442 -avg 0.0002978527574 -max_tol ${max_tol_res_1}
+
index a04e979cb9eb82244e4a57e66439fe20103eb4c4..97cc39a40a9774e5c23a83e5a50682264a97848b 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj8_pm6-sh-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 8  ( 66 )  Summary  = 8  ( 66 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 332  ( 332 )   Summary  = 2249  ( 2249 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 332  ( 332 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 949  ( 949 )
-TOLERANCE   : MaxTol   =  0.05000100001  (  0.05000100001 )  AvgTol   =  0.0001917756714  (  0.0001918988795 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 66 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 332 -shape 2249
+checkstatshape res_1 -solid 1 -shell 1 -face 332 -freewire 0 -freeedge 0 -sharededge 949
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.05000100001 -avg 0.0001918988795]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 66 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 332 -shape 2249 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 332 -freewire 0 -freeedge 0 -sharededge 949 -max_solid 1 -max_shell 1 -max_face 332 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.05000100001 -avg 0.0001917756714 -max_tol ${max_tol_res_1}
+
index 453264d5e01e186f09c9da69f527dff94dea2a52..4ccf372eba35e9e4327bc1a81ea7aba7e5127714 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename ug_exhaust-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 28 )  Summary  = 1  ( 28 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 116  ( 116 )   Summary  = 595  ( 595 )
-STATSHAPE   : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 116  ( 116 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 224  ( 224 )
-TOLERANCE   : MaxTol   = 0.003174825282  ( 0.008013510512 )  AvgTol   =  0.0008311294237  (  0.001823513991 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 5  ( 5 )  N2Labels = 0  ( 0 )   TotalLabels = 6  ( 6 )   NameLabels = 1  ( 1 )   ColorLabels = 5  ( 5 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE1 RED4  ( BLUE1 RED4 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+checkxstat D_First -n0 1 -n1 5 -n2 0 -total 6 -withname 1 -withcolor 5 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED4 } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 116 -shape 595
+checkstatshape res_1 -solid 5 -shell 5 -face 116 -freewire 0 -freeedge 0 -sharededge 224
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.008013510512 -avg 0.001823513991]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 5 -n2 0 -total 6 -withname 1 -withcolor 5 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 5 -n2 0 -total 6 -withname 1 -withcolor 5 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED4  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 116 -shape 595 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 5 -shell 5 -face 116 -freewire 0 -freeedge 0 -sharededge 224 -max_solid 5 -max_shell 5 -max_face 116 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.003174825282 -avg 0.0008311294237 -max_tol ${max_tol_res_1}
+
index 361f81fd28e0e256c63f765fc96925f4c7d33bc5..1335420568c88a0bd9d6276f7e4c75e330aea9fc 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename ug_exhaust-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 1  ( 28 )  Summary  = 1  ( 28 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 116  ( 116 )   Summary  = 595  ( 595 )
-STATSHAPE   : Solid    = 5  ( 5 )  Shell    = 5  ( 5 )  Face     = 116  ( 116 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 224  ( 224 )
-TOLERANCE   : MaxTol   = 0.001062703295  ( 0.003953957958 )  AvgTol   =  0.0002444882442  (  0.0005511075925 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 5  ( 5 )  N2Labels = 0  ( 0 )   TotalLabels = 6  ( 6 )   NameLabels = 1  ( 1 )   ColorLabels = 5  ( 5 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = BLUE1 RED4  ( BLUE1 RED4 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+checkxstat D_First -n0 1 -n1 5 -n2 0 -total 6 -withname 1 -withcolor 5 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED4 } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 5 -shell 5 -face 116 -shape 595
+checkstatshape res_1 -solid 5 -shell 5 -face 116 -freewire 0 -freeedge 0 -sharededge 224
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.003953957958 -avg 0.0005511075925]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 28 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 5 -n2 0 -total 6 -withname 1 -withcolor 5 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 5 -n2 0 -total 6 -withname 1 -withcolor 5 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 RED4  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 5 -shell 5 -face 116 -shape 595 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 5 -shell 5 -face 116 -freewire 0 -freeedge 0 -sharededge 224 -max_solid 5 -max_shell 5 -max_face 116 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.001062703295 -avg 0.0002444882442 -max_tol ${max_tol_res_1}
+
index d319370878223af4eb3ddbf3c7fc227df0520845..31b238da4bb4395d51ad5538e457f63f7ab79673 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename vorstufe_solid.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 58  ( 27 )  Summary  = 58  ( 27 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 7  ( 7 )  Shell    = 7  ( 7 )  Face     = 780  ( 780 )   Summary  = 4769  ( 4769 )
-STATSHAPE   : Solid    = 21  ( 21 )  Shell    = 21  ( 21 )  Face     = 920  ( 920 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1970  ( 1970 )
-TOLERANCE   : MaxTol   =  0.01997667502  (  0.04427257303 )  AvgTol   =  0.001806728967  (  0.006835266532 )
-LABELS      : N0Labels = 9  ( 9 )  N1Labels = 22  ( 22 )  N2Labels = 0  ( 0 )   TotalLabels = 31  ( 31 )   NameLabels = 31  ( 31 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 27 -max_faults 0
+checkxstat D_First -n0 9 -n1 22 -n2 0 -total 31 -withname 31 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 7 -shell 7 -face 780 -shape 4769
+checkstatshape res_1 -solid 21 -shell 21 -face 920 -freewire 0 -freeedge 0 -sharededge 1970
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.04427257303 -avg 0.006835266532]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 27 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 45 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 9 -n1 22 -n2 0 -total 31 -withname 31 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 9 -n1 22 -n2 0 -total 31 -withname 31 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 7 -shell 7 -face 780 -shape 4769 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 21 -shell 21 -face 920 -freewire 0 -freeedge 0 -sharededge 1970 -max_solid 21 -max_shell 21 -max_face 920 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01997667502 -avg 0.001806728967 -max_tol ${max_tol_res_1}
+
index 85dc44176035162ded15e41af7cdc38e9070b1fa..93d6d01de4b76083f74cd0f6d97c1555fe5e599d 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename BUC61003-3.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 408 )  Warnings = 0  ( 1209 )  Summary  = 0  ( 1617 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 108  ( 168 )  Summary  = 108  ( 168 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 34  ( 34 )  Shell    = 34  ( 34 )  Face     = 3882  ( 3882 )   Summary  = 23997  ( 23997 )
-STATSHAPE   : Solid    = 34  ( 34 )  Shell    = 34  ( 34 )  Face     = 3882  ( 3882 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 10010  ( 10010 )
-TOLERANCE   : MaxTol   =   0.2091571291  (   0.2091571291 )  AvgTol   =  0.0003467072965  (  0.0003470323426 )
-LABELS      : N0Labels = 35  ( 35 )  N1Labels = 34  ( 34 )  N2Labels = 0  ( 0 )   TotalLabels = 69  ( 69 )   NameLabels = 69  ( 69 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1209 -max_faults 408
+checkdoc "tpstat c" -max_warns 168 -max_faults 0
+checkxstat D_First -n0 35 -n1 34 -n2 0 -total 69 -withname 69 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 34 -shell 34 -face 3882 -shape 23997
+checkstatshape res_1 -solid 34 -shell 34 -face 3882 -freewire 0 -freeedge 0 -sharededge 10010
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.2091571291 -avg 0.0003470323426]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1209 -max_faults 408
+checkdoc "tpstat c" -max_warns 168 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 108 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 35 -n1 34 -n2 0 -total 69 -withname 69 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 35 -n1 34 -n2 0 -total 69 -withname 69 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 34 -shell 34 -face 3882 -shape 23997 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 34 -shell 34 -face 3882 -freewire 0 -freeedge 0 -sharededge 10010 -max_solid 34 -max_shell 34 -max_face 3882 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.2091571291 -avg 0.0003467072965 -max_tol ${max_tol_res_1}
+
index f1575c325c582aef06698983739947187e589b0c..62526b88d3766cf2834bbd8d37135ff6d491105e 100644 (file)
@@ -1,22 +1,51 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" 
 puts "TODO CR23096 ALL: TOLERANCE : Faulty" 
 
-set LinuxDiff 2
 set filename BUC61004.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 5  ( 43 )  Summary  = 5  ( 43 )
-CHECKSHAPE  : Wires    = 1  ( 0 )  Faces    = 1  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 2523  ( 2523 )   Summary  = 16185  ( 16185 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 2523  ( 2523 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 6806  ( 6806 )
-TOLERANCE   : MaxTol   =    9.829787663  (    7.812889886 )  AvgTol   =   0.01764242132  (   0.01681498017 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 24851 -max_faults 0
+checkdoc "tpstat c" -max_warns 43 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 2523 -shape 16185
+checkstatshape res_1 -solid 1 -shell 1 -face 2523 -freewire 0 -freeedge 0 -sharededge 6806
+set max_tol_res_1 [checkmaxtol res_1 -tol 7.812889886 -avg 0.01681498017]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 24851 -max_faults 0
+checkdoc "tpstat c" -max_warns 43 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 2523 -shape 16185 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 2523 -freewire 0 -freeedge 0 -sharededge 6806 -max_solid 1 -max_shell 1 -max_face 2523 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 9.829787663 -avg 0.01764242132 -max_tol ${max_tol_res_1}
+
index f97483d13cbc06db260334f0041cc98c4a339288..f18886b8efadcda7e41c1fb8dc59447cc3f57511 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename bm4_sd_seal_b.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 146  ( 11 )  Summary  = 146  ( 11 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 540  ( 540 )   Summary  = 2968  ( 2968 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 540  ( 540 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1202  ( 1202 )
-TOLERANCE   : MaxTol   = 6.82509241e-006  ( 0.0002065359589 )  AvgTol   =  8.53535451e-007  (  7.209454306e-006 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MATRAGRAY  ( MATRAGRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 3 -face 540 -shape 2968
+checkstatshape res_1 -solid 1 -shell 3 -face 540 -freewire 0 -freeedge 0 -sharededge 1202
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0002065359589 -avg 7.209454306e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 11 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 540 -shape 2968 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 540 -freewire 0 -freeedge 0 -sharededge 1202 -max_solid 1 -max_shell 3 -max_face 540 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 6.82509241e-006 -avg 8.53535451e-007 -max_tol ${max_tol_res_1}
+
index 9cf666d96200f6b6e010deb4e29e86f805d016db..8ecd440612c5b3da48e835f237065bae7fb6851c 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename bm4_sd_seal_d.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 5  ( 4 )  Summary  = 5  ( 4 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 540  ( 540 )   Summary  = 2968  ( 2968 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 540  ( 540 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1202  ( 1202 )
-TOLERANCE   : MaxTol   = 0.0002065359574  ( 0.001945620246 )  AvgTol   =  7.932735753e-006  (  0.0001377113463 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = MATRAGRAY  ( MATRAGRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 3 -face 540 -shape 2968
+checkstatshape res_1 -solid 1 -shell 3 -face 540 -freewire 0 -freeedge 0 -sharededge 1202
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.001945620246 -avg 0.0001377113463]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { MATRAGRAY  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 540 -shape 2968 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 540 -freewire 0 -freeedge 0 -sharededge 1202 -max_solid 1 -max_shell 3 -max_face 540 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0002065359574 -avg 7.932735753e-006 -max_tol ${max_tol_res_1}
+
index cf5bc49f622a33deb58b7ddb13ccd0aa3f6a1b42..2c12b014f91285d30c8fe34eb4871502af0521ea 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: CHECKSHAPE : Faulty" 
 
-
 set filename Inventor_Engine.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 448  ( 560 )  Summary  = 448  ( 560 )
-CHECKSHAPE  : Wires    = 9  ( 6 )  Faces    = 9  ( 6 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 47  ( 47 )  Shell    = 47  ( 47 )  Face     = 4455  ( 4455 )   Summary  = 27804  ( 27803 )
-STATSHAPE   : Solid    = 80  ( 80 )  Shell    = 80  ( 80 )  Face     = 5359  ( 5359 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 11467  ( 11467 )
-TOLERANCE   : MaxTol   =    2.429208989  (    2.450580634 )  AvgTol   =  0.003235414897  (  0.002917423634 )
-LABELS      : N0Labels = 52  ( 52 )  N1Labels = 86  ( 86 )  N2Labels = 0  ( 0 )   TotalLabels = 138  ( 138 )   NameLabels = 136  ( 136 )   ColorLabels = 47  ( 47 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 11  ( 11 )
-COLORS      : Colors   = BISQUE3 DODGERBLUE2 GOLDENROD4 GRAY GRAY32 GRAY41 GRAY50 GRAY97 IVORY SLATEGRAY3 WHITE  ( BISQUE3 DODGERBLUE2 GOLDENROD4 GRAY GRAY32 GRAY41 GRAY50 GRAY97 IVORY SLATEGRAY3 WHITE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 561 -max_faults 0
+checkxstat D_First -n0 52 -n1 86 -n2 0 -total 138 -withname 136 -withcolor 47 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BISQUE3 DODGERBLUE2 GOLDENROD4 GRAY GRAY32 GRAY41 GRAY50 GRAY97 IVORY SLATEGRAY3 WHITE } -nbcolors 11 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 6 -max_faces 6 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 47 -shell 47 -face 4455 -shape 27803
+checkstatshape res_1 -solid 80 -shell 80 -face 5359 -freewire 0 -freeedge 0 -sharededge 11467
+set max_tol_res_1 [checkmaxtol res_1 -tol 2.450580634 -avg 0.002917423634]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 561 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 455 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 52 -n1 86 -n2 0 -total 138 -withname 136 -withcolor 47 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 11 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 52 -n1 86 -n2 0 -total 138 -withname 136 -withcolor 47 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BISQUE3 DODGERBLUE2 GOLDENROD4 GRAY GRAY32 GRAY41 GRAY50 GRAY97 IVORY SLATEGRAY3 WHITE  } -nbcolors 11 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 6 -max_faces 6 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 9 -max_faces 9 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 47 -shell 47 -face 4455 -shape 27804 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 80 -shell 80 -face 5359 -freewire 0 -freeedge 0 -sharededge 11467 -max_solid 80 -max_shell 80 -max_face 5359 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 2.429208989 -avg 0.003235414897 -max_tol ${max_tol_res_1}
+
index fb25e1eb031bb1956c4e70488f8d487e94ded933..ee7d972c9e97fcc598c7c8f308c9f8efee5b798e 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj10_pm8-ac-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 117  ( 120 )  Summary  = 117  ( 120 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 25  ( 25 )  Shell    = 25  ( 25 )  Face     = 2995  ( 2995 )   Summary  = 19246  ( 19240 )
-STATSHAPE   : Solid    = 41  ( 41 )  Shell    = 41  ( 41 )  Face     = 4431  ( 4431 )   FreeWire = 0  ( 0 )   FreeEdge  = 12 ( 12 )   SharedEdge = 8025  ( 8025 )
-TOLERANCE   : MaxTol   = 0.009679269696  ( 0.009679269696 )  AvgTol   =  1.720173689e-005  (  1.724163883e-005 )
-LABELS      : N0Labels = 55  ( 55 )  N1Labels = 76  ( 76 )  N2Labels = 0  ( 0 )   TotalLabels = 131  ( 131 )   NameLabels = 125  ( 125 )   ColorLabels = 31  ( 31 )   LayerLabels = 31  ( 31 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 21  ( 21 )
-COLORS      : Colors   = BLUE1 BURLYWOOD2 DARKGOLDENROD1 DARKGREEN DARKORANGE1 DARKSLATEBLUE DARKSLATEGRAY GRAY15 GRAY9 KHAKI4 KHAKI4 LIGHTGOLDENROD4 MAGENTA1 MATRABLUE MEDIUMPURPLE1 MEDIUMSPRINGGREEN ORANGE4 RED STEELBLUE TURQUOISE4 YELLOW  ( BLUE1 BURLYWOOD2 DARKGOLDENROD1 DARKGREEN DARKORANGE1 DARKSLATEBLUE DARKSLATEGRAY GRAY15 GRAY9 KHAKI4 KHAKI4 LIGHTGOLDENROD4 MAGENTA1 MATRABLUE MEDIUMPURPLE1 MEDIUMSPRINGGREEN ORANGE4 RED STEELBLUE TURQUOISE4 YELLOW )
-NLAYERS     : NLayers  = 2  ( 2 )
-LAYERS      : Layers   = 0 Slider_Button|AMV_9_HATCH  ( 0 Slider_Button|AMV_9_HATCH )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 120 -max_faults 0
+checkxstat D_First -n0 55 -n1 76 -n2 0 -total 131 -withname 125 -withcolor 31 -withlayer 31 -centroid 0 -volume 0 -area 0 -colors { BLUE1 BURLYWOOD2 DARKGOLDENROD1 DARKGREEN DARKORANGE1 DARKSLATEBLUE DARKSLATEGRAY GRAY15 GRAY9 KHAKI4 KHAKI4 LIGHTGOLDENROD4 MAGENTA1 MATRABLUE MEDIUMPURPLE1 MEDIUMSPRINGGREEN ORANGE4 RED STEELBLUE TURQUOISE4 YELLOW } -nbcolors 21 -layers { "0" "Slider_Button|AMV_9_HATCH" } -nblayers 2
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 25 -shell 25 -face 2995 -shape 19240
+checkstatshape res_1 -solid 41 -shell 41 -face 4431 -freewire 0 -freeedge 12 -sharededge 8025
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009679269696 -avg 1.724163883e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 120 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 117 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 55 -n1 76 -n2 0 -total 131 -withname 125 -withcolor 31 -withlayer 31 -centroid 0 -volume 0 -area 0 -nbcolors 21 -nblayers 2
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 55 -n1 76 -n2 0 -total 131 -withname 125 -withcolor 31 -withlayer 31 -centroid 0 -volume 0 -area 0 -colors { BLUE1 BURLYWOOD2 DARKGOLDENROD1 DARKGREEN DARKORANGE1 DARKSLATEBLUE DARKSLATEGRAY GRAY15 GRAY9 KHAKI4 KHAKI4 LIGHTGOLDENROD4 MAGENTA1 MATRABLUE MEDIUMPURPLE1 MEDIUMSPRINGGREEN ORANGE4 RED STEELBLUE TURQUOISE4 YELLOW  } -nbcolors 21 -layers { "0" "Slider_Button|AMV_9_HATCH" } -nblayers 2
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 25 -shell 25 -face 2995 -shape 19246 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 41 -shell 41 -face 4431 -freewire 0 -freeedge 12 -sharededge 8025 -max_solid 41 -max_shell 41 -max_face 4431 -max_freewire 0 -max_freeedge 12
+checkmaxtol res_2 -tol 0.009679269696 -avg 1.720173689e-005 -max_tol ${max_tol_res_1}
+
index 8a5612249a2305f61533c341c8585505133f55be..f2699b47cdb13b86dffd904954fde0d905910f93 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj10_pm8-ct-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 2 )  Warnings = 0  ( 0 )  Summary  = 0  ( 2 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 57  ( 113 )  Summary  = 57  ( 113 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 528  ( 528 )   Summary  = 3346  ( 3346 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 528  ( 528 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1404  ( 1404 )
-TOLERANCE   : MaxTol   =   0.1201139499  (   0.1201139499 )  AvgTol   =  0.001743497401  (  0.001912088277 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = CYAN1  ( CYAN1 )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 4  ( 4 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 116 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { CYAN1 } -nbcolors 1 -layers { 4 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 528 -shape 3346
+checkstatshape res_1 -solid 1 -shell 1 -face 528 -freewire 0 -freeedge 0 -sharededge 1404
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.1201139499 -avg 0.001912088277]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 2
+checkdoc "tpstat c" -max_warns 116 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 51 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { CYAN1  } -nbcolors 1 -layers { 4  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 528 -shape 3346 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 528 -freewire 0 -freeedge 0 -sharededge 1404 -max_solid 1 -max_shell 1 -max_face 528 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.1201139499 -avg 0.001743497401 -max_tol ${max_tol_res_1}
+
index 1960b00768d3e5a920ea60285d82a9447b5401b2..c1a07c8dba3fc687b9af643c5feacec647a3dc2d 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj10_pm8-id-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 34  ( 124 )  Summary  = 34  ( 124 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 2256  ( 2256 )   Summary  = 14108  ( 14108 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 2256  ( 2256 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 5915  ( 5915 )
-TOLERANCE   : MaxTol   =   0.2529794249  (   0.2529794249 )  AvgTol   =    0.0126158781  (   0.01261497345 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 5366  ( 5366 )  N2Labels = 0  ( 0 )   TotalLabels = 5367  ( 5367 )   NameLabels = 1  ( 1 )   ColorLabels = 5367  ( 5367 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 6  ( 6 )
-COLORS      : Colors   = DEEPSKYBLUE2 GREEN MAGENTA1 ORANGE ORANGERED RED  ( DEEPSKYBLUE2 GREEN MAGENTA1 ORANGE ORANGERED RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 125 -max_faults 0
+checkxstat D_First -n0 1 -n1 5366 -n2 0 -total 5367 -withname 1 -withcolor 5367 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { DEEPSKYBLUE2 GREEN MAGENTA1 ORANGE ORANGERED RED } -nbcolors 6 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 2256 -shape 14108
+checkstatshape res_1 -solid 1 -shell 1 -face 2256 -freewire 0 -freeedge 0 -sharededge 5915
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.2529794249 -avg 0.01261497345]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 125 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 32 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 5366 -n2 0 -total 5367 -withname 1 -withcolor 5367 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 6 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 5366 -n2 0 -total 5367 -withname 1 -withcolor 5367 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { DEEPSKYBLUE2 GREEN MAGENTA1 ORANGE ORANGERED RED  } -nbcolors 6 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 2256 -shape 14108 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 2256 -freewire 0 -freeedge 0 -sharededge 5915 -max_solid 1 -max_shell 1 -max_face 2256 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.2529794249 -avg 0.0126158781 -max_tol ${max_tol_res_1}
+
index e42a76e2d9ab9fa61f00afad46ba84fa111fb7ae..90aec5c7bac28c3dfcfa15aaa602a80a4a620fb9 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj10_pm8-ug-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 8  ( 8 )  Summary  = 8  ( 8 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 523  ( 523 )   Summary  = 3681  ( 3681 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 523  ( 523 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1541  ( 1541 )
-TOLERANCE   : MaxTol   =  0.01992087066  (  0.05869739556 )  AvgTol   =  0.003202413767  (  0.008376755892 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 347  ( 347 )  N2Labels = 0  ( 0 )   TotalLabels = 348  ( 348 )   NameLabels = 1  ( 1 )   ColorLabels = 348  ( 348 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = CYAN1 DARKORANGE1 FORESTGREEN GREEN  ( CYAN1 DARKORANGE1 FORESTGREEN GREEN )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 60  ( 60 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+checkxstat D_First -n0 1 -n1 347 -n2 0 -total 348 -withname 1 -withcolor 348 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { CYAN1 DARKORANGE1 FORESTGREEN GREEN } -nbcolors 4 -layers { 60 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 523 -shape 3681
+checkstatshape res_1 -solid 1 -shell 1 -face 523 -freewire 0 -freeedge 0 -sharededge 1541
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.05869739556 -avg 0.008376755892]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 347 -n2 0 -total 348 -withname 1 -withcolor 348 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 347 -n2 0 -total 348 -withname 1 -withcolor 348 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { CYAN1 DARKORANGE1 FORESTGREEN GREEN  } -nbcolors 4 -layers { 60  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 523 -shape 3681 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 523 -freewire 0 -freeedge 0 -sharededge 1541 -max_solid 1 -max_shell 1 -max_face 523 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01992087066 -avg 0.003202413767 -max_tol ${max_tol_res_1}
+
index f3a3a43215fc9e2bcc618da5261dee01ac097351..ba147f7f03e2f6b1287e0670b78bb7cd16f63a06 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj12_b3-in-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 137  ( 225 )  Summary  = 137  ( 225 )
-CHECKSHAPE  : Wires    = 2  ( 2 )  Faces    = 2  ( 2 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 1026  ( 1026 )   Summary  = 6914  ( 6914 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 1026  ( 1026 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 2926  ( 2926 )
-TOLERANCE   : MaxTol   =    7.063803693  (    7.063803693 )  AvgTol   =  0.004095376603  (  0.004135679611 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = GRAY  ( GRAY )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 225 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 1026 -shape 6914
+checkstatshape res_1 -solid 1 -shell 1 -face 1026 -freewire 0 -freeedge 0 -sharededge 2926
+set max_tol_res_1 [checkmaxtol res_1 -tol 7.063803693 -avg 0.004135679611]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 225 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 137 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { GRAY  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 2 -max_faces 2 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 1026 -shape 6914 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 1026 -freewire 0 -freeedge 0 -sharededge 2926 -max_solid 1 -max_shell 1 -max_face 1026 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 7.063803693 -avg 0.004095376603 -max_tol ${max_tol_res_1}
+
index b50286fa441d9af4cff8843633162f2a8c79e80c..10ff06b5421ddbafd8d1fbfcc978d21c0e15ca50 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj12_b3-pe-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 24  ( 35 )  Summary  = 24  ( 35 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 808  ( 808 )   Summary  = 5106  ( 5106 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 808  ( 808 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 2103  ( 2103 )
-TOLERANCE   : MaxTol   = 0.004098271686  ( 0.009717043682 )  AvgTol   =  0.0001699689926  (  0.000401998914 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = LIGHTSTEELBLUE1  ( LIGHTSTEELBLUE1 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 35 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { LIGHTSTEELBLUE1 } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 808 -shape 5106
+checkstatshape res_1 -solid 1 -shell 1 -face 808 -freewire 0 -freeedge 0 -sharededge 2103
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009717043682 -avg 0.000401998914]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 35 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 24 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { LIGHTSTEELBLUE1  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 808 -shape 5106 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 808 -freewire 0 -freeedge 0 -sharededge 2103 -max_solid 1 -max_shell 1 -max_face 808 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.004098271686 -avg 0.0001699689926 -max_tol ${max_tol_res_1}
+
index b36604096d88e7009d00d17badde7e2e41dc5a3d..9025373ac8720ff6e4dab21c6fcec8a0998f9e2b 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename PRO15686.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 6  ( 31 )  Summary  = 6  ( 31 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 1049  ( 1049 )   Summary  = 7165  ( 7163 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 1049  ( 1049 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 3015  ( 3013 )
-TOLERANCE   : MaxTol   =   0.2096553196  (   0.2096553196 )  AvgTol   =  0.0006174123099  (  0.006216471924 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = CYAN1  ( CYAN1 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 33 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { CYAN1 } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 1049 -shape 7163
+checkstatshape res_1 -solid 1 -shell 1 -face 1049 -freewire 0 -freeedge 0 -sharededge 3013
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.2096553196 -avg 0.006216471924]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 33 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { CYAN1  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 1049 -shape 7165 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 1049 -freewire 0 -freeedge 0 -sharededge 3015 -max_solid 1 -max_shell 1 -max_face 1049 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.2096553196 -avg 0.0006174123099 -max_tol ${max_tol_res_1}
+
index 6f79cfdecd4fe56eb94f96672b2581188dd617d2..801e173745bc4a4ff0a48228217a7eef8c52f4ba 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj12_pm10-in-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 79  ( 170 )  Summary  = 79  ( 170 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 466  ( 466 )   Summary  = 2896  ( 2896 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 466  ( 466 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1226  ( 1226 )
-TOLERANCE   : MaxTol   =  0.04984111401  (  0.04984111401 )  AvgTol   =  0.002428500694  (  0.002464637148 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = WHITE  ( WHITE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 170 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE } -nbcolors 1 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 466 -shape 2896
+checkstatshape res_1 -solid 1 -shell 1 -face 466 -freewire 0 -freeedge 0 -sharededge 1226
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.04984111401 -avg 0.002464637148]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 170 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 79 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { WHITE  } -nbcolors 1 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 466 -shape 2896 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 466 -freewire 0 -freeedge 0 -sharededge 1226 -max_solid 1 -max_shell 1 -max_face 466 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.04984111401 -avg 0.002428500694 -max_tol ${max_tol_res_1}
+
index a6871bf3f9d13d230e0f54f174903053ca939ff7..851cde939792f58ee0dcec0b361b4ff35376d035 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 
-set LinuxFaulties {CHECKSHAPE}
 set filename PRO7187.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 207  ( 290 )  Summary  = 207  ( 290 )
-CHECKSHAPE  : Wires    = 1  ( 1 )  Faces    = 1  ( 1 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 0  ( 0 )  Shell    = 3  ( 3 )  Face     = 773  ( 773 )   Summary  = 4593  ( 4592 )
-STATSHAPE   : Solid    = 0  ( 0 )  Shell    = 3  ( 3 )  Face     = 773  ( 773 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1942  ( 1941 )
-TOLERANCE   : MaxTol   =  0.05634911309  (  0.05634912759 )  AvgTol   =  0.001986523285  (  0.002335236954 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 274 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 0 -shell 3 -face 773 -shape 4592
+checkstatshape res_1 -solid 0 -shell 3 -face 773 -freewire 0 -freeedge 0 -sharededge 1941
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.05634912759 -avg 0.002335236954]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 1 -max_faults 0
+checkdoc "tpstat c" -max_warns 274 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 183 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 1 -max_faces 1 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 0 -shell 3 -face 773 -shape 4593 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 0 -shell 3 -face 773 -freewire 0 -freeedge 0 -sharededge 1942 -max_solid 0 -max_shell 3 -max_face 773 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.05634911309 -avg 0.001986523285 -max_tol ${max_tol_res_1}
+
index 7f1bc14cd4120c49e2b65d4f01794c17c86cae18..0a858cae41471dbab36d9dda1e02da96e000b326 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename PRO8853.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 325  ( 349 )  Summary  = 325  ( 349 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 1858  ( 1858 )   Summary  = 12120  ( 12119 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 1858  ( 1858 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 5031  ( 5030 )
-TOLERANCE   : MaxTol   = 0.009518071089  ( 0.009998449827 )  AvgTol   =  0.0009555906781  (   0.00143467031 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 858  ( 858 )  N2Labels = 0  ( 0 )   TotalLabels = 859  ( 859 )   NameLabels = 1  ( 1 )   ColorLabels = 859  ( 859 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 2  ( 2 )
-COLORS      : Colors   = DEEPSKYBLUE2 WHITE  ( DEEPSKYBLUE2 WHITE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 352 -max_faults 0
+checkxstat D_First -n0 1 -n1 858 -n2 0 -total 859 -withname 1 -withcolor 859 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE2 WHITE } -nbcolors 2 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 1858 -shape 12119
+checkstatshape res_1 -solid 1 -shell 1 -face 1858 -freewire 0 -freeedge 0 -sharededge 5030
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009998449827 -avg 0.00143467031]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 352 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 288 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 858 -n2 0 -total 859 -withname 1 -withcolor 859 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 2 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 858 -n2 0 -total 859 -withname 1 -withcolor 859 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DEEPSKYBLUE2 WHITE  } -nbcolors 2 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 1858 -shape 12120 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 1858 -freewire 0 -freeedge 0 -sharededge 5031 -max_solid 1 -max_shell 1 -max_face 1858 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.009518071089 -avg 0.0009555906781 -max_tol ${max_tol_res_1}
+
index d50026e0ffe5efa15ab72771239a7093cfc6704b..fc9cd6e33ec33670878032d949ecb6364b91d2ac 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename bm4_db_seal_a.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 117  ( 37 )  Summary  = 117  ( 37 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 140  ( 140 )   Summary  = 704  ( 704 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 140  ( 140 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 280  ( 280 )
-TOLERANCE   : MaxTol   = 0.0004823436197  ( 0.0004827870033 )  AvgTol   =  0.0001520351263  (  0.0001573776642 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = RED  ( RED )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 49  ( { 49} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 36 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { RED } -nbcolors 1 -layers { " 49" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 3 -face 140 -shape 704
+checkstatshape res_1 -solid 1 -shell 3 -face 140 -freewire 0 -freeedge 0 -sharededge 280
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0004827870033 -avg 0.0001573776642]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 36 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 116 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { RED  } -nbcolors 1 -layers { 49 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 140 -shape 704 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 140 -freewire 0 -freeedge 0 -sharededge 280 -max_solid 1 -max_shell 3 -max_face 140 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0004823436197 -avg 0.0001520351263 -max_tol ${max_tol_res_1}
+
index ede0d5f80f084afd928bf7782f85fedf28a50557..8ae22c37518ecb4ba6add9142c7b9287183ecb87 100755 (executable)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename Z8INV5.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 114  ( 619 )  Summary  = 114  ( 619 )
-CHECKSHAPE  : Wires    = 17  ( 17 )  Faces    = 18  ( 20 )  Shells   = 1  ( 1 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 22  ( 22 )  Shell    = 24  ( 24 )  Face     = 1520  ( 1520 )   Summary  = 11210  ( 11195 )
-STATSHAPE   : Solid    = 22  ( 22 )  Shell    = 24  ( 24 )  Face     = 1520  ( 1520 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 4784  ( 4774 )
-TOLERANCE   : MaxTol   =     7.33063502  (    7.159520237 )  AvgTol   =   0.03499829069  (   0.03222638333 )
-LABELS      : N0Labels = 25  ( 25 )  N1Labels = 23  ( 23 )  N2Labels = 0  ( 0 )   TotalLabels = 48  ( 48 )   NameLabels = 48  ( 48 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 621 -max_faults 0
+checkxstat D_First -n0 25 -n1 23 -n2 0 -total 48 -withname 48 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 17 -max_faces 20 -max_shells 1 -max_solids 0
+checknbshapes res_1 -solid 22 -shell 24 -face 1520 -shape 11195
+checkstatshape res_1 -solid 22 -shell 24 -face 1520 -freewire 0 -freeedge 0 -sharededge 4774
+set max_tol_res_1 [checkmaxtol res_1 -tol 7.159520237 -avg 0.03222638333]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 621 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 112 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 25 -n1 23 -n2 0 -total 48 -withname 48 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 25 -n1 23 -n2 0 -total 48 -withname 48 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 17 -max_faces 19 -max_shells 1 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 17 -max_faces 18 -max_shells 1 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 22 -shell 24 -face 1520 -shape 11210 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 22 -shell 24 -face 1520 -freewire 0 -freeedge 0 -sharededge 4784 -max_solid 22 -max_shell 24 -max_face 1520 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 7.33063502 -avg 0.03499829069 -max_tol ${max_tol_res_1}
+
index 8c9223346391ef55011334b8cc84e4307de40869..40f6776f90e9e6b4c9124086739bf1ca527a97bc 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename trj9_pm7-id-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 323  ( 263 )  Summary  = 323  ( 263 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 2278  ( 2278 )   Summary  = 14216  ( 14212 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 2278  ( 2278 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 5961  ( 5957 )
-TOLERANCE   : MaxTol   = 0.005454457084  ( 0.009853899986 )  AvgTol   =  0.0004504506414  (  0.001189530258 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 5448  ( 5448 )  N2Labels = 0  ( 0 )   TotalLabels = 5449  ( 5449 )   NameLabels = 1  ( 1 )   ColorLabels = 5449  ( 5449 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 1  ( 1 )  Volume   = 1  ( 1 )  Area     = 1  ( 1 )
-NCOLORS     : NColors  = 6  ( 6 )
-COLORS      : Colors   = DEEPSKYBLUE2 GREEN MAGENTA1 ORANGE ORANGERED RED  ( DEEPSKYBLUE2 GREEN MAGENTA1 ORANGE ORANGERED RED )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 266 -max_faults 0
+checkxstat D_First -n0 1 -n1 5448 -n2 0 -total 5449 -withname 1 -withcolor 5449 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { DEEPSKYBLUE2 GREEN MAGENTA1 ORANGE ORANGERED RED } -nbcolors 6 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 2278 -shape 14212
+checkstatshape res_1 -solid 1 -shell 1 -face 2278 -freewire 0 -freeedge 0 -sharededge 5957
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.009853899986 -avg 0.001189530258]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 266 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 277 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 5448 -n2 0 -total 5449 -withname 1 -withcolor 5449 -withlayer 0 -centroid 1 -volume 1 -area 1 -nbcolors 6 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 5448 -n2 0 -total 5449 -withname 1 -withcolor 5449 -withlayer 0 -centroid 1 -volume 1 -area 1 -colors { DEEPSKYBLUE2 GREEN MAGENTA1 ORANGE ORANGERED RED  } -nbcolors 6 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 2278 -shape 14216 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 2278 -freewire 0 -freeedge 0 -sharededge 5961 -max_solid 1 -max_shell 1 -max_face 2278 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.005454457084 -avg 0.0004504506414 -max_tol ${max_tol_res_1}
+
index afb49702c6b28a8b5fb4780e5455074f5d3cef8e..9c6ccc5ec8a54d35ca5ddde802ae27a35416181e 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj9_pm7-ug-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 8  ( 8 )  Summary  = 8  ( 8 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 523  ( 523 )   Summary  = 3681  ( 3681 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 523  ( 523 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 1541  ( 1541 )
-TOLERANCE   : MaxTol   =  0.01992087066  (  0.05869739556 )  AvgTol   =  0.003263131163  (  0.008376755893 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 347  ( 347 )  N2Labels = 0  ( 0 )   TotalLabels = 348  ( 348 )   NameLabels = 1  ( 1 )   ColorLabels = 348  ( 348 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 4  ( 4 )
-COLORS      : Colors   = CYAN1 DARKORANGE1 FORESTGREEN GREEN  ( CYAN1 DARKORANGE1 FORESTGREEN GREEN )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 60  ( 60 )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+checkxstat D_First -n0 1 -n1 347 -n2 0 -total 348 -withname 1 -withcolor 348 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { CYAN1 DARKORANGE1 FORESTGREEN GREEN } -nbcolors 4 -layers { 60 } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 523 -shape 3681
+checkstatshape res_1 -solid 1 -shell 1 -face 523 -freewire 0 -freeedge 0 -sharededge 1541
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.05869739556 -avg 0.008376755893]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 8 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 5 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 347 -n2 0 -total 348 -withname 1 -withcolor 348 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 4 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 347 -n2 0 -total 348 -withname 1 -withcolor 348 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { CYAN1 DARKORANGE1 FORESTGREEN GREEN  } -nbcolors 4 -layers { 60  } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 523 -shape 3681 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 523 -freewire 0 -freeedge 0 -sharededge 1541 -max_solid 1 -max_shell 1 -max_face 523 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.01992087066 -avg 0.003263131163 -max_tol ${max_tol_res_1}
+
index 10876f5ae7e5c68818fdc8316c91015ad9ae856b..3985d30fa60a30e6c625c4a28ae69e010d41318d 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename wgehaeuse_solid.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 88  ( 70 )  Summary  = 88  ( 70 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 37  ( 37 )  Shell    = 58  ( 58 )  Face     = 2694  ( 2694 )   Summary  = 15918  ( 15918 )
-STATSHAPE   : Solid    = 81  ( 81 )  Shell    = 104  ( 104 )  Face     = 3190  ( 3190 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 6450  ( 6450 )
-TOLERANCE   : MaxTol   =  0.07893772536  (  0.07893770763 )  AvgTol   =   0.00122544179  (   0.00660493083 )
-LABELS      : N0Labels = 37  ( 37 )  N1Labels = 76  ( 76 )  N2Labels = 0  ( 0 )   TotalLabels = 113  ( 113 )   NameLabels = 113  ( 113 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 76 -max_faults 0
+checkxstat D_First -n0 37 -n1 76 -n2 0 -total 113 -withname 113 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 37 -shell 58 -face 2694 -shape 15918
+checkstatshape res_1 -solid 81 -shell 104 -face 3190 -freewire 0 -freeedge 0 -sharededge 6450
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.07893770763 -avg 0.00660493083]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 76 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 48 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 37 -n1 76 -n2 0 -total 113 -withname 113 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 37 -n1 76 -n2 0 -total 113 -withname 113 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 37 -shell 58 -face 2694 -shape 15918 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 81 -shell 104 -face 3190 -freewire 0 -freeedge 0 -sharededge 6450 -max_solid 81 -max_shell 104 -max_face 3190 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.07893772536 -avg 0.00122544179 -max_tol ${max_tol_res_1}
+
index 32245c46af32688fe892a617cf5cef5f658b1fdc..2e7ee3088bbeac1cd4da3bb34a649c029adf02f2 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename r0801_id.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 220  ( 206 )  Summary  = 220  ( 206 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 1327  ( 1327 )   Summary  = 9260  ( 9174 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 1327  ( 1327 )   FreeWire = 0  ( 0 )   FreeEdge  = 84 ( 84 )   SharedEdge = 3872  ( 3871 )
-TOLERANCE   : MaxTol   =   0.0796871773  (  0.07968717732 )  AvgTol   =  0.0006766809625  (  0.001248001549 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 3707  ( 3707 )  N2Labels = 0  ( 0 )   TotalLabels = 3710  ( 3710 )   NameLabels = 5  ( 5 )   ColorLabels = 3706  ( 3706 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 8  ( 8 )
-COLORS      : Colors   = DARKGREEN DEEPSKYBLUE2 GREEN MAGENTA1 ORANGE ORANGERED RED YELLOW  ( DARKGREEN DEEPSKYBLUE2 GREEN MAGENTA1 ORANGE ORANGERED RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 204 -max_faults 0
+checkxstat D_First -n0 3 -n1 3707 -n2 0 -total 3710 -withname 5 -withcolor 3706 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DARKGREEN DEEPSKYBLUE2 GREEN MAGENTA1 ORANGE ORANGERED RED YELLOW } -nbcolors 8 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 1327 -shape 9174
+checkstatshape res_1 -solid 1 -shell 1 -face 1327 -freewire 0 -freeedge 84 -sharededge 3871
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.07968717732 -avg 0.001248001549]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 204 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 186 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 3707 -n2 0 -total 3710 -withname 5 -withcolor 3706 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 8 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 3707 -n2 0 -total 3710 -withname 5 -withcolor 3706 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DARKGREEN DEEPSKYBLUE2 GREEN MAGENTA1 ORANGE ORANGERED RED YELLOW  } -nbcolors 8 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 1327 -shape 9260 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 1327 -freewire 0 -freeedge 84 -sharededge 3872 -max_solid 1 -max_shell 1 -max_face 1327 -max_freewire 0 -max_freeedge 84
+checkmaxtol res_2 -tol 0.0796871773 -avg 0.0006766809625 -max_tol ${max_tol_res_1}
+
index 22f986d6cdec98d69faaf67244fbf472fb371c36..5224067fc457f7384e6e905ab91e01da0ac4d92f 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename r1001_ac.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 3 )  Warnings = 1882  ( 1890 )  Summary  = 1882  ( 1893 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 21  ( 21 )  Shell    = 22  ( 22 )  Face     = 2608  ( 2608 )   Summary  = 16815  ( 16739 )
-STATSHAPE   : Solid    = 49  ( 49 )  Shell    = 50  ( 50 )  Face     = 3808  ( 3808 )   FreeWire = 0  ( 0 )   FreeEdge  = 76 ( 76 )   SharedEdge = 6881  ( 6881 )
-TOLERANCE   : MaxTol   =  0.00334862762  ( 0.003348661106 )  AvgTol   =  7.78998243e-006  (  7.81141201e-006 )
-LABELS      : N0Labels = 25  ( 25 )  N1Labels = 52  ( 52 )  N2Labels = 0  ( 0 )   TotalLabels = 77  ( 77 )   NameLabels = 77  ( 77 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1890 -max_faults 3
+checkxstat D_First -n0 25 -n1 52 -n2 0 -total 77 -withname 77 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 21 -shell 22 -face 2608 -shape 16739
+checkstatshape res_1 -solid 49 -shell 50 -face 3808 -freewire 0 -freeedge 76 -sharededge 6881
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.003348661106 -avg 7.81141201e-006]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1890 -max_faults 3
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 1882 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 25 -n1 52 -n2 0 -total 77 -withname 77 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 25 -n1 52 -n2 0 -total 77 -withname 77 -withcolor 0 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 21 -shell 22 -face 2608 -shape 16815 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 49 -shell 50 -face 3808 -freewire 0 -freeedge 76 -sharededge 6881 -max_solid 49 -max_shell 50 -max_face 3808 -max_freewire 0 -max_freeedge 76
+checkmaxtol res_2 -tol 0.00334862762 -avg 7.78998243e-006 -max_tol ${max_tol_res_1}
+
index 1d34a91a41ce52374e2a4c2ced56008cdabcb42a..6f54b78f78821e9ec3439a7dee43308dcec6a3d4 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj4_pm2-ug-203.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 44  ( 491 )  Summary  = 44  ( 491 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 81  ( 81 )  Shell    = 82  ( 82 )  Face     = 2729  ( 2729 )   Summary  = 17300  ( 17300 )
-STATSHAPE   : Solid    = 99  ( 99 )  Shell    = 100  ( 100 )  Face     = 3044  ( 3044 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 6925  ( 6925 )
-TOLERANCE   : MaxTol   = 0.009468939314  (  0.02905820302 )  AvgTol   =  0.0002800110602  (  0.0005350104835 )
-LABELS      : N0Labels = 91  ( 91 )  N1Labels = 102  ( 102 )  N2Labels = 0  ( 0 )   TotalLabels = 193  ( 193 )   NameLabels = 193  ( 193 )   ColorLabels = 0  ( 0 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 91  ( 91 )  Volume   = 91  ( 91 )  Area     = 91  ( 91 )
-NCOLORS     : NColors  = 0  ( 0 )
-COLORS      : Colors   =   (  )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 493 -max_faults 0
+checkxstat D_First -n0 91 -n1 102 -n2 0 -total 193 -withname 193 -withcolor 0 -withlayer 0 -centroid 91 -volume 91 -area 91 -colors {  } -nbcolors 0 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 81 -shell 82 -face 2729 -shape 17300
+checkstatshape res_1 -solid 99 -shell 100 -face 3044 -freewire 0 -freeedge 0 -sharededge 6925
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.02905820302 -avg 0.0005350104835]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 493 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 34 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 91 -n1 102 -n2 0 -total 193 -withname 193 -withcolor 0 -withlayer 0 -centroid 91 -volume 91 -area 91 -nbcolors 0 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 91 -n1 102 -n2 0 -total 193 -withname 193 -withcolor 0 -withlayer 0 -centroid 91 -volume 91 -area 91 -colors {   } -nbcolors 0 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 81 -shell 82 -face 2729 -shape 17300 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 99 -shell 100 -face 3044 -freewire 0 -freeedge 0 -sharededge 6925 -max_solid 99 -max_shell 100 -max_face 3044 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.009468939314 -avg 0.0002800110602 -max_tol ${max_tol_res_1}
+
index fd9bc396aef554855be213b84e60d843f92ba266..ad63bf01b6935253dfca65ba0ed07da2e725b587 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename sd_exhaust-A.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 0 )  Summary  = 4  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 7  ( 7 )  Shell    = 7  ( 7 )  Face     = 100  ( 100 )   Summary  = 627  ( 627 )
-STATSHAPE   : Solid    = 7  ( 7 )  Shell    = 7  ( 7 )  Face     = 100  ( 100 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 240  ( 240 )
-TOLERANCE   : MaxTol   = 9.577409428e-007  ( 9.577357701e-007 )  AvgTol   =  1.446652204e-007  (  1.445065804e-007 )
-LABELS      : N0Labels = 7  ( 7 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 7  ( 7 )   NameLabels = 7  ( 7 )   ColorLabels = 7  ( 7 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = DARKORANGE1 DEEPPINK MATRAGRAY PURPLE3 YELLOW  ( DARKORANGE1 DEEPPINK MATRAGRAY PURPLE3 YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 7 -n1 0 -n2 0 -total 7 -withname 7 -withcolor 7 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DARKORANGE1 DEEPPINK MATRAGRAY PURPLE3 YELLOW } -nbcolors 5 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 7 -shell 7 -face 100 -shape 627
+checkstatshape res_1 -solid 7 -shell 7 -face 100 -freewire 0 -freeedge 0 -sharededge 240
+set max_tol_res_1 [checkmaxtol res_1 -tol 9.577357701e-007 -avg 1.445065804e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 7 -n1 0 -n2 0 -total 7 -withname 7 -withcolor 7 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 7 -n1 0 -n2 0 -total 7 -withname 7 -withcolor 7 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DARKORANGE1 DEEPPINK MATRAGRAY PURPLE3 YELLOW  } -nbcolors 5 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 7 -shell 7 -face 100 -shape 627 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 7 -shell 7 -face 100 -freewire 0 -freeedge 0 -sharededge 240 -max_solid 7 -max_shell 7 -max_face 100 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 9.577409428e-007 -avg 1.446652204e-007 -max_tol ${max_tol_res_1}
+
index 3187c246b48077e3ad79d8e3b539d680efbd4227..b515aba40111451b26d7d7138bb752c975c4395d 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename sd_exhaust-B.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 4  ( 0 )  Summary  = 4  ( 0 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 7  ( 7 )  Shell    = 7  ( 7 )  Face     = 100  ( 100 )   Summary  = 627  ( 627 )
-STATSHAPE   : Solid    = 7  ( 7 )  Shell    = 7  ( 7 )  Face     = 100  ( 100 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 240  ( 240 )
-TOLERANCE   : MaxTol   = 9.577495182e-007  ( 9.577357701e-007 )  AvgTol   =  1.43874291e-007  (  1.43712793e-007 )
-LABELS      : N0Labels = 7  ( 7 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 7  ( 7 )   NameLabels = 7  ( 7 )   ColorLabels = 7  ( 7 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 5  ( 5 )
-COLORS      : Colors   = DARKORANGE1 DEEPPINK MATRAGRAY PURPLE3 YELLOW  ( DARKORANGE1 DEEPPINK MATRAGRAY PURPLE3 YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+checkxstat D_First -n0 7 -n1 0 -n2 0 -total 7 -withname 7 -withcolor 7 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DARKORANGE1 DEEPPINK MATRAGRAY PURPLE3 YELLOW } -nbcolors 5 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 7 -shell 7 -face 100 -shape 627
+checkstatshape res_1 -solid 7 -shell 7 -face 100 -freewire 0 -freeedge 0 -sharededge 240
+set max_tol_res_1 [checkmaxtol res_1 -tol 9.577357701e-007 -avg 1.43712793e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 4 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 7 -n1 0 -n2 0 -total 7 -withname 7 -withcolor 7 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 5 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 7 -n1 0 -n2 0 -total 7 -withname 7 -withcolor 7 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DARKORANGE1 DEEPPINK MATRAGRAY PURPLE3 YELLOW  } -nbcolors 5 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 7 -shell 7 -face 100 -shape 627 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 7 -shell 7 -face 100 -freewire 0 -freeedge 0 -sharededge 240 -max_solid 7 -max_shell 7 -max_face 100 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 9.577495182e-007 -avg 1.43874291e-007 -max_tol ${max_tol_res_1}
+
index 248c00f57a1cc6bb87b2c91db717c777ea907fcc..3984d34b0b1157e74a3837ad761f7ffe3cd965ee 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename trj5_pm3-id-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 9  ( 9 )  Summary  = 9  ( 9 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 24  ( 24 )  Shell    = 24  ( 24 )  Face     = 2161  ( 2161 )   Summary  = 15061  ( 14810 )
-STATSHAPE   : Solid    = 117  ( 117 )  Shell    = 117  ( 117 )  Face     = 10150  ( 10150 )   FreeWire = 0  ( 0 )   FreeEdge  = 490 ( 490 )   SharedEdge = 5871  ( 5871 )
-TOLERANCE   : MaxTol   = 0.004460511696  ( 0.004460511696 )  AvgTol   =  2.957595905e-005  (  2.957595904e-005 )
-LABELS      : N0Labels = 52  ( 52 )  N1Labels = 161  ( 161 )  N2Labels = 0  ( 0 )   TotalLabels = 213  ( 213 )   NameLabels = 121  ( 121 )   ColorLabels = 114  ( 114 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 24  ( 24 )  Volume   = 24  ( 24 )  Area     = 24  ( 24 )
-NCOLORS     : NColors  = 18  ( 18 )
-COLORS      : Colors   = ALICEBLUE BLANCHEDALMOND BROWN DARKGREEN DEEPSKYBLUE2 DEEPSKYBLUE3 GOLD GRAY45 LIGHTBLUE2 LIGHTSEAGREEN LIGHTSKYBLUE1 LIGHTSKYBLUE2 MAGENTA1 ROYALBLUE ROYALBLUE1 SKYBLUE1 SKYBLUE3 SLATEBLUE1  ( ALICEBLUE BLANCHEDALMOND BROWN DARKGREEN DEEPSKYBLUE2 DEEPSKYBLUE3 GOLD GRAY45 LIGHTBLUE2 LIGHTSEAGREEN LIGHTSKYBLUE1 LIGHTSKYBLUE2 MAGENTA1 ROYALBLUE ROYALBLUE1 SKYBLUE1 SKYBLUE3 SLATEBLUE1 )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+checkxstat D_First -n0 52 -n1 161 -n2 0 -total 213 -withname 121 -withcolor 114 -withlayer 0 -centroid 24 -volume 24 -area 24 -colors { ALICEBLUE BLANCHEDALMOND BROWN DARKGREEN DEEPSKYBLUE2 DEEPSKYBLUE3 GOLD GRAY45 LIGHTBLUE2 LIGHTSEAGREEN LIGHTSKYBLUE1 LIGHTSKYBLUE2 MAGENTA1 ROYALBLUE ROYALBLUE1 SKYBLUE1 SKYBLUE3 SLATEBLUE1 } -nbcolors 18 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 24 -shell 24 -face 2161 -shape 14810
+checkstatshape res_1 -solid 117 -shell 117 -face 10150 -freewire 0 -freeedge 490 -sharededge 5871
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.004460511696 -avg 2.957595904e-005]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 9 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 52 -n1 161 -n2 0 -total 213 -withname 121 -withcolor 114 -withlayer 0 -centroid 24 -volume 24 -area 24 -nbcolors 18 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 52 -n1 161 -n2 0 -total 213 -withname 121 -withcolor 114 -withlayer 0 -centroid 24 -volume 24 -area 24 -colors { ALICEBLUE BLANCHEDALMOND BROWN DARKGREEN DEEPSKYBLUE2 DEEPSKYBLUE3 GOLD GRAY45 LIGHTBLUE2 LIGHTSEAGREEN LIGHTSKYBLUE1 LIGHTSKYBLUE2 MAGENTA1 ROYALBLUE ROYALBLUE1 SKYBLUE1 SKYBLUE3 SLATEBLUE1  } -nbcolors 18 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 24 -shell 24 -face 2161 -shape 15061 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 117 -shell 117 -face 10150 -freewire 0 -freeedge 490 -sharededge 5871 -max_solid 117 -max_shell 117 -max_face 10150 -max_freewire 0 -max_freeedge 490
+checkmaxtol res_2 -tol 0.004460511696 -avg 2.957595905e-005 -max_tol ${max_tol_res_1}
+
index 0f7c9535d22932407c3248d3c70df64d245cdf8a..beca5207804ed8af0ec076f6bdf3e0e913aafd9f 100644 (file)
@@ -1,20 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-
 
 set filename tr10_r0601_id.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 220  ( 206 )  Summary  = 220  ( 206 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 1327  ( 1327 )   Summary  = 9260  ( 9174 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 1  ( 1 )  Face     = 1327  ( 1327 )   FreeWire = 0  ( 0 )   FreeEdge  = 84 ( 84 )   SharedEdge = 3872  ( 3871 )
-TOLERANCE   : MaxTol   =   0.0796871773  (  0.07968717732 )  AvgTol   =  0.0006764981779  (  0.001240885709 )
-LABELS      : N0Labels = 3  ( 3 )  N1Labels = 3707  ( 3707 )  N2Labels = 0  ( 0 )   TotalLabels = 3710  ( 3710 )   NameLabels = 5  ( 5 )   ColorLabels = 3706  ( 3706 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 8  ( 8 )
-COLORS      : Colors   = DARKGREEN DEEPSKYBLUE2 GREEN MAGENTA1 ORANGE ORANGERED RED YELLOW  ( DARKGREEN DEEPSKYBLUE2 GREEN MAGENTA1 ORANGE ORANGERED RED YELLOW )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 204 -max_faults 0
+checkxstat D_First -n0 3 -n1 3707 -n2 0 -total 3710 -withname 5 -withcolor 3706 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DARKGREEN DEEPSKYBLUE2 GREEN MAGENTA1 ORANGE ORANGERED RED YELLOW } -nbcolors 8 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 1 -face 1327 -shape 9174
+checkstatshape res_1 -solid 1 -shell 1 -face 1327 -freewire 0 -freeedge 84 -sharededge 3871
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.07968717732 -avg 0.001240885709]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 204 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 186 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 3 -n1 3707 -n2 0 -total 3710 -withname 5 -withcolor 3706 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 8 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 3 -n1 3707 -n2 0 -total 3710 -withname 5 -withcolor 3706 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { DARKGREEN DEEPSKYBLUE2 GREEN MAGENTA1 ORANGE ORANGERED RED YELLOW  } -nbcolors 8 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 1 -face 1327 -shape 9260 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 1 -face 1327 -freewire 0 -freeedge 84 -sharededge 3872 -max_solid 1 -max_shell 1 -max_face 1327 -max_freewire 0 -max_freeedge 84
+checkmaxtol res_2 -tol 0.0796871773 -avg 0.0006764981779 -max_tol ${max_tol_res_1}
+
index ec9416e52cf9c039dd8b769db8254e155b325de7..e34accc955054e3ff7229182018c34bcea0277ea 100644 (file)
@@ -1,18 +1,49 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
+
 set filename tr10_r1001_ac.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 137  ( 137 )  Summary  = 137  ( 137 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 61  ( 61 )  Shell    = 61  ( 61 )  Face     = 4435  ( 4435 )   Summary  = 28668  ( 28668 )
-STATSHAPE   : Solid    = 528  ( 528 )  Shell    = 528  ( 528 )  Face     = 10635  ( 10635 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 11588  ( 11588 )
-TOLERANCE   : MaxTol   =    0.218398467  (    0.218398467 )  AvgTol   =  0.001446168688  (   0.00145991745 )
-LABELS      : N0Labels = 63  ( 63 )  N1Labels = 529  ( 529 )  N2Labels = 0  ( 0 )   TotalLabels = 592  ( 592 )   NameLabels = 592  ( 592 )   ColorLabels = 61  ( 61 )   LayerLabels = 61  ( 61 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 16  ( 16 )
-COLORS      : Colors   = BURLYWOOD2 CADETBLUE CYAN1 DARKORANGE1 DEEPSKYBLUE1 FIREBRICK1 KHAKI1 LIGHTGOLDENROD4 LIGHTSALMON1 LIGHTSEAGREEN MEDIUMPURPLE1 MEDIUMSPRINGGREEN SKYBLUE1 VIOLET WHITE YELLOW  ( BURLYWOOD2 CADETBLUE CYAN1 DARKORANGE1 DEEPSKYBLUE1 FIREBRICK1 KHAKI1 LIGHTGOLDENROD4 LIGHTSALMON1 LIGHTSEAGREEN MEDIUMPURPLE1 MEDIUMSPRINGGREEN SKYBLUE1 VIOLET WHITE YELLOW )
-NLAYERS     : NLayers  = 37  ( 37 )
-LAYERS      : Layers   = 10|OBJECT 11|OBJECT 12|OBJECT 13|OBJECT 14|OBJECT 15|OBJECT 16|OBJECT 17|OBJECT 18|OBJECT 19|OBJECT 1|OBJECT 20|OBJECT 21|OBJECT 22|OBJECT 2|OBJECT 3|OBJECT 4|OBJECT 5|OBJECT 6|OBJECT 7|OBJECT 8|OBJECT 9|OBJECT BRCH-10|OBJECT BRCH-1|OBJECT BRCH-2|OBJECT BRCH-3|OBJECT BRCH-4|OBJECT BRCH-5|OBJECT BRCH-6|OBJECT BRCH-7|OBJECT BRCH-8|OBJECT BRCH-9|OBJECT DOWELS LWASHER M-50158|OBJECT OBJECT {SHRPSHIM$0$OBJECT}  ( 10|OBJECT 11|OBJECT 12|OBJECT 13|OBJECT 14|OBJECT 15|OBJECT 16|OBJECT 17|OBJECT 18|OBJECT 19|OBJECT 1|OBJECT 20|OBJECT 21|OBJECT 22|OBJECT 2|OBJECT 3|OBJECT 4|OBJECT 5|OBJECT 6|OBJECT 7|OBJECT 8|OBJECT 9|OBJECT BRCH-10|OBJECT BRCH-1|OBJECT BRCH-2|OBJECT BRCH-3|OBJECT BRCH-4|OBJECT BRCH-5|OBJECT BRCH-6|OBJECT BRCH-7|OBJECT BRCH-8|OBJECT BRCH-9|OBJECT DOWELS LWASHER M-50158|OBJECT OBJECT {SHRPSHIM$0$OBJECT} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 137 -max_faults 0
+checkxstat D_First -n0 63 -n1 529 -n2 0 -total 592 -withname 592 -withcolor 61 -withlayer 61 -centroid 0 -volume 0 -area 0 -colors { BURLYWOOD2 CADETBLUE CYAN1 DARKORANGE1 DEEPSKYBLUE1 FIREBRICK1 KHAKI1 LIGHTGOLDENROD4 LIGHTSALMON1 LIGHTSEAGREEN MEDIUMPURPLE1 MEDIUMSPRINGGREEN SKYBLUE1 VIOLET WHITE YELLOW } -nbcolors 16 -layers { "M-50158|OBJECT" "21|OBJECT" "11|OBJECT" "16|OBJECT" "17|OBJECT" "14|OBJECT" "15|OBJECT" "13|OBJECT" "9|OBJECT" "SHRPSHIM$0$OBJECT" "BRCH-9|OBJECT" "22|OBJECT" "OBJECT" "DOWELS" "LWASHER" "12|OBJECT" "10|OBJECT" "BRCH-10|OBJECT" "20|OBJECT" "18|OBJECT" "19|OBJECT" "8|OBJECT" "7|OBJECT" "BRCH-7|OBJECT" "BRCH-8|OBJECT" "6|OBJECT" "BRCH-6|OBJECT" "5|OBJECT" "BRCH-5|OBJECT" "4|OBJECT" "BRCH-4|OBJECT" "3|OBJECT" "BRCH-3|OBJECT" "2|OBJECT" "BRCH-2|OBJECT" "1|OBJECT" "BRCH-1|OBJECT"  } -nblayers 37
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 61 -shell 61 -face 4435 -shape 28668
+checkstatshape res_1 -solid 528 -shell 528 -face 10635 -freewire 0 -freeedge 0 -sharededge 11588
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.218398467 -avg 0.00145991745]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 137 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 137 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 63 -n1 529 -n2 0 -total 592 -withname 592 -withcolor 61 -withlayer 61 -centroid 0 -volume 0 -area 0 -nbcolors 16 -nblayers 37
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 63 -n1 529 -n2 0 -total 592 -withname 592 -withcolor 61 -withlayer 61 -centroid 0 -volume 0 -area 0 -colors { BURLYWOOD2 CADETBLUE CYAN1 DARKORANGE1 DEEPSKYBLUE1 FIREBRICK1 KHAKI1 LIGHTGOLDENROD4 LIGHTSALMON1 LIGHTSEAGREEN MEDIUMPURPLE1 MEDIUMSPRINGGREEN SKYBLUE1 VIOLET WHITE YELLOW  } -nbcolors 16 -layers { "M-50158|OBJECT" "21|OBJECT" "11|OBJECT" "16|OBJECT" "17|OBJECT" "14|OBJECT" "15|OBJECT" "13|OBJECT" "9|OBJECT" "SHRPSHIM$0$OBJECT" "BRCH-9|OBJECT" "22|OBJECT" "OBJECT" "DOWELS" "LWASHER" "12|OBJECT" "10|OBJECT" "BRCH-10|OBJECT" "20|OBJECT" "18|OBJECT" "19|OBJECT" "8|OBJECT" "7|OBJECT" "BRCH-7|OBJECT" "BRCH-8|OBJECT" "6|OBJECT" "BRCH-6|OBJECT" "5|OBJECT" "BRCH-5|OBJECT" "4|OBJECT" "BRCH-4|OBJECT" "3|OBJECT" "BRCH-3|OBJECT" "2|OBJECT" "BRCH-2|OBJECT" "1|OBJECT" "BRCH-1|OBJECT"  } -nblayers 37
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 61 -shell 61 -face 4435 -shape 28668 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 528 -shell 528 -face 10635 -freewire 0 -freeedge 0 -sharededge 11588 -max_solid 528 -max_shell 528 -max_face 10635 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.218398467 -avg 0.001446168688 -max_tol ${max_tol_res_1}
+
index fcc604d8e15ae9c86e24aff80092810df39f3cce..1a9ca592404f27a01a9960b7e5f3064c935019bb 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename bm4_db_seal_c.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 117  ( 39 )  Summary  = 117  ( 39 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 140  ( 140 )   Summary  = 704  ( 704 )
-STATSHAPE   : Solid    = 1  ( 1 )  Shell    = 3  ( 3 )  Face     = 140  ( 140 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 280  ( 280 )
-TOLERANCE   : MaxTol   = 0.0004823436197  ( 0.0004827870033 )  AvgTol   =  0.0001575316088  (  0.000165115431 )
-LABELS      : N0Labels = 1  ( 1 )  N1Labels = 0  ( 0 )  N2Labels = 0  ( 0 )   TotalLabels = 1  ( 1 )   NameLabels = 1  ( 1 )   ColorLabels = 1  ( 1 )   LayerLabels = 1  ( 1 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 1  ( 1 )
-COLORS      : Colors   = RED  ( RED )
-NLAYERS     : NLayers  = 1  ( 1 )
-LAYERS      : Layers   = 49  ( { 49} )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 39 -max_faults 0
+checkxstat D_First -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { RED } -nbcolors 1 -layers { " 49" } -nblayers 1
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 1 -shell 3 -face 140 -shape 704
+checkstatshape res_1 -solid 1 -shell 3 -face 140 -freewire 0 -freeedge 0 -sharededge 280
+set max_tol_res_1 [checkmaxtol res_1 -tol 0.0004827870033 -avg 0.000165115431]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 39 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 118 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -nbcolors 1 -nblayers 1
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 1 -n1 0 -n2 0 -total 1 -withname 1 -withcolor 1 -withlayer 1 -centroid 0 -volume 0 -area 0 -colors { RED  } -nbcolors 1 -layers { 49 } -nblayers 1
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 1 -shell 3 -face 140 -shape 704 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 1 -shell 3 -face 140 -freewire 0 -freeedge 0 -sharededge 280 -max_solid 1 -max_shell 3 -max_face 140 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 0.0004823436197 -avg 0.0001575316088 -max_tol ${max_tol_res_1}
+
index 212e63a4b37df07bc90587490c20e92f49eb701a..587da561f708798a690a6fb93b2388233d12cd44 100644 (file)
@@ -1,21 +1,50 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: TPSTAT : Faulty" 
 
-
 set filename trj7_pm5-sd-214.stp
 
-set ref_data {
-DATA        : Faulties = 0  ( 0 )  Warnings = 0  ( 0 )  Summary  = 0  ( 0 )
-TPSTAT      : Faulties = 0  ( 0 )  Warnings = 14  ( 6 )  Summary  = 14  ( 6 )
-CHECKSHAPE  : Wires    = 0  ( 0 )  Faces    = 0  ( 0 )  Shells   = 0  ( 0 )   Solids   = 0 ( 0 )
-NBSHAPES    : Solid    = 37  ( 37 )  Shell    = 37  ( 37 )  Face     = 1477  ( 1477 )   Summary  = 10045  ( 10045 )
-STATSHAPE   : Solid    = 157  ( 157 )  Shell    = 157  ( 157 )  Face     = 6549  ( 6549 )   FreeWire = 0  ( 0 )   FreeEdge  = 0 ( 0 )   SharedEdge = 4087  ( 4087 )
-TOLERANCE   : MaxTol   = 9.800652784e-007  ( 9.800405136e-007 )  AvgTol   =  1.060552515e-007  (  1.059616207e-007 )
-LABELS      : N0Labels = 49  ( 49 )  N1Labels = 207  ( 207 )  N2Labels = 0  ( 0 )   TotalLabels = 256  ( 256 )   NameLabels = 213  ( 213 )   ColorLabels = 80  ( 80 )   LayerLabels = 0  ( 0 )
-PROPS       : Centroid = 0  ( 0 )  Volume   = 0  ( 0 )  Area     = 0  ( 0 )
-NCOLORS     : NColors  = 21  ( 21 )
-COLORS      : Colors   = BLUE1 DARKORANGE DARKSLATEGRAY1 DODGERBLUE2 GRAY13 GRAY18 GRAY27 GRAY30 GRAY31 GRAY4 GRAY65 GRAY8 GRAY85 GRAY94 GREEN LIGHTPINK2 MATRAGRAY RED RED RED4 WHITE  ( BLUE1 DARKORANGE DARKSLATEGRAY1 DODGERBLUE2 GRAY13 GRAY18 GRAY27 GRAY30 GRAY31 GRAY4 GRAY65 GRAY8 GRAY85 GRAY94 GREEN LIGHTPINK2 MATRAGRAY RED RED RED4 WHITE )
-NLAYERS     : NLayers  = 0  ( 0 )
-LAYERS      : Layers   =   (  )
-
-}
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+checkxstat D_First -n0 49 -n1 207 -n2 0 -total 256 -withname 213 -withcolor 80 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 DARKORANGE DARKSLATEGRAY1 DODGERBLUE2 GRAY13 GRAY18 GRAY27 GRAY30 GRAY31 GRAY4 GRAY65 GRAY8 GRAY85 GRAY94 GREEN LIGHTPINK2 MATRAGRAY RED RED RED4 WHITE } -nbcolors 21 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 37 -shell 37 -face 1477 -shape 10045
+checkstatshape res_1 -solid 157 -shell 157 -face 6549 -freewire 0 -freeedge 0 -sharededge 4087
+set max_tol_res_1 [checkmaxtol res_1 -tol 9.800405136e-007 -avg 1.059616207e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 14 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 49 -n1 207 -n2 0 -total 256 -withname 213 -withcolor 80 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 21 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 49 -n1 207 -n2 0 -total 256 -withname 213 -withcolor 80 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 DARKORANGE DARKSLATEGRAY1 DODGERBLUE2 GRAY13 GRAY18 GRAY27 GRAY30 GRAY31 GRAY4 GRAY65 GRAY8 GRAY85 GRAY94 GREEN LIGHTPINK2 MATRAGRAY RED RED RED4 WHITE  } -nbcolors 21 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 37 -shell 37 -face 1477 -shape 10045 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 157 -shell 157 -face 6549 -freewire 0 -freeedge 0 -sharededge 4087 -max_solid 157 -max_shell 157 -max_face 6549 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 9.800652784e-007 -avg 1.060552515e-007 -max_tol ${max_tol_res_1}
+
index e22e7bce4305ebab093915d6e33a06bfaebbb8c9..814473de75f44a656c3fcf9a24c07105d34036e1 100644 (file)
@@ -1,6 +1,52 @@
-# !!!! This file is generated automatically, do not edit manually! See end script
-puts "TODO CR23096 ALL: Error: First - file was not read - exception " 
-puts "TODO CR23096 ALL: Error : Here is reading problem" 
-
+puts "TODO CR23096 ALL: Error: file buc60990.stp was not read" 
+puts "TODO CR23096 ALL: Tcl Exception: D_First is not a document" 
+puts "TODO CR23096 ALL: TEST INCOMPLETE" 
 
 set filename buc60990.stp
+
+
+ReadFileToDoc ${filename}
+
+puts "Check document D_First"
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+checkxstat D_First -n0 49 -n1 207 -n2 0 -total 256 -withname 213 -withcolor 80 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 DARKORANGE DARKSLATEGRAY1 DODGERBLUE2 GRAY13 GRAY18 GRAY27 GRAY30 GRAY31 GRAY4 GRAY65 GRAY8 GRAY85 GRAY94 GREEN LIGHTPINK2 MATRAGRAY RED RED RED4 WHITE } -nbcolors 21 -layers {  } -nblayers 0
+
+XGetOneShape res_1 D_First
+
+puts "Check shape from document D_First"
+checkshapeff res_1 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+checknbshapes res_1 -solid 37 -shell 37 -face 1477 -shape 10045
+checkstatshape res_1 -solid 157 -shell 157 -face 6549 -freewire 0 -freeedge 0 -sharededge 4087
+set max_tol_res_1 [checkmaxtol res_1 -tol 9.800405136e-007 -avg 1.059616207e-007]
+
+ReOpenDoc ${filename}
+
+XGetOneShape res_2 D_Second
+
+puts "Check document D_Second"
+puts "Compare with document D_First"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 6 -max_faults 0
+puts "Compare with reference data"
+checkdoc "data c" -max_warns 0 -max_faults 0
+checkdoc "tpstat c" -max_warns 0 -max_faults 0
+
+puts "Compare with doc D_First"
+checkxstat D_Second -n0 49 -n1 207 -n2 0 -total 256 -withname 213 -withcolor 80 -withlayer 0 -centroid 0 -volume 0 -area 0 -nbcolors 21 -nblayers 0
+
+puts "Compare with reference values"
+checkxstat D_Second -n0 49 -n1 207 -n2 0 -total 256 -withname 213 -withcolor 80 -withlayer 0 -centroid 0 -volume 0 -area 0 -colors { BLUE1 DARKORANGE DARKSLATEGRAY1 DODGERBLUE2 GRAY13 GRAY18 GRAY27 GRAY30 GRAY31 GRAY4 GRAY65 GRAY8 GRAY85 GRAY94 GREEN LIGHTPINK2 MATRAGRAY RED RED RED4 WHITE  } -nbcolors 21 -layers {   } -nblayers 0
+
+puts "Check shape from document D_Second"
+puts "Compare with shape res_1"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+puts "Compare with reference data"
+checkshapeff res_2 -max_wires 0 -max_faces 0 -max_shells 0 -max_solids 0
+set nbshapes_res_1 [nbshapes res_1]
+regexp {SHAPE +: +([-0-9.+eE]+)} ${nbshapes_res_1} full shape_res_1
+checknbshapes res_2 -solid 37 -shell 37 -face 1477 -shape 10045 -not_de_iges ${shape_res_1}
+checkstatshape res_2 -solid 157 -shell 157 -face 6549 -freewire 0 -freeedge 0 -sharededge 4087 -max_solid 157 -max_shell 157 -max_face 6549 -max_freewire 0 -max_freeedge 0
+checkmaxtol res_2 -tol 9.800652784e-007 -avg 1.060552515e-007 -max_tol ${max_tol_res_1}
+
index f6fc1580e574ff64d9b1b5921b8699962a0f3f72..2ecc53c72acb00ea4914182467936a25300b91aa 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_001_ahdb.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index af16d56912c5ddf1d920a66fc9b0aa3e39b422aa..78aca732cbbe62c96eabb0ef12ec9f018f68f879 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_001_ahev.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 82d0146007822b71849e072c1845efab84f350e7..e65eb26119dd5138a6f0bf462b73c5dc7aef4f1f 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file BUC60328.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1359413.47384844
+checkmaxtol result -tol 1359413.47384844
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 10d8e17dd9ad3de06347c5bc968e2281c1ed5fc0..fcd0f58f6d6325abc35884a1c0afe95107d14136 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file BUC60329.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 5957311123.3524904
+checkmaxtol result -tol 5957311123.3524904
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index ac12766c5d4d5ec2effd8fd9a3e932c405f687d7..3a2601927843bcf7d34be921f9d9fda435f5012b 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file BUC60391.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.2306084135791399e-005
+checkmaxtol result -tol 1.2306084135791399e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index fd858fe5706631dbd851712d41708082f6d9bdaf..fd426f6e8ddd2b7b02555efe22998f7c48c5e4ba 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file mal_vis.brep] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 9d8a57b34bb3fd0e18758a811ffc8ee439221f5a..5b1e71fe53f74071ff85c97444fa81638b4f47d5 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_ger50gdb.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.016759665225791299
+checkmaxtol result -tol 0.016759665225791299
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 95351713c33d12a816ac1da44f4d24d0fb192a9c..3a86c207736642b100e031d381760f4c0c79a448 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file BUC60394.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 8ca7549a4552ac201dd960a6dcb072c80fc8637e..0f9d3a321ab10e05edb5fe9a2d8761c0d3898c28 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CHE_bb11.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 5b2dfee549720374a8c078f107cb1344d206f028..59ecf9c74f6327380e25b2220d1829361cf132e8 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_001_ahew.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 479dd93b0bccfbf1f43266200e52d7e23cc436dd..28dfb72eb6a5fc032f5d0d04501f374e651e375f 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_001_bhdc.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 4.9999999999999998e-007
+checkmaxtol result -tol 4.9999999999999998e-007
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index f707d5e3012b4a0ccceca5f6c05ca1e32eb18927..0890c659646562dc0a8b20281e2a83b0fd697518 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_001_chde.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 4.9999999999999998e-007
+checkmaxtol result -tol 4.9999999999999998e-007
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index f782fd106594f4dcfae762a49fa2f0b9856f5406..dd9c1b45a63116c58b4d91fff668f2745430b480 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_001_chez.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 9b254db785caf1b38d323a072883f96c85cb666d..52a4efcdb32bfdeb17915cd1d6d200faf47aae5a 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_001_chfa.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 233543272c72945c58f5bbf3c2cdb0a6d31b42fb..e57966bc49df0e092d8dbbe8302f562047024c9f 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_001_dhdd.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 18f0a3bfd06d0242a24bf9454fa95dbbc7168429..93b3eee0788f5590269bb4ac52b63d96ad80ef65 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_001_ehdg.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index c8b5f3729a3a81719e5a041f201e4d210bf6fa2e..d497d5bfed12ac44781c5028626fe8e6deaf2959 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_001_ghdh.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index ab99fce492318fb9801c8a6e6a6df6ea04a520aa..81dbecdb5c925b9704a70e902d90e171409bb0ad 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_001_ghfb.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 8bef648058f6d830c5b5462dcc183e31556ba6c2..742fd8cefded7493434b76cbacb2f9e026515ddb 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_001_hhdi.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index f59274dea91cb699d2bfab001331518533b94308..6e3d031cd7f1470c6c78977abeab7c4987d81030 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_001_ihdj.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 3a772639c3e7fbafa1f0ff07a59dc83336c0c4d1..d200270f0a7a2025c14991675bf01467d3fd9a06 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_001_jhdk.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 59f9ce963cacfe4da2e3c32efbb7ee20888ea958..da8d88745b1331e1ad761cb19819fdc13949d537 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_001_khdl.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index a6e0338658c232aaaa4daabebb584b77e496c1f3..637e5221ba9abb66fbadc83f30aa6a4518e91e16 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_001_lhdm.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 30b8753170ba1ddf7da0d60ca96c5da3ff7c83d4..92e05753d500c4998fbe2b07bc330d2e23221223 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_001_qhff.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 09d8ea5e28f554de1b6de6a4eaae646127623718..c3ddb2d73d1688c7c0fd2047697d4ab0cb8becfd 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 4.5468477305930302e-006
+checkmaxtol result -tol 4.5468477305930302e-006
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 26a997acbb8526d7fba723d802288f8c86ea1d92..836131a55e5a031edbb1da6e9c43e4efa9708b58 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_adapthfd.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.08968613084935e-007
+checkmaxtol result -tol 1.08968613084935e-007
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 8db151fecc0f235de995a4349f6eecf781edbf14..412cb9841885a47c2900cac3482c6bef79fe2d51 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_blendhdn.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-007
+checkmaxtol result -tol 9.9999999999999995e-007
 checknbshapes result -shell 1
 checkfreebounds result 7
 checkfaults result a 0
index 444b6a16d31e22f2a20558441b58e37baff2eb62..3e7a70381e924c90c60f9b93548f74a50fbc943b 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_blendhdp.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-007
+checkmaxtol result -tol 9.9999999999999995e-007
 checknbshapes result -shell 1
 checkfreebounds result 8
 checkfaults result a 0
index 0a1ba692a4de5f5e59a7b39a83e9f094567f16bb..32663b3772696b320b039fe0ca1dbb509603269a 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_blendhdq.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-007
+checkmaxtol result -tol 9.9999999999999995e-007
 checknbshapes result -shell 1
 checkfreebounds result 8
 checkfaults result a 0
index db776d7ef10d9831894953bf92e9a4f4476d037a..87a16dc9432eb9a0f014add4b8e7ba854f82aef4 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_blendhdr.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-007
+checkmaxtol result -tol 9.9999999999999995e-007
 checknbshapes result -shell 1
 checkfreebounds result 4
 checkfaults result a 0
index 16e35c51a71189adcaeae8e63c5a99fcf8ef6026..4bcfcea50c75e7527ca6e3d0ea36941506357e46 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_blendhdu.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-007
+checkmaxtol result -tol 9.9999999999999995e-007
 checknbshapes result -shell 1
 checkfreebounds result 14
 checkfaults result a 0
index 66c916ffc0860bdf15e584d939fe95bc9d159d36..cce4d6f2b9e5adf9ffb624aaa9c196367f42d6db 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_blendhdv.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0011000000000000001
+checkmaxtol result -tol 0.0011000000000000001
 checknbshapes result -shell 1
 checkfreebounds result 17
 checkfaults result a 0
index 4619a0440eec2af37c08ddec90d3cd7c29a1f6dd..b4a69b4e77d3c89135cc98443a37d2739a459491 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_blendhdw.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0011000000000000001
+checkmaxtol result -tol 0.0011000000000000001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index d563a61485f404158ddcfdac4695612ae36705fa..5282afd4b18d0f7dafd719e0ad6f9ebb8d2d2edc 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_coco1.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.001
+checkmaxtol result -tol 0.001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 4c02f8f5e8df36e167da7a9c711f01527311b79a..d666d589816b21482bce0e142568720c4b1631ad 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_coco2.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.001
+checkmaxtol result -tol 0.001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 0d0f6aa1fea8508dd5e08c6a0263465ebacfee0c..aedaa0a2fd49f860b2a93a63eb09f338184b9505 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_coco3.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0235352592031246
+checkmaxtol result -tol 0.0235352592031246
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 94fa3911dbc08d5605261e3381091bf480aa161a..861d0c4b14155d51ba4d5cee53e72784a2b3a585 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_conge1.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.001
+checkmaxtol result -tol 0.001
 checknbshapes result -shell 1
 checkfreebounds result 8
 checkfaults result a 0
index c2e241e689bc8f118e314cfc8cace30aca8ac58a..3b522908588eb05d5a4b68743a320d37debe209e 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_couture.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 7629312d2751e9f8baa40f1da0bacf62e9a225f0..16627d5bb7911050c88ccc1627c0598175dd533d 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_flanphdy.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.001
+checkmaxtol result -tol 0.001
 checknbshapes result -shell 1
 checkfreebounds result 46
 checkfaults result a 0
index 0bb41821e794fd22477c92c9597deb3be6aec92b..8bd6cc9816838c1e23b97eddc45707b7591a3a14 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro12913a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.000113170243210908
+checkmaxtol result -tol 0.000113170243210908
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 462e27b407f4aab027556eabb0c24d5ca76c627f..247f210d90a52ebc6a3f1f281398a2758d060b05 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file 4_K1(hlacg01).draw] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-007
+checkmaxtol result -tol 9.9999999999999995e-007
 checknbshapes result -shell 1
 checkfreebounds result 9
 checkfaults result a 0
index 62836bf962c2d97f6f9df95cf38856f3d2ec9358..a055005711e4a13b9702a81f852d76213b21eef1 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file 4_O1(hlacg06).draw] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-007
+checkmaxtol result -tol 9.9999999999999995e-007
 checknbshapes result -shell 1
 checkfreebounds result 14
 checkfaults result a 0
index 0b8a5941a90343b8b343ea698752f91ad403cd47..448ee6c4abe6625072817567035bf02e109d045b 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file 4_P1(hlacg07).draw] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-007
+checkmaxtol result -tol 9.9999999999999995e-007
 checknbshapes result -shell 1
 checkfreebounds result 17
 checkfaults result a 0
index 98880c6934c480667f7195e1772976cab6fb457f..eddf79ed677b6994e29ee605830a87d86c91aec7 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file 4_Q1(hlacg08).draw] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-007
+checkmaxtol result -tol 9.9999999999999995e-007
 checknbshapes result -shell 1
 checkfreebounds result 14
 checkfaults result a 0
index 4889d5ce6ac7ae1b170fa58ace0087de017f2949..b2bd7d823ac772a59e0df9ca648e3d0bad9e0db5 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_indushei.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-007
+checkmaxtol result -tol 9.9999999999999995e-007
 checknbshapes result -shell 1
 checkfreebounds result 15
 checkfaults result a 0
index 17d2101a91a9642dd186760b475002f51f202e9f..ed604fc8efc9136d257ade6a8ce9dd69cadd7415 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_indushej.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.014670260636369852
+checkmaxtol result -tol 0.014670260636369852
 checknbshapes result -shell 1
 checkfreebounds result 26
 checkfaults result a 0
index 9509d8c2d4a81049c5aab5909aed9fb7c7f46ba7..0cd0002e86995d54002723831acc8e14843e1360 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_indushek.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-007
+checkmaxtol result -tol 9.9999999999999995e-007
 checknbshapes result -shell 1
 checkfreebounds result 46
 checkfaults result a 0
index cd1d6e4871e6e48e477c7b020c1ac8f741695033..e12214f95e333b3c2b16a2eede5f1520adfaf4d0 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_indushel.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-007
+checkmaxtol result -tol 9.9999999999999995e-007
 checknbshapes result -shell 1
 checkfreebounds result 11
 checkfaults result a 0
index 4c1684e4969de7495efa2c34194c110d4ee46f30..e16b8355111e8bb1190369b1e3bbb6d3f5d31e39 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_indushem.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-007
+checkmaxtol result -tol 9.9999999999999995e-007
 checknbshapes result -shell 1
 checkfreebounds result 8
 checkfaults result a 0
index 7a2e2590308ca5416d194c5d9d5b59c31e623f69..1d6b5ec5661b16cab858ae0f6ebf9c3fee74295e 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_indushen.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-007
+checkmaxtol result -tol 9.9999999999999995e-007
 checknbshapes result -shell 1
 checkfreebounds result 16
 checkfaults result a 0
index 1375f0a1733065df08b0bcac84c1f7ba51a553ca..7ae5e72b3518355b31650602ed0c8855e4ce99e4 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_indusheo.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-007
+checkmaxtol result -tol 9.9999999999999995e-007
 checknbshapes result -shell 1
 checkfreebounds result 14
 checkfaults result a 0
index b23ccb4090e7d22a82aa2837a523045922ae2725..da65f1c37f0e1883f9a296901da679ed02430297 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_indushep.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-007
+checkmaxtol result -tol 9.9999999999999995e-007
 checknbshapes result -shell 1
 checkfreebounds result 8
 checkfaults result a 0
index ec980d397dbf589a1315cab552ad3746c0e0b385..68e98e3ab5e0115b3140e7bd5ec3b3d96136884e 100644 (file)
@@ -5,7 +5,7 @@ restore [locate_data_file CCH_indusheq.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.014624921005106987
+checkmaxtol result -tol 0.014624921005106987
 checknbshapes result -shell 1
 checkfreebounds result 33
 checkfaults result a 2
index a826963d5914207170ba2aad3b24e9dc7467d686..dd076257281284e4eefcc332b9650ee18d645f1f 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_jyl1.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 8.0000000199999993e-006
+checkmaxtol result -tol 8.0000000199999993e-006
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 7c7c2f872a9560dbdf63bafeee2bf19d8ed80e80..be8459bb9e4521622a34abbec9a5221bed66cc14 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_jyl2.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 1299719c41d33e83e0e27d600b51df291a546aa8..50e1be8f8a3860370b80e8f02c1bcf47c0263a8b 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_osa__hfe.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.1596991692382498e-007
+checkmaxtol result -tol 9.1596991692382498e-007
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 936a1bc36d0a06e33554dc18a748d09dd14fca72..8559689979b615229447a02401f98ec28fe78885 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_propag.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 6.0000000000000002e-005
+checkmaxtol result -tol 6.0000000000000002e-005
 checknbshapes result -shell 1
 checkfreebounds result 7
 checkfaults result a 0
index 0eda7919d800f41bd25a29aa3239c885fc1c02e8..e1f4fda3ab2962542ce8aeba575764f5a419f950 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_r2.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 6.0000000000000002e-005
+checkmaxtol result -tol 6.0000000000000002e-005
 checknbshapes result -shell 1
 checkfreebounds result 7
 checkfaults result a 0
index e9da151cbe0d0fa96dff0bba007fa5ff241f7cf0..fc005f99dfd08de1c6e58f88d31b1df2b3531dba 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file 4_T1(shell).draw] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.0000000000000001e-005
+checkmaxtol result -tol 1.0000000000000001e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 5508dd948dd1013582ee5e8296b32b6d6a0f834e..13873571738cfbad218c7fc724cdf0f4d6f6cb57 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro12896b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 11a84b438d70f598f080165839e9db33d7f321bd..5cbec00a0b985c5decdecd0c130e1c836e638f93 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_testchet.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index f06a58c28bba009ca59c5f3e9e6ec1b63a5c3770..831d56a4e00ec7971cc378229f1539c23c69a543 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_testchex.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 606f116150fd630a9bf75ae2bfd712c065902184..f725d89185874949c7c6311db5d2df2f223a6085 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_testchey.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 6.4334572160106699e-005
+checkmaxtol result -tol 6.4334572160106699e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 8577fce99ffb45ee18ad72e081c7c75495f8b720..2259e21ffd958c74b2f225e69477aaf9528732d2 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_testchfc.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.012181724668586099
+checkmaxtol result -tol 0.012181724668586099
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 5cca8ab9f8f8c915cb1feeabd701579db6dd107f..07ff709d9fbf85735a4651a6e43596d7d9e470ed 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_testkhes.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 8
 checkfaults result a 0
index 38cb983836a34260c1169badde528db19781c363..6bb5108e54daa58a1d35383f440fd7f127872a73 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCH_testsheu.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index f74510b4efb94141671690c06dc956ad907ebc87..3202804b392c9230e3ffd3c71a5b59d4cd7aaf30 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCI60005.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.122091641974009
+checkmaxtol result -tol 0.122091641974009
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 777629703f13e1b657e462a9684f61e190f969e9..3fc979eae50ac52a6e1fe580df806cf992553959 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCV_1_a12gsd.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index de60c29fc4b2e0d4c5d709e641ce59a6407febbf..479fc59e67088b6de1814aaacb52673900b96683 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCV_1_c12gsf.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 3.0000002000000001e-007
+checkmaxtol result -tol 3.0000002000000001e-007
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index f498776b93c7e907b4680d1720163815bca3bdf6..762a0b75f0579f362b49edc2249619a667484a42 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCV_1_d12gsg.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.000000002e-005
+checkmaxtol result -tol 1.000000002e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 290bc7e163219d6dcd440a8e2e50e27c9630a5f1..ca28339e2c0f0525f24c9ac2128210537c67d982 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCV_1_e12gsh.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.200000002e-005
+checkmaxtol result -tol 1.200000002e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 0860a756e56f6f95811825103445fa72055c1e77..7898590145a95382834ede7b0f341891152e3575 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCV_1_f1_gsi.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index b28965a92d535448eb5169ec519f080f8c04e591..9ca8571cd9e8f4ff67b7861b49ca70308e642dba 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCV_1_g1_gsj.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.000000002e-005
+checkmaxtol result -tol 1.000000002e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 35c914a140c9870ab9bc925512082d6cbe015c71..80ab92f843e83e0d8f9e399c36b0815af7f91544 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCV_1_h1_gsk.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.200000002e-005
+checkmaxtol result -tol 1.200000002e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 13b1c2f8750490b45de4ac0adf80085444f815d8..26eb7b6656a05abbf2a57f46d62a970fe8085f76 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCV_1_i12gsl.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 9de6a83fd1ef3f0c877446c0aa03f29f80b3fb49..f62e4b69960e0525c4f76c51686a10427d7f2902 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCV_1_j1_gsm.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index e81a3aa24d87c3b7e1316288116108a267dc35ac..ea6dc40ebf6e63ec800973626705399e8766da20 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCV_1_k1_gsn.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 2.0000000020000001e-005
+checkmaxtol result -tol 2.0000000020000001e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 6c057d77daea46505bc96dfe82fcfec16ae50f35..4b341f2f1d8d7e3d49baafbc3e7d21dddf8b25e8 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCV_1_l1_gso.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index fa9f1973137c564542d1548ef95ab4df51047967..81785b046089c1f355209998ce591600454e6a89 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCV_1_m12gsp.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.0000000000000001e-005
+checkmaxtol result -tol 1.0000000000000001e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 73e76498356c3841a07e755ff2d189ecd7c10631..3b10450825104d7d2357023ccfe72900817d7ed7 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCV_1_n12gsq.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 16fb6014d284617ec94d4c9ecab610be11b6a577..ccd323c3282d2d4291fd3854ed067de8ab55a857 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCV_1_o12gsr.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 0c75f05eb33627c7ffe6b77929200a1e4eb46d89..f32d17993fce7f861c5fadaad48863f1300596a3 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCV_1_r1_gss.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 2.02e-005
+checkmaxtol result -tol 2.02e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 76b42f24c837c7af2f8ef9f31529587e58a76adf..1b23902c0ca051c652eaef853934f3c468e7cf63 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCV_2_a1_gst.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.000000002e-005
+checkmaxtol result -tol 1.000000002e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 8305180f03aea2d495eb7e0eac0fa7e4ef98a681..de9203bd4f3bae97538f62a2690966434553a772 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCV_2_b1_gsu.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00233614571364717
+checkmaxtol result -tol 0.00233614571364717
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 112fe3acab481c8e090ba2b7112fa08c6f96115a..9044706d1689d9333bce1e24cc0a9b45917bbab6 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCV_2_c1_gsv.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 4afe6a9d5e3494493115cfdbf19ce71fd83adf4a..7436158cda0f8a698f43799252f9921065792849 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCV_2_d1_gsw.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0114942566417353
+checkmaxtol result -tol 0.0114942566417353
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index f6ca70801015d53357439c894ddde2404e4bafba..9d5633e05e093fe3de621fb8b47b91d23090069f 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCV_2_e1_gsx.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.200000002e-005
+checkmaxtol result -tol 1.200000002e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 7f8cd4b68c3527ec455859cb6ae19ed74e14d684..15a0b1dd335b3112549ac60b0884acef79088be3 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCV_2_f1_gsy.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.000000002e-005
+checkmaxtol result -tol 1.000000002e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 96cc9a1d247fa2263522283d375b7035b8219196..42fd58c04dd16c0fcff1c2f293208079e234009e 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCV_2_g1_gsz.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.500000002e-005
+checkmaxtol result -tol 1.500000002e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 0ce2003ca60ab620e9789159ab850ecdd6486def..34b12f7ac33d697361d5715108b44dfe96cff959 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCV_2_h1_gta.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.7996370773212498e-005
+checkmaxtol result -tol 1.7996370773212498e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index ad4741752df86842a651d6efeedfb040f0864c7b..5bdda1d6e576cb5f373ec5209626db46a50caaca 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCV_2_i1_gtb.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 11.7707435016017
+checkmaxtol result -tol 11.7707435016017
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index a923ffe981ba929b00712c39f9f5f54498529542..5ee43b7228f39cab9364be6b4bdaab5c249c0d80 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CCV_2_i2_gtc.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 11.7707435016017
+checkmaxtol result -tol 11.7707435016017
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 88bb5b48d8459cbc84b1e8e52007c3852e524385..aabc94cee447383163fe02dc8bd760342fcdbdb2 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro12896a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.000113170243210908
+checkmaxtol result -tol 0.000113170243210908
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 5e918e950dfbdd6fabe2861d637b8549a4e64c94..9b19885c7cbc2b2b691d177e7ab394c0994ecc0f 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro12880c.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0100725221676937
+checkmaxtol result -tol 0.0100725221676937
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index fc3b7f2651c3f5af246f8f1ed3633c27685effcf..66c79dceb0ce1dc1790d68c17f68e7cf51e4338c 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro12696b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 661c8ce511f38005d28a4d990e9c761970eba734..935d1133c5c9938c9b694c25486a315961435c2a 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro12696a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 6a08b20f65f43f712c26cb3cf3ef699170e398db..2b187ceccf376968c95a5b9d8771bb5b099b6ddc 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro12695b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 01ec0362a7b44abb0c81cc7c3e24d6f5dd1db2f2..d3b58221e597c4021a74392b09f3e9de75225f89 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CDA900_pro10142.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00022110000001999999
+checkmaxtol result -tol 0.00022110000001999999
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index dddb8e911e40949f336017a721269e93bb96ba8a..d8d0c58fab863dcbf8ff2fa7a147409e914efdb0 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro12695a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 5e4cead6e4ee17ca8b9db684e0f89767eebb6e31..3cfe4ee23592c42f0f2d441dd46f1e433fc8f457 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_cts20gaj.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 42e1befa3f7403fff1a26e14d48d93d1de64bb83..b5a57a9e9fa091121ae1eb161500317c981d8d4e 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro12660a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index dcfa3eae49a8e8bb21d1f3f4519ed84e1eb0b3bc..1099308ec2a9ce3d7e1664f386d6edc19d58cdb3 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file cts20170_base.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index d03e3b5da388f273e15d7bb92bf2767c01c4d0f9..87f158093532151491bc19c1573b6c37df007cd9 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro12559b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 395c8508667b0266a492461683fb00f852da077a..34afd623c68583aa2b0aea95fccf23e0f1c29247 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_cts20gan.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 4c1041f1cfb60a41235ec2e927b3f42775f7bb69..317e91cabf51da6f7aa4a2b588836aae4cca04c3 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_cts20gap.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.08239222029239e-006
+checkmaxtol result -tol 1.08239222029239e-006
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index b03a4402420574b7e3d411de9dd6c6abddb7a861..e54db0a5e2755c21fe3fe604512fdbbeeb17b036 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro12559a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index ad49a89208fdd859937b18e5d61fea423567c671..bee7f096e40dd5cf5b1708b9637f54441f0e65cd 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro11828-tool.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index f9c75c297855bc7198e53959eba947b326cb26b8..a91dcbef059ca580cbc64b8d5875fa86cb3c95cc 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_cts20gat.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 2c7bb4a40453c60f8d4026ba17f44df5056d9cb4..6fc2b230c13fb78b414df7627ae9830b890e7d84 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro11828-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0046110822398496704
+checkmaxtol result -tol 0.0046110822398496704
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 3e3b8b0e71eb9e08badcab0bb7bd9ca52f2cf36f..5b1247e14b26ae13b7e73cda8aa7ab356364846f 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_cts20gbj.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 497b06e444d1e3e609e3b03075ae198192b62c85..db54cd13a1014610b60ba81e0108dba9a51b15a8 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_cts20gbk.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 5.98000000519996e-005
+checkmaxtol result -tol 5.98000000519996e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 3876040855a63d1faf530f74a60cd7ac86a86e43..a948fb081e1f84448b7bfa260bc3083622ca2cf2 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro11172b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index cb21ef6b999345f2395a630b9cb4c739e584c363..cb39a43cb4bcabb717d9b759e848f22749c7b6a1 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro11172a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 9070a753b71aaaac5c8b482ce8fdcb460d28e899..d5ea24a2073035e03651d956d2d84e54c1091863 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro10658a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index b7dab27f4b663c215c819b0d227fffa76e014424..b77950cfdcfb875ab40a246bf0fda005f1f135ff 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro10494c.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 3b6e58a10ec1457ebf00ea64b03f9f1684e138ce..582253aecc5100a1eb89301931d1348cd5f728bd 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro10494b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 53be7e22c7863b7f5bf7ec58c7eb5df5e394b73f..101f821f8231244858d40ddbb55cbb5438142e60 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_cts20gcu.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 8.0000000199999993e-006
+checkmaxtol result -tol 8.0000000199999993e-006
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 26ecdf386596e35c47b404c6e753fefb311495f9..0ac5416b8bf9d961aff435e3eec4490b89258864 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CHE_bb14.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index cbcad02787053d9d2e05eade872ed076741e91a5..1b5cf4627f9b132ff062249449673e8fc96b0393 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CHE_bb15.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 6603736a45379582c27b6ee597fd9897cc4b1221..38486e7b50bf3596a0d1ab950aee9a7bc11294d8 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_cts20gdi.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 4.9999999999999998e-007
+checkmaxtol result -tol 4.9999999999999998e-007
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 22fec0650ce0eeaf3d50039f378f88d2a4f64ef7..b4b0d1f237e6ee6fc68495cc90e154fd3cfcf735 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CHE_bb17.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index b74289dcdc398b1fc74122720ca8c732d76c791b..01dd020883878c2b0484427d3328ab2d3ccfd963 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_cts20gdx.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00017424461414289899
+checkmaxtol result -tol 0.00017424461414289899
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 2550ad30330416cc811063911d45b570f16c49b6..ad13e17384c3826139d7edd95e30d1ae05f40aff 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CHE_bb2.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 98e92e07102fc36a8dd0a317054c54032020d338..d08a2715862d1d686a0961120881eacdc45bb20d 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_cts20geb.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.460000002e-005
+checkmaxtol result -tol 1.460000002e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 8a47aa3c4584b641767081d23202595676744195..01689e62c711080c9d89ef49fb6d3c963f243705 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CHE_bb20.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 046314ed6d6358b0dcc77b4d447c644b7192dc23..9781e65b1038dde284c3e3d7cd78afec3c949b39 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_cts20gef.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 2.0400000000400001e-005
+checkmaxtol result -tol 2.0400000000400001e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 171c9240bb9bda126e26401e943335db41d5b562..ab67bf3058564db7dc6c7cfa3d5a58936e4604cf 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CHE_bb26.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 514c96b11c039d6da91967446a8398a6b7cf31a4..8576f50ebfdfe428f944d1855e9a8db6afbcfa38 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_cts20geh.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index be90fbe0a941aaa196ece415d28b2098e0a1e29d..02f0587769e3d5cffcda7928745352d4849e2bb4 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CHE_bb60.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index a38f1f6c34ffc24451eec06c1593dfcdd86d2f36..967235b4ff6dcada6a4f41cfefd1504317b5ab46 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file cts20721_base.brep] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 7d08218b78e0444106037b387ade95982b6b4541..8e419667ac8717009b3f01846c37d305f446a10c 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CHE_bb9.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index db93e72f2af50b91ca7d51c6f50da6d21199492a..aa7d7d6e6fec26ecd85169c98c68889fcd46e5b2 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CHE_borne.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 9dedfcca6240a193e08928671a6ad47aa439fb30..695ae7cd56e36a72e2f2b4801a55c0099ca84dfe 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_cts20gem.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 652fe1536355a3e6259414b62e17c4d7e0907f59..8edd1ace138e31af5f181e08c901cb1622da157b 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN001_a17.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index bbac59ecb9b531ff06d91ef8310dfdb487a4bd9e..e2eec4f9e5fe527a6831652e452748819c7332f9 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_cts20geo.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.000773943070058072
+checkmaxtol result -tol 0.000773943070058072
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index ec0472e1aa92d26744147f0ae019ed87563784bb..d27f09b6448e09aa2199cbb443a47cded8c59dfd 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN001_a5.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 3ebca4d5b9a583b22a8e90e74667e406648115e1..846e1ab1c860d9b798f78d075e14f22d648648ea 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_cts20geq.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00018148222616289899
+checkmaxtol result -tol 0.00018148222616289899
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 163c6a2e8fe58e18f324039d5268c95ab233ac2b..00a133b9b5343d6735e08dde604029ad386436ff 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN001_b35.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 3.00000e-003
+checkmaxtol result -tol 3.00000e-003
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 5f0e9e02950f30e251d19eff4bba9f03cb1f45b2..4efef232c4a7c36d62da1a833579ea2a02048ea5 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_cts21gbs.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index b9b16c1f1d83773b73c36e61753a2597bb7b8479..a6fab616c54a2ae0812390888bd1814e82116117 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN001_b45.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 41836eb233b6e50f95997b1d696e7225085a542a..ebad699cdc62aca9a1949d652c8057ac49c88e07 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN001_b5.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 969af42064772e056b1b85a8b88ab10dd988fd0f..7b4ebc9539ab75dd683b69e920f579c9172687c6 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_cts21gdm.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index de17c16530cb3cf78a8d6804b56faae2cd329688..db3aedddad71aca8b51b303720532c6ee7ddb2da 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN001_b63.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index a90e1a25c3558e1379e355bfdd5e04215207403b..1b193ceba69c8589289aa190192f0d58d81c33a3 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_cts21gds.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.015003422853356201
+checkmaxtol result -tol 0.015003422853356201
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 51cb22e604d9467acec3be6c5459ae5d9b3dc659..9f4f8952ad549c52e57f827016975d8bbcc9b7ee 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN001_b70.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 8306ae669420072da7dafe53319df2752398fc40..dbb3dcf402d9c3c8fc18aa2f7c1cb5a26fd43c5f 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_cts21ges.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00061213387314675905
+checkmaxtol result -tol 0.00061213387314675905
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index efa430dd8fd8e4facca7080445854d97821e591e..5c124b1180a6a9e102b994ba67e9821f7477614a 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_cts21gev.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0053719719549660599
+checkmaxtol result -tol 0.0053719719549660599
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 556622a195505a653f35cbf26048279f44fcbd1a..61e088de918242aa727f16a5bc4344e3daecfaba 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN900_buc60204.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.10000000000000001
+checkmaxtol result -tol 0.10000000000000001
 checknbshapes result -shell 1
 checkfreebounds result 24
 checkfaults result a 0
index 27b022fab76ed275600eaada2df1c709df8db233..e327bf1ad7697cdc31c5296740cb8c536454dadb 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CNP001_projoiei.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0011000000000000001
+checkmaxtol result -tol 0.0011000000000000001
 checknbshapes result -shell 1
 checkfreebounds result 12
 checkfaults result a 0
index b47922de478b384ede5185b109bdf4ec71cedff8..c0bed45b866ada7eb1111b787ce7d762ad56a70e 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_ger60gbb.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index f845af935da01b03e0c005330b684214d07698a5..bed1ab708b8f84a0a1b0992032e6978332d93ba8 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900__box100mm_dsg3.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 8bc40bd77ca6990bef842acb44d272ddda5567ea..0e698c0f5f8b89edb9b0a6d7a8ab598ec728bccc 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_buc60127-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.0000000000000001e-005
+checkmaxtol result -tol 1.0000000000000001e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 2948dfe94e12ab61f00226142b32b42f25858bd6..ebca026b15bc9546cf1258d7649a74d7a596238b 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_ger60gdc.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.98999977111814e-007
+checkmaxtol result -tol 1.98999977111814e-007
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 25b6fcfbbedfa7c9a8149131dabce1183d0945d6..b40c936ebb24745cedfdbb90b7e4e23c9fa4b85d 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_buc60219b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 4.2400000199999997e-006
+checkmaxtol result -tol 4.2400000199999997e-006
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 4a56a22a517238e049c62c22bfc8c33675c6cdf1..16860991212cc8edcef37325f85e08f72d431e05 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_ger60gfo.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0016162494420750701
+checkmaxtol result -tol 0.0016162494420750701
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index c50fd589a0189ec24c2df568ef20866fa5a9970b..27732a88009c7db5c34f58f6dd4a4de2ad6c8924 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_cts16184a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 3ba75a0537884541a27d865946f33375aee51007..c288d7181a3484a50277b45935e10174dc5b987a 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_hkg60gcr.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index b69ec1902488f6570d3f81b7d970ff96ebdb96f5..8c4e7ecbac2d457204810959dbccb17534f5769c 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_cts17861a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.0000000000000001e-005
+checkmaxtol result -tol 1.0000000000000001e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 3bd0e2e06a3845f4629530ee71bf1d46eec41854..1aca39b908bdd2bd0752a1b89b84fa060464fdca 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_id160gdu.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00025956060366290801
+checkmaxtol result -tol 0.00025956060366290801
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index e01f02b05c00a07b73e462bcc25e5725f31cdba5..d88072b96a9b037b43b24ab23ad09fdc6b477b23 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_cts18140-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.8756782248597201e-005
+checkmaxtol result -tol 1.8756782248597201e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 400d8c365015a25fae284c4dfda9d5f84467735f..816a8eb8df12ca8d4fdb6731e8d561213c6365b7 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_cts18140-tool.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 769d7d80cff8248ae97f9734011958d334d52d58..81fcd5a5e72cbc94a74842ac4d6161532b8aaa36 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_id260gao.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 5.07875742322483e-005
+checkmaxtol result -tol 5.07875742322483e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 7aa322c60b796c8143ead053ca5d1ad274b430e2..7e090ea8454dae40b8c9a96ffb8db8e384845b13 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_cts18754-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 9d3d870d2565142c01c57d57fec19d972a5850fd..ef14cd07ec4efc985c68c469ab5f7a005aa2b0f6 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_cts19305-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 2.79910948145135e-005
+checkmaxtol result -tol 2.79910948145135e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index defecafebc98b2ad3bd233d05a9da21eb8a37439..b71cb105ea714e5dad0dbfdc7000efbb6a9d5872 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_cts19305-tool.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 7a1ced6db703e8924923d30b6b4d852477d8539c..d5da053bcce9159851dbcf9165caced4efb97e7d 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_pro13gcc.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 90c605d6730a2cd2d963bb3a64c8a68431512f67..871fc97a4c488955c2905306c129437fb8105bb6 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_pro13gey.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index fe343f259d8980ba7fce865b0fd1f9f1e34f4d79..23e38ee6ae8e685f7c731ecfeb55f21f5482db4a 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_cts19485-tool.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 38a4520a80fcffbc5cca966aa8eebd9ebcee42e4..a188aaafd8ff956de52f9450ef3dd69eab41bf5a 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_pro13gfe.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 9bc1e98eafaaf8b25bb9d946edbd99590bf7b65e..609c016a61413a935ce9dcc159f71344b1adfec4 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_pro14gcf.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.000783731191168587
+checkmaxtol result -tol 0.000783731191168587
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 17a3c775f54b6edaed5b29e61a04217ef21e6d81..c29f83d78533017656b3fba312a0c22a9bfa96a7 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_pro15gcj.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00097460307082579899
+checkmaxtol result -tol 0.00097460307082579899
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index f2f6390e477eae2f1d35b3a57362a298eafb314e..7f896a0f63a8c392024f01039549f5ba98b1fd83 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_pro16gdo.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00097460307039443702
+checkmaxtol result -tol 0.00097460307039443702
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 9a45d213907aac8c16e9ad7c5d1a8a6f002b2258..8bc7bd8c4c35d5338c583d9f6c1dc7e2b5efa236 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_pro16gff.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 197be1d31ca9623fff33537d339f7be590cd7cf0..8af091edb90319251f57a8c510f82703663856ac 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_cts20072a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 7eb539d81e33cb269a609c4e8d2258590e6ca07c..ef00f949300930ad41d122b8a3c172c3c40341d7 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_pro16gfj.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 7.0000000200000004e-006
+checkmaxtol result -tol 7.0000000200000004e-006
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 88c89d718f8de1479ab95b79525c680fb1951d9a..3d8705e45c5f080b8a5b5ba7395f5e6823ab413e 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_uki60gfk.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.023145757709830499
+checkmaxtol result -tol 0.023145757709830499
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 626415506f4d173874b7f40b050e709a06154d09..3a63604f67c6753ec4f21f58049b07306d140c64 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE901_cts20gfp.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index d53f8001fbf5d426fd17bedda913b118a9b7695d..e657425a91b990221ea134ab8c59e142ac220db7 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE901_cts20gfr.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.000773943070058072
+checkmaxtol result -tol 0.000773943070058072
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 7edf59ab58c43fda0679afe804fea8e5bbd63eaa..1e9191e22309ec3539b9fe6d13c047b7ce8fa55d 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_ger60065-tool.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index e9be42e92ac88d2c7a3c58e2e623ca3714547418..1ebfb87651ba70c1e7e743958034c9a9e5a393f9 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE901_cts21gft.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00031558263573761599
+checkmaxtol result -tol 0.00031558263573761599
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 9ee69bc0e845af1d45afa7281c78187d3db275db..6afafc93adace565412e4d9e4c4887004c0f5587 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_ger60224d.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index efee2ae3f3e93ab1b30485b06f7ba24d4bf08157..e53e51ab9166c0461c1a06d0ee43da5483be300c 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE901_cts21ggb.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00031558263573761599
+checkmaxtol result -tol 0.00031558263573761599
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 89aff87319013641d6a9083345aea878b1b11f07..e7745350ebe26d87601459b34d0591e1a2b0fbec 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_hkg60163d.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 14f18768abcd445e58e8c7a8e9fd2340135638c7..0a86e1c73b2f9f256a54921e53187ad18a53a9bd 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE902_cts20ggk.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00025231630025635899
+checkmaxtol result -tol 0.00025231630025635899
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index c0968517ab6dc44ace7f71516ada0e23897b9447..1444b4676300d5408c3660aee8ac2335c5e0fdc2 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_jap60038-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 7a51992b1f67357d77dd49103578152ecada3ed6..dc001fe5de7e3ae0ef136fcecb90c0e1f721aed6 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE902_cts21ggm.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 85ab7c46f0a3235b5429e66fc4e1610f77954be5..e06f1c8e49d659ef54985de4b6fe08f80fb61620 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE902_ger60ggo.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index ff104dbef545f3cb6841df3e09c424e928b8dbe0..b76e2802ddbd15c089194e52178b3cdc8b1eb377 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_ksi0014a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 88606a5e1394223d3a6ccf74e86957fadc70d166..bef40c8db0ca69659c5acf75861298e14d9c251e 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE903_cts20ggq.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0011889853520389601
+checkmaxtol result -tol 0.0011889853520389601
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 73a0c3abaf4ac776a88907f4a0213877150d113a..452e0c6e10362449d6be654e83b12c63189346bc 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE903_cts20ghb.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.119903315235504
+checkmaxtol result -tol 0.119903315235504
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 3dec379bf985f2696563b0d18185f30c49690a09..a7f0c9af179de016755abddd375f589c863d7bc0 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE903_cts21ggr.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 7.4129846459554597e-005
+checkmaxtol result -tol 7.4129846459554597e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index e4cd2ed3c5c82660ea986ae2b4ef00dcb629dd64..b2bf6300f9d2a307aaabe726083c1587464a8441 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE903_cts21ggs.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.000122107904793535
+checkmaxtol result -tol 0.000122107904793535
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index f66953a307c174fd43fe4ea3f40fc8c4761421dc..fb26b424d4fc498d0dfd95cf1cc9f6ee47d27138 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE903_cts21ggu.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 6.2894351252427993e-005
+checkmaxtol result -tol 6.2894351252427993e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 20716d9561a6611d9b9e5c51b4b822ebfcdc158d..2d360921cc5bcbeeb2f592462092fcf7e3aed029 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE903_cts21ggv.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.346612137892993
+checkmaxtol result -tol 0.346612137892993
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 4e9580509a64e9ec38e4af4bfa9f18cb16189d8f..0eb7626b27647f4f7ab0359a36423752f6632f5b 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE903_ger60ggw.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 6.4716836571128103e-007
+checkmaxtol result -tol 6.4716836571128103e-007
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 03b1f98ee1af5f80efcc45b710fbb502c1e3abb4..82a03a08b76c1d00d25b8d52fc129e9a3188df1c 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE903_pro12ggx.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0100725221676937
+checkmaxtol result -tol 0.0100725221676937
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 324681f754f3a9beb11a431477923281c3e4b2b0..846b1619bd1f7c3faf12779ef94ebc4eaf4d63a8 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE903_pro13ggy.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 9731de3833bc3d1121c23af8664441fb86bb7ad8..7ebbbbd7a8e2a4e1b6d806d0b26608330872c2b6 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE903_pro16ggt.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 36f0fa7a257570e981f84894543596e665fcc926..155ee2240592febbd1e1afd328c12e89197285e4 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE903_pro16ggz.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 2.1242185303116601e-007
+checkmaxtol result -tol 2.1242185303116601e-007
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 11e6d4a0731b385ee287d486fa90d87702ce2829..140c438b515764acf09062c2c3d594f6b1e2a136 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE903_pro16gha.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.6601833317536698e-005
+checkmaxtol result -tol 1.6601833317536698e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 2d70c6641a02b74ffe17e49a997925a3c9d541e2..8c29eb02cf7e39e82ead908cc68f90dccb1c59ec 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE_diamagaa.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.1000000000000001e-007
+checkmaxtol result -tol 1.1000000000000001e-007
 checknbshapes result -shell 1
 checkfreebounds result 6
 checkfaults result a 0
index 3eb4ae130ef8c408f4641551f626ce9fe2c0d65f..652e0cc3de444065be5bfe7df358e83bab48ce28 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE_diamant.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.1000000000000001e-007
+checkmaxtol result -tol 1.1000000000000001e-007
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 0731cfe319c9b8cd9734b75b02ea44e12022ff91..41edd980ecd08f6caab9623dceb8d0b91535f619 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE_e_coufzw.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index fd3367645c4cc02e3aa0b88bea6209985f5e28f7..5cbe84cfa6fe2209b9314a0f349027e3342a8e9b 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE_e_lonfzx.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index dd18454b2dcfbd1bc2b7da50740597f0b8e95767..fadbcb16ed5afe1c5ab993a750e1d6ccc1003e16 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE_shapegae.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00016252800298968801
+checkmaxtol result -tol 0.00016252800298968801
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index c41f055c96d38feb252828e7c18faddd80228dab..68df25988fdb3171a8e72a12c13dfed5a9c478dc 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI901_congefjw.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0011000000000000001
+checkmaxtol result -tol 0.0011000000000000001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 1f80d1933cdc5a8ab862af72b4937706c3936da0..9b54ad0c6d11430dc744e89f519e3a03ecf195f2 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI901_congefjx.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0011000000000000001
+checkmaxtol result -tol 0.0011000000000000001
 checknbshapes result -shell 1
 checkfreebounds result 6
 checkfaults result a 0
index 16be549a594c04f8e7900baa3f6e04af3b90c180..9291d9fe3ecd6b68d967ca34e33f9db597550f8f 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI901_congefjy.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0011000000000000001
+checkmaxtol result -tol 0.0011000000000000001
 checknbshapes result -shell 1
 checkfreebounds result 13
 checkfaults result a 0
index 4e6074b7f662b879985695706067214bb3fbc507..703a5594e0a7fdc7ef7065f80db31fe40d3ec11d 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI901_congefka.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0011000000000000001
+checkmaxtol result -tol 0.0011000000000000001
 checknbshapes result -shell 1
 checkfreebounds result 17
 checkfaults result a 0
index 0a5d77d59620ac0c53b692ef2ffa967d4212d7c2..2cea9c3c73a32bc40bf68fb56bbf9493b31f0f94 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI901_congefkb.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0011000000000000001
+checkmaxtol result -tol 0.0011000000000000001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 8b5b2f8788617b9c6b3d0860a2035d6054b320f3..50edb904ce43ac1b26e229f44eb3a25a71307a8e 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI901_congefkc.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0011000000000000001
+checkmaxtol result -tol 0.0011000000000000001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 7beaeb28723e1abd60ccf220326aa114864587ac..e20ec6badafaca1d5a15206205ac5a8681bc6964 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI901_congefke.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0011000000000000001
+checkmaxtol result -tol 0.0011000000000000001
 checknbshapes result -shell 1
 checkfreebounds result 6
 checkfaults result a 0
index 55d3355b0b6ef6edc1f1c84f700cf3878e70671d..1804c9e92a3b349316c2102b3957cf86fcff562d 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_11_b1fey.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index ab6bc9b262f7842a95c4254337cca86ee9ad8ccb..83792c8606d87ef2a3b158ba7d3b5dd462498e0b 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_11_b2fez.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.017599398665274602
+checkmaxtol result -tol 0.017599398665274602
 checknbshapes result -shell 1
 checkfreebounds result 8
 checkfaults result a 0
index 0b04cba3ed48bedb8981300953d954887f3b6e88..89798c11fccb4989f948e5ac6be5ba7f588773d2 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_11_c1ffa.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.0127851700922299e-005
+checkmaxtol result -tol 1.0127851700922299e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 108626367140d8462df5a824d9f636f7c0425ac1..ce688ed5fcf529da24de5a0b475a9d154e93fbd7 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_11_d1ffc.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 36db9bd260ef94fb6cbf3764e4d9f47575bf4bd8..e569d95d6f52298d3dc8d988dadd2185c29ad6e6 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_11_d2ffd.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.001
+checkmaxtol result -tol 0.001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 271586d684bb985ea599b2f5e662e34de6cd44fe..5b5460ede5cffbcbf9ac04f900d5d1c9cb36f52e 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_11_f1ffg.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0054801324024013904
+checkmaxtol result -tol 0.0054801324024013904
 checknbshapes result -shell 1
 checkfreebounds result 8
 checkfaults result a 0
index 610738fbedbd6dcf0961115ac1a4a9d11f79a918..dab3edcde348a0cf8e8ae66e57ec91845de365f1 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_11_f2ffh.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.001
+checkmaxtol result -tol 0.001
 checknbshapes result -shell 1
 checkfreebounds result 12
 checkfaults result a 0
index 9f7223453a1d514b005553e0cd7e918c1c383ddd..e8bc7b997d19ecae2567b4c175ac5473c5c666ca 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_13_d1ffl.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00061949121084422902
+checkmaxtol result -tol 0.00061949121084422902
 checknbshapes result -shell 1
 checkfreebounds result 9
 checkfaults result a 0
index 1ebe931d0b6e9c115e05658aad2988f1d1ee283a..90eec84772d8a172b08d95e676dfab0141b4cd7e 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_13_h1ffp.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 2.6929942488295899e-007
+checkmaxtol result -tol 2.6929942488295899e-007
 checknbshapes result -shell 1
 checkfreebounds result 12
 checkfaults result a 0
index 33abfe2c233d0653605eaf0c010951d65b6e75a3..55c84f15034c35f214c0a825fac296b95ec169af 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_2_o12ffq.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index ba4aa7ff7c1184e0196accbdae1f762302ec724e..a04c5280704bc39978d1488a9134f19c864ed288 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_4_f1_ffs.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 81cc2308458061a70488f2498c9ba0ee6ddba0c2..5373aa0d8f25e734cb25d39319434937a112cd51 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file 4_G1(test22).draw] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.001
+checkmaxtol result -tol 0.001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 14fa76e21537e44a3b5b8382840b7492ba68c3fb..8875a5892956b46e7766f0befbaa019c4bc619b4 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_4_h1_ffu.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00050000002000000004
+checkmaxtol result -tol 0.00050000002000000004
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 6cfe2848d4abf5b5754e32ce0fcd0f01fa2cd6cf..d9eb1f39e6ec0cc1efe830a67a3dc848cb73710f 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_4_j1_ffv.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index fae0cf5147fd2b9c36445919d3db77ff6ccb9b75..306b6d6cfe5c47a6beff70d6baa4468d4dc6d5bf 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_5_b12fgg.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 8
 checkfaults result a 0
index 0cd4465730957db49ddb5e1d389d9c4bcd03864a..8f18c2a4426c38bc2b9d63c7ec23f0a26f71b576 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_5_c12fgh.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.001
+checkmaxtol result -tol 0.001
 checknbshapes result -shell 1
 checkfreebounds result 9
 checkfaults result a 0
index 8f447ffef785dc5f3ebd46758bb71f97ee97fc12..8389385e6b1d9ecf831b8457609ea9dc259dcd3e 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_5_d12fgi.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 5.02135090804588e-005
+checkmaxtol result -tol 5.02135090804588e-005
 checknbshapes result -shell 1
 checkfreebounds result 8
 checkfaults result a 0
index 6a2067a58b56db2d12d51c7bf8376cd169c92745..b5fa11b243dfa81fdbf7e674a5e23eb63e3aaae7 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_5_e12fgj.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 1e8c167e14e82cd18129d712b4859420feb8cd10..b5401afe3b1eed7d7cb5ff24f1f32a07aec2a907 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_5_f12fgk.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 10
 checkfaults result a 0
index 696aecd41d4e3889503db217a2463c0a8e312ff8..a1a4fb0c8fc27c62df95ebbfc137684d7f80172d 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_5_g12fgl.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00020000000000000001
+checkmaxtol result -tol 0.00020000000000000001
 checknbshapes result -shell 1
 checkfreebounds result 10
 checkfaults result a 0
index ee1b9e767eb2173eb39679d9bb680d5224a26173..834e0ec971d22decf0d639711d40e087a19a4401 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file PRO17826.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.016943835629063399
+checkmaxtol result -tol 0.016943835629063399
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 1f141c095ff6756e2c50288f335ad8124e875960..571f57a42987fdbf0a37635984d63aa0a1e32818 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file PRO8434.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.2131527945546401e-006
+checkmaxtol result -tol 1.2131527945546401e-006
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index c94db3793b0b18490057029028f4729f6c4557b8..f831a60767343cdb8eeed77941ac9f93737cd97b 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro12913b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 49cedec4f97410b64284ebfad3a4acc2491bd283..f59dd5dc9d9850dbea608e0b81c088c6a1b95e37 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro12953-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.3140772547215899e-005
+checkmaxtol result -tol 1.3140772547215899e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 3989e10de834bc8109c93d4f010558fc3bccee11..bb2bc253d526b628d2d6a9684aa19961a3105cfd 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro12953-tool.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index fec3b3319a059f0c1237ab7a9465d597d8375eaa..9e6d4a4e28ec38654971e3adb0065cb0d201eb9b 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro14240c.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00097562601414331103
+checkmaxtol result -tol 0.00097562601414331103
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 2de64dc6e2fe1e4dc882ad1464ba0dec949fd418..129f397ae46ad80f3e6a0384651dbb7bf335a4a3 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro14260c.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.000783731191168587
+checkmaxtol result -tol 0.000783731191168587
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 36931f2031092699a61dbfb852e1a715f5195368..21d03e0c045e9f7d587f8657ca96649918631212 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro14621d.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index f37e6761c3b97ecd1d619b92785e8e3701f3ad7a..2717b923975b663e22aa4eb0251b769370b07d1a 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro15323c.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-007
+checkmaxtol result -tol 9.9999999999999995e-007
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 90e1aa9cfa62585cc0a48393865b39639f34d27f..d2456e8daabfc9f26ff893bc7d0a135f83bd2bcd 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_cts60gdk.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.09999999999996e-007
+checkmaxtol result -tol 1.09999999999996e-007
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 292cf7c168ea60db12d4e88dcade01e098dd2042..805411daf689643f4ce82a18a03a6ca018f85358 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro5363_resultok_dsg3.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.0000000000000001e-005
+checkmaxtol result -tol 1.0000000000000001e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 6094ae4b3043e6e6688df6b9456459d9084f3fa8..6ceb4653a44bd161b7da6d3926afa1e2e3a94f38 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_fra61gcz.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index e6f7937d93bac07ffdebecb5b57fa1a58fa19962..d8126759f619dece3f58975f7ac0e42951ee2433 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro5363a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index ed418fd20cd83dfeb56c3b2a1a0cf2a8d87fab26..620dc0bbbfd135819eaf4f3715f0b799115cb732 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_fra61gdz.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index a8fbde565928b2bd98f95143a821aa6ab14e306c..6992dd89bfac7475a10b5aca5cd657ce17da650d 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro5363c.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index ddfe506ba4188016fbef2edd2cbf9647192ecc15..5a2653fbeb51875f97635015cd1362c3c423aa7c 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_pro16gdq.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.5000000019999998e-005
+checkmaxtol result -tol 9.5000000019999998e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 6092f36b9f066befadcfeb4b68e8270ad0629003..ac548e1496db055404553c6b449780961cd7cf4b 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro5363c_created_dsg3.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.0000000000000001e-005
+checkmaxtol result -tol 1.0000000000000001e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 4dd96772276d3c17832fabeb15037cc93f074121..67b33789ffdad80a99855757d598300dd3ce26cc 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO901_cts20216_outil.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 651f266ea0bb22c7524b71f8c06613efcf4be82a..11e8730b05dff0c04fa00b3805769f51d1a17a09 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO901_cts20222_base.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 5deb387a3f39b69d5365e58e983118b66093f0d7..5d289352d9508e1ed6aa07b36014e361723ff13a 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE901_cts19gge.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 850a973fe14c5beec704825358dd909edd008198..ae012c12f58156bfc4dcd865e11054a9436616f9 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO901_cts20222_outil.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 796890db3e607cdacd87f124166970d40cd88028..6535761bbef2cd5325fc67f8a8c851bdc06b4376 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20339a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 05adaa290051a65b420c8c2fa015d02b5485191f..3b05ca73eac9f0dfbf0b4a17fb184c90242918d2 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE901_cts21gfv.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 24d8300799f7de4a16e704a03a07cd87228491ce..232703f159344e0e9053b5bc5049bd81724bd6a8 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20339b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 42a2423f60b24780cf62ef70a3b4d714c3698dac..a9f651b5a2fa3ea0e43b43497c33c3aaf47b27df 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE901_cts21gfy.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index fc0e912d581ecfc28a46c8b17a49ab5ce6d9f5b7..85982bbc9a2b91ccb97ed9d1af6ca4dddd5cf02b 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20362-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 3df982ed4791bf372296a3286bd869fe02bd3126..3813769cf17eb98cc206112405cf7051f90cc019 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20397-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 0ca74b5ab86b0d0d16754fa2d06a621a50a39986..576d06435d05cd8703c41ea6a177d4d3a34c87a7 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20397-tool.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index c8d2b023a3cd01c5b7f9614b0f184ff410875bf5..06f6076101522a2d3b518082181124c4fcdbf222 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20452a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index ff12e0e9116a8749886c558ba41507930302f910..5abd07e122a9feb753ff655b51b7a94963bb9938 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20452b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index b8b1908ab4af2f7b661404dfd6c6bf650bfc6e59..99c90988c035fec722921bc7d03e9a92077096d0 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_pro14893a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 60754b400ee1145ea37ff9d2db06d363754940ce..12311dd6387a60c1528331572657c4cd0ea89194 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20453b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 5b8a78a68e46f9a3b004bcf1afe9955073872d66..99d74d04483aa96743e4b58f097965052c6a354c 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20454a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index ccfb99b57fd304bebc0b6f01782472f1d8370e77..18169c0ad840f11e7b4940fa9b0586e0eb7a95ed 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20455-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index d50990ff05e04330df0d1f2b4b9ac5048e5d8619..b5ab94d821934a9aa66ffe03e522aa089e107350 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20455-tool.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 6f3386378d55dd41aefed8e5f8b244b8a43b4bda..fa3b19b12c16eb1ab6a84be5c134e1d10b2febee 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20456a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 8.5607955932617102e-007
+checkmaxtol result -tol 8.5607955932617102e-007
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index e2fc2691f9356af4d2cdc4f3afc60ddcf39d0fff..d589cf3ed70c34ca4bc99f7c1e2312662816d516 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20456d.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 363653e80b166aa6399025791a8cc1b43fd898fd..e21fd13b47ed7aacb0da74bfd56fc90bbfdeb32a 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE_extrugab.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index cb21ef6b999345f2395a630b9cb4c739e584c363..cb39a43cb4bcabb717d9b759e848f22749c7b6a1 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro11172a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index af48295ea0cad6735efb93077c94d05e97c83813..4c4f22717e1511a3419f13e86b713bc9fb7bb2b0 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE_osa_sgad.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 81eeb7a5b95a6ca648f4231d7febd36aefc49b76..d47899a8526f0b15f4e355d4c5e2cecab61e716e 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20457a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index bebd39e6e2a93d0c8f5b6d6daa8ed315cfc402a1..389c7bd492a1667713ef7869ffac3c5e71821e59 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file pro15515_base.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 6f30222619606720f066cc80624b89d8335679a4..4d44ec39c272c37727c1f983f7235b2e87c6a37d 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI901_congefkd.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0011000000000000001
+checkmaxtol result -tol 0.0011000000000000001
 checknbshapes result -shell 1
 checkfreebounds result 12
 checkfaults result a 0
index afb4d179ebc62d309c2d5610624d2a4a85a5ae1c..a54aff2813ca572703d076c8e84a8ecd55a54f7e 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_11_a1few.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 8aa5d19cbef12a97f6b3564152262606e5398e90..fbed6d137c47b0912c08fcf2479176469306feed 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_11_a2fex.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00020000000000000001
+checkmaxtol result -tol 0.00020000000000000001
 checknbshapes result -shell 1
 checkfreebounds result 8
 checkfaults result a 0
index 96e025ea752437422a2ca3b2ac9c19314d3f3897..4ce760c9a27653a04b8f010ddfdaa5386334608a 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_11_c2ffb.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.001
+checkmaxtol result -tol 0.001
 checknbshapes result -shell 1
 checkfreebounds result 5
 checkfaults result a 0
index 4813182e3b927e64ec9e932a15cbc17796f551e8..06b9b638ae532b91f755b4c1582e1151acae9a79 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_11_e1ffe.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 4.9999999999999998e-007
+checkmaxtol result -tol 4.9999999999999998e-007
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 91d0a7031c7ed182afcc99f7f1d76e4951f4957b..d6aba4f6784a9d1678b40d2f3e3bbb5196fe7596 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_11_e2fff.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.001
+checkmaxtol result -tol 0.001
 checknbshapes result -shell 1
 checkfreebounds result 12
 checkfaults result a 0
index fe24968b78e27a2792180b1d56e3df7ff0cbd1d4..3e73fb5cb8944323cbb1232f6200184b5680542a 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_13_a1ffi.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 8
 checkfaults result a 0
index 5f590dffc720d16b9bd26391d8576ea7aaf9d6e3..f6e7ca088749c4413ad7dc892f1a136f854425d8 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_13_b1ffj.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00029999999999999997
+checkmaxtol result -tol 0.00029999999999999997
 checknbshapes result -shell 1
 checkfreebounds result 6
 checkfaults result a 0
index 75f40a86357194846c1294eefd5319b8c487725c..d7b11560f6628c30c48f077b8b7d4a81fcc1ba9b 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_13_c1ffk.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 4.9999999999999998e-007
+checkmaxtol result -tol 4.9999999999999998e-007
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index c709a08c809e3535abfd6abe4125e96a3ef38358..c239df446754d3e5b0dad3547792c427ab8c3710 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_13_e1ffm.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-007
+checkmaxtol result -tol 9.9999999999999995e-007
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 7997fc67cea4445cbfc995595cdba42c35b7236b..ab78fb5dbda3af8ff6dd516cf0a875ed97b869f6 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_13_f1ffn.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.001
+checkmaxtol result -tol 0.001
 checknbshapes result -shell 1
 checkfreebounds result 10
 checkfaults result a 0
index dd34fc34f9351116a13f0d9812b8df69490f3575..97952a653039da38838b5abd7c8304adeb11fc16 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_13_g1ffo.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index ad6579cbc0caecbf9deb882518dbcf2d920cc92c..63c2159dc5c171cc8975c57a54c5581587a0bdc6 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_4_e1_ffr.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00050000002000000004
+checkmaxtol result -tol 0.00050000002000000004
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 82eacdf4f60f03526ca4362ca0b9a84b0039e021..d7a7a3d9ed2e2ba5bbcc0125d21781662d841ef4 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_5_h12fgm.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 9556bcc6ffa228396e4fc47d5f9c745eb4fbd25f..04fcf8413d5c891c1594080871fd3c688a14432d 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_5_i12fgn.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index dc74f11797899a9dab94a08a567c7d56d456e1fc..104aaad573f361d014c5e97526e1b167ba835c18 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_5_j12fgo.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 21aeed381b1c7af2f8dfbc22f191829ff8a088bf..611eafb5d2707afb736c9b67c3c968ba32658894 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_5_k12fgp.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.001
+checkmaxtol result -tol 0.001
 checknbshapes result -shell 1
 checkfreebounds result 12
 checkfaults result a 0
index a13d4b5bea80a8ccf5dd868fa273403c33e3e335..1c5eedd1694063e4e4b817d356632fbb9f369650 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_5_l12fgq.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index cb7b96e17f7f50c6b17e03b721efbcae70ea574d..299564526b2473b9cc90978ca20ac72918b10e6d 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_6_a12fgr.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 76d94a8032b9e395bcf67ec7297c854ab51f7d0c..16a03f2f37456a0a9ed49b0cf0b9c1b6c790a180 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_6_a56fgs.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index b7c5fbc501306c51d0066f276799f9b3ec63ebdc..25c89c4c419ed3461bdf552bbd01e64595e2c349 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_6_b12fgt.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index b4edf575aecfdf7a7bf803431051ac376ae68cd1..72a510e041128d15ff8570c57362189b0624085f 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_6_b56fgu.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 5611a2c77c15f1b94e7d3dff987d4136b7a47b33..fd128b92ce80eddb3b5a8063102504a0539b63a7 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_6_c12fgv.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index b86fd8e5a1dd5e18a498f9a99da7d199eeb51745..ce37b3da1722e4e3d2efeff52a707fc1de0a741c 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_6_c56fgw.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.001
+checkmaxtol result -tol 0.001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index d1263dadf26cbf277cd99cb5379d2df9ee441b17..b1c742d77c8558156f392632db4eb4335ffd19cf 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_6_d12fgx.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 1f6665da7968223b8b6e73207213ad0d59cc0d15..31ddc03016f8437ce98fbdf5dbc85f520f545dcf 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_6_d56fgy.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.001
+checkmaxtol result -tol 0.001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index f0f8bffb92ce931b34089c93d76429c110aa911d..e0bace025eff98bb2de90610bc727883dff02ff9 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_6_e12fgz.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 05d2f505e125644321bad67d85674b35fb0bb732..cf4e62bd13e6053465df99037cd0628c23631da1 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_6_e56fha.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 7e3f5132adc5b3a1137b4457364aa1a1151cb4d1..52c30fb70c19f7ba322c043e2604a9709ff1af99 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_6_f12fhb.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 526bc3e4835f1b2f8680f35e2aa5c4a88b1b7e38..88b6a76eacab7dc1e7b78d3b2ff126042b2e34e3 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_6_f56fhc.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.001
+checkmaxtol result -tol 0.001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 29ed3233396f50adeb61a0e4f1b1d5bfca707098..0d50707ca0d3313345de173d815322e91c9863c1 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_6_g12fhd.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 495114986c0d5e55feec54946806697e50fe0352..c47e049eadd8918e18fa106b4d06c3467baa44ca 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_6_g56fhe.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 6a87ad7a12e73e09cfdbdc145fb366c5efed2032..1fde1e523abff8c3dd41b3320eae9c7c79259ebe 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_6_h12fhf.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index a935afa850c07494ee5d3f7aa2bf03c2d57ebab4..748e75cd55d926b6400048643f7710c2fdcffdc6 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_6_h56fhg.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.001
+checkmaxtol result -tol 0.001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 63354577b6d59a985bf9ced25a8e65ca00153d78..925fb34f4f1f8e1696938543b08374110e51881d 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_6_i12fhh.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.001
+checkmaxtol result -tol 0.001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index e54ed89082feaaa0ac9a1ec7a92f86866ec9f54f..9091c4f5e9d8d088e53c40f6c06b268f73c5d530 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_6_i56fhi.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.001
+checkmaxtol result -tol 0.001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index b5d654f7b9cc09d18dcd6b3fd9ae29567aec0a23..e4f00099a3e6c6feb355886fcf12489e3db5b76c 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_7_a1_fhj.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 0a41d494dc52b63a3106cc48ddc2aba03b09c712..6328f626b34bb9f59c6ab84701b01d0758f09d43 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_7_a4_fhl.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 86d11930712fcb816a404cba290b5e3f22f01a86..736a7e12b802cb8c5737dfa8f80a32879240e8d3 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_7_c1_fho.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index d87079f5c385a0b2298bb8c1eac81c977c2f4f8b..2424ad98e196d49f1fc48e0eaccf4f257321308a 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_7_c3_fhq.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 4.9999999999999998e-007
+checkmaxtol result -tol 4.9999999999999998e-007
 checknbshapes result -shell 1
 checkfreebounds result 4
 checkfaults result a 0
index 8a87404050677ad05648e5c1458d6352bd2ae657..d2f59de489dfff86f88a0dc03f61f04a60d71728 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_7_f1_fhs.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 42943c5d9a4319056e36dceb4629bd272dfbe3c2..fb7fd35ed1449a517896de771204ff788434fd04 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_8_e1_fhw.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 282c46c24e009f3298de208e35401f3ba54b058e..49a182920f3ee522e53c802b7af231863035e953 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_8_i1_fia.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 57fb5e316be9b690a03ee506d3c632144262ede5..d93c67e46d698cc523d1ddd5202ea325b9f5fb58 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_a1234fic.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index a116de01190ae01a40c61c6885f21cffcb1ef26a..1b894a691e5ba9cbc9107bdd9d192e9abdc2bfff 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_a5678fid.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index ce4c0ee00272046ee05c18c1c063ad42e4969769..ceb2029ef216bec04cf537d184416ce389176cd9 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20458a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 1bac818c047103bb755b81a129e2fe506f6cffa2..9ef49b23bcc122c707c08a669484701b5f9305a2 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_buc60330.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 635748c69a92b094f5807b9de2864e7e14f1e018..6dd4a2f5bc9323dc316c44b126ee70ee7195232f 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_buc60360.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00058414055871530202
+checkmaxtol result -tol 0.00058414055871530202
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index ac8786f6cc331edce533bc2981a96653445be386..17fb5005aa6227dfa9bd3692191786b05a82f543 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_buc60fjt.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00058414055871530202
+checkmaxtol result -tol 0.00058414055871530202
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index e24e16aed5fe7b20906d63057291d62ab7524b61..e445f416ce0223e1c8a3ec7565f7ce3a25a9c254 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_cfi90fjb.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0213359670772462
+checkmaxtol result -tol 0.0213359670772462
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 1b0b4e9b470d95ae2b40f4ea77ab9fb56aa22a78..1e4767377e2e793ca8b7524c43b9b2eceffedab0 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_cfi90fjc.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 0597eb30201ef1c7a2f81b65ff52fb4fb92201fb..b605b4f621e4c1881724ce2dcdee067fa1c2b1b9 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_cts16288.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0087400917007073396
+checkmaxtol result -tol 0.0087400917007073396
 checknbshapes result -shell 1
 checkfreebounds result 60
 checkfaults result a 0
index 6c145024cb3c9f8963ea460f156fdf3e8b04b469..a2cdc8d82b1b80a1348bfa3755ff0fab88178825 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_cts19335.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 7cf59fb014fbdb4ce69e42d20549a3188625d297..2b062aee244b63573b524ed76cedb11b1efd81f2 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_cts19347.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 58e87940eb60edfa733187278edac4c63f4c34fe..74f7001f071e21071a0b3e88a11ad45a5d5f46b1 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_cts19997.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 753f5c178bfa7a6caefc11ff9fcf44b1ea5430a1..0354a563e8e16a3f7dedcc22d59e89775830228a 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_cts20006.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0039121873968644503
+checkmaxtol result -tol 0.0039121873968644503
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 1de4c5c2020f443dc89e73e169d362aab1d741f4..3fe13ccd7325dad4252e680bcc87bc0655e0a492 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_cts20401.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 86e3fead64ad4e4a131bb0801bd6b01e333675f2..4e7491b69d2b78bc3f40c473638b49215cec4e13 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_cts20686.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 68b1e39d06f4812bbc7d0c6dfa28caf344291a61..59beba387a4a7ef39209ac9c15c45305f076cdf4 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_cts20970.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 5.5222438666594701e-005
+checkmaxtol result -tol 5.5222438666594701e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index f5f7c17f57f8ad2ab92f4ee8b9a56a7996c373b2..573ac427b98462fef1594b6fa1b8472a590ee4e7 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_cts21020.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index a020172687420828397a6f5b47be002ca968a92c..a6888af1bab3ff1437d5af259b92d10e24a32d8a 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_cts21183.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.12665115600746e-005
+checkmaxtol result -tol 1.12665115600746e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 0e030fc9fbba9d3e7c923cb2016e1508af0f3aa5..dd48483a0d411e4c4f8426fce058a0e82d8084c4 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_cts21256.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.000109640857813354
+checkmaxtol result -tol 0.000109640857813354
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index ed86184a6ca4f771fb446977b28682e1592c1778..d420657745d05efacb2f480b8c9f9f7dc56069da 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_cts21348.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 67f24d41582370712502c97a9f3756ba6556e04f..60fc665a0284693e03388086b4993c6b707878a9 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_cts21363.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0174505693125038
+checkmaxtol result -tol 0.0174505693125038
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 7cdf32fe03b2f28a65b923394866b2a3bc43f257..45df324a9ec1e116edb56a8b239c9e77b8ba1cb2 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_cts21630.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00192061858482228
+checkmaxtol result -tol 0.00192061858482228
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index b9ec1190701fefbc60a931059ca0b8e317add65f..22b91fca3116f1c7b7dca3dceffda6617ddcdf20 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_cts40124.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 3.0000000000000001e-006
+checkmaxtol result -tol 3.0000000000000001e-006
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 1572ef503d5363c5811c5fd47b09b227ed662daa..8ba87b0de48e5b636dba4a84794fc764cdb489c9 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_d1234fii.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index adcd86d6cb118c37f1e3d90e3b6f585f314da223..cd6eae6dd3278e0daed7361d0fc19883f264c42d 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_d5678fij.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 4cab58f67d7508b6f9f7edcaad147c1c6c6dacc0..553314c7288e265e0befe8c3002bc6e38d2dd293 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_e1234fik.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index b0391b12d98b3e2dfb3c916bc3be33d20037a889..e2184e4b739647d9a40223bb61e3935a86c85294 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_e5678fil.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index c6ea0fd9bdb014f068e7e2c6473ab20bb9439f46..3c475f6e5c15e4f57c14aecbe162914b3550b74d 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_f1234fim.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 4ec4c13bb8ae03bf68ec28cb3a620f951b68a83b..2ffe9fe1e3b055935f27ea341ef33165d34387bf 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_f5678fin.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 216f9229e47ae5eef2b2a18bd8889f96c2bb9410..b3a311b0fe30d673790ee01d473afe57be12d234 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_fra60610.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00021400480916620001
+checkmaxtol result -tol 0.00021400480916620001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index fd4a85e76a649a3991e06d3309d17f0779dbda25..d159a784d445c0eb788ca6794a4b280b49f12638 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_ger60206.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 7a27621863f1b97b332d3538b92186fcaf0e6432..48a02e078568bede890d7a1aa8148522bac967c6 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_ger60656.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index e5f5a54e9bec6edd2ca2260ce905a51813d2a0e0..5f62e888984eab87daadfc187a698b2e06c3a7f0 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_id150009.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 6.1017571924071301e-006
+checkmaxtol result -tol 6.1017571924071301e-006
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 5f6166c7a97460260b70bbf26eaa568d3a394c80..89b5294738f71804e0b3416acab0b41cc75d34a5 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_id150018.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 06c8e63d83e371568dbe0df793f5dc7d719418d5..e3afe8fd288250b0a09b02cebd7cf11f628ec1f4 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_id260039.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 3.4206251112414802e-005
+checkmaxtol result -tol 3.4206251112414802e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index eb23adf61c3ebc18e48597b7a368f6235bcafe86..285698bb614e6d555806f844139bf8b48bdead06 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_indusfjm.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.001
+checkmaxtol result -tol 0.001
 checknbshapes result -shell 1
 checkfreebounds result 10
 checkfaults result a 0
index 5fd74c74e35ebbf5ab1030611e59be318d88f2e9..d49068e482d21b1b60ac3ba6095513316e9a47ff 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_jap50078.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.041024553814771998
+checkmaxtol result -tol 0.041024553814771998
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 44ce0d0cbc3c2bf06c009c3179ce02de0c4c4c33..e303addade3c7cc924048d0c3dcb0ab76149ef71 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_l12__fiu.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 7951fedf062008f81e3ae0140d0a8f368f53b0ec..a8b15aa0ce1952aff83b83c5843b4b7b79f44cb7 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_m12__fiv.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 3.1415926535892699e-006
+checkmaxtol result -tol 3.1415926535892699e-006
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 1b797d004d73119b1d1bd6a9ca35b1f5b83dbbbc..09a0672df2b206892ca622ea4cea215181c9ca76 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_o12__fix.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 99397914ae6313ee759af684f06190c8c420f697..affa21deecd99dba34d30e3659ad6689fd1e591f 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro10117.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0068166775109053598
+checkmaxtol result -tol 0.0068166775109053598
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 69f72b36904bb89276e3b32330178311c272875b..ccbe805cfb44f0e8c8b50417e3bcb0b1f7762919 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro10129.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.000000002e-005
+checkmaxtol result -tol 1.000000002e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 5c12bb0771fcfe0f64dbf9607e42356a1f38f4f8..e34e289e97b911a40918a6294724e485b9df5b48 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro10320.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 1c73c394d6d82663dd2f0d256ca207d57c89daf0..44315f175ccf43e98b0d21db53e0c4b75270f114 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro10321.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 2984e3abfe13d3db97f9ebde054d27cc055ea63c..e0a9fa239dcfdd97b1eb7ea83733990cc375344b 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro10356.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 17ff5b210fc094c6df84e4b188f18465e9a212fe..ca644525fc3c7014d8d2f5ac70b3d2de03147c33 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro10391.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 4.9594346536625702e-005
+checkmaxtol result -tol 4.9594346536625702e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 5b5a0f80189ef0e40097f22a53763dbff2835d88..957078784820166df9ce78a231c50cb97d08a295 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro10522.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 512ba3a894c5ed630b239909ccfbc41277380c2f..a8a200867d473def3e08b362ffd2ce0658f4f852 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro10631.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0021737160788762402
+checkmaxtol result -tol 0.0021737160788762402
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 4852b667aff931b94807681a0c826d2680a9f561..52855d0d9505941e48c6df87ae167b0b7b4435ac 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro11850.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index b367a5cefa24f9627a7179af4cf2cff94c2a252c..998627666b38b9b974d3ad25eb6858cbeaed5ae8 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro12305.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0069355742707295602
+checkmaxtol result -tol 0.0069355742707295602
 checknbshapes result -shell 1
 checkfreebounds result 14
 checkfaults result a 0
index 376881f27abf6bacb67f776c089585d7214b3411..de1e405290c82b4beff9ffc980742626b484c63f 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro12404.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 2.5504968559703701e-005
+checkmaxtol result -tol 2.5504968559703701e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 9df70ec129549f904f98e633efac69611ba9d8ef..6f3e10b3f7db80159e9ca4c54adc117f0cf24ed0 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro12794.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0011000000000000001
+checkmaxtol result -tol 0.0011000000000000001
 checknbshapes result -shell 1
 checkfreebounds result 8
 checkfaults result a 0
index 4f105bc0d576a633489761fe11de457520642228..d84a7b8b5cd63c667c373dda7f4c799c0ac0c8c8 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20458b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 675ca24771b985c73083671c4e65e5346bbe6e7d..951289bd811dfdd7579627b60e0cc6613b15c52c 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro12894.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.052873794131585397
+checkmaxtol result -tol 0.052873794131585397
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 1720981f44c0f6d6d2826182d67777c706d7e17e..516468f0bcdc9b8148eed34f2054a28b8324f567 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro13127.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 49beb5a765fbbb476d75a3ad20a659db264e9d28..ff44eefc68a649fbef4d0345baf88422417239f5 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro13892.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 1e4bb78add1e19182f5b939592d469f4daa0aee5..cc5cc2ee3b92daf7f2931134efca8fbbdf08cc9a 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro13893.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0024851934068307198
+checkmaxtol result -tol 0.0024851934068307198
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 62806715a226a9e64400d112b43c8a00a3ef5ef5..3437bd47fd9d474c6ff33ce46a94adfa18e53b7d 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro5203.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 97bc5b24802378250941cd885f7a93997c502e60..707791305b7d03f7a2c957df9bea69d2a494e4fe 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro5477.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 8f74a9dfbed01673151e1611473730e0ff533c90..60827c439150923a5f3eb4aef1babedeab32c89b 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro5545.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 3.14159265358979e-007
+checkmaxtol result -tol 3.14159265358979e-007
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index bf785fb4859cb3529cd9165d70ed446dba2dfd87..db6d6a62abfa1eaab0ab79491834e98c64871e8d 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro5807.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 9d443743e7ccacd07d35602c61d5a48a607ea8ae..4f831943c488bc0aadf41c0ee5170e2775cce28a 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro6309a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index ae3169b130d49b5fc9595f4497b047a2fc04261d..2d66ca848ba2cc1a010bb239f895b13ca12d7260 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro6309c.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 6.2831853071795896e-007
+checkmaxtol result -tol 6.2831853071795896e-007
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 5921a9d5cabb97a45a6ff3ab8efdb55853533bc8..545a23777a29cf3a566f0d97ba113b46f6e89fa9 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro6309d.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 6.2831853071795896e-007
+checkmaxtol result -tol 6.2831853071795896e-007
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 37237ea884790b4c47d75db7c3363cf6a443d9d8..47b38c10b470062159f30c08dd3f6e2fbbd10cc6 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20459-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index ac82f14fab48ce657feb8908bc84eecf3fae2626..127e73c3eee6caa3f9f475981dc90559768174ea 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro6944.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index f7acaadffd1a88c73583939f76d6b73fdf72d8e7..3d59be6fe09280926be5dff032b0252f4c6929c7 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro8783.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.000121486454609844
+checkmaxtol result -tol 0.000121486454609844
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 5e784f720bd3dbc233e2ac2f6ce711c21554eeb5..fa82ba74e568e26f432a06947c243a910d8d0ea4 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro8792.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.000319190444367207
+checkmaxtol result -tol 0.000319190444367207
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 9b01d9c40c03953385ca1d1690b7c8105084ebff..c452ea0e9a37012576f5b5f349d7502fdd22710b 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro8828.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 3.3317643451788799
+checkmaxtol result -tol 3.3317643451788799
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index bd825666524670be7b1cde0947c244982fb2fbe4..61f6fa0b55fee207bca1de1254f5426273279468 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20459-tool.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 8a7dbe1ac31a1e4f45d409cf5bb13a28966fb045..7edb8641379e4a8a7f57e767c0ff66a9db0056fb 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro9067.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 6b31ac0441af046917f732c414fe95be2fab54ec..d6ca725b21a887256ced2fb2343fbdf347096444 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro90fjr.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 7.2715246170233998e+200
+checkmaxtol result -tol 7.2715246170233998e+200
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 2f8fca3d153d121c18b889ebbce4d89481cf4d56..1e2517b8cac0ca132fa9f4e38944f471253883aa 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro9169.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.3582670937717103e-006
+checkmaxtol result -tol 9.3582670937717103e-006
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 96b9ec866d918b76842790e16d32c07574403af4..ea1b46f99d65cd67b22e3d138c8581c2b6399cce 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro9480.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.016894872964297199
+checkmaxtol result -tol 0.016894872964297199
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index fc17a7111fdfcf2a95fa3a45a2f6732ca3ce798c..6a05aca1c1cf381e94cf290d14382721d00d4dea 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro9523.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.60397736903065e-005
+checkmaxtol result -tol 1.60397736903065e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 653163de177de9f7c454c83c3cd8ec54b5959019..395483c8e8265b94c22fa777b544c5fcf804b982 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CHE900_cts21271.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.011092740551156799
+checkmaxtol result -tol 0.011092740551156799
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index cd5d2dc35b9f9543285c2c213cbc064eac4b083e..ba57d3ec48e58fdd7dd94e6d2e794d0443a85e05 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CHE900_hkg60iob.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.72571274507878e-006
+checkmaxtol result -tol 1.72571274507878e-006
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 4a50f75178bc2aaceee79c4f54104d232eb454d0..90169722434558f383946d1c42ac7633437f0dd5 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CHE900_hkg60ioc.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.000100329639497246
+checkmaxtol result -tol 0.000100329639497246
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 3fe37416fd9c3b73032fc7c5d24e759ba1740297..94c978694ec5ca073dfc8c222be20de2a0e84fe3 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CHE_cc3.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 358e916f9ec36765f582d1647e9f24808e2076ce..90796fb6d634ef63339d4cc8c680871f452df67c 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CHE_cc4.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-007
+checkmaxtol result -tol 9.9999999999999995e-007
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 9b83df0a9bfb8909b072552b70eb9fe22b036dcf..b119e3201fdefc01bbe11546423043665ab17092 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20460a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index f72569cc399804e4034edce766b5888c767a9aa5..3b2ad876ece08d9d4f2621cdfaec3ae00aa46ea6 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CHE_friteioa.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00013168406623192399
+checkmaxtol result -tol 0.00013168406623192399
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 046ee44cf8f367534f2ce5e5d47a406ebe1475ba..5c867587ec93f935d71a5c0472bf6eba50d6a1f3 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN001_a1.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00408766829975136
+checkmaxtol result -tol 0.00408766829975136
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 6a46c567454afbd31c594a89c72d1605c6a9731b..c144604d218bf74af63233f84a0cc33fb5fceaa9 100755 (executable)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN001_a20.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0035821432134069929
+checkmaxtol result -tol 0.0035821432134069929
 checknbshapes result -shell 1
 checkfreebounds result 74
 checkfaults result a 0
index 6e2bcd3eaeaa9a4af382b8ad898c3dea5bf7dd60..4bc5e1760488d23e13810aa70472ff79a614eebc 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20460b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index c3cad99004b744562ea350998d6cc89ad8a6de12..6f81b06e8aada94c4c97ac6392c73ef0c070ebde 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20462-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index d916b37b6555f49433d8a17c172a0dd61bc0ece4..6da91ad2a163820be4d50e9b6c47aff47bb9dfa6 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20462-tool.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 336eb5f7bbbc725407a9c51430953d99daebd485..39ad27022e0604099bc5a305ec08bf44cab370bc 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN001_a24.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.0246950765959601e-005
+checkmaxtol result -tol 1.0246950765959601e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 578857d40c4bd91cc8b0c398d0b7ef34965119e7..a3b146918dc0acfc0805c92a424ea7f5368c5d36 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20482a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 955fab388e8f895ee76cc588765a7aaf53d6415b..e68c4be257aec15d6ff1b966f577237ca86f5d69 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20482b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 8091f1a843fa911305e05cd0832a8ee41e9bf050..a975779f302e625c86ff2034ba0027fd5831f6b7 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20482c.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 134e3332f79ad2a93c42ca012ee708d52d9e9f99..a301e95659a22f4b2466b7804f9fbb1dca18e697 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20483-tool.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index a4482458ed45ee3d5f591585d9334f5c49811958..3d15fe60cc463a63482219f145cc145a2a9acede 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN001_a61.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 0c7d92fbc5e1e0e8563e3f57de324c397dd674cf..e345862a7917d7123ad518faab6a3a6681575d47 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20484a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 2.1079756472072801e-005
+checkmaxtol result -tol 2.1079756472072801e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 7b3056216004ff68a4fa9db935aad741699a518c..1591c057fd5b5ee78f9bff5b0408f8af0247fb42 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN001_a63.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 164d43fb379164aaab11d19dffe7e1e989fe9698..6d4bc1149cc5a8896573392f8b569869abe4d364 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20486a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 0eea8b8d6807e80a0719d2e75613417e7c949081..9caba17d9bbacfc706630854c74fd8587e96e0f6 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20487a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 33d1c04a2bf5c716e6b8a458f725dc7db22ca4e7..5e93fb9b4da52c97922cb0f6c9d6848d6dec3cb8 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20489-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index f38a2fd32e30e2b09c0fa9cf8e46d402daed360c..53b874a23bedabac0fd8ac25f086e593f2842947 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20489-tool.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 5b85eeadcf2bb81b289f6159c8ac88844cff7a86..bd3e77f317ccff13ba7b8512d8e414ab491fe750 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20492a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index b28dd80dee7103034e00e2947382aa1eb34cf071..3a955dd7f0a098c1f2435fea97847ffd1001e7cf 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20492b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 97944d9d375bf31277b26ff986f36fbbdf40bc96..a3bbc2a0d42949fc01d27ad26fabf8656a44aa29 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20493a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index b95d06ece380dd0db8ed0629d60115fa399de651..93bd78cb2f6ff2fb69dc702f9bfa0c11cbb74622 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20494a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.0216478440458501e-005
+checkmaxtol result -tol 1.0216478440458501e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 9ddd7219b955aa0227a8425d9f2e2b8b478f7a51..7850f0a3b2bab12a60c84da03bccb982d3083c06 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20495b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index b7d7bc1223f81e3f5331fc93210134f14dc5069e..3b56038e38f63c84d37620ebbf42eaf18da20430 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN001_a8.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 1ed76cd78cd76ff2972a36b6b2cb291a7b72df10..6e81adc8fbd50be6006385521fd29257b6947847 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN001_b1.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 0edfc995ddb8bc42c2c85d62aa458d459fb099d7..94a9cde97a8066e4bab857cee19c2a1a7cb3769e 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN001_b10.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 47668cd975f4fa182c59b086269ad322797482a4..d8da3b57a811a353caf8cab1af95ab64a2892388 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20496-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 2de3b5fe0b658b56b854bf058036a72adee0e797..24e868e32a11511892570d73d0fef4718ffbf056 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20496c.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 89732b5c87e587dfd2e23f09359beb51a676b33f..4e04179f779c24ccfcd2d899916ad88471d2ce27 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20498-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index f5cc7c7f33b922ee4df60f751c1a9efb3df8c5f0..f5390d2e15dea3e14e345e968ea767795f87efb8 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20498-tool.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 1067f5348f6d15932d2bb05a9ab6e3b2fe7fcc26..0897b5dcdbd501c57eb8e84cccb5b453a8e7eb66 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN001_b15.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index ed09560f9ecfd735d9e18bc83d8b910bf6968bac..673825c8178609d7550c5073758f63123b87761d 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20503-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index c9683d5e4ad2825c9451b423701de4e2376f08b1..ef41767bed4ea6a39e6614a8fe7664bf939699a5 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN001_b17.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 4.5
+checkmaxtol result -tol 4.5
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 005c8bc2d57e545553d251a4a920a4d3d57d9c89..8b9c93e072de7ea1d57ee6b296280084b3f73bbb 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20503-tool.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index a9acc3215091afe6563b2a8934f38dd8c4c6e6e3..fdc7b5a3e5c99eae6bbf7628c66fb158a88ca11e 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20504-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 3a51b85a69267a7f92aef9bccd4e82c48bf14c43..bea940e3564c769ce4af2fa69f80fab6ea77ee29 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20504-tool.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 7578e660dc02b3333661bc2e77486bf2d108b926..a93ae40be35a9269faa0cf68911bc74036a430fe 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20505-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 5a47d7c05b555dae4ffd6f909ebb5e23c451ed01..c21389f833dbf4d20558ee842421f81d3f6256c3 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN001_b24.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 3bbe42874ec2abff555492b5c61c78d1e4bc2403..32b7099b90e20a3da8539d16f49a55f890aa6d86 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN001_b26.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index bf5af51d0485c67cde4c3cd487c79795a4eedfed..4833bda65cbdd421d03b3289ba3451c559d1b4be 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20505-tool.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index ed747bc77d737d72bb9dce632c2a66ba8d07aee9..86c6089bd44f0f58d473cf79919e09bdb62e36ab 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20506a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 667035821eb900c255f8af2614cfefd39fc32342..804e729e83d242f5aa88d36d7b70711e9b9ba5e5 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20525-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 65fbde851f61656f96df2a4a497348d081d3bca5..5d80b809f176d6feabce05189bb0b7c561c7ac5e 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20525-tool.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index b8a073312ef5a017ba759315a54c7d063e9d25a1..71e876784ea2e65acb797bfaf30edb83405ab6ad 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20526-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 826fd8f1081440cdb1de51e66764fdcf01b2a785..6c09b3aeca0fc241231eafcc818724511c2e0f6d 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN001_b6.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.02104799827938
+checkmaxtol result -tol 0.02104799827938
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index ea4242729b45972b4b0fac51c279f1ce8eb64b01..87ea84a1a1f3d21ab61892db1a5c169d1758c797 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN001_b9.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 5c590558281e0e44484691e2c80e222584717e64..18f8e88a717693f7d4fed60de5da73821fa9699c 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20527-tool.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 60bb13dce61983dd1c184011085bd7e10ba2d164..70fda0e0bece007b096e05a3dc026d4a1b1a644a 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN900_buc60hmh.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index ed05244369090697570583a16fbefa3bbb06c522..d4f8b825c7e993877322a18dda3df39b1670e5da 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN900_cts20hlh.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 1ff14a2c3153b2bc14250dc73aa5b75865253cc4..911c185f4f8f4d5edca8f433f6e3151afb0c6364 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN900_cts20hlj.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 8f2624291d826a6a59bd4d8152f0c3a85a6f58b5..fb784f167fd9b254cf9f99bcd63502d262d153e0 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN900_cts20hlk.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0030000000000000001
+checkmaxtol result -tol 0.0030000000000000001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 7dc284031b3b1abb70403dc6735624f06ef24ac2..89b3dd2a90df96de6982f354dfe44285225f1910 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN900_cts20hll.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0030000000000000001
+checkmaxtol result -tol 0.0030000000000000001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index ae084ef21173eaca229a8206cd73d75d935bb8c1..b8769e138b8ab096bc2751d2a9b740b898a6540c 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN900_cts21hlo.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 4.9999999999999998e-007
+checkmaxtol result -tol 4.9999999999999998e-007
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index aeb98d1aba3a645e0a0d61385ac5fc902c7df1f5..7a175cfb1c1e1b17e3dff645127cbd6d119deb82 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN900_cts21hlp.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 3d123410bb574a2d8b92fdce32e35d2a37556861..e21e04f4e3fe405f94561b0a9b6db6a57ca4de2a 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN900_cts21hlq.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 4.9999999999999998e-007
+checkmaxtol result -tol 4.9999999999999998e-007
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 5e66ec9d64e35f124bb0eb00454d2519c2ca7749..9c44ce87368b76c589102741979935841ec0579b 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN900_cts21hlr.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 22d9d8a27eb2be2b01ca4d2171a463689d67ec32..a2ae76f08e9e51259ef0c12c777189bf558e7411 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN900_fra61hls.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 4.5
+checkmaxtol result -tol 4.5
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 902030212ea052df909cb049579e84cb874cdd15..78d239bce9fe6bcd20bac0dc636d9fb56dc22677 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN900_fra61hlt.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index bd9526ec643be547565da86f547f433827880895..0ef3d38b5f67db9b94da69ade3c3ece61f782c19 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN900_pro11hlu.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0011000000000000001
+checkmaxtol result -tol 0.0011000000000000001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 67282113d67db3b9f297b153bd3f1067334e1b96..13eb6388701bd9ac2348a58a183c013665a545d3 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN900_pro11hlv.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0011000000000000001
+checkmaxtol result -tol 0.0011000000000000001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index fd864db4e393129b666f3bea08a37ef3e847cea4..938fbf7ef36a8523f7617e0e358b651e595b8e68 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN900_pro14hma.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 7dcbf888f6f1c5291f45d18599211452aec251e2..57793d5ed6e15ccb350d1cad7c7bcb0a13914a02 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20528-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 0f9817a83de7852316dbc1f92c89af82fcc7321a..479f4307072e8ac2b62201f7356fb4c9795aa6cd 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20529a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 1ddad95b08e7ea23d70bc2f94191d7da6083b8b9..5657d6ce56d16d7deb5fc7524dba3bd7167350c5 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20529b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index d9cbf2eeca220d54d2475a877589d9da8fb51919..b5205f98d831b5c38739dce39afaf976163ffad3 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20535a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 4cd33c499a69a1bf8f7a0d0d7e75785c4714b088..a0d0e1fc115baacf63601078f9946bb3c3cfde10 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20535b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index e84a591e9eec24e4b98af12d28b0920b9cf9a673..fbf62797585fda1769f9bdccd76d243176f62ff1 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20537-tool.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index f485c0daa76dc41a894407bd10707cd6c483877b..7d81235518443f0e4b399679ef3297a6b043e88c 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_cts20551b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index cf78d4076adcacdb40fbfb0623843410c14a7b16..de4aadccc6b6de576a6cad01fc3699818aaac983 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file cts20552-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 9c4568feacde8c0df17a83a4bfc27bd070c56b29..71a7f6253e0ca3baf58d16921e3d563295716f9c 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_pro14235a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 50241b6229f34c38c290839a37821e4feaeafce9..09b6cab8671734154c5068e16fcf01614d865e5c 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_pro14235b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index ae4b0f4cfc4db953692980c7d7e1a6af5e20d0a8..7106b8a9a58ff89d3feb53953d1bf7300a2232fe 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_pro14235c.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index e2559f94142d3aeb8f8c16d68e8cf84c6edf0362..e61e0d01231d8b56f0dd07211c455eed373039fa 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO902_pro14235d.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 737058e25264e09d0e44389e3073af1970cee3f5..5d13c447fe729370cebc9365fc3af7491d590be9 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFE900_pro13gfc.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 88ff458c98060e7350a385270b579b2ca7464483..99eb3224bcf6c163281e2898ee3d3011754483f8 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_buc60093a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index d429bc15983d70bd50714c0c38383e2ac8fa610d..d1b3b186b494cec67dc12e36452d322dcd55bc2e 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_buc60116a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index b2beea4f96bbccfc1a5480d5768d31b53e636ac2..08cc3fba83b9f9b0d1c4c2d578d467dbf2008c8a 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_buc60220b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00066117295490300803
+checkmaxtol result -tol 0.00066117295490300803
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 3891809249cd1f6b024699bdde7002f7a5c920d6..cb6007cacd1e434563c4fc93724df4a22d717560 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts17786b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0050001000000000004
+checkmaxtol result -tol 0.0050001000000000004
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index a4d03d77d69097b90859661e671857e8ce16fa23..1f61fb80e95d970c1a3b6c54a31fea6949c6ca21 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20290b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index a94eb28417d3befa5d14942fb9bf04cf6eacb942..1c0fc2d070e434391d1f09b42bec52da486fa29d 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20339-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 4.0800000000399998e-005
+checkmaxtol result -tol 4.0800000000399998e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index efb8ea30e0b16dab0a6d56b34e818ad89d23e2ab..9440f55bc067621f54c05456ac71597c0b26f6ca 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20366-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 2.0400000000400001e-005
+checkmaxtol result -tol 2.0400000000400001e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 32f3b34cfc8778c6e027794573e4151831cf5a43..1207576497ec7f9caecc5c3c0d3682e8b2e9b10b 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_b1234fie.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 08d87fb825e22cd5f4bbdc7a1890c8d7fa7d89b0..6400a088d132b1394513c1e49b523e3348311770 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_b5678fif.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index bf7665c302ff36a8b927cd31157b8c89e2f6fe50..ce10df3ba464858703972a63dc806870328a1f2f 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_c1234fig.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 0b9bc3aed779a7e437e8c2f7ff9764891f6c1c4c..920c5e9654e3cd02b29bbbd784e4ca691d786e5f 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_c5678fih.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index ba4ce7db0dfe8c0ca9840d854f82f38a1ba0fd65..4bd0a38430322df190e9c92289a734904c494896 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20370-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 8.1600000019999998e-005
+checkmaxtol result -tol 8.1600000019999998e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index e6dfd6503f33cf287d36daa5ff83a5c304d3a801..c1a490ac01682749a54c83b090a54a904a5a89d9 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_g1234fio.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index e3d3c8bd0704b2d8f619afd73d187d7939250dd0..74cd5927594c3660e93c8c62f06b66190aedec4d 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_g5678fip.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 0cd13678cfc2c60f3af17cbf708a9ab239c21445..1cb5dd8d87cc6e8eed66b339676e51b80f6bedc9 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_h1234fiq.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index ed54d463ad6098fe08dceb4de32da2b47b98aa6e..3aca84556cf60b2a9e60623baea5d606f49f0086 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_h5678fir.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 156bd095c91c2ef61bca34bbf6dc62c713119671..4a5bca1dc0fc598678732f54c8d71359ea1120f2 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file 4_O1(hlacg06).draw] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.022202144948888329
+checkmaxtol result -tol 0.022202144948888329
 checknbshapes result -shell 1
 checkfreebounds result 8
 checkfaults result a 0
index fc7f57e868514d48aee57d4a303fc36d2807d698..551986864f4db5e16cbe829597f1f84d1904ecfb 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_i1234fis.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 35fdd42eb86063a02c833436d5c09138ef68c890..c704236a990b0d891d71199bdbe7be6f0efb0a3c 100644 (file)
@@ -4,7 +4,7 @@ restore [locate_data_file CFI_pro11907.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 119.7091229132561
+checkmaxtol result -tol 119.7091229132561
 checknbshapes result -shell 1
 checkfreebounds result 5
 checkfaults result a 0
index d02d6805479546a046912a71e58e1b7e5cda12c3..21fea249cf9ede0561c8370ce02eb49e4f109098 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro13225.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 6d254d6f73491c386c84543d68a403a4a72fc28e..4b9071fafe7df7be8936409ba2ec2b0b69295e78 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro14035.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 2.4000000003999999e-005
+checkmaxtol result -tol 2.4000000003999999e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 147728771091ee76e94ed0a3bb06bf80bf4ba712..ad41c7c261a9484d1752838a0fee43cd8425a00f 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro14550.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 78a8f0c25ef286d05f25388e203c50ec6bc2ba01..58fc80cc8d48d1b9832e6ea5e409dee5605f5085 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro14551.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index a9dcad79489a2683d8b480ce08612ee5964e17e2..717258a2484bdf242ec7fba278f4f58c525e56e5 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro14552.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index b90000328deed1dfdd61e59ed5facc9c284ce382..a4e0bb49afb7b8e040c87a3fc2f3747968e4ec8e 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro14714.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0011000000000000001
+checkmaxtol result -tol 0.0011000000000000001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 6d6cd20b17a3bbaff20c61eac966d2d7fa748d69..b99c6d3ce87a24eb98319a594bea5b6c607c89e0 100644 (file)
@@ -5,7 +5,7 @@ restore [locate_data_file CFI_pro15441.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 77.938759360032321
+checkmaxtol result -tol 77.938759360032321
 checknbshapes result -shell 1
 checkfreebounds result 4
 checkfaults result a 5
index 0a377dcfd547647072b994137592663e89bc6c22..95c0054a4fa571ed3063c077be4a378ef3ccad7c 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro16388.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00050030217895507807
+checkmaxtol result -tol 0.00050030217895507807
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 304af0081937219d6f73487195bc7e7297758a94..6fcfb02f40239093a8a90a1aaa14ce120534f948 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CFI_pro7788.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 2bb8306fb236169c5970b5ad981486b98fe54b7f..c9e997bfe4463d80a787b10111f1384c74153399 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20527b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index a59bf036206d60837b5b5c9137a4644443b41264..af76555d0a1eb6405728b1f53d4e3bb87c84d7c7 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20549b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 4165e9359db3cb701af0440899977991a3a76f83..397f2b764bc627817d5e506c019313d97403dcd5 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_pro14785c.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 746f42060e348299e4af392f3443b8a585e56e6d..be0119983760a8a30d46b6668ea48201d76095ea 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro11292f.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0092999999999999992
+checkmaxtol result -tol 0.0092999999999999992
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 956696788348136963344872ac73c0b20c492fdc..e6ccff1dd17d6e6470bdc10d42b1fc0b9ba26c60 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro11292g.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0092999999999999992
+checkmaxtol result -tol 0.0092999999999999992
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 2e3cbd673e1756d2a8b78a51ba5b68b44bc20e9f..4a25de4f99f76dc69cbb570993ea5cc6d4d5af87 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro11292h.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0092999999999999992
+checkmaxtol result -tol 0.0092999999999999992
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 2327e0eb5473ad96626141c524b6e6d36436efc7..1f9e25e5d76cf3714f73f9d08886a05adb11e8fa 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro11292i.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0092999999999999992
+checkmaxtol result -tol 0.0092999999999999992
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 79ef081b4f62224dfafc950dc07cabc94e83037b..7efd3c80c85d1526a19e37912483020b4f76fd3b 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts21326a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 685656db1af2cebb24f55873c509e8610d6c997d..43c88779530beadd2530e391eef870ab4c0d2419 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts21347a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 3.4850000977514799e-006
+checkmaxtol result -tol 3.4850000977514799e-006
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 17ea1d56ccdeb78d54deca93a9e3b141d8d3f4e1..d2cb7955190951c61bf4bcea0181046da6d685a0 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts21347b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index b1f05df96744c8cdf2e23836bab49c72a68441b6..c177572e05667cb8bd075886de02dba9fdd46591 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts21349.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 4.9999999999999998e-007
+checkmaxtol result -tol 4.9999999999999998e-007
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 068ec8a62039dbac5fbedad1b1bfd4e316fea192..211ca6e498adea50f5b742f1bf5d08825d9d4655 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts21364b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 0e540655fa6fd33aab7586cff84a75cef34ad47c..dd2988ab5d30815691c92419d7c43411ae9e9d83 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_fra50047a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 04b306418d48b2bd9b8de89f169e5a41ce458cbc..e7f8d31b030a74f70cbf38fdf8c4e37a311823a6 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_fra60275a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index fda5935536e9b594447c8bc4d37603af0eb85321..65d595db45f1f0fe196bc86d9f74e17fcc3b0528 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_fra60977-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index e72bd57407405bdeb1db70c5403205700a130351..173452342e8aa836f3c645eafebf80bf05f737fb 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_fra60977-tool.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 8109848c507f0338dec0e3bcfd429976b90012d4..dc175fc7888f743d6d9bcce2882bfdde20b9196f 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_fra61146a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index cc5f1c5c1cef543462de5801e6e54af72fe95fcc..d5a882e3c6355daff1009849f472cb1175cd9ab8 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_fra61146b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 9156e992d13e7d1ddbabd07ced69bd92dfb7d82b..ed2fcacc0f6f304d8af6f868942e4398b044440f 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_pro13075a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index ffe427a4884c8c89494bf2cf75c4e74bdf9c91d2..7398f76d0c7708ae8133314c140079c1240163e9 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_pro13075b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index c207fb0e4a0f091e9acfc0dc57de50f05b34327d..9f8272287ea0dfc2cec1ce12036137b59d3e288e 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_pro14785a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 85d9ab1a617d5cfcc75eaf4d73182ece890115e6..8af4db138b89edb76e39f4dea9d42923c06a2df9 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20578a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 83be79d0aa8f9d9fbff77c7721a54d5735895f71..49e3bb3d6c28c8c8b4d656131b3cb456e3d6cde7 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20578b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 992e764c1dbeb30324a5e36bf567132798b44e94..0196a2178802f77ee266bcd2a70f7c67c955acae 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20751b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.0216478440458501e-005
+checkmaxtol result -tol 1.0216478440458501e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 6dfac364f858ef4e2b35ded21776826507c99730..6e9b970ce2d2f0047213638d09e202591ab1da68 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20767-tool.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index d63cf515a0d1788ef429d1a84e0efc3230fa9991..a9c94999cb73dd32ad5bf57045bef82edd62c98e 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20769a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 2.0400000000400001e-005
+checkmaxtol result -tol 2.0400000000400001e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 1d20a7a9017f1d5884f41ad11c23d160222447b8..3098f81a0a0c8bac042cd03c2d0fd220c3d71687 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20867-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.7600000020000001e-005
+checkmaxtol result -tol 1.7600000020000001e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index e3f82db90b5d96bd9431e31ee8e28b9780ce8592..5805e41c7157a3ef0294b25769eae394b73d6f18 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20869-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.0246950765959601e-007
+checkmaxtol result -tol 1.0246950765959601e-007
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index ce8e74913fb7149931eae68639b92128d096d039..ab0456cbcfe9d1f885fcd7aceac65936b6773d77 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20875-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00017424461414289899
+checkmaxtol result -tol 0.00017424461414289899
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index a087e348f178f7c97ef2818d17fcd4860d26ce3f..d4b243e67b3182c40db72de80b4917fb7b5df518 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CHE_cc1.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0043402717339514531
+checkmaxtol result -tol 0.0043402717339514531
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 319591406e841b4a99a1a5398757c4770f0d4f39..2424af73b48e48f4786ca587776b8a20fe600e5d 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CHE_cc2.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 621f5ff95b2c897e439bee70a68e6997fb4e7647..47ca078e994971fbec5d3bb3c588651f2b1f3c51 100644 (file)
@@ -4,7 +4,7 @@ restore [locate_data_file CHE_filter.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.010538211695240274
+checkmaxtol result -tol 0.010538211695240274
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 16
index 50d6c1d475d6a0bf0a3f37132b8b2dd8dd4333e4..4dfc4a75fb4b7cdc48d2f4240ac7e866c0deccd0 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CHE_vevopar.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.1000000000000001e-007
+checkmaxtol result -tol 1.1000000000000001e-007
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 215ca66f7ba06f613181e69664aeaeff530fc11e..822c8c2a8a9eb6fb64e06554dd00026fb84a993c 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN001_a10.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 52b07a77c49356b04d80e6876fec6fb1b0143160..2bafafbdf6b364f0f52352ee17c07cfc46a1a030 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20907a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.4000000199999994e-006
+checkmaxtol result -tol 9.4000000199999994e-006
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index f137bf494d4be8a3af2da599e6037b8d1238b69e..018ea08615214223463db5230e5ea3f28eb3afef 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN001_a15.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.99827449814472002
+checkmaxtol result -tol 0.99827449814472002
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 0d3cbdd70d9a4727f2ebf962d0d9ddb2041654cf..445900879f06fb7a440d09561d59357581ae6274 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20918b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0044259112825876966
+checkmaxtol result -tol 0.0044259112825876966
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 2bacd07ef44e4f7a3acac092232891813988de8c..8bc1b449bd90f116e4c9ca64c931afad79825cd6 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20944a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.000773943070058072
+checkmaxtol result -tol 0.000773943070058072
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index a7efdda58a6fe6ab48dffc6cb44e6a2ba9e275e3..84c80d7d5d8bd7bad225b3f87c52a73e3140c652 100644 (file)
@@ -4,7 +4,7 @@ restore [locate_data_file CIN001_a45.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0025000998179367383
+checkmaxtol result -tol 0.0025000998179367383
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 4
index f8a0f7fb0a8e1c5310bbc12d8af392f97f4afb3a..8cdb752ac2ac8ac3f6e3a23d2ecd9876103dd6a3 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20944b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index fc990fefbc42c3e19397bbecf1f9101fbdc5c00c..31ab9bcc5d2ee332fbf64fe7e3a4a80baa6ce506 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20960a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00090947237674449523
+checkmaxtol result -tol 0.00090947237674449523
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 315c49680b05653672872dd3df13302485e9d6b2..ff0e13aa21468985cbfdfa0d2f795c451b4269b0 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN001_a6.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.000290392426468876
+checkmaxtol result -tol 0.000290392426468876
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index a72c726bdb23d912cff46e83d50c746b6b779204..108ae511e6c17409815bfcb95a239a4175f5820a 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_pro14785b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 5fd0bcb9257acf97232bd0dd48022de61b8e8685..1a2d049e21820d5aaf58c0dc864f1fd663e0f5d1 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CIN900_cts20hli.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 0268d88562f7eb7e6e2d929335332d938602246d..c1dcc1351cca3e9b7652930b7da28821854812e2 100755 (executable)
@@ -4,7 +4,7 @@ restore [locate_data_file CIN901_intcqhmi.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.91680e+001
+checkmaxtol result -tol 1.91680e+001
 checknbshapes result -shell 1
 checkfreebounds result 3
 checkfaults result a 6
index 2b0e90824f96a68cdd2b3e22a89ed2b2a97a5352..248a317483f2c151c8a54e9bf3b252b218a9f931 100755 (executable)
@@ -4,7 +4,7 @@ restore [locate_data_file CIN901_intcqhmj.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 71.039012505679182
+checkmaxtol result -tol 71.039012505679182
 checknbshapes result -shell 1
 checkfreebounds result 34
 checkfaults result a 3
index 7b06f9330bb4b67923c4fda7e58ebfc3f19e1c84..bf5bcee6150a635494aa911db42175e63034cfa8 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20974b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 9feea21c9839fdc78c78f693ed61ec73556b261e..c073c8bd6f7984012e30ef773169226ad4b07c36 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20975b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0030000000000000001
+checkmaxtol result -tol 0.0030000000000000001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index c5cb6dfeb14da85c6dd5ed8b6e311ec2c209eec0..0535062a2674feb21bb56c8ef71048eaf11865a9 100755 (executable)
@@ -4,7 +4,7 @@ restore [locate_data_file CIN902_intcqhmm.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 4.30764e+001
+checkmaxtol result -tol 4.30764e+001
 checknbshapes result -shell 1
 checkfreebounds result 28
 checkfaults result a 11
index 63db7bb6d7d245504d6c97545bf948053e6a5416..2c3cbb2b7a0b9b88656f88d576be3facecf57391 100644 (file)
@@ -4,7 +4,7 @@ restore [locate_data_file CIN902_intcqhmn.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 3.77768e+001
+checkmaxtol result -tol 3.77768e+001
 checknbshapes result -shell 1
 checkfreebounds result 47
 checkfaults result a 7
index fbf67fab0e89e49fea2f7bd5263827fe39691c41..fff010c7ddc47d70349730636b54d777144de86b 100644 (file)
@@ -4,7 +4,7 @@ restore [locate_data_file CIN902_intcqhmo.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 3.77768e+001
+checkmaxtol result -tol 3.77768e+001
 checknbshapes result -shell 1
 checkfreebounds result 47
 checkfaults result a 7
index 2c8170d680e2747848f30a9fe68cec831f2273d9..a2df41f4447f9f5a6e92cac64b97a6e0860bcb61 100755 (executable)
@@ -4,7 +4,7 @@ restore [locate_data_file CIN902_intcqhmp.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 122.47700432877426
+checkmaxtol result -tol 122.47700432877426
 checknbshapes result -shell 1
 checkfreebounds result 19
 checkfaults result a 7
index 9ddffc03d522f83b7ff7208a918cdcd4e596ab56..5175163c3ddab1ecfc1d3f6d6ff61a00856a76d1 100644 (file)
@@ -5,7 +5,7 @@ restore [locate_data_file CIN902_intcqhmq.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 108.09508055264889
+checkmaxtol result -tol 108.09508055264889
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 13
index 7ec3ad7624be5d272a2d3cf0d45b5a77ca562cad..b99d418cd3594244a17197e444cd1fcdd4e4eedd 100644 (file)
@@ -6,7 +6,7 @@ restore [locate_data_file CIN902_intcqhmr.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 103.91426175652668
+checkmaxtol result -tol 103.91426175652668
 checknbshapes result -shell 1
 checkfreebounds result 21
 checkfaults result a 7
index bede0bf8fd15bfaab64b0db03da6cee7ef3d8cc4..ce66036969d21ce5c6c08080e436119e0aa1d9ef 100644 (file)
@@ -6,7 +6,7 @@ restore [locate_data_file CIN902_intcqhms.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 129.56600395440302
+checkmaxtol result -tol 129.56600395440302
 checknbshapes result -shell 1
 checkfreebounds result 53
 checkfaults result a 30
index c55a685dc76d1cd82c99c6ad4364221392a33452..fc7f8f4d288e12395419d4dec89e89f966faf852 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts21124a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00098148392391298302
+checkmaxtol result -tol 0.00098148392391298302
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index f7697fb8e4b65f3be6e847f01512bcee42e0a935..b4f1d77a4172aab84015f471d6c17694c07d4c62 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts21143a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index c680766e06eadbf652a9af1d8e4dd4ef5c93f8c0..d2f6ca240a0f9069a2dfefba9018d6d7eeebdc7c 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts21208a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 645d410b8e7e4f968ec61de214fcd931132f2d60..a5c84e08be1e04db1279361a55190b2a9367f938 100644 (file)
@@ -5,7 +5,7 @@ restore [locate_data_file CNP002_projoiep.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 2.81877e+001
+checkmaxtol result -tol 2.81877e+001
 checknbshapes result -shell 1
 checkfreebounds result 15
 checkfaults result a 1
index 14efdd42a180f95caf962f4dcbb97a39de4a0a03..0d94a30ad9a256a92e45aa8f87d901d1fbaa2f53 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CNP002_projoieq.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0011000000000000001
+checkmaxtol result -tol 0.0011000000000000001
 checknbshapes result -shell 1
 checkfreebounds result 32
 checkfaults result a 0
index a6b52d19cfb6b6d9d3ca51d0dbabb52631ce99e6..f23bc5f9e8c5ff4855b6b4fa17f860d96be9f57e 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CNP002_projoier.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 106.44142183190296
+checkmaxtol result -tol 106.44142183190296
 checknbshapes result -shell 1
 checkfreebounds result 39
 checkfaults result a 0
index faa601ab871186bd67838f59c2182130a9b96df9..4aca1bef908d7d78056e72019abf11ef1e0e4fbf 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_buc60219a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 6045ac1dac7631678676d0e57d6f125700cda2cd..02463edefd8e9173282c106ffc82f214543be2ea 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_cts18078-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.16631799443892401
+checkmaxtol result -tol 0.16631799443892401
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index fb762241c3187ec7a3b6cf364cc2971ef2fa24b3..5adc0cf99e93054ae73494874e6988e8498880e3 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_cts19474part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00080381362011902678
+checkmaxtol result -tol 0.00080381362011902678
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 197018747d57802bf5dd19e176eb8be4c95ac50a..0ae106496662992eb861dd5f98918bb2ea742486 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_cts19485-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 2f934dd9b582debcaf99b8d1a96986a69bd84d9d..70cbbe683d0585df0ef23a73d68fbdeb031534a6 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_cts20105a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 5.98000000519996e-005
+checkmaxtol result -tol 5.98000000519996e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 38d55ad6950b47ae74507bc7c62ac1f8cfc92a6c..fdf438ee673fdf73a7fa494e8b10a853ac9c71e7 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts21210a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 51043e7d391c003fa8d5b0688f211e9b48917138..73f51b2af654e8e66038e5ffdedc14504402492b 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts21216a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 3.5043984453518599e-005
+checkmaxtol result -tol 3.5043984453518599e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 13a019e42d245ec56301854126fbd43e1db5f72f..9aefff3c973d4831059f63e656c854e0a6398b90 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_cts20124a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.0669850423385499e-005
+checkmaxtol result -tol 1.0669850423385499e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index fac9898737b466a807b8d2e50716ad5ec4b81672..9f3e0089178f133ecfac2fae7d55975865d28c97 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_cts20124b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.0669850423385499e-005
+checkmaxtol result -tol 1.0669850423385499e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 5205335dc341562c174438d127fe4a4087f73b35..01d59bbbdf652d72727a66d3673a2466aa3f01a7 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_cts20212-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.02048224000014e-005
+checkmaxtol result -tol 1.02048224000014e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 26a2d5b8bdc7df23685194599fb4927ecb2d3e41..8558ff97a065a2fff34145b3e7b8e7d335e1f5ba 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_cts20212-tool.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index a9b5fd7458649e043165eb3d02ab19cafb6e8a65..fca2bc659f97550a0db5cb971d768ebb4e3e01c1 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_cts20374-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index fc562dfde2d7bbcebd2c359955a6fadbd3fecd59..abdfbf16655f449b4d01bd7bed84616e17106221 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_cts20722c.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 1d38e9bf92003bfdc54877caead0efae181056e0..2c998eb42ab9a3068c92fe9044d742e4c060c7d3 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_cts20722d.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 0d926b0233797e83347ce66d50cb0e60739b7f38..9903176ffd707a61612c4e95ca8868ff80a6ccb8 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_cts20736a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index f024ce5209f583944581f282f74cb37981f007fb..9908fa8496b47b18119bf21c2695804b1c66ea41 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_pro13495a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.000312825661963135
+checkmaxtol result -tol 0.000312825661963135
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 4a88b3c56cb9394833896363cd7e87a8f0ea18bc..58f4530bfc41bf894891e5c1a24130ec83cd5bcf 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_cts21180c.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 642fb1426c3caec037801076ca4400db06cb3702..5e59b3f4b02ef525021994ac34a9898eefca6bca 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_cts21180d.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 2.5033950095124698e-006
+checkmaxtol result -tol 2.5033950095124698e-006
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 8603892ce42e73ec232e3c187034d5f62e91121b..809e7e84cbc046b1cc7c6b699f39e1ff871eaf2d 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_cts21197c.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 1d7675c8355de399dacde8a074f6ceb895a02fdb..a92dce744a667fdcd21335b0e8240083eac97b2a 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_cts21453a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 54105341686868590f8f949f639744d91e44ce08..5cbd2d043492ac1a9180d0c716754995e20d990e 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_cts21453b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index cd4045506889048d613839cf49f23f051ac34009..c8bdb1668bc13c7b0a809aed9e4949cc54615a4b 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_pro14527a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 6f3a0f7e3a168b207f19ec7fe9b3b76fe1ed94d4..8d12b1d1af302d2f2a44399cf573e3ec963b12bf 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_cts40185_ailette.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0093618530697934712
+checkmaxtol result -tol 0.0093618530697934712
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 9e96a05841abd4010a06f2ba3a20d46b011e1bf6..68e36808ddfb6aa6b59d379cc850174eba0ed429 100644 (file)
@@ -4,7 +4,7 @@ restore [locate_data_file CTO900_cts40185_top.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0035001001080334497
+checkmaxtol result -tol 0.0035001001080334497
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 8
index 5c94d52b0c6d8b9d06fbfdb0b4241404b01b1592..1676889cf8b9c5f601996a63fafb48d8cf0a1239 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_cts60005a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.5608994683948008e-006
+checkmaxtol result -tol 9.5608994683948008e-006
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 848db90d742175fcb6ec962f24098df816ffe633..29630480a8d78463f4eccc596866dce1fe484b8b 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_cts60005b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 3dd96c3fd377cd92ff6c1fe9c8ad0fbd4a9bc35f..449f9dabde45ad4fa4a87ada23eff57c0f1a6b5f 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_pro14942a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0135272540005981
+checkmaxtol result -tol 0.0135272540005981
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index faa59ccc8f293bfe688b3b752c9944ba3911c68f..235b2dd59a6e9e1a36de00aa16fae0ca361732d7 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_fra11018a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 1112c31b62d0fc5b4bb78552500ef9b06c814134..79e57fb5a91ed35cfc9a9f1ac840bd793a5dd9ce 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_fra11018b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 7354c2df0cc9d6287859a8597800e11ccb91a2b8..f89844f01a044a10060da4d11b0da29b571d8e9e 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_fra50089-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index f38e09353070067e9a65c45afdd2c2983174442c..112723f72726d20db7f7df64f9054e51294f0993 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_fra60618-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 007b5d583abab6568dd621b1958efab569e52db7..0cb6da912d0295d5a83eda22f4430efcfe44d69c 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO909_Bug3_Tr_obj.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.000290392426468876
+checkmaxtol result -tol 0.000290392426468876
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index f6729a151bf638c0738de13770a85a4b65945d47..976914f9d9175f7401786d565aaa3cf498683605 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_fra60656-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 8.8386799426868199e-005
+checkmaxtol result -tol 8.8386799426868199e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 6b15abce3782da58117bf8597eff16b087d02807..1f683d9c6ce0ba02c1a05c5e4d517e485a6d7019 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_fra60656-tool.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 4605e3d49096d2cf16f78f67d6598d72c327bd61..16747b1369e5f3c37ff3f52d655643479223fde8 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_fra60810-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00142875770638596
+checkmaxtol result -tol 0.00142875770638596
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 783d285e100bfb5ccc767fb8722ef0f1a3ff7a2c..49cd3031f7bc3c87a239d3ea2271aec1abcc03db 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_fra60810-tool.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.0000000000000001e-005
+checkmaxtol result -tol 1.0000000000000001e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 5bf79a2f08b678ae9ca3786f32daa2464c1cd1a8..c5ef92fed2a41771dad0b47662a1e09c0fe27490 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_ger50084c.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 2.0000000000000002e-005
+checkmaxtol result -tol 2.0000000000000002e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 6103d5b31e8f9f22722d4d37ba27c657dce980c1..1acf3497a4d7c0dbfc2be499fd6c85e799d9bdd1 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_ger50084d.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index e88a97739e07e24e682600119f48784a1b8eae0b..777b134c0e1de9dac3e6a1f83925fda3355c166c 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_ger60039a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 4.7800000020000003e-005
+checkmaxtol result -tol 4.7800000020000003e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 5feca2d97820b5c38f5809acce8c1c1163dfead2..ac364def4b64541caa0279b7193c9575ddea9534 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_ger60039b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 6bcea89fb92530c4acc4873903723975ffcfca5f..e0452497fbca04fdf18addcd0151b54205c5b742 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_ger60040-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00053560000001999996
+checkmaxtol result -tol 0.00053560000001999996
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index a0ffc56ba65b5b1638afad4b7a50a276c922f4d0..96f74e45f7df971c33db2fd25e76d9863d956c1e 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_ger60041a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 6.5358038191646697e-005
+checkmaxtol result -tol 6.5358038191646697e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index b0112a8dcc7c3533ffd9f412b6893ec7f0f3d61d..d540cccb708b3fba1a19cf5a7dbe18748623f447 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_ger60043-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0046389414325077802
+checkmaxtol result -tol 0.0046389414325077802
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index e3ed291c0d010e254d8cf370755fce49a2b51305..2239d71e9142e4d8634c2ee01e6d4e81f4b8c757 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_ger60043-tool.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 09fc46aef334fce0f1b90b914dca1a0cd40d870b..d8394d5ce21677230d8e74916bc013f07b279d76 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_ger60054a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0029711398779358701
+checkmaxtol result -tol 0.0029711398779358701
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index a345ecaa4079de3cd216d54cdab9c6664cb2d5ad..05aaf91df2ca7a417073d4b61d7b902313b7a1ee 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_ger60054b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 8.4883104686090302e-005
+checkmaxtol result -tol 8.4883104686090302e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index b983873098b5d1c6f2bff305d4d43fb9a7710a64..2753af12148c33dac78741026cd9a2708e296b6a 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_ger60065-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.060767876617093201
+checkmaxtol result -tol 0.060767876617093201
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 909710d59febfe46f1f963661757a8c0b46d6667..838156fa46a8af42717163f89c0ab4944ceb01ff 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_ger60224-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00019999926881384401
+checkmaxtol result -tol 0.00019999926881384401
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 909710d59febfe46f1f963661757a8c0b46d6667..838156fa46a8af42717163f89c0ab4944ceb01ff 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_ger60224-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00019999926881384401
+checkmaxtol result -tol 0.00019999926881384401
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 2f91317f9ed2b6f5e9b77525cae973e5107d188a..fbe2f6a20226e90943afec2a439e49cd4020bfc2 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_ger60239a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index d37b70f00be30368e8820aa65725f7163f1115c6..56a672e9f190ec595a41cd8dba07b5463c1a56d9 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_ger60239b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00053768255859426301
+checkmaxtol result -tol 0.00053768255859426301
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index a9d84285370adc089fba1a52fd43a5c289bdcef9..40759a2ae15cfbb9bf9bb1d77f675bebd1721bda 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_ger60598c.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00097000973422413405
+checkmaxtol result -tol 0.00097000973422413405
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index feb379c3335edbd608c66076cc560eaab8c6652c..2df0bcd0cdb648172e32e5436573190b11ba6ce4 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_hkg60163c.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0076146762209044804
+checkmaxtol result -tol 0.0076146762209044804
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index ff0899261ec72fac7d2208c8a211b4f708003a91..b6dace760d14347fd4d79723b13622ebf0ef2cac 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro10505a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0064020864359655098
+checkmaxtol result -tol 0.0064020864359655098
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 460858448b053c9a3a0cd766b4380369f10100ae..744670dbca2f56e584dd19a7c394d480258cf435 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro10505b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0071966806154171803
+checkmaxtol result -tol 0.0071966806154171803
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index dc66140763994bce477b9c00bd3351188c092292..f010ce000ed49d741eaaf42f5a0da69cbe2d7f99 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro12660b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00057527116071712399
+checkmaxtol result -tol 0.00057527116071712399
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index e732a831540abd1d6f8c7000e371af7013482f7b..d62b351ce9e693a2cf5f831493a4121daf650786 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro12663-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.000102649552016514
+checkmaxtol result -tol 0.000102649552016514
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 0b211a0545f1d9758c27c1d1d95f462c9f36f682..9f7e8d6726e069a4ecec00cccaeb3c9572fb816f 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro12663-tool.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0029050514540109301
+checkmaxtol result -tol 0.0029050514540109301
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 14851f446111fe49ebc40ab3e4e0a96d0285cfdd..9636ba581a397535d2c10353daeb579ebd455094 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file shading_046.brep] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00744351212162117
+checkmaxtol result -tol 0.00744351212162117
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index cb7d08f92563b52a30b8427d9fa40dccc6b1621f..4117c268d5f3bee6e9f1bb1c7e1c53bc0e9f0785 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro5640_wanted.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.0000000000000001e-005
+checkmaxtol result -tol 1.0000000000000001e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index d440ca3ef07490d069e3c6161cbcf2082b3b7c3d..77b5198afd69a6f4857d9f35f7357ded28f6c92b 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro5640a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 305619453732db90ee9c95b0bf3d9c248afa03c6..8fa2eadd39ef7c12089886c7b4239e27d736aab8 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro5640b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index f99a906a3e8d04220e085b832b3c4ab175d2f5d9..79119ffb0464314007da88e249fab4277fbb89a8 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro6050a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 7.3849877949687495e-005
+checkmaxtol result -tol 7.3849877949687495e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 9f54ad032aa3c099f4e80eb9c41cf4ab9472c6dd..59b2cc14a5dce814313df0ac3d7fa65a0b7e3dbf 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro6050b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index b5ad2fe17964854936b5bbd75765b0b2140d17b6..b6800dc19a81dcd0962de830434e7d3f78c542c2 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro6066-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 5.0000000020000002e-005
+checkmaxtol result -tol 5.0000000020000002e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index dad6a18b2d86319cc659bd42f3d4b492d717400c..3db0d352041250abf2ac3d883f12ad428598018e 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro6066-tool.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index a28d2fe2f0de9a58e4e20aa0b2a89e5c3b62ad36..14c406a9c0c53a2bfe450b74a60d9171b11ef4bd 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro6066a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 81562218e9b9844c2940e48e9bc4f5f841ceed6c..ad59966a459707aa7ce73d1b7cdc350e4ede3dab 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro6066b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index c0c076ec54244dac7a491834b7517393470a00a5..678b657f45f98369feade24a1ab22731326bb495 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro6110a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 3d0f25e7e39ade956007364bf2c704a143c4c366..ff80104a50efe415f152294ed6fcffb1cbb0684c 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro6110b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 59dc0dd3548b08458ba445d9869783f858c7036f..85881a863f46ead55cf4966613f8fdf2c39f0bb0 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro6965a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 649acaad700e50a3a7e96cc9ec636724dbaa5544..ab428b82e1bab10c34bfe9d0729e2565f4ff5493 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro6965b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 97e561d95ab08fa27423a0fac03806c4c5a49236..d9eb6dd6848640371a963d44c6b49c6005ea72fb 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro6974.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 42bd00c5aebe25e07fcbf97d5f8c3e51c2246a07..839cf7744e34c6023eba40e63d79a541463cc954 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro6974_box.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 1d5c0b17cd0f8ba449a20458a36e48e76fbb844b..22a735f2d5e9dd4b70b748279b1c9a945450ce50 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro7637_box.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index a194904562b569a2a1b7d502f421b2464f9ade79..bcfc1a5c48ec524b9982da0123ee8f90ba83b830 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro7637_prism_oblong.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index d305ce3272d799e79ec0cf86ae0ae35f74dc18d9..8438802d7532b5e6dd282016f076153fae759b78 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro7637c_box_dsg.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 9a7c8e825f7a8491aa90062b02b3ea3941ec3ae9..30bb7802b3ae08a973a52e21382b84f420c745f7 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro7637c_prism_oblong_dsg.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 93be84ffc80c6ddad0435e28c9bc54038c160216..f9712c97184721a896cfca34128b6c419500ad1d 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro7637c_result_dsg.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 3d0b9082a3b2d26845a80514453229fd8a1f6f49..a72e68fa522a8f8ab70394fc0622399be917f2d1 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro7934a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 708b15135b2d9614b9be929e1a89dbd162b43067..f4b2adf9dd224632f7d479b4bba9a40a709d3690 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro7934b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 4afa29736b6614400a43b206aef997b4faf74b31..7e3a66a4a91e697affdc09aced9cec8ecb3fb4b7 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro8320-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 7.7279602250781197e-006
+checkmaxtol result -tol 7.7279602250781197e-006
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 6140b73c95be178cbb48773f7406cb3f11c98791..51a9c4a86548c5947988f62497c75576dab5959d 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro8934a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.27097139218059602
+checkmaxtol result -tol 0.27097139218059602
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 07fa2ee9278cb5ba8fc49fa8ab62eb30ba0b613f..77d488ea027d608f5b08151569028064175762b2 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro8934b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 98b8bf24c40630548cd7fd0d07633932e20e9e1d..fec028932973344ead6bf1c4ea241b36061a2f7f 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro8951a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index e8cc7af5a4be680047163a6c2a67e9e10ce7f3cd..ce67bc3c7295e75538d36ddbe4cc4c6036f6bc5b 100755 (executable)
@@ -2,7 +2,7 @@ restore [locate_data_file ma-test3.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.75025e+002
+checkmaxtol result -tol 1.75025e+002
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 98b8bf24c40630548cd7fd0d07633932e20e9e1d..fec028932973344ead6bf1c4ea241b36061a2f7f 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro8951a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 705dcda5bb20dc4087c6b2b9be9f2b74614cd2d8..9d867a9d116eae2b61cbd0f0672011550f6c5ecd 100755 (executable)
@@ -2,7 +2,7 @@ restore [locate_data_file ma-test5.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.57832e+000
+checkmaxtol result -tol 1.57832e+000
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 09897cb94a556138e50b09b5edf5a1fec241eb9d..a58d24902c16459d9cbaabb20797de6d3ceda478 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file support-fixed.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00047249600109400698
+checkmaxtol result -tol 0.00047249600109400698
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 76b53c2ea97cbf23725e35f0804335ed1fd49d2a..19f387cddc093a185ac2d1e495dad2b138381a28 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro9476-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 238b67b391ec23c250d15c78c163fb163f142dab..0faf1f6c250c56cb5e58b809b36b10b99f367bcf 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_pro9476-tool.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 40ed68ebaa9a5b9cf64079cb7917395453cb0223..f5e3802acd03db48ab40483922009819222de428 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO901_cts20138_base.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 5720c13f4f0a563d1aeae875411fff31229891a2..fdfcb89da9299c07e8f9fd5b4de6416a879e6a60 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO901_cts20138_outil.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.12665115431084e-005
+checkmaxtol result -tol 1.12665115431084e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index a2b256e26c822ef10e20ac852007dfe7703334ba..d70e201a8d087196406f413225d62bbfa832c0db 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO901_cts20150_base.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index cca73a632064d316961654348133e27821f78276..09af6418f7e20d9f54743b5e669890d7ab6e017a 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO901_cts20150_outil.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 483a549430e45c20d9b28f14f4c7ca313a0ddd99..d84d7e0f5963ef61e80240a3eb6545721d85ec67 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO901_cts20171_base.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index cd48353994fdde11dd99e201da9686d3867b4d65..8f3f2fe59a6bab4ee4158e251f30fec94f941b22 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO901_cts20171_outil.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 941678a12674edc351799f7de2c5e860efd7a3dd..083f3f0900c0d7b6ad5b5039afb7d92697f3b279 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO901_cts20172_base.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 50.000075982060999
+checkmaxtol result -tol 50.000075982060999
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 6b01ec1e445b4ca7eb3eebc145cc0da12f8b13ae..922392952f772ae4a8fcd00bd1555f2d029228ed 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO901_cts20203_base.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 4af7d7073b172a35c4ac29b63abcd57dc743f082..0c79a88f0defcd1cde63cf2a841ef1f9e0641a34 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO901_cts20203_outil.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 9a3130dacd5b5b07e7f9d91e468c949282d49a0b..86a19525409070e39e8ad03c4c504e738e86bf2c 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO901_cts20204_base.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 906d1848fcdd6cd6f9257ad7051d250bd6254443..75eb06929149f67d361678a0ec4e2e717070efff 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO901_cts20204_outil.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 8d33e4715927d734fceaa0143c7c978e4a549486..f4d8403d217f0f80f8c2b20d749ad654fdc5400e 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO901_cts20205-base.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index eb8ade08f1d741970f04c304c202aeb750b46f8f..caac9a80a06293438d0aff4e5aa4116e1ca83b40 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO901_cts20205-outil.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 88ad2da8f0738558d33d2c4c8ac36da4407637c7..1f5efb8884b8fdd875979eef0089c69304c5ed24 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO901_cts20216_base.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 68445091053f017a2014caf6acbe266cb7a081fb..e9d3b791e720cb7079d8571675d08621afee403b 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20077a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.460000002e-005
+checkmaxtol result -tol 1.460000002e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 71768fda5f02ce4d6becfa7d792317ae169d159a..23ccabba17e30fc441bce5d1a0e88c9465c08e90 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20088a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index e47c2d91dab6ed28d94122baa6ca19a5aa573d76..130b7a38739660c12fd98637ad98b4205ce108f2 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20088b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.000357806135894076
+checkmaxtol result -tol 0.000357806135894076
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 54d7fd219500913fecd78f3bf7975dc10d1d7c3e..00dd214db9b3551e359e9d9aaa203232f89cf32b 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20148a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.000129325309076528
+checkmaxtol result -tol 0.000129325309076528
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 7255a0118223f7b3140068dcceb3c7a20102b5af..45f4bbef5cd6630c95ce2f1a6b4478493ca094a2 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20148b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 0a1084d3647b6b2c41d2a5f534dae4318886666a..ee7f3fcb0af454140ba8afcfbd35e85fb0f7cb2d 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20176a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 50.000075982060999
+checkmaxtol result -tol 50.000075982060999
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 0408fa77fb6a2767567b33898366e017084182d3..78892d734f2610a7d613394dfd15739c4ca4b367 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20280a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.99827449814472002
+checkmaxtol result -tol 0.99827449814472002
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index f97b760ca4db4aa38cd84152796e333c8a62d93f..16df30b103c61b9634947979eb0164aa620396e1 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20280b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 17b0ee1938faf0b9c8cdbc9ec5b77a81a483594e..a1200caa36cb9a898a3e3818731318544de4330f 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20290a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 164.05762248061501
+checkmaxtol result -tol 164.05762248061501
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 2fb2c2c2fa68a3e3a80af53b4db4362bcb320dfb..3018edaf767c2cdacd3c4613e1d59cafdde3c5ea 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts20974a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.059303013637042101
+checkmaxtol result -tol 0.059303013637042101
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index b700beb2ba8c4ba4033297f440abaca15f8902f9..5ab7d2aaf5775c50387b4617b02726147c48a59b 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file support.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00047249600109400698
+checkmaxtol result -tol 0.00047249600109400698
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 35ef973953d3aee9d25227167ba68eed6146559f..0c4792b1192dac1d650d2c59c321d493169c8fa1 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_cts21364a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.011092740551156799
+checkmaxtol result -tol 0.011092740551156799
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 2100dcb93022955fcc1fb4482e4be52492b62e80..3ea3cee4ce644f61ba58aeef6e9e24e5d8de57e8 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_fra61199a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0031479984377688502
+checkmaxtol result -tol 0.0031479984377688502
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index af504869335773c9577f7a2a231ebba03fdf5630..9b5372baadab69e246142c05b7058584baaad010 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_fra61199b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index e0f0583d11010ea04fecda1788d98692f0605ca6..03fa657d3c3be04144cc717d9d634b99dcb87849 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_ger60038.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0036800000020000001
+checkmaxtol result -tol 0.0036800000020000001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 909710d59febfe46f1f963661757a8c0b46d6667..838156fa46a8af42717163f89c0ab4944ceb01ff 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO900_ger60224-part.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00019999926881384401
+checkmaxtol result -tol 0.00019999926881384401
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index f717fea608f63e4eb1104845dfd4438086b26ded..12bc5803effec30bf6a475f6a1358f07ed1314f1 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_hkg60150a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.800000002e-005
+checkmaxtol result -tol 1.800000002e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 762c68508e928f8597897526cd5c772ac608c8de..39a4c930bf8641f91c43e5043dc64d057f897eec 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_hkg60150b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 34932bd251a7b16ff15d84966cccf40b3b093f5d..d0010afa324cfb1c8298d67e5e99e879e3b9ae4f 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_hkg60155a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 4.9999999999999998e-007
+checkmaxtol result -tol 4.9999999999999998e-007
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index fac2da4faa5b26d6cc25eb4fe9daa3b053d9d54f..4b5db85e76794fb53313eb4c324126558318d638 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_hkg60155b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 8dd8d7127161c720286064bb6acac2671075f319..947272fb3d41e097a535078663ad5a9ddda62ff2 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_hkg60156a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.460000002e-005
+checkmaxtol result -tol 1.460000002e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 9ed81ef251843e7952e6af8b88e1ee679cc8c49d..8912b11fe41ca8c8a2ec93741ea86b7b17dcc008 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_hkg60156b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index f77564f4032a1ce5e5e302ccb954880978fef3d7..ed900e329f0d940331a1c16aa74145201d01c2d7 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_hkg60206.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.00036648229568593901
+checkmaxtol result -tol 0.00036648229568593901
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 011704a6d744e32113ad96a03ecf8b1437e98731..ec7f942225d7cecf34a7f40c7e9dcc3b0613dcc3 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_pro10095a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index b68283aa83453f7f170de1d8f426a13e291cf634..68b68ab4c6debb2e5a925dd32a6dec26a2dd4d4b 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_pro10095b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 114.90666646781224
+checkmaxtol result -tol 114.90666646781224
 checknbshapes result -shell 1
 checkfreebounds result 4
 checkfaults result a 0
index c251559a73d8df486327e7d8e6af3d3c02b7ede2..3c8a99a0e3cbb9e0e2dd94973a283ba161106d5d 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_pro11615b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0030000000000000001
+checkmaxtol result -tol 0.0030000000000000001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 4015444046dedec382926371f47b38ff49b7eb67..b6c930d7015b50229c3ca09ed3ae42c874cc4595 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_pro12852a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index d241f31d90be8034c22b73776188fa6a4616ca5e..83a7c52c0f052755786bf578f82c7dd55a6a48b1 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_pro12852b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 72641e510539f338f7d556344196e8e37497164c..6ab2f4a0971fd3b3c8a4de089b44f2624b25e4fe 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_pro12859a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0001
+checkmaxtol result -tol 0.0001
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index beb28c84d700a29b2e8869b650e451943f128114..527bb3aacb960fa072e0d37538c2d8ce588bbe0e 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_pro12859b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 4e85c8b308067f0027c24e76471b9ea34fc43c04..a64cc825da4344b135752199fdb3c55ac1da9406 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_pro12875a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 0.0076505568825966704
+checkmaxtol result -tol 0.0076505568825966704
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index 720721b93ab7c06358917baff3a3d342ba08fbf3..effb5f6c35de4790cd9fd9bbd613905736bdef18 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_pro12875b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index f9146d1ec8db01718d3dd7858a544046208fe525..fa6605d6d06b334bfdfb769e4d014d9f65e4f7ff 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_pro12956b.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 9.9999999999999995e-008
+checkmaxtol result -tol 9.9999999999999995e-008
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0
index e94e74cff865d3ef3c11acba1579f4ddb2a1a289..13d15188b0cbcbe4d9956dcb8e490aadb080aceb 100644 (file)
@@ -2,7 +2,7 @@ restore [locate_data_file CTO904_pro13555a.rle] a
 
 sewing result $tol a
 
-checkmaxtol result -ref 1.180000002e-005
+checkmaxtol result -tol 1.180000002e-005
 checknbshapes result -shell 1
 checkfreebounds result 0
 checkfaults result a 0