From 58657d3c3cbdb0fe10ab3c6cfe7b00d8ce80d7ff Mon Sep 17 00:00:00 2001 From: ski Date: Tue, 29 Sep 2015 14:44:12 +0300 Subject: [PATCH] 0026706: Create commands for testing procedure 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. --- dox/dev_guides/tests/tests.md | 140 +++++- src/DrawResources/CheckCommands.tcl | 618 +++++++++++++++++++++--- tests/bugs/iges/bug306 | 2 +- tests/bugs/modalg_1/buc60523 | 2 +- tests/bugs/modalg_1/buc60905 | 2 +- tests/bugs/modalg_2/bug22500 | 2 +- tests/bugs/modalg_2/bug22717 | 2 +- tests/bugs/modalg_2/bug22765 | 2 +- tests/bugs/modalg_2/bug22770_1 | 2 +- tests/bugs/modalg_2/bug22770_10 | 2 +- tests/bugs/modalg_2/bug22770_11 | 2 +- tests/bugs/modalg_2/bug22770_12 | 2 +- tests/bugs/modalg_2/bug22770_13 | 2 +- tests/bugs/modalg_2/bug22770_14 | 2 +- tests/bugs/modalg_2/bug22770_15 | 2 +- tests/bugs/modalg_2/bug22770_16 | 2 +- tests/bugs/modalg_2/bug22770_17 | 2 +- tests/bugs/modalg_2/bug22770_18 | 2 +- tests/bugs/modalg_2/bug22770_19 | 2 +- tests/bugs/modalg_2/bug22770_2 | 2 +- tests/bugs/modalg_2/bug22770_20 | 2 +- tests/bugs/modalg_2/bug22770_21 | 2 +- tests/bugs/modalg_2/bug22770_22 | 2 +- tests/bugs/modalg_2/bug22770_23 | 2 +- tests/bugs/modalg_2/bug22770_24 | 2 +- tests/bugs/modalg_2/bug22770_25 | 2 +- tests/bugs/modalg_2/bug22770_26 | 2 +- tests/bugs/modalg_2/bug22770_27 | 2 +- tests/bugs/modalg_2/bug22770_28 | 2 +- tests/bugs/modalg_2/bug22770_29 | 2 +- tests/bugs/modalg_2/bug22770_3 | 2 +- tests/bugs/modalg_2/bug22770_30 | 2 +- tests/bugs/modalg_2/bug22770_4 | 2 +- tests/bugs/modalg_2/bug22770_5 | 2 +- tests/bugs/modalg_2/bug22770_6 | 2 +- tests/bugs/modalg_2/bug22770_7 | 2 +- tests/bugs/modalg_2/bug22770_8 | 2 +- tests/bugs/modalg_2/bug22770_9 | 2 +- tests/bugs/modalg_2/bug22804 | 2 +- tests/bugs/modalg_2/bug22881 | 2 +- tests/bugs/modalg_2/bug322 | 2 +- tests/bugs/modalg_2/bug5805_1 | 2 +- tests/bugs/modalg_2/bug5805_2 | 2 +- tests/bugs/modalg_2/bug5805_3 | 2 +- tests/bugs/modalg_2/bug5805_4 | 2 +- tests/bugs/modalg_2/bug5805_5 | 2 +- tests/bugs/modalg_3/bug5805_6 | 2 +- tests/bugs/modalg_4/bug5806 | 2 +- tests/bugs/modalg_4/bug714 | 2 +- tests/bugs/modalg_5/bug22747 | 2 +- tests/bugs/modalg_5/bug23375_1 | 2 +- tests/bugs/modalg_5/bug23845 | 4 +- tests/bugs/modalg_5/bug24036 | 2 +- tests/bugs/modalg_5/bug24174_1 | 2 +- tests/bugs/modalg_5/bug24174_2 | 2 +- tests/bugs/modalg_5/bug24390_1 | 2 +- tests/bugs/modalg_5/bug24390_2 | 2 +- tests/bugs/modalg_5/bug24817 | 4 +- tests/bugs/modalg_5/bug25175 | 2 +- tests/bugs/modalg_6/bug24097 | 2 +- tests/bugs/moddata_1/bug135 | 2 +- tests/bugs/moddata_1/bug20904_1 | 2 +- tests/bugs/moddata_1/bug20904_2 | 2 +- tests/bugs/moddata_1/bug20904_3 | 2 +- tests/bugs/moddata_2/bug326 | 2 +- tests/bugs/moddata_2/bug343 | 4 +- tests/bugs/moddata_2/bug36 | 2 +- tests/bugs/moddata_2/bug42 | 2 +- tests/bugs/moddata_3/buc60898 | 2 +- tests/bugs/moddata_3/bug24065 | 2 +- tests/bugs/xde/bug184 | 2 +- tests/bugs/xde/bug547_2 | 2 +- tests/bugs/xde/bug6491 | 2 +- tests/bugs/xde/bug6675 | 2 +- tests/bugs/xde/bug859 | 2 +- tests/de/end | 722 +--------------------------- tests/de/iges_1/A1 | 65 ++- tests/de/iges_1/A2 | 65 ++- tests/de/iges_1/A3 | 65 ++- tests/de/iges_1/A4 | 65 ++- tests/de/iges_1/A5 | 65 ++- tests/de/iges_1/A6 | 65 ++- tests/de/iges_1/A7 | 65 ++- tests/de/iges_1/A8 | 65 ++- tests/de/iges_1/A9 | 65 ++- tests/de/iges_1/B1 | 65 ++- tests/de/iges_1/B2 | 65 ++- tests/de/iges_1/B3 | 65 ++- tests/de/iges_1/B4 | 65 ++- tests/de/iges_1/B5 | 65 ++- tests/de/iges_1/B6 | 65 ++- tests/de/iges_1/B7 | 65 ++- tests/de/iges_1/B8 | 65 ++- tests/de/iges_1/B9 | 65 ++- tests/de/iges_1/C1 | 65 ++- tests/de/iges_1/C2 | 65 ++- tests/de/iges_1/C3 | 65 ++- tests/de/iges_1/C4 | 65 ++- tests/de/iges_1/C5 | 65 ++- tests/de/iges_1/C6 | 65 ++- tests/de/iges_1/C7 | 65 ++- tests/de/iges_1/C8 | 65 ++- tests/de/iges_1/C9 | 65 ++- tests/de/iges_1/D1 | 64 ++- tests/de/iges_1/D2 | 65 ++- tests/de/iges_1/D3 | 65 ++- tests/de/iges_1/D4 | 65 ++- tests/de/iges_1/D5 | 65 ++- tests/de/iges_1/D6 | 65 ++- tests/de/iges_1/D7 | 65 ++- tests/de/iges_1/D8 | 65 ++- tests/de/iges_1/D9 | 65 ++- tests/de/iges_1/E1 | 65 ++- tests/de/iges_1/E2 | 65 ++- tests/de/iges_1/E3 | 65 ++- tests/de/iges_1/E4 | 65 ++- tests/de/iges_1/E5 | 65 ++- tests/de/iges_1/E6 | 65 ++- tests/de/iges_1/E7 | 65 ++- tests/de/iges_1/E8 | 65 ++- tests/de/iges_1/E9 | 65 ++- tests/de/iges_1/F1 | 65 ++- tests/de/iges_1/F2 | 65 ++- tests/de/iges_1/F3 | 65 ++- tests/de/iges_1/F4 | 65 ++- tests/de/iges_1/F5 | 65 ++- tests/de/iges_1/F6 | 65 ++- tests/de/iges_1/F7 | 65 ++- tests/de/iges_1/F8 | 65 ++- tests/de/iges_1/F9 | 64 ++- tests/de/iges_1/G1 | 65 ++- tests/de/iges_1/G2 | 65 ++- tests/de/iges_1/G3 | 65 ++- tests/de/iges_1/G4 | 64 ++- tests/de/iges_1/G5 | 65 ++- tests/de/iges_1/G6 | 65 ++- tests/de/iges_1/G7 | 65 ++- tests/de/iges_1/G8 | 65 ++- tests/de/iges_1/G9 | 65 ++- tests/de/iges_1/H1 | 65 ++- tests/de/iges_1/H2 | 65 ++- tests/de/iges_1/H3 | 65 ++- tests/de/iges_1/H4 | 65 ++- tests/de/iges_1/H5 | 65 ++- tests/de/iges_1/H6 | 65 ++- tests/de/iges_1/H7 | 65 ++- tests/de/iges_1/H8 | 65 ++- tests/de/iges_1/H9 | 65 ++- tests/de/iges_1/I1 | 65 ++- tests/de/iges_1/I2 | 65 ++- tests/de/iges_1/I3 | 65 ++- tests/de/iges_1/I4 | 65 ++- tests/de/iges_1/I5 | 65 ++- tests/de/iges_1/I6 | 65 ++- tests/de/iges_1/I7 | 65 ++- tests/de/iges_1/I8 | 65 ++- tests/de/iges_1/I9 | 65 ++- tests/de/iges_1/J1 | 65 ++- tests/de/iges_1/J2 | 65 ++- tests/de/iges_1/J3 | 67 ++- tests/de/iges_1/J4 | 65 ++- tests/de/iges_1/J5 | 65 ++- tests/de/iges_1/J6 | 65 ++- tests/de/iges_1/J7 | 65 ++- tests/de/iges_1/J8 | 65 ++- tests/de/iges_1/J9 | 65 ++- tests/de/iges_1/K1 | 65 ++- tests/de/iges_1/K2 | 65 ++- tests/de/iges_1/K3 | 67 ++- tests/de/iges_1/K4 | 65 ++- tests/de/iges_1/K5 | 65 ++- tests/de/iges_1/K6 | 65 ++- tests/de/iges_1/K7 | 65 ++- tests/de/iges_1/K8 | 65 ++- tests/de/iges_1/K9 | 66 ++- tests/de/iges_1/L1 | 65 ++- tests/de/iges_1/L2 | 65 ++- tests/de/iges_1/L3 | 65 ++- tests/de/iges_1/L4 | 65 ++- tests/de/iges_1/L5 | 64 ++- tests/de/iges_1/L6 | 65 ++- tests/de/iges_1/L7 | 65 ++- tests/de/iges_1/L8 | 65 ++- tests/de/iges_1/L9 | 65 ++- tests/de/iges_1/M1 | 65 ++- tests/de/iges_1/M2 | 65 ++- tests/de/iges_1/M3 | 65 ++- tests/de/iges_1/M4 | 65 ++- tests/de/iges_1/M5 | 65 ++- tests/de/iges_1/M6 | 65 ++- tests/de/iges_1/M7 | 64 ++- tests/de/iges_1/M8 | 65 ++- tests/de/iges_1/M9 | 65 ++- tests/de/iges_1/N1 | 65 ++- tests/de/iges_1/N2 | 65 ++- tests/de/iges_1/N3 | 65 ++- tests/de/iges_1/N4 | 65 ++- tests/de/iges_1/N5 | 65 ++- tests/de/iges_1/N6 | 65 ++- tests/de/iges_1/N7 | 65 ++- tests/de/iges_1/N8 | 65 ++- tests/de/iges_1/N9 | 65 ++- tests/de/iges_1/O1 | 65 ++- tests/de/iges_1/O2 | 65 ++- tests/de/iges_1/O3 | 65 ++- tests/de/iges_1/O4 | 65 ++- tests/de/iges_1/O5 | 67 ++- tests/de/iges_1/O6 | 65 ++- tests/de/iges_1/O7 | 65 ++- tests/de/iges_1/O8 | 65 ++- tests/de/iges_1/O9 | 65 ++- tests/de/iges_1/P1 | 65 ++- tests/de/iges_1/P2 | 65 ++- tests/de/iges_1/P3 | 65 ++- tests/de/iges_1/P4 | 65 ++- tests/de/iges_1/P5 | 68 ++- tests/de/iges_1/P6 | 65 ++- tests/de/iges_1/P7 | 65 ++- tests/de/iges_1/P8 | 65 ++- tests/de/iges_1/P9 | 65 ++- tests/de/iges_1/Q1 | 65 ++- tests/de/iges_1/Q2 | 65 ++- tests/de/iges_1/Q3 | 65 ++- tests/de/iges_1/Q4 | 65 ++- tests/de/iges_1/Q5 | 66 ++- tests/de/iges_1/Q6 | 65 ++- tests/de/iges_1/Q7 | 65 ++- tests/de/iges_1/Q8 | 65 ++- tests/de/iges_1/Q9 | 65 ++- tests/de/iges_1/R1 | 65 ++- tests/de/iges_1/R2 | 65 ++- tests/de/iges_1/R3 | 65 ++- tests/de/iges_1/R4 | 65 ++- tests/de/iges_1/R5 | 65 ++- tests/de/iges_1/R6 | 65 ++- tests/de/iges_1/R7 | 65 ++- tests/de/iges_1/R8 | 69 ++- tests/de/iges_2/A1 | 64 ++- tests/de/iges_2/A2 | 65 ++- tests/de/iges_2/A3 | 65 ++- tests/de/iges_2/A4 | 68 ++- tests/de/iges_2/A5 | 65 ++- tests/de/iges_2/A6 | 65 ++- tests/de/iges_2/A7 | 68 ++- tests/de/iges_2/A8 | 68 ++- tests/de/iges_2/A9 | 65 ++- tests/de/iges_2/B1 | 68 ++- tests/de/iges_2/B2 | 65 ++- tests/de/iges_2/B3 | 65 ++- tests/de/iges_2/B4 | 65 ++- tests/de/iges_2/B5 | 65 ++- tests/de/iges_2/B6 | 65 ++- tests/de/iges_2/B7 | 65 ++- tests/de/iges_2/B8 | 68 ++- tests/de/iges_2/B9 | 65 ++- tests/de/iges_2/C1 | 65 ++- tests/de/iges_2/C2 | 68 ++- tests/de/iges_2/C3 | 65 ++- tests/de/iges_2/C4 | 66 ++- tests/de/iges_2/C5 | 64 ++- tests/de/iges_2/C6 | 65 ++- tests/de/iges_2/C7 | 65 ++- tests/de/iges_2/C8 | 65 ++- tests/de/iges_2/C9 | 65 ++- tests/de/iges_2/D1 | 66 ++- tests/de/iges_2/D2 | 65 ++- tests/de/iges_2/D3 | 65 ++- tests/de/iges_2/D4 | 65 ++- tests/de/iges_2/D5 | 65 ++- tests/de/iges_2/D6 | 65 ++- tests/de/iges_2/D7 | 65 ++- tests/de/iges_2/D8 | 66 ++- tests/de/iges_2/D9 | 68 ++- tests/de/iges_2/E1 | 65 ++- tests/de/iges_2/E2 | 65 ++- tests/de/iges_2/E3 | 67 ++- tests/de/iges_2/E4 | 65 ++- tests/de/iges_2/E5 | 65 ++- tests/de/iges_2/E6 | 65 ++- tests/de/iges_2/E7 | 65 ++- tests/de/iges_2/E8 | 65 ++- tests/de/iges_2/E9 | 65 ++- tests/de/iges_2/F1 | 65 ++- tests/de/iges_2/F2 | 65 ++- tests/de/iges_2/F3 | 65 ++- tests/de/iges_2/F4 | 65 ++- tests/de/iges_2/F5 | 65 ++- tests/de/iges_2/F6 | 65 ++- tests/de/iges_2/F7 | 65 ++- tests/de/iges_2/F8 | 65 ++- tests/de/iges_2/F9 | 65 ++- tests/de/iges_2/G1 | 66 ++- tests/de/iges_2/G2 | 65 ++- tests/de/iges_2/G3 | 65 ++- tests/de/iges_2/G4 | 65 ++- tests/de/iges_2/G5 | 65 ++- tests/de/iges_2/G6 | 65 ++- tests/de/iges_2/G7 | 68 ++- tests/de/iges_2/G8 | 66 ++- tests/de/iges_2/G9 | 65 ++- tests/de/iges_2/H1 | 65 ++- tests/de/iges_2/H2 | 65 ++- tests/de/iges_2/H3 | 65 ++- tests/de/iges_2/H4 | 65 ++- tests/de/iges_2/H5 | 65 ++- tests/de/iges_2/H6 | 65 ++- tests/de/iges_2/H7 | 65 ++- tests/de/iges_2/H8 | 65 ++- tests/de/iges_2/H9 | 69 ++- tests/de/iges_2/I1 | 65 ++- tests/de/iges_2/I2 | 65 ++- tests/de/iges_2/I3 | 65 ++- tests/de/iges_2/I4 | 65 ++- tests/de/iges_2/I5 | 65 ++- tests/de/iges_2/I6 | 65 ++- tests/de/iges_2/I7 | 65 ++- tests/de/iges_2/I8 | 65 ++- tests/de/iges_2/I9 | 67 ++- tests/de/iges_2/J1 | 65 ++- tests/de/iges_3/A1 | 65 ++- tests/de/iges_3/A2 | 65 ++- tests/de/iges_3/A3 | 65 ++- tests/de/iges_3/A4 | 65 ++- tests/de/iges_3/A5 | 66 ++- tests/de/iges_3/A6 | 65 ++- tests/de/iges_3/A7 | 65 ++- tests/de/iges_3/A8 | 65 ++- tests/de/iges_3/A9 | 65 ++- tests/de/iges_3/B1 | 65 ++- tests/de/iges_3/B2 | 67 ++- tests/de/step_1/A1 | 64 ++- tests/de/step_1/A2 | 63 ++- tests/de/step_1/A3 | 63 ++- tests/de/step_1/A4 | 63 ++- tests/de/step_1/A5 | 63 ++- tests/de/step_1/A6 | 63 ++- tests/de/step_1/A7 | 63 ++- tests/de/step_1/A8 | 63 ++- tests/de/step_1/A9 | 63 ++- tests/de/step_1/B1 | 63 ++- tests/de/step_1/B2 | 63 ++- tests/de/step_1/B3 | 63 ++- tests/de/step_1/B4 | 63 ++- tests/de/step_1/B5 | 63 ++- tests/de/step_1/B6 | 63 ++- tests/de/step_1/B7 | 63 ++- tests/de/step_1/B8 | 63 ++- tests/de/step_1/B9 | 63 ++- tests/de/step_1/C1 | 63 ++- tests/de/step_1/C2 | 63 ++- tests/de/step_1/C3 | 63 ++- tests/de/step_1/C4 | 63 ++- tests/de/step_1/C5 | 63 ++- tests/de/step_1/C6 | 63 ++- tests/de/step_1/C7 | 63 ++- tests/de/step_1/C8 | 63 ++- tests/de/step_1/C9 | 63 ++- tests/de/step_1/D1 | 62 ++- tests/de/step_1/D2 | 63 ++- tests/de/step_1/D3 | 63 ++- tests/de/step_1/D4 | 63 ++- tests/de/step_1/D5 | 63 ++- tests/de/step_1/D6 | 63 ++- tests/de/step_1/D7 | 63 ++- tests/de/step_1/D8 | 63 ++- tests/de/step_1/D9 | 63 ++- tests/de/step_1/E1 | 63 ++- tests/de/step_1/E2 | 63 ++- tests/de/step_1/E3 | 63 ++- tests/de/step_1/E4 | 63 ++- tests/de/step_1/E5 | 63 ++- tests/de/step_1/E6 | 63 ++- tests/de/step_1/E7 | 63 ++- tests/de/step_1/E8 | 63 ++- tests/de/step_1/E9 | 63 ++- tests/de/step_1/F1 | 63 ++- tests/de/step_1/F2 | 63 ++- tests/de/step_1/F3 | 63 ++- tests/de/step_1/F4 | 63 ++- tests/de/step_1/F5 | 63 ++- tests/de/step_1/F6 | 63 ++- tests/de/step_1/F7 | 63 ++- tests/de/step_1/F8 | 63 ++- tests/de/step_1/F9 | 62 ++- tests/de/step_1/G1 | 63 ++- tests/de/step_1/G2 | 62 ++- tests/de/step_1/G3 | 62 ++- tests/de/step_1/G4 | 63 ++- tests/de/step_1/G5 | 63 ++- tests/de/step_1/G6 | 62 ++- tests/de/step_1/G7 | 62 ++- tests/de/step_1/G8 | 63 ++- tests/de/step_1/G9 | 63 ++- tests/de/step_1/H1 | 63 ++- tests/de/step_1/H2 | 63 ++- tests/de/step_1/H3 | 63 ++- tests/de/step_1/H4 | 63 ++- tests/de/step_1/H5 | 63 ++- tests/de/step_1/H6 | 63 ++- tests/de/step_1/H7 | 63 ++- tests/de/step_1/H8 | 63 ++- tests/de/step_1/H9 | 63 ++- tests/de/step_1/I1 | 63 ++- tests/de/step_1/I2 | 63 ++- tests/de/step_1/I3 | 63 ++- tests/de/step_1/I4 | 63 ++- tests/de/step_1/I5 | 63 ++- tests/de/step_1/I6 | 63 ++- tests/de/step_1/I7 | 63 ++- tests/de/step_1/I8 | 63 ++- tests/de/step_1/I9 | 63 ++- tests/de/step_1/J1 | 63 ++- tests/de/step_1/J2 | 63 ++- tests/de/step_1/J3 | 63 ++- tests/de/step_1/J4 | 63 ++- tests/de/step_1/J5 | 63 ++- tests/de/step_1/J6 | 68 ++- tests/de/step_1/J7 | 63 ++- tests/de/step_1/J8 | 63 ++- tests/de/step_1/J9 | 63 ++- tests/de/step_1/K1 | 63 ++- tests/de/step_1/K2 | 63 ++- tests/de/step_1/K3 | 63 ++- tests/de/step_1/K4 | 63 ++- tests/de/step_1/K5 | 63 ++- tests/de/step_1/K6 | 63 ++- tests/de/step_1/K7 | 63 ++- tests/de/step_1/K8 | 63 ++- tests/de/step_1/K9 | 63 ++- tests/de/step_1/L1 | 63 ++- tests/de/step_1/L2 | 63 ++- tests/de/step_1/L3 | 63 ++- tests/de/step_1/L4 | 63 ++- tests/de/step_1/L5 | 63 ++- tests/de/step_1/L6 | 63 ++- tests/de/step_1/L7 | 63 ++- tests/de/step_1/L8 | 63 ++- tests/de/step_1/L9 | 63 ++- tests/de/step_1/M1 | 63 ++- tests/de/step_1/M2 | 63 ++- tests/de/step_1/M3 | 63 ++- tests/de/step_1/M4 | 63 ++- tests/de/step_1/M5 | 63 ++- tests/de/step_1/M6 | 63 ++- tests/de/step_1/M7 | 63 ++- tests/de/step_1/M8 | 63 ++- tests/de/step_1/M9 | 63 ++- tests/de/step_1/N1 | 63 ++- tests/de/step_1/N2 | 63 ++- tests/de/step_1/N3 | 63 ++- tests/de/step_1/N4 | 63 ++- tests/de/step_1/N5 | 63 ++- tests/de/step_1/N6 | 64 ++- tests/de/step_1/N7 | 63 ++- tests/de/step_1/N8 | 63 ++- tests/de/step_1/N9 | 63 ++- tests/de/step_1/O1 | 63 ++- tests/de/step_1/O2 | 63 ++- tests/de/step_1/O3 | 63 ++- tests/de/step_1/O4 | 63 ++- tests/de/step_1/O5 | 63 ++- tests/de/step_1/O6 | 63 ++- tests/de/step_1/O7 | 63 ++- tests/de/step_1/O8 | 63 ++- tests/de/step_1/O9 | 63 ++- tests/de/step_1/P1 | 63 ++- tests/de/step_1/P2 | 63 ++- tests/de/step_1/P3 | 63 ++- tests/de/step_1/P4 | 63 ++- tests/de/step_1/P5 | 63 ++- tests/de/step_1/P6 | 63 ++- tests/de/step_1/P7 | 63 ++- tests/de/step_1/P8 | 63 ++- tests/de/step_1/P9 | 63 ++- tests/de/step_1/Q1 | 63 ++- tests/de/step_1/Q2 | 63 ++- tests/de/step_1/Q3 | 63 ++- tests/de/step_1/Q4 | 63 ++- tests/de/step_1/Q5 | 63 ++- tests/de/step_1/Q6 | 63 ++- tests/de/step_1/Q7 | 63 ++- tests/de/step_1/Q8 | 63 ++- tests/de/step_1/Q9 | 63 ++- tests/de/step_1/R1 | 63 ++- tests/de/step_1/R2 | 63 ++- tests/de/step_1/R3 | 63 ++- tests/de/step_1/R4 | 63 ++- tests/de/step_1/R5 | 63 ++- tests/de/step_1/R6 | 63 ++- tests/de/step_1/R7 | 63 ++- tests/de/step_1/R8 | 63 ++- tests/de/step_1/R9 | 63 ++- tests/de/step_1/S1 | 63 ++- tests/de/step_1/S2 | 63 ++- tests/de/step_1/S3 | 63 ++- tests/de/step_1/S4 | 63 ++- tests/de/step_1/S5 | 63 ++- tests/de/step_1/S6 | 63 ++- tests/de/step_1/S7 | 63 ++- tests/de/step_1/S8 | 63 ++- tests/de/step_1/S9 | 63 ++- tests/de/step_1/T1 | 63 ++- tests/de/step_1/T2 | 63 ++- tests/de/step_1/T3 | 63 ++- tests/de/step_1/T4 | 63 ++- tests/de/step_1/T5 | 63 ++- tests/de/step_1/T6 | 63 ++- tests/de/step_1/T7 | 63 ++- tests/de/step_1/T8 | 63 ++- tests/de/step_1/T9 | 63 ++- tests/de/step_1/U1 | 63 ++- tests/de/step_1/U2 | 63 ++- tests/de/step_1/U3 | 63 ++- tests/de/step_1/U4 | 63 ++- tests/de/step_1/U5 | 63 ++- tests/de/step_1/U6 | 63 ++- tests/de/step_1/U7 | 63 ++- tests/de/step_1/U8 | 63 ++- tests/de/step_1/U9 | 63 ++- tests/de/step_1/V1 | 63 ++- tests/de/step_1/V2 | 63 ++- tests/de/step_1/V3 | 63 ++- tests/de/step_1/V4 | 63 ++- tests/de/step_1/V5 | 63 ++- tests/de/step_1/V6 | 63 ++- tests/de/step_1/V7 | 63 ++- tests/de/step_1/V8 | 63 ++- tests/de/step_1/V9 | 63 ++- tests/de/step_1/W1 | 63 ++- tests/de/step_1/W2 | 63 ++- tests/de/step_1/W3 | 63 ++- tests/de/step_1/W4 | 63 ++- tests/de/step_1/W5 | 63 ++- tests/de/step_1/W6 | 63 ++- tests/de/step_1/W7 | 63 ++- tests/de/step_1/W8 | 63 ++- tests/de/step_1/W9 | 63 ++- tests/de/step_1/X1 | 63 ++- tests/de/step_1/X2 | 63 ++- tests/de/step_1/X3 | 63 ++- tests/de/step_1/X4 | 63 ++- tests/de/step_1/X5 | 63 ++- tests/de/step_1/X6 | 63 ++- tests/de/step_1/X7 | 63 ++- tests/de/step_1/X8 | 63 ++- tests/de/step_1/X9 | 63 ++- tests/de/step_1/Y1 | 63 ++- tests/de/step_1/Y2 | 63 ++- tests/de/step_1/Y3 | 63 ++- tests/de/step_1/Y4 | 63 ++- tests/de/step_1/Y5 | 63 ++- tests/de/step_1/Y6 | 63 ++- tests/de/step_1/Y7 | 63 ++- tests/de/step_1/Y8 | 63 ++- tests/de/step_1/Y9 | 63 ++- tests/de/step_1/Z1 | 63 ++- tests/de/step_1/Z2 | 63 ++- tests/de/step_1/Z3 | 63 ++- tests/de/step_1/Z4 | 63 ++- tests/de/step_1/Z5 | 63 ++- tests/de/step_1/Z6 | 63 ++- tests/de/step_1/Z7 | 63 ++- tests/de/step_1/Z8 | 63 ++- tests/de/step_1/Z9 | 63 ++- tests/de/step_1/ZA1 | 63 ++- tests/de/step_1/ZA2 | 63 ++- tests/de/step_1/ZA3 | 63 ++- tests/de/step_1/ZA4 | 63 ++- tests/de/step_1/ZA5 | 63 ++- tests/de/step_1/ZA6 | 63 ++- tests/de/step_1/ZA7 | 63 ++- tests/de/step_1/ZA8 | 63 ++- tests/de/step_1/ZA9 | 63 ++- tests/de/step_1/ZB1 | 63 ++- tests/de/step_1/ZB2 | 63 ++- tests/de/step_1/ZB3 | 63 ++- tests/de/step_1/ZB4 | 63 ++- tests/de/step_1/ZB5 | 63 ++- tests/de/step_1/ZB6 | 63 ++- tests/de/step_1/ZB7 | 63 ++- tests/de/step_1/ZB8 | 63 ++- tests/de/step_1/ZB9 | 63 ++- tests/de/step_1/ZC1 | 63 ++- tests/de/step_1/ZC2 | 63 ++- tests/de/step_1/ZC3 | 63 ++- tests/de/step_1/ZC4 | 63 ++- tests/de/step_1/ZC5 | 63 ++- tests/de/step_1/ZC6 | 63 ++- tests/de/step_1/ZC7 | 63 ++- tests/de/step_1/ZC8 | 63 ++- tests/de/step_1/ZC9 | 64 ++- tests/de/step_1/ZD1 | 63 ++- tests/de/step_1/ZD2 | 63 ++- tests/de/step_1/ZD3 | 64 ++- tests/de/step_1/ZD4 | 64 ++- tests/de/step_1/ZD5 | 63 ++- tests/de/step_1/ZD6 | 64 ++- tests/de/step_1/ZD7 | 63 ++- tests/de/step_1/ZD8 | 63 ++- tests/de/step_1/ZD9 | 63 ++- tests/de/step_1/ZE1 | 63 ++- tests/de/step_1/ZE2 | 63 ++- tests/de/step_1/ZE3 | 63 ++- tests/de/step_1/ZE4 | 63 ++- tests/de/step_1/ZE5 | 63 ++- tests/de/step_1/ZE6 | 63 ++- tests/de/step_1/ZE7 | 63 ++- tests/de/step_1/ZE8 | 63 ++- tests/de/step_1/ZE9 | 63 ++- tests/de/step_1/ZF1 | 63 ++- tests/de/step_1/ZF2 | 63 ++- tests/de/step_1/ZF3 | 63 ++- tests/de/step_1/ZF4 | 63 ++- tests/de/step_1/ZF5 | 63 ++- tests/de/step_1/ZF6 | 63 ++- tests/de/step_1/ZF7 | 62 ++- tests/de/step_1/ZF8 | 63 ++- tests/de/step_1/ZF9 | 63 ++- tests/de/step_1/ZG1 | 63 ++- tests/de/step_1/ZG2 | 62 ++- tests/de/step_1/ZG3 | 63 ++- tests/de/step_1/ZG4 | 63 ++- tests/de/step_1/ZG5 | 63 ++- tests/de/step_1/ZG6 | 63 ++- tests/de/step_1/ZG7 | 63 ++- tests/de/step_1/ZG8 | 63 ++- tests/de/step_1/ZG9 | 63 ++- tests/de/step_1/ZH1 | 63 ++- tests/de/step_1/ZH2 | 63 ++- tests/de/step_1/ZH3 | 63 ++- tests/de/step_1/ZH4 | 63 ++- tests/de/step_1/ZH5 | 63 ++- tests/de/step_1/ZH6 | 63 ++- tests/de/step_1/ZH7 | 62 ++- tests/de/step_1/ZH8 | 63 ++- tests/de/step_1/ZH9 | 63 ++- tests/de/step_1/ZI1 | 63 ++- tests/de/step_1/ZI2 | 63 ++- tests/de/step_1/ZI3 | 63 ++- tests/de/step_1/ZI4 | 63 ++- tests/de/step_1/ZI5 | 63 ++- tests/de/step_1/ZI6 | 63 ++- tests/de/step_1/ZI7 | 63 ++- tests/de/step_1/ZI8 | 63 ++- tests/de/step_1/ZI9 | 63 ++- tests/de/step_1/ZJ1 | 63 ++- tests/de/step_1/ZJ2 | 63 ++- tests/de/step_1/ZJ3 | 63 ++- tests/de/step_1/ZJ4 | 63 ++- tests/de/step_1/ZJ5 | 63 ++- tests/de/step_1/ZJ6 | 63 ++- tests/de/step_1/ZJ7 | 63 ++- tests/de/step_1/ZJ8 | 63 ++- tests/de/step_1/ZJ9 | 63 ++- tests/de/step_1/ZK1 | 63 ++- tests/de/step_1/ZK2 | 63 ++- tests/de/step_1/ZK3 | 63 ++- tests/de/step_1/ZK4 | 63 ++- tests/de/step_1/ZK5 | 63 ++- tests/de/step_1/ZK6 | 63 ++- tests/de/step_1/ZK7 | 63 ++- tests/de/step_1/ZK8 | 63 ++- tests/de/step_1/ZK9 | 63 ++- tests/de/step_1/ZL1 | 63 ++- tests/de/step_1/ZL2 | 63 ++- tests/de/step_1/ZL3 | 63 ++- tests/de/step_1/ZL4 | 63 ++- tests/de/step_1/ZL5 | 63 ++- tests/de/step_1/ZL6 | 63 ++- tests/de/step_1/ZL7 | 63 ++- tests/de/step_1/ZL8 | 63 ++- tests/de/step_1/ZL9 | 63 ++- tests/de/step_1/ZM1 | 63 ++- tests/de/step_1/ZM2 | 63 ++- tests/de/step_1/ZM3 | 63 ++- tests/de/step_1/ZM4 | 63 ++- tests/de/step_1/ZM5 | 63 ++- tests/de/step_1/ZM6 | 63 ++- tests/de/step_1/ZM7 | 63 ++- tests/de/step_1/ZM8 | 63 ++- tests/de/step_1/ZM9 | 63 ++- tests/de/step_1/ZN1 | 63 ++- tests/de/step_1/ZN2 | 63 ++- tests/de/step_1/ZN3 | 63 ++- tests/de/step_1/ZN4 | 63 ++- tests/de/step_1/ZN5 | 63 ++- tests/de/step_1/ZN6 | 63 ++- tests/de/step_1/ZN7 | 63 ++- tests/de/step_1/ZN8 | 63 ++- tests/de/step_1/ZN9 | 63 ++- tests/de/step_1/ZO1 | 63 ++- tests/de/step_1/ZO2 | 63 ++- tests/de/step_1/ZO3 | 63 ++- tests/de/step_1/ZO4 | 63 ++- tests/de/step_1/ZO5 | 63 ++- tests/de/step_1/ZO6 | 63 ++- tests/de/step_1/ZO7 | 63 ++- tests/de/step_1/ZO8 | 63 ++- tests/de/step_1/ZO9 | 63 ++- tests/de/step_1/ZP1 | 63 ++- tests/de/step_1/ZP2 | 63 ++- tests/de/step_1/ZP3 | 63 ++- tests/de/step_1/ZP4 | 63 ++- tests/de/step_1/ZP5 | 63 ++- tests/de/step_1/ZP6 | 63 ++- tests/de/step_1/ZP7 | 63 ++- tests/de/step_1/ZP8 | 63 ++- tests/de/step_1/ZP9 | 63 ++- tests/de/step_1/ZQ1 | 63 ++- tests/de/step_1/ZQ2 | 62 ++- tests/de/step_1/ZQ3 | 63 ++- tests/de/step_1/ZQ4 | 63 ++- tests/de/step_1/ZQ5 | 63 ++- tests/de/step_1/ZQ6 | 63 ++- tests/de/step_1/ZQ7 | 63 ++- tests/de/step_1/ZQ8 | 63 ++- tests/de/step_1/ZQ9 | 63 ++- tests/de/step_1/ZR1 | 63 ++- tests/de/step_1/ZR2 | 63 ++- tests/de/step_1/ZR3 | 63 ++- tests/de/step_1/ZR4 | 63 ++- tests/de/step_1/ZR5 | 63 ++- tests/de/step_1/ZR6 | 63 ++- tests/de/step_1/ZR7 | 63 ++- tests/de/step_1/ZR8 | 63 ++- tests/de/step_1/ZR9 | 63 ++- tests/de/step_1/ZS1 | 63 ++- tests/de/step_1/ZS2 | 63 ++- tests/de/step_1/ZS3 | 63 ++- tests/de/step_1/ZS4 | 63 ++- tests/de/step_1/ZS5 | 63 ++- tests/de/step_1/ZS6 | 63 ++- tests/de/step_1/ZS7 | 63 ++- tests/de/step_1/ZS8 | 63 ++- tests/de/step_1/ZS9 | 63 ++- tests/de/step_1/ZT1 | 63 ++- tests/de/step_1/ZT2 | 63 ++- tests/de/step_1/ZT3 | 63 ++- tests/de/step_1/ZT4 | 63 ++- tests/de/step_1/ZT5 | 63 ++- tests/de/step_1/ZT6 | 63 ++- tests/de/step_1/ZT7 | 63 ++- tests/de/step_1/ZT8 | 63 ++- tests/de/step_1/ZT9 | 63 ++- tests/de/step_1/ZU1 | 63 ++- tests/de/step_1/ZU2 | 63 ++- tests/de/step_1/ZU3 | 63 ++- tests/de/step_1/ZU4 | 63 ++- tests/de/step_1/ZU5 | 63 ++- tests/de/step_1/ZU6 | 63 ++- tests/de/step_1/ZU7 | 63 ++- tests/de/step_1/ZU8 | 63 ++- tests/de/step_1/ZU9 | 63 ++- tests/de/step_1/ZV1 | 63 ++- tests/de/step_1/ZV2 | 63 ++- tests/de/step_1/ZV3 | 63 ++- tests/de/step_1/ZV4 | 63 ++- tests/de/step_1/ZV5 | 63 ++- tests/de/step_1/ZV6 | 63 ++- tests/de/step_1/ZV7 | 63 ++- tests/de/step_1/ZV8 | 63 ++- tests/de/step_1/ZV9 | 63 ++- tests/de/step_1/ZW1 | 63 ++- tests/de/step_1/ZW2 | 63 ++- tests/de/step_1/ZW3 | 63 ++- tests/de/step_1/ZW4 | 63 ++- tests/de/step_1/ZW5 | 63 ++- tests/de/step_1/ZW6 | 63 ++- tests/de/step_1/ZW7 | 63 ++- tests/de/step_1/ZW8 | 63 ++- tests/de/step_1/ZW9 | 63 ++- tests/de/step_1/ZX1 | 63 ++- tests/de/step_1/ZX2 | 63 ++- tests/de/step_1/ZX3 | 63 ++- tests/de/step_1/ZX4 | 63 ++- tests/de/step_1/ZX5 | 63 ++- tests/de/step_1/ZX6 | 63 ++- tests/de/step_1/ZX7 | 63 ++- tests/de/step_1/ZX8 | 63 ++- tests/de/step_1/ZX9 | 63 ++- tests/de/step_1/ZY1 | 63 ++- tests/de/step_1/ZY2 | 63 ++- tests/de/step_1/ZY3 | 63 ++- tests/de/step_1/ZY4 | 63 ++- tests/de/step_1/ZY5 | 63 ++- tests/de/step_1/ZY6 | 63 ++- tests/de/step_1/ZY7 | 63 ++- tests/de/step_1/ZY8 | 63 ++- tests/de/step_1/ZY9 | 63 ++- tests/de/step_1/ZZ1 | 63 ++- tests/de/step_1/ZZ2 | 63 ++- tests/de/step_1/ZZ3 | 63 ++- tests/de/step_1/ZZ4 | 63 ++- tests/de/step_1/ZZ5 | 63 ++- tests/de/step_1/ZZ6 | 63 ++- tests/de/step_1/ZZ7 | 63 ++- tests/de/step_1/ZZ8 | 63 ++- tests/de/step_1/ZZ9 | 63 ++- tests/de/step_2/A1 | 64 ++- tests/de/step_2/A2 | 63 ++- tests/de/step_2/A3 | 63 ++- tests/de/step_2/A4 | 63 ++- tests/de/step_2/A5 | 62 ++- tests/de/step_2/A6 | 63 ++- tests/de/step_2/A7 | 63 ++- tests/de/step_2/A8 | 63 ++- tests/de/step_2/A9 | 63 ++- tests/de/step_2/B1 | 63 ++- tests/de/step_2/B2 | 63 ++- tests/de/step_2/B3 | 63 ++- tests/de/step_2/B4 | 63 ++- tests/de/step_2/B5 | 63 ++- tests/de/step_2/B6 | 62 ++- tests/de/step_2/B7 | 63 ++- tests/de/step_2/B8 | 62 ++- tests/de/step_2/B9 | 63 ++- tests/de/step_2/C1 | 63 ++- tests/de/step_2/C2 | 63 ++- tests/de/step_2/C3 | 63 ++- tests/de/step_2/C4 | 63 ++- tests/de/step_2/C5 | 63 ++- tests/de/step_2/C6 | 63 ++- tests/de/step_2/C7 | 63 ++- tests/de/step_2/C8 | 63 ++- tests/de/step_2/C9 | 63 ++- tests/de/step_2/D1 | 63 ++- tests/de/step_2/D2 | 63 ++- tests/de/step_2/D3 | 63 ++- tests/de/step_2/D4 | 63 ++- tests/de/step_2/D5 | 63 ++- tests/de/step_2/D6 | 62 ++- tests/de/step_2/D7 | 63 ++- tests/de/step_2/D8 | 63 ++- tests/de/step_2/D9 | 62 ++- tests/de/step_2/E1 | 62 ++- tests/de/step_2/E2 | 63 ++- tests/de/step_2/E3 | 63 ++- tests/de/step_2/E4 | 63 ++- tests/de/step_2/E5 | 63 ++- tests/de/step_2/E6 | 63 ++- tests/de/step_2/E7 | 63 ++- tests/de/step_2/E8 | 63 ++- tests/de/step_2/E9 | 62 ++- tests/de/step_2/F1 | 63 ++- tests/de/step_2/F2 | 62 ++- tests/de/step_2/F3 | 62 ++- tests/de/step_2/F4 | 63 ++- tests/de/step_2/F5 | 63 ++- tests/de/step_2/F6 | 63 ++- tests/de/step_2/F7 | 63 ++- tests/de/step_2/F8 | 63 ++- tests/de/step_2/F9 | 63 ++- tests/de/step_2/G1 | 63 ++- tests/de/step_2/G2 | 63 ++- tests/de/step_2/G3 | 63 ++- tests/de/step_2/G4 | 63 ++- tests/de/step_2/G5 | 63 ++- tests/de/step_2/G6 | 63 ++- tests/de/step_2/G7 | 63 ++- tests/de/step_2/G8 | 63 ++- tests/de/step_2/G9 | 63 ++- tests/de/step_2/H1 | 63 ++- tests/de/step_2/H2 | 63 ++- tests/de/step_2/H3 | 63 ++- tests/de/step_2/H4 | 63 ++- tests/de/step_2/H5 | 63 ++- tests/de/step_2/H6 | 63 ++- tests/de/step_2/H7 | 63 ++- tests/de/step_2/H8 | 63 ++- tests/de/step_2/H9 | 63 ++- tests/de/step_2/I1 | 63 ++- tests/de/step_2/I2 | 63 ++- tests/de/step_2/I3 | 63 ++- tests/de/step_2/I4 | 63 ++- tests/de/step_2/I5 | 63 ++- tests/de/step_2/I6 | 63 ++- tests/de/step_2/I7 | 63 ++- tests/de/step_2/I8 | 63 ++- tests/de/step_2/I9 | 63 ++- tests/de/step_2/J1 | 63 ++- tests/de/step_2/J2 | 63 ++- tests/de/step_2/J3 | 63 ++- tests/de/step_2/J4 | 63 ++- tests/de/step_2/J5 | 63 ++- tests/de/step_2/J6 | 63 ++- tests/de/step_2/J7 | 62 ++- tests/de/step_2/J8 | 63 ++- tests/de/step_2/J9 | 63 ++- tests/de/step_2/K1 | 63 ++- tests/de/step_2/K2 | 63 ++- tests/de/step_2/K3 | 63 ++- tests/de/step_2/K4 | 63 ++- tests/de/step_2/K5 | 63 ++- tests/de/step_2/K6 | 63 ++- tests/de/step_2/K7 | 63 ++- tests/de/step_2/K8 | 63 ++- tests/de/step_2/K9 | 63 ++- tests/de/step_2/L1 | 63 ++- tests/de/step_2/L2 | 63 ++- tests/de/step_2/L3 | 63 ++- tests/de/step_2/L4 | 63 ++- tests/de/step_2/L5 | 63 ++- tests/de/step_2/L6 | 63 ++- tests/de/step_2/L7 | 63 ++- tests/de/step_2/L8 | 63 ++- tests/de/step_2/L9 | 63 ++- tests/de/step_2/M1 | 63 ++- tests/de/step_2/M2 | 63 ++- tests/de/step_2/M3 | 63 ++- tests/de/step_2/M4 | 63 ++- tests/de/step_2/M5 | 63 ++- tests/de/step_2/M6 | 63 ++- tests/de/step_2/M7 | 63 ++- tests/de/step_2/M8 | 63 ++- tests/de/step_2/M9 | 63 ++- tests/de/step_2/N1 | 63 ++- tests/de/step_2/N2 | 63 ++- tests/de/step_2/N3 | 63 ++- tests/de/step_2/N4 | 63 ++- tests/de/step_2/N5 | 63 ++- tests/de/step_2/N6 | 63 ++- tests/de/step_2/N7 | 63 ++- tests/de/step_2/N8 | 62 ++- tests/de/step_2/N9 | 63 ++- tests/de/step_2/O1 | 63 ++- tests/de/step_2/O2 | 63 ++- tests/de/step_2/O3 | 63 ++- tests/de/step_2/O4 | 63 ++- tests/de/step_2/O5 | 63 ++- tests/de/step_2/O6 | 63 ++- tests/de/step_2/O7 | 63 ++- tests/de/step_2/O8 | 63 ++- tests/de/step_2/O9 | 63 ++- tests/de/step_2/P1 | 63 ++- tests/de/step_2/P2 | 63 ++- tests/de/step_2/P3 | 63 ++- tests/de/step_2/P4 | 63 ++- tests/de/step_2/P5 | 63 ++- tests/de/step_2/P6 | 63 ++- tests/de/step_2/P7 | 63 ++- tests/de/step_2/P8 | 63 ++- tests/de/step_2/P9 | 63 ++- tests/de/step_2/Q1 | 63 ++- tests/de/step_2/Q2 | 63 ++- tests/de/step_2/Q3 | 63 ++- tests/de/step_2/Q4 | 63 ++- tests/de/step_2/Q5 | 63 ++- tests/de/step_2/Q6 | 63 ++- tests/de/step_2/Q7 | 63 ++- tests/de/step_2/Q8 | 63 ++- tests/de/step_2/Q9 | 63 ++- tests/de/step_2/R1 | 63 ++- tests/de/step_2/R2 | 63 ++- tests/de/step_2/R3 | 63 ++- tests/de/step_2/R4 | 63 ++- tests/de/step_2/R5 | 63 ++- tests/de/step_2/R6 | 63 ++- tests/de/step_2/R7 | 63 ++- tests/de/step_2/R8 | 63 ++- tests/de/step_2/R9 | 63 ++- tests/de/step_2/S1 | 63 ++- tests/de/step_2/S2 | 63 ++- tests/de/step_2/S3 | 63 ++- tests/de/step_2/S4 | 63 ++- tests/de/step_2/S5 | 63 ++- tests/de/step_2/S6 | 63 ++- tests/de/step_2/S7 | 63 ++- tests/de/step_2/S8 | 63 ++- tests/de/step_2/S9 | 63 ++- tests/de/step_2/T1 | 63 ++- tests/de/step_2/T2 | 63 ++- tests/de/step_2/T3 | 63 ++- tests/de/step_2/T4 | 63 ++- tests/de/step_2/T5 | 63 ++- tests/de/step_2/T6 | 63 ++- tests/de/step_2/T7 | 63 ++- tests/de/step_2/T8 | 63 ++- tests/de/step_2/T9 | 63 ++- tests/de/step_2/U1 | 63 ++- tests/de/step_2/U2 | 63 ++- tests/de/step_2/U3 | 63 ++- tests/de/step_2/U4 | 63 ++- tests/de/step_2/U5 | 63 ++- tests/de/step_2/U6 | 63 ++- tests/de/step_2/U7 | 63 ++- tests/de/step_2/U8 | 63 ++- tests/de/step_2/U9 | 63 ++- tests/de/step_2/V1 | 63 ++- tests/de/step_2/V2 | 63 ++- tests/de/step_2/V3 | 63 ++- tests/de/step_2/V4 | 63 ++- tests/de/step_2/V5 | 63 ++- tests/de/step_2/V6 | 63 ++- tests/de/step_2/V7 | 63 ++- tests/de/step_2/V8 | 63 ++- tests/de/step_2/V9 | 63 ++- tests/de/step_2/W1 | 63 ++- tests/de/step_2/W2 | 62 ++- tests/de/step_2/W3 | 63 ++- tests/de/step_2/W4 | 63 ++- tests/de/step_2/W5 | 63 ++- tests/de/step_2/W6 | 63 ++- tests/de/step_2/W7 | 65 ++- tests/de/step_2/W8 | 65 ++- tests/de/step_2/W9 | 63 ++- tests/de/step_2/X1 | 63 ++- tests/de/step_2/X2 | 63 ++- tests/de/step_2/X3 | 63 ++- tests/de/step_2/X4 | 63 ++- tests/de/step_2/X5 | 63 ++- tests/de/step_2/X6 | 63 ++- tests/de/step_2/X7 | 63 ++- tests/de/step_2/X8 | 63 ++- tests/de/step_2/X9 | 63 ++- tests/de/step_2/Y1 | 63 ++- tests/de/step_2/Y2 | 63 ++- tests/de/step_2/Y3 | 63 ++- tests/de/step_2/Y4 | 63 ++- tests/de/step_2/Y5 | 63 ++- tests/de/step_3/A1 | 55 ++- tests/de/step_3/A2 | 63 ++- tests/de/step_3/A3 | 63 ++- tests/de/step_3/A4 | 63 ++- tests/de/step_3/A5 | 63 ++- tests/de/step_3/A6 | 63 ++- tests/de/step_3/A7 | 63 ++- tests/de/step_3/A8 | 64 ++- tests/de/step_3/A9 | 62 ++- tests/de/step_3/B1 | 63 ++- tests/de/step_3/B2 | 63 ++- tests/de/step_3/B3 | 63 ++- tests/de/step_3/B4 | 63 ++- tests/de/step_3/B5 | 63 ++- tests/de/step_3/B6 | 63 ++- tests/de/step_3/B7 | 63 ++- tests/de/step_3/B8 | 63 ++- tests/de/step_3/B9 | 65 ++- tests/de/step_3/C1 | 63 ++- tests/de/step_3/C2 | 63 ++- tests/de/step_3/C3 | 63 ++- tests/de/step_3/C4 | 63 ++- tests/de/step_3/C5 | 63 ++- tests/de/step_3/C6 | 63 ++- tests/de/step_3/C7 | 63 ++- tests/de/step_3/C8 | 63 ++- tests/de/step_3/C9 | 63 ++- tests/de/step_3/D1 | 62 ++- tests/de/step_3/D2 | 63 ++- tests/de/step_3/D3 | 64 ++- tests/de/step_3/D4 | 63 ++- tests/de/step_3/D5 | 63 ++- tests/de/step_3/D6 | 63 ++- tests/de/step_3/D7 | 63 ++- tests/de/step_3/D8 | 64 ++- tests/de/step_3/D9 | 63 ++- tests/de/step_3/E1 | 63 ++- tests/de/step_3/E2 | 64 ++- tests/de/step_3/E3 | 63 ++- tests/de/step_3/E4 | 63 ++- tests/de/step_3/E5 | 63 ++- tests/de/step_3/E6 | 62 ++- tests/de/step_3/E7 | 63 ++- tests/de/step_3/E8 | 63 ++- tests/de/step_3/E9 | 64 ++- tests/de/step_3/F1 | 63 ++- tests/de/step_3/F2 | 62 ++- tests/de/step_3/F3 | 66 ++- tests/de/step_3/F4 | 63 ++- tests/de/step_4/A1 | 63 ++- tests/de/step_4/A2 | 63 ++- tests/de/step_4/A3 | 63 ++- tests/de/step_4/A4 | 63 ++- tests/de/step_4/A5 | 63 ++- tests/de/step_4/A6 | 63 ++- tests/de/step_4/A7 | 63 ++- tests/de/step_4/A8 | 63 ++- tests/de/step_4/A9 | 63 ++- tests/de/step_4/B1 | 63 ++- tests/de/step_4/B2 | 63 ++- tests/de/step_4/B3 | 64 ++- tests/de/step_4/B4 | 63 ++- tests/de/step_4/B5 | 63 ++- tests/de/step_4/B6 | 63 ++- tests/de/step_4/B7 | 63 ++- tests/de/step_4/B8 | 63 ++- tests/de/step_4/B9 | 63 ++- tests/de/step_4/C1 | 63 ++- tests/de/step_4/C2 | 63 ++- tests/de/step_4/C3 | 63 ++- tests/de/step_4/C4 | 63 ++- tests/de/step_4/C5 | 63 ++- tests/de/step_4/C6 | 63 ++- tests/de/step_4/C7 | 63 ++- tests/de/step_4/C8 | 63 ++- tests/de/step_4/C9 | 63 ++- tests/de/step_4/D1 | 63 ++- tests/de/step_4/D2 | 63 ++- tests/de/step_4/D3 | 63 ++- tests/de/step_4/D4 | 63 ++- tests/de/step_4/D5 | 63 ++- tests/de/step_4/D6 | 63 ++- tests/de/step_4/D7 | 63 ++- tests/de/step_4/D8 | 63 ++- tests/de/step_4/D9 | 63 ++- tests/de/step_4/E1 | 63 ++- tests/de/step_4/E2 | 63 ++- tests/de/step_4/E3 | 63 ++- tests/de/step_4/E4 | 63 ++- tests/de/step_4/E5 | 63 ++- tests/de/step_4/E6 | 63 ++- tests/de/step_4/E7 | 63 ++- tests/de/step_4/E8 | 63 ++- tests/de/step_4/E9 | 63 ++- tests/de/step_4/F1 | 63 ++- tests/de/step_4/F2 | 63 ++- tests/de/step_4/F3 | 63 ++- tests/de/step_4/F4 | 63 ++- tests/de/step_4/F5 | 63 ++- tests/de/step_4/F6 | 63 ++- tests/de/step_4/F7 | 63 ++- tests/de/step_4/F8 | 63 ++- tests/de/step_4/F9 | 63 ++- tests/de/step_4/G1 | 63 ++- tests/de/step_4/G2 | 63 ++- tests/de/step_4/G3 | 63 ++- tests/de/step_4/G4 | 63 ++- tests/de/step_4/G5 | 63 ++- tests/de/step_4/G6 | 63 ++- tests/de/step_4/G7 | 63 ++- tests/de/step_4/G8 | 63 ++- tests/de/step_4/G9 | 63 ++- tests/de/step_4/H1 | 63 ++- tests/de/step_4/H2 | 63 ++- tests/de/step_4/H3 | 63 ++- tests/de/step_4/H4 | 63 ++- tests/de/step_4/H5 | 63 ++- tests/de/step_4/H6 | 63 ++- tests/de/step_4/H7 | 63 ++- tests/de/step_4/H8 | 63 ++- tests/de/step_4/H9 | 63 ++- tests/de/step_4/I1 | 63 ++- tests/de/step_4/I2 | 63 ++- tests/de/step_4/I3 | 63 ++- tests/de/step_5/A1 | 63 ++- tests/de/step_5/A2 | 63 ++- tests/de/step_5/A3 | 63 ++- tests/de/step_5/A4 | 63 ++- tests/de/step_5/A5 | 63 ++- tests/de/step_5/A6 | 63 ++- tests/de/step_5/A7 | 63 ++- tests/de/step_5/A8 | 63 ++- tests/de/step_5/A9 | 63 ++- tests/de/step_5/B1 | 63 ++- tests/de/step_5/B2 | 63 ++- tests/de/step_5/B3 | 63 ++- tests/de/step_5/B4 | 63 ++- tests/de/step_5/B5 | 63 ++- tests/de/step_5/B6 | 54 ++- tests/sewing/tol_0_01/A1 | 2 +- tests/sewing/tol_0_01/A2 | 2 +- tests/sewing/tol_0_01/A3 | 2 +- tests/sewing/tol_0_01/A4 | 2 +- tests/sewing/tol_0_01/A5 | 2 +- tests/sewing/tol_0_01/A6 | 2 +- tests/sewing/tol_0_01/A7 | 2 +- tests/sewing/tol_0_01/A8 | 2 +- tests/sewing/tol_0_01/A9 | 2 +- tests/sewing/tol_0_01/B1 | 2 +- tests/sewing/tol_0_01/B2 | 2 +- tests/sewing/tol_0_01/B3 | 2 +- tests/sewing/tol_0_01/B4 | 2 +- tests/sewing/tol_0_01/B5 | 2 +- tests/sewing/tol_0_01/B6 | 2 +- tests/sewing/tol_0_01/B7 | 2 +- tests/sewing/tol_0_01/B8 | 2 +- tests/sewing/tol_0_01/B9 | 2 +- tests/sewing/tol_0_01/C1 | 2 +- tests/sewing/tol_0_01/C2 | 2 +- tests/sewing/tol_0_01/C3 | 2 +- tests/sewing/tol_0_01/C4 | 2 +- tests/sewing/tol_0_01/C5 | 2 +- tests/sewing/tol_0_01/C6 | 2 +- tests/sewing/tol_0_01/C7 | 2 +- tests/sewing/tol_0_01/C8 | 2 +- tests/sewing/tol_0_01/C9 | 2 +- tests/sewing/tol_0_01/D1 | 2 +- tests/sewing/tol_0_01/D2 | 2 +- tests/sewing/tol_0_01/D3 | 2 +- tests/sewing/tol_0_01/D4 | 2 +- tests/sewing/tol_0_01/D5 | 2 +- tests/sewing/tol_0_01/D6 | 2 +- tests/sewing/tol_0_01/D7 | 2 +- tests/sewing/tol_0_01/D8 | 2 +- tests/sewing/tol_0_01/D9 | 2 +- tests/sewing/tol_0_01/E1 | 2 +- tests/sewing/tol_0_01/E2 | 2 +- tests/sewing/tol_0_01/E3 | 2 +- tests/sewing/tol_0_01/E4 | 2 +- tests/sewing/tol_0_01/E5 | 2 +- tests/sewing/tol_0_01/E6 | 2 +- tests/sewing/tol_0_01/E7 | 2 +- tests/sewing/tol_0_01/E8 | 2 +- tests/sewing/tol_0_01/E9 | 2 +- tests/sewing/tol_0_01/F1 | 2 +- tests/sewing/tol_0_01/F2 | 2 +- tests/sewing/tol_0_01/F3 | 2 +- tests/sewing/tol_0_01/F4 | 2 +- tests/sewing/tol_0_01/F5 | 2 +- tests/sewing/tol_0_01/F6 | 2 +- tests/sewing/tol_0_01/F7 | 2 +- tests/sewing/tol_0_01/F8 | 2 +- tests/sewing/tol_0_01/F9 | 2 +- tests/sewing/tol_0_01/G1 | 2 +- tests/sewing/tol_0_01/G2 | 2 +- tests/sewing/tol_0_01/G3 | 2 +- tests/sewing/tol_0_01/G4 | 2 +- tests/sewing/tol_0_01/G5 | 2 +- tests/sewing/tol_0_01/G6 | 2 +- tests/sewing/tol_0_01/G7 | 2 +- tests/sewing/tol_0_01/G8 | 2 +- tests/sewing/tol_0_01/G9 | 2 +- tests/sewing/tol_0_01/H1 | 2 +- tests/sewing/tol_0_01/H2 | 2 +- tests/sewing/tol_0_01/H3 | 2 +- tests/sewing/tol_0_01/H4 | 2 +- tests/sewing/tol_0_01/H5 | 2 +- tests/sewing/tol_0_01/H6 | 2 +- tests/sewing/tol_0_01/H7 | 2 +- tests/sewing/tol_0_01/H8 | 2 +- tests/sewing/tol_0_01/H9 | 2 +- tests/sewing/tol_0_01/I1 | 2 +- tests/sewing/tol_0_01/I2 | 2 +- tests/sewing/tol_0_01/I3 | 2 +- tests/sewing/tol_0_01/I4 | 2 +- tests/sewing/tol_0_01/I5 | 2 +- tests/sewing/tol_0_01/I6 | 2 +- tests/sewing/tol_0_01/I7 | 2 +- tests/sewing/tol_0_01/I8 | 2 +- tests/sewing/tol_0_01/I9 | 2 +- tests/sewing/tol_0_01/J1 | 2 +- tests/sewing/tol_0_01/J2 | 2 +- tests/sewing/tol_0_01/J3 | 2 +- tests/sewing/tol_0_01/J4 | 2 +- tests/sewing/tol_0_01/J5 | 2 +- tests/sewing/tol_0_01/J6 | 2 +- tests/sewing/tol_0_01/J7 | 2 +- tests/sewing/tol_0_01/J8 | 2 +- tests/sewing/tol_0_01/J9 | 2 +- tests/sewing/tol_0_01/K1 | 2 +- tests/sewing/tol_0_01/K2 | 2 +- tests/sewing/tol_0_01/K3 | 2 +- tests/sewing/tol_0_01/K4 | 2 +- tests/sewing/tol_0_01/K5 | 2 +- tests/sewing/tol_0_01/K6 | 2 +- tests/sewing/tol_0_01/K7 | 2 +- tests/sewing/tol_0_01/K8 | 2 +- tests/sewing/tol_0_01/K9 | 2 +- tests/sewing/tol_0_01/L1 | 2 +- tests/sewing/tol_0_01/L2 | 2 +- tests/sewing/tol_0_01/L3 | 2 +- tests/sewing/tol_0_01/L4 | 2 +- tests/sewing/tol_0_01/L5 | 2 +- tests/sewing/tol_0_01/L6 | 2 +- tests/sewing/tol_0_01/L7 | 2 +- tests/sewing/tol_0_01/L8 | 2 +- tests/sewing/tol_0_01/L9 | 2 +- tests/sewing/tol_0_01/M1 | 2 +- tests/sewing/tol_0_01/M2 | 2 +- tests/sewing/tol_0_01/M3 | 2 +- tests/sewing/tol_0_01/M4 | 2 +- tests/sewing/tol_0_01/M5 | 2 +- tests/sewing/tol_0_01/M6 | 2 +- tests/sewing/tol_0_01/M7 | 2 +- tests/sewing/tol_0_01/M8 | 2 +- tests/sewing/tol_0_01/M9 | 2 +- tests/sewing/tol_0_01/N1 | 2 +- tests/sewing/tol_0_01/N2 | 2 +- tests/sewing/tol_0_01/N3 | 2 +- tests/sewing/tol_0_01/N4 | 2 +- tests/sewing/tol_0_01/N5 | 2 +- tests/sewing/tol_0_01/N6 | 2 +- tests/sewing/tol_0_01/N7 | 2 +- tests/sewing/tol_0_01/N8 | 2 +- tests/sewing/tol_0_01/N9 | 2 +- tests/sewing/tol_0_01/O1 | 2 +- tests/sewing/tol_0_01/O2 | 2 +- tests/sewing/tol_0_01/O3 | 2 +- tests/sewing/tol_0_01/O4 | 2 +- tests/sewing/tol_0_01/O5 | 2 +- tests/sewing/tol_0_01/O6 | 2 +- tests/sewing/tol_0_01/O7 | 2 +- tests/sewing/tol_0_01/O8 | 2 +- tests/sewing/tol_0_01/O9 | 2 +- tests/sewing/tol_0_01/P1 | 2 +- tests/sewing/tol_0_01/P2 | 2 +- tests/sewing/tol_0_01/P3 | 2 +- tests/sewing/tol_0_01/P4 | 2 +- tests/sewing/tol_0_01/P5 | 2 +- tests/sewing/tol_0_01/P6 | 2 +- tests/sewing/tol_0_01/P7 | 2 +- tests/sewing/tol_0_01/P8 | 2 +- tests/sewing/tol_0_01/P9 | 2 +- tests/sewing/tol_0_01/Q1 | 2 +- tests/sewing/tol_0_01/Q2 | 2 +- tests/sewing/tol_0_01/Q3 | 2 +- tests/sewing/tol_0_01/Q4 | 2 +- tests/sewing/tol_0_01/Q5 | 2 +- tests/sewing/tol_0_01/Q6 | 2 +- tests/sewing/tol_0_01/Q7 | 2 +- tests/sewing/tol_0_01/Q8 | 2 +- tests/sewing/tol_0_01/Q9 | 2 +- tests/sewing/tol_0_01/R1 | 2 +- tests/sewing/tol_0_01/R2 | 2 +- tests/sewing/tol_0_01/R3 | 2 +- tests/sewing/tol_0_01/R4 | 2 +- tests/sewing/tol_0_01/R5 | 2 +- tests/sewing/tol_0_01/R6 | 2 +- tests/sewing/tol_0_01/R7 | 2 +- tests/sewing/tol_0_01/R8 | 2 +- tests/sewing/tol_0_01/R9 | 2 +- tests/sewing/tol_0_01/S1 | 2 +- tests/sewing/tol_0_01/S2 | 2 +- tests/sewing/tol_0_01/S3 | 2 +- tests/sewing/tol_0_01/S4 | 2 +- tests/sewing/tol_0_01/S5 | 2 +- tests/sewing/tol_0_01/S6 | 2 +- tests/sewing/tol_0_01/S7 | 2 +- tests/sewing/tol_0_01/S8 | 2 +- tests/sewing/tol_0_01/S9 | 2 +- tests/sewing/tol_0_01/T1 | 2 +- tests/sewing/tol_0_01/T2 | 2 +- tests/sewing/tol_0_01/T3 | 2 +- tests/sewing/tol_0_01/T4 | 2 +- tests/sewing/tol_0_01/T5 | 2 +- tests/sewing/tol_0_01/T6 | 2 +- tests/sewing/tol_0_01/T7 | 2 +- tests/sewing/tol_0_01/T8 | 2 +- tests/sewing/tol_0_01/T9 | 2 +- tests/sewing/tol_0_01/U1 | 2 +- tests/sewing/tol_0_01/U2 | 2 +- tests/sewing/tol_0_01/U3 | 2 +- tests/sewing/tol_0_01/U4 | 2 +- tests/sewing/tol_0_01/U5 | 2 +- tests/sewing/tol_0_01/U6 | 2 +- tests/sewing/tol_0_01/U7 | 2 +- tests/sewing/tol_0_01/U8 | 2 +- tests/sewing/tol_0_01/U9 | 2 +- tests/sewing/tol_0_01/V1 | 2 +- tests/sewing/tol_0_01/V2 | 2 +- tests/sewing/tol_0_01/V3 | 2 +- tests/sewing/tol_0_01/V4 | 2 +- tests/sewing/tol_0_01/V5 | 2 +- tests/sewing/tol_0_01/V6 | 2 +- tests/sewing/tol_0_01/V7 | 2 +- tests/sewing/tol_0_01/V8 | 2 +- tests/sewing/tol_0_01/V9 | 2 +- tests/sewing/tol_0_01/W1 | 2 +- tests/sewing/tol_0_01/W2 | 2 +- tests/sewing/tol_0_01/W3 | 2 +- tests/sewing/tol_0_01/W4 | 2 +- tests/sewing/tol_0_01/W5 | 2 +- tests/sewing/tol_0_01/W6 | 2 +- tests/sewing/tol_0_01/W7 | 2 +- tests/sewing/tol_0_01/W8 | 2 +- tests/sewing/tol_0_01/W9 | 2 +- tests/sewing/tol_0_01/X1 | 2 +- tests/sewing/tol_0_01/X2 | 2 +- tests/sewing/tol_0_01/X3 | 2 +- tests/sewing/tol_0_01/X4 | 2 +- tests/sewing/tol_0_01/X5 | 2 +- tests/sewing/tol_0_01/X6 | 2 +- tests/sewing/tol_0_01/X7 | 2 +- tests/sewing/tol_0_01/X8 | 2 +- tests/sewing/tol_0_01/X9 | 2 +- tests/sewing/tol_0_01/Y1 | 2 +- tests/sewing/tol_0_01/Y2 | 2 +- tests/sewing/tol_0_01/Y3 | 2 +- tests/sewing/tol_0_01/Y4 | 2 +- tests/sewing/tol_0_01/Y5 | 2 +- tests/sewing/tol_0_01/Y6 | 2 +- tests/sewing/tol_0_01/Y7 | 2 +- tests/sewing/tol_0_01/Y8 | 2 +- tests/sewing/tol_0_01/Y9 | 2 +- tests/sewing/tol_0_01/Z1 | 2 +- tests/sewing/tol_0_01/Z2 | 2 +- tests/sewing/tol_0_01/Z3 | 2 +- tests/sewing/tol_0_01/Z4 | 2 +- tests/sewing/tol_0_01/Z5 | 2 +- tests/sewing/tol_0_01/Z6 | 2 +- tests/sewing/tol_0_01/Z7 | 2 +- tests/sewing/tol_0_01/Z8 | 2 +- tests/sewing/tol_0_01/Z9 | 2 +- tests/sewing/tol_1/A1 | 2 +- tests/sewing/tol_1/A2 | 2 +- tests/sewing/tol_1/A3 | 2 +- tests/sewing/tol_1/A4 | 2 +- tests/sewing/tol_1/A5 | 2 +- tests/sewing/tol_1/A6 | 2 +- tests/sewing/tol_1/A7 | 2 +- tests/sewing/tol_1/A8 | 2 +- tests/sewing/tol_1/A9 | 2 +- tests/sewing/tol_1/B1 | 2 +- tests/sewing/tol_1/B2 | 2 +- tests/sewing/tol_1/B3 | 2 +- tests/sewing/tol_1/B4 | 2 +- tests/sewing/tol_1/B5 | 2 +- tests/sewing/tol_1/B6 | 2 +- tests/sewing/tol_1/B7 | 2 +- tests/sewing/tol_1/B8 | 2 +- tests/sewing/tol_1/B9 | 2 +- tests/sewing/tol_1/C1 | 2 +- tests/sewing/tol_1/C2 | 2 +- tests/sewing/tol_1/C3 | 2 +- tests/sewing/tol_1/C4 | 2 +- tests/sewing/tol_1/C5 | 2 +- tests/sewing/tol_1/C6 | 2 +- tests/sewing/tol_1/C7 | 2 +- tests/sewing/tol_1/C8 | 2 +- tests/sewing/tol_1/C9 | 2 +- tests/sewing/tol_1/D1 | 2 +- tests/sewing/tol_1/D2 | 2 +- tests/sewing/tol_1/D3 | 2 +- tests/sewing/tol_1/D4 | 2 +- tests/sewing/tol_1/D5 | 2 +- tests/sewing/tol_1/D6 | 2 +- tests/sewing/tol_1/D7 | 2 +- tests/sewing/tol_1/D8 | 2 +- tests/sewing/tol_1/D9 | 2 +- tests/sewing/tol_1/E1 | 2 +- tests/sewing/tol_1/E2 | 2 +- tests/sewing/tol_1/E3 | 2 +- tests/sewing/tol_1/E4 | 2 +- tests/sewing/tol_1/E5 | 2 +- tests/sewing/tol_1/E6 | 2 +- tests/sewing/tol_1/E7 | 2 +- tests/sewing/tol_1/E8 | 2 +- tests/sewing/tol_1/E9 | 2 +- tests/sewing/tol_1/F1 | 2 +- tests/sewing/tol_1/F2 | 2 +- tests/sewing/tol_1/F3 | 2 +- tests/sewing/tol_1/F4 | 2 +- tests/sewing/tol_1/F5 | 2 +- tests/sewing/tol_1/F6 | 2 +- tests/sewing/tol_1/F7 | 2 +- tests/sewing/tol_1/F8 | 2 +- tests/sewing/tol_1/F9 | 2 +- tests/sewing/tol_1/G1 | 2 +- tests/sewing/tol_1/G2 | 2 +- tests/sewing/tol_1/G3 | 2 +- tests/sewing/tol_1/G4 | 2 +- tests/sewing/tol_1/G5 | 2 +- tests/sewing/tol_1/G6 | 2 +- tests/sewing/tol_1/G7 | 2 +- tests/sewing/tol_1/G8 | 2 +- tests/sewing/tol_1/G9 | 2 +- tests/sewing/tol_1/H1 | 2 +- tests/sewing/tol_1/H2 | 2 +- tests/sewing/tol_1/H3 | 2 +- tests/sewing/tol_1/H4 | 2 +- tests/sewing/tol_1/H5 | 2 +- tests/sewing/tol_1/H6 | 2 +- tests/sewing/tol_1/H7 | 2 +- tests/sewing/tol_1/H8 | 2 +- tests/sewing/tol_1/H9 | 2 +- tests/sewing/tol_1/I1 | 2 +- tests/sewing/tol_1/I2 | 2 +- tests/sewing/tol_1/I3 | 2 +- tests/sewing/tol_1/I4 | 2 +- tests/sewing/tol_1/I5 | 2 +- tests/sewing/tol_1/I6 | 2 +- tests/sewing/tol_1/I7 | 2 +- tests/sewing/tol_1/I8 | 2 +- tests/sewing/tol_1/I9 | 2 +- tests/sewing/tol_1/J1 | 2 +- tests/sewing/tol_1/J2 | 2 +- tests/sewing/tol_1/J3 | 2 +- tests/sewing/tol_1/J4 | 2 +- tests/sewing/tol_1/J5 | 2 +- tests/sewing/tol_1/J6 | 2 +- tests/sewing/tol_1/J7 | 2 +- tests/sewing/tol_1/J8 | 2 +- tests/sewing/tol_1/J9 | 2 +- tests/sewing/tol_1/K1 | 2 +- tests/sewing/tol_1/K2 | 2 +- tests/sewing/tol_1/K3 | 2 +- tests/sewing/tol_1/K4 | 2 +- tests/sewing/tol_1/K5 | 2 +- tests/sewing/tol_1/K6 | 2 +- tests/sewing/tol_1/K7 | 2 +- tests/sewing/tol_1/K8 | 2 +- tests/sewing/tol_1/K9 | 2 +- tests/sewing/tol_1/L1 | 2 +- tests/sewing/tol_1/L2 | 2 +- tests/sewing/tol_1/L3 | 2 +- tests/sewing/tol_1/L4 | 2 +- tests/sewing/tol_1/L5 | 2 +- tests/sewing/tol_1/L6 | 2 +- tests/sewing/tol_1/L7 | 2 +- tests/sewing/tol_1/L8 | 2 +- tests/sewing/tol_1/L9 | 2 +- tests/sewing/tol_1/M1 | 2 +- tests/sewing/tol_1/M2 | 2 +- tests/sewing/tol_1/M3 | 2 +- tests/sewing/tol_1/M4 | 2 +- tests/sewing/tol_1/M5 | 2 +- tests/sewing/tol_1/M6 | 2 +- tests/sewing/tol_1/M7 | 2 +- tests/sewing/tol_1/M8 | 2 +- tests/sewing/tol_1/M9 | 2 +- tests/sewing/tol_1/N1 | 2 +- tests/sewing/tol_1/N2 | 2 +- tests/sewing/tol_1/N3 | 2 +- tests/sewing/tol_1/N4 | 2 +- tests/sewing/tol_1/N5 | 2 +- tests/sewing/tol_1/N6 | 2 +- tests/sewing/tol_1/N7 | 2 +- tests/sewing/tol_1/N8 | 2 +- tests/sewing/tol_1/N9 | 2 +- tests/sewing/tol_1/O1 | 2 +- tests/sewing/tol_1/O2 | 2 +- tests/sewing/tol_1/O3 | 2 +- tests/sewing/tol_1/O4 | 2 +- tests/sewing/tol_1/O5 | 2 +- tests/sewing/tol_1/O6 | 2 +- tests/sewing/tol_1/O7 | 2 +- tests/sewing/tol_1/O8 | 2 +- tests/sewing/tol_1/O9 | 2 +- tests/sewing/tol_1/P1 | 2 +- tests/sewing/tol_1/P2 | 2 +- tests/sewing/tol_1/P3 | 2 +- tests/sewing/tol_1/P4 | 2 +- tests/sewing/tol_1/P5 | 2 +- tests/sewing/tol_1/P6 | 2 +- tests/sewing/tol_1/P7 | 2 +- tests/sewing/tol_1/P8 | 2 +- tests/sewing/tol_1/P9 | 2 +- tests/sewing/tol_1/Q1 | 2 +- tests/sewing/tol_1/Q2 | 2 +- tests/sewing/tol_1/Q3 | 2 +- tests/sewing/tol_1/Q4 | 2 +- tests/sewing/tol_1/Q5 | 2 +- tests/sewing/tol_1/Q6 | 2 +- tests/sewing/tol_1/Q7 | 2 +- tests/sewing/tol_1/Q8 | 2 +- tests/sewing/tol_1/Q9 | 2 +- tests/sewing/tol_1/R1 | 2 +- tests/sewing/tol_1/R2 | 2 +- tests/sewing/tol_1/R3 | 2 +- tests/sewing/tol_1/R4 | 2 +- tests/sewing/tol_1/R5 | 2 +- tests/sewing/tol_1/R6 | 2 +- tests/sewing/tol_1/R7 | 2 +- tests/sewing/tol_1/R8 | 2 +- tests/sewing/tol_1/R9 | 2 +- tests/sewing/tol_1/S1 | 2 +- tests/sewing/tol_1/S2 | 2 +- tests/sewing/tol_1/S3 | 2 +- tests/sewing/tol_1/S4 | 2 +- tests/sewing/tol_1/S5 | 2 +- tests/sewing/tol_1/S6 | 2 +- tests/sewing/tol_1/S7 | 2 +- tests/sewing/tol_1/S8 | 2 +- tests/sewing/tol_1/S9 | 2 +- tests/sewing/tol_1/T1 | 2 +- tests/sewing/tol_1/T2 | 2 +- tests/sewing/tol_1/T3 | 2 +- tests/sewing/tol_1/T4 | 2 +- tests/sewing/tol_1/T5 | 2 +- tests/sewing/tol_1/T6 | 2 +- tests/sewing/tol_1/T7 | 2 +- tests/sewing/tol_1/T8 | 2 +- tests/sewing/tol_1/T9 | 2 +- tests/sewing/tol_1/U1 | 2 +- tests/sewing/tol_1/U2 | 2 +- tests/sewing/tol_1/U3 | 2 +- tests/sewing/tol_1/U4 | 2 +- tests/sewing/tol_1/U5 | 2 +- tests/sewing/tol_1/U6 | 2 +- tests/sewing/tol_1/U7 | 2 +- tests/sewing/tol_1/U8 | 2 +- tests/sewing/tol_1/U9 | 2 +- tests/sewing/tol_1/V1 | 2 +- tests/sewing/tol_1/V2 | 2 +- tests/sewing/tol_1/V3 | 2 +- tests/sewing/tol_1/V4 | 2 +- tests/sewing/tol_1/V5 | 2 +- tests/sewing/tol_1/V6 | 2 +- tests/sewing/tol_1/V7 | 2 +- tests/sewing/tol_1/V8 | 2 +- tests/sewing/tol_1/V9 | 2 +- tests/sewing/tol_1/W1 | 2 +- tests/sewing/tol_1/W2 | 2 +- tests/sewing/tol_1/W3 | 2 +- tests/sewing/tol_1/W4 | 2 +- tests/sewing/tol_1/W5 | 2 +- tests/sewing/tol_1/W6 | 2 +- tests/sewing/tol_1/W7 | 2 +- tests/sewing/tol_1/W8 | 2 +- tests/sewing/tol_1/W9 | 2 +- tests/sewing/tol_1/X1 | 2 +- tests/sewing/tol_1/X2 | 2 +- tests/sewing/tol_1/X3 | 2 +- tests/sewing/tol_1/X4 | 2 +- tests/sewing/tol_1/X5 | 2 +- tests/sewing/tol_1/X6 | 2 +- tests/sewing/tol_1/X7 | 2 +- tests/sewing/tol_1/X8 | 2 +- tests/sewing/tol_1/X9 | 2 +- tests/sewing/tol_1/Y1 | 2 +- tests/sewing/tol_1/Y2 | 2 +- tests/sewing/tol_1/Y3 | 2 +- tests/sewing/tol_1/Y4 | 2 +- tests/sewing/tol_1/Y5 | 2 +- tests/sewing/tol_1/Y6 | 2 +- tests/sewing/tol_1/Y7 | 2 +- tests/sewing/tol_1/Y8 | 2 +- tests/sewing/tol_1/Y9 | 2 +- tests/sewing/tol_1/Z1 | 2 +- tests/sewing/tol_1/Z2 | 2 +- tests/sewing/tol_1/Z3 | 2 +- tests/sewing/tol_1/Z4 | 2 +- tests/sewing/tol_1/Z5 | 2 +- tests/sewing/tol_1/Z6 | 2 +- tests/sewing/tol_1/Z7 | 2 +- tests/sewing/tol_1/Z8 | 2 +- tests/sewing/tol_1/Z9 | 2 +- tests/sewing/tol_100/A1 | 2 +- tests/sewing/tol_100/A2 | 2 +- tests/sewing/tol_100/A3 | 2 +- tests/sewing/tol_100/A4 | 2 +- tests/sewing/tol_100/A5 | 2 +- tests/sewing/tol_100/A6 | 2 +- tests/sewing/tol_100/A7 | 2 +- tests/sewing/tol_100/A8 | 2 +- tests/sewing/tol_100/A9 | 2 +- tests/sewing/tol_100/B1 | 2 +- tests/sewing/tol_100/B2 | 2 +- tests/sewing/tol_100/B3 | 2 +- tests/sewing/tol_100/B4 | 2 +- tests/sewing/tol_100/B5 | 2 +- tests/sewing/tol_100/B6 | 2 +- tests/sewing/tol_100/B7 | 2 +- tests/sewing/tol_100/B8 | 2 +- tests/sewing/tol_100/B9 | 2 +- tests/sewing/tol_100/C1 | 2 +- tests/sewing/tol_100/C2 | 2 +- tests/sewing/tol_100/C3 | 2 +- tests/sewing/tol_100/C4 | 2 +- tests/sewing/tol_100/C5 | 2 +- tests/sewing/tol_100/C6 | 2 +- tests/sewing/tol_100/C7 | 2 +- tests/sewing/tol_100/C8 | 2 +- tests/sewing/tol_100/C9 | 2 +- tests/sewing/tol_100/D1 | 2 +- tests/sewing/tol_100/D2 | 2 +- tests/sewing/tol_100/D3 | 2 +- tests/sewing/tol_100/D4 | 2 +- tests/sewing/tol_100/D5 | 2 +- tests/sewing/tol_100/D6 | 2 +- tests/sewing/tol_100/D7 | 2 +- tests/sewing/tol_100/D8 | 2 +- tests/sewing/tol_100/D9 | 2 +- tests/sewing/tol_100/E1 | 2 +- tests/sewing/tol_100/E2 | 2 +- tests/sewing/tol_100/E3 | 2 +- tests/sewing/tol_100/E4 | 2 +- tests/sewing/tol_100/E5 | 2 +- tests/sewing/tol_100/E6 | 2 +- tests/sewing/tol_100/E7 | 2 +- tests/sewing/tol_100/E8 | 2 +- tests/sewing/tol_100/E9 | 2 +- tests/sewing/tol_100/F1 | 2 +- tests/sewing/tol_100/F2 | 2 +- tests/sewing/tol_100/F3 | 2 +- tests/sewing/tol_100/F4 | 2 +- tests/sewing/tol_100/F5 | 2 +- tests/sewing/tol_100/F6 | 2 +- tests/sewing/tol_100/F7 | 2 +- tests/sewing/tol_100/F8 | 2 +- tests/sewing/tol_100/F9 | 2 +- tests/sewing/tol_100/G1 | 2 +- tests/sewing/tol_100/G2 | 2 +- tests/sewing/tol_100/G3 | 2 +- tests/sewing/tol_100/G4 | 2 +- tests/sewing/tol_100/G5 | 2 +- tests/sewing/tol_100/G6 | 2 +- tests/sewing/tol_100/G7 | 2 +- tests/sewing/tol_100/G8 | 2 +- tests/sewing/tol_100/G9 | 2 +- tests/sewing/tol_100/H1 | 2 +- tests/sewing/tol_100/H2 | 2 +- tests/sewing/tol_100/H3 | 2 +- tests/sewing/tol_100/H4 | 2 +- tests/sewing/tol_100/H5 | 2 +- tests/sewing/tol_100/H6 | 2 +- tests/sewing/tol_100/H7 | 2 +- tests/sewing/tol_100/H8 | 2 +- tests/sewing/tol_100/H9 | 2 +- tests/sewing/tol_100/I1 | 2 +- tests/sewing/tol_100/I2 | 2 +- tests/sewing/tol_100/I3 | 2 +- tests/sewing/tol_100/I4 | 2 +- tests/sewing/tol_100/I5 | 2 +- tests/sewing/tol_100/I6 | 2 +- tests/sewing/tol_100/I7 | 2 +- tests/sewing/tol_100/I8 | 2 +- tests/sewing/tol_100/I9 | 2 +- tests/sewing/tol_100/J1 | 2 +- tests/sewing/tol_100/J2 | 2 +- tests/sewing/tol_100/J3 | 2 +- tests/sewing/tol_100/J4 | 2 +- tests/sewing/tol_100/J5 | 2 +- tests/sewing/tol_100/J6 | 2 +- tests/sewing/tol_100/J7 | 2 +- tests/sewing/tol_100/J8 | 2 +- tests/sewing/tol_100/J9 | 2 +- tests/sewing/tol_100/K1 | 2 +- tests/sewing/tol_100/K2 | 2 +- tests/sewing/tol_100/K3 | 2 +- tests/sewing/tol_100/K4 | 2 +- tests/sewing/tol_100/K5 | 2 +- tests/sewing/tol_100/K6 | 2 +- tests/sewing/tol_100/K7 | 2 +- tests/sewing/tol_100/K8 | 2 +- tests/sewing/tol_100/K9 | 2 +- tests/sewing/tol_100/L1 | 2 +- tests/sewing/tol_100/L2 | 2 +- tests/sewing/tol_100/L3 | 2 +- tests/sewing/tol_100/L4 | 2 +- tests/sewing/tol_100/L5 | 2 +- tests/sewing/tol_100/L6 | 2 +- tests/sewing/tol_100/L7 | 2 +- tests/sewing/tol_100/L8 | 2 +- tests/sewing/tol_100/L9 | 2 +- tests/sewing/tol_100/M1 | 2 +- tests/sewing/tol_100/M2 | 2 +- tests/sewing/tol_100/M3 | 2 +- tests/sewing/tol_100/M4 | 2 +- tests/sewing/tol_100/M5 | 2 +- tests/sewing/tol_100/M6 | 2 +- tests/sewing/tol_100/M7 | 2 +- tests/sewing/tol_100/M8 | 2 +- tests/sewing/tol_100/M9 | 2 +- tests/sewing/tol_100/N1 | 2 +- tests/sewing/tol_100/N2 | 2 +- tests/sewing/tol_100/N3 | 2 +- tests/sewing/tol_100/N4 | 2 +- tests/sewing/tol_100/N5 | 2 +- tests/sewing/tol_100/N6 | 2 +- tests/sewing/tol_100/N7 | 2 +- tests/sewing/tol_100/N8 | 2 +- tests/sewing/tol_100/N9 | 2 +- tests/sewing/tol_100/O1 | 2 +- tests/sewing/tol_100/O2 | 2 +- tests/sewing/tol_100/O3 | 2 +- tests/sewing/tol_100/O4 | 2 +- tests/sewing/tol_100/O5 | 2 +- tests/sewing/tol_100/O6 | 2 +- tests/sewing/tol_100/O7 | 2 +- tests/sewing/tol_100/O8 | 2 +- tests/sewing/tol_100/O9 | 2 +- tests/sewing/tol_100/P1 | 2 +- tests/sewing/tol_100/P2 | 2 +- tests/sewing/tol_100/P3 | 2 +- tests/sewing/tol_100/P4 | 2 +- tests/sewing/tol_100/P5 | 2 +- tests/sewing/tol_100/P6 | 2 +- tests/sewing/tol_100/P7 | 2 +- tests/sewing/tol_100/P8 | 2 +- tests/sewing/tol_100/P9 | 2 +- tests/sewing/tol_100/Q1 | 2 +- tests/sewing/tol_100/Q2 | 2 +- tests/sewing/tol_100/Q3 | 2 +- tests/sewing/tol_100/Q4 | 2 +- tests/sewing/tol_100/Q5 | 2 +- tests/sewing/tol_100/Q6 | 2 +- tests/sewing/tol_100/Q7 | 2 +- tests/sewing/tol_100/Q8 | 2 +- tests/sewing/tol_100/Q9 | 2 +- tests/sewing/tol_100/R1 | 2 +- tests/sewing/tol_100/R2 | 2 +- tests/sewing/tol_100/R3 | 2 +- tests/sewing/tol_100/R4 | 2 +- tests/sewing/tol_100/R5 | 2 +- tests/sewing/tol_100/R6 | 2 +- tests/sewing/tol_100/R7 | 2 +- tests/sewing/tol_100/R8 | 2 +- tests/sewing/tol_100/R9 | 2 +- tests/sewing/tol_100/S1 | 2 +- tests/sewing/tol_100/S2 | 2 +- tests/sewing/tol_100/S3 | 2 +- tests/sewing/tol_100/S4 | 2 +- tests/sewing/tol_100/S5 | 2 +- tests/sewing/tol_100/S6 | 2 +- tests/sewing/tol_100/S7 | 2 +- tests/sewing/tol_100/S8 | 2 +- tests/sewing/tol_100/S9 | 2 +- tests/sewing/tol_100/T1 | 2 +- tests/sewing/tol_100/T2 | 2 +- tests/sewing/tol_100/T3 | 2 +- tests/sewing/tol_100/T4 | 2 +- tests/sewing/tol_100/T5 | 2 +- tests/sewing/tol_100/T6 | 2 +- tests/sewing/tol_100/T7 | 2 +- tests/sewing/tol_100/T8 | 2 +- tests/sewing/tol_100/T9 | 2 +- tests/sewing/tol_100/U1 | 2 +- tests/sewing/tol_100/U2 | 2 +- tests/sewing/tol_100/U3 | 2 +- tests/sewing/tol_100/U4 | 2 +- tests/sewing/tol_100/U5 | 2 +- tests/sewing/tol_100/U6 | 2 +- tests/sewing/tol_100/U7 | 2 +- tests/sewing/tol_100/U8 | 2 +- tests/sewing/tol_100/U9 | 2 +- tests/sewing/tol_100/V1 | 2 +- tests/sewing/tol_100/V2 | 2 +- tests/sewing/tol_100/V3 | 2 +- tests/sewing/tol_100/V4 | 2 +- tests/sewing/tol_100/V5 | 2 +- tests/sewing/tol_100/V6 | 2 +- tests/sewing/tol_100/V7 | 2 +- tests/sewing/tol_100/V8 | 2 +- tests/sewing/tol_100/V9 | 2 +- tests/sewing/tol_100/W1 | 2 +- tests/sewing/tol_100/W2 | 2 +- tests/sewing/tol_100/W3 | 2 +- tests/sewing/tol_100/W4 | 2 +- tests/sewing/tol_100/W5 | 2 +- tests/sewing/tol_100/W6 | 2 +- tests/sewing/tol_100/W7 | 2 +- tests/sewing/tol_100/W8 | 2 +- tests/sewing/tol_100/W9 | 2 +- tests/sewing/tol_100/X1 | 2 +- tests/sewing/tol_100/X2 | 2 +- tests/sewing/tol_100/X3 | 2 +- tests/sewing/tol_100/X4 | 2 +- tests/sewing/tol_100/X5 | 2 +- tests/sewing/tol_100/X6 | 2 +- tests/sewing/tol_100/X7 | 2 +- tests/sewing/tol_100/X8 | 2 +- tests/sewing/tol_100/X9 | 2 +- tests/sewing/tol_100/Y1 | 2 +- tests/sewing/tol_100/Y2 | 2 +- tests/sewing/tol_100/Y3 | 2 +- tests/sewing/tol_100/Y4 | 2 +- tests/sewing/tol_100/Y5 | 2 +- tests/sewing/tol_100/Y6 | 2 +- tests/sewing/tol_100/Y7 | 2 +- tests/sewing/tol_100/Y9 | 2 +- tests/sewing/tol_100/Z1 | 2 +- tests/sewing/tol_100/Z2 | 2 +- tests/sewing/tol_100/Z3 | 2 +- tests/sewing/tol_100/Z4 | 2 +- tests/sewing/tol_100/Z5 | 2 +- tests/sewing/tol_100/Z6 | 2 +- tests/sewing/tol_100/Z7 | 2 +- tests/sewing/tol_100/Z8 | 2 +- 1858 files changed, 52325 insertions(+), 19413 deletions(-) diff --git a/dox/dev_guides/tests/tests.md b/dox/dev_guides/tests/tests.md index fe36b4208c..bfb536f19b 100644 --- a/dox/dev_guides/tests/tests.md +++ b/dox/dev_guides/tests/tests.md @@ -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 diff --git a/src/DrawResources/CheckCommands.tcl b/src/DrawResources/CheckCommands.tcl index 36a65db67e..42e5c109b5 100644 --- a/src/DrawResources/CheckCommands.tcl +++ b/src/DrawResources/CheckCommands.tcl @@ -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}'" + } +} diff --git a/tests/bugs/iges/bug306 b/tests/bugs/iges/bug306 index a4513ca182..0be1d02191 100755 --- a/tests/bugs/iges/bug306 +++ b/tests/bugs/iges/bug306 @@ -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 diff --git a/tests/bugs/modalg_1/buc60523 b/tests/bugs/modalg_1/buc60523 index d1e0c5edd1..6e2ff606c0 100755 --- a/tests/bugs/modalg_1/buc60523 +++ b/tests/bugs/modalg_1/buc60523 @@ -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 diff --git a/tests/bugs/modalg_1/buc60905 b/tests/bugs/modalg_1/buc60905 index 85527d80c1..f68e0343d5 100755 --- a/tests/bugs/modalg_1/buc60905 +++ b/tests/bugs/modalg_1/buc60905 @@ -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 diff --git a/tests/bugs/modalg_2/bug22500 b/tests/bugs/modalg_2/bug22500 index f6af859b5c..c0e670394e 100755 --- a/tests/bugs/modalg_2/bug22500 +++ b/tests/bugs/modalg_2/bug22500 @@ -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 diff --git a/tests/bugs/modalg_2/bug22717 b/tests/bugs/modalg_2/bug22717 index bedee931cf..213f9b9aa2 100755 --- a/tests/bugs/modalg_2/bug22717 +++ b/tests/bugs/modalg_2/bug22717 @@ -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 diff --git a/tests/bugs/modalg_2/bug22765 b/tests/bugs/modalg_2/bug22765 index 9fb5d93086..921254b465 100755 --- a/tests/bugs/modalg_2/bug22765 +++ b/tests/bugs/modalg_2/bug22765 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_1 b/tests/bugs/modalg_2/bug22770_1 index 2a5c32360f..12299e9f35 100755 --- a/tests/bugs/modalg_2/bug22770_1 +++ b/tests/bugs/modalg_2/bug22770_1 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_10 b/tests/bugs/modalg_2/bug22770_10 index a2ecd540e1..607f90d2cb 100755 --- a/tests/bugs/modalg_2/bug22770_10 +++ b/tests/bugs/modalg_2/bug22770_10 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_11 b/tests/bugs/modalg_2/bug22770_11 index 07f49368b1..a1f39627bb 100755 --- a/tests/bugs/modalg_2/bug22770_11 +++ b/tests/bugs/modalg_2/bug22770_11 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_12 b/tests/bugs/modalg_2/bug22770_12 index a8cd985132..a3d678d8e0 100755 --- a/tests/bugs/modalg_2/bug22770_12 +++ b/tests/bugs/modalg_2/bug22770_12 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_13 b/tests/bugs/modalg_2/bug22770_13 index 0409d872fe..39b0159d52 100755 --- a/tests/bugs/modalg_2/bug22770_13 +++ b/tests/bugs/modalg_2/bug22770_13 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_14 b/tests/bugs/modalg_2/bug22770_14 index e61febf77a..67a6efcc72 100755 --- a/tests/bugs/modalg_2/bug22770_14 +++ b/tests/bugs/modalg_2/bug22770_14 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_15 b/tests/bugs/modalg_2/bug22770_15 index 04ab6633d6..566705deb2 100755 --- a/tests/bugs/modalg_2/bug22770_15 +++ b/tests/bugs/modalg_2/bug22770_15 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_16 b/tests/bugs/modalg_2/bug22770_16 index 441e8ba1c4..1df67c24fa 100755 --- a/tests/bugs/modalg_2/bug22770_16 +++ b/tests/bugs/modalg_2/bug22770_16 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_17 b/tests/bugs/modalg_2/bug22770_17 index 09ba68c2a3..4a839199b8 100755 --- a/tests/bugs/modalg_2/bug22770_17 +++ b/tests/bugs/modalg_2/bug22770_17 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_18 b/tests/bugs/modalg_2/bug22770_18 index 02fb639e0a..d8b0117cf1 100755 --- a/tests/bugs/modalg_2/bug22770_18 +++ b/tests/bugs/modalg_2/bug22770_18 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_19 b/tests/bugs/modalg_2/bug22770_19 index 15d02450d4..385b6fdddf 100755 --- a/tests/bugs/modalg_2/bug22770_19 +++ b/tests/bugs/modalg_2/bug22770_19 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_2 b/tests/bugs/modalg_2/bug22770_2 index c485ecb4f9..f24160adcb 100755 --- a/tests/bugs/modalg_2/bug22770_2 +++ b/tests/bugs/modalg_2/bug22770_2 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_20 b/tests/bugs/modalg_2/bug22770_20 index e33b67d660..db2e3eaa82 100755 --- a/tests/bugs/modalg_2/bug22770_20 +++ b/tests/bugs/modalg_2/bug22770_20 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_21 b/tests/bugs/modalg_2/bug22770_21 index 386a9f01a6..58e554cfa7 100755 --- a/tests/bugs/modalg_2/bug22770_21 +++ b/tests/bugs/modalg_2/bug22770_21 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_22 b/tests/bugs/modalg_2/bug22770_22 index b1670748b0..3751804a82 100755 --- a/tests/bugs/modalg_2/bug22770_22 +++ b/tests/bugs/modalg_2/bug22770_22 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_23 b/tests/bugs/modalg_2/bug22770_23 index 234e5efb51..0f6e901d69 100755 --- a/tests/bugs/modalg_2/bug22770_23 +++ b/tests/bugs/modalg_2/bug22770_23 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_24 b/tests/bugs/modalg_2/bug22770_24 index 8aa1987491..321c7ca6cc 100755 --- a/tests/bugs/modalg_2/bug22770_24 +++ b/tests/bugs/modalg_2/bug22770_24 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_25 b/tests/bugs/modalg_2/bug22770_25 index 9e449ac87a..f33ebef5c0 100755 --- a/tests/bugs/modalg_2/bug22770_25 +++ b/tests/bugs/modalg_2/bug22770_25 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_26 b/tests/bugs/modalg_2/bug22770_26 index c9d22bbdef..839ed17c70 100755 --- a/tests/bugs/modalg_2/bug22770_26 +++ b/tests/bugs/modalg_2/bug22770_26 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_27 b/tests/bugs/modalg_2/bug22770_27 index 2fae19537f..f9858a7df1 100755 --- a/tests/bugs/modalg_2/bug22770_27 +++ b/tests/bugs/modalg_2/bug22770_27 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_28 b/tests/bugs/modalg_2/bug22770_28 index 7801eac050..5c8cc7c6d8 100755 --- a/tests/bugs/modalg_2/bug22770_28 +++ b/tests/bugs/modalg_2/bug22770_28 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_29 b/tests/bugs/modalg_2/bug22770_29 index b25fbd2250..aa6cee5aed 100755 --- a/tests/bugs/modalg_2/bug22770_29 +++ b/tests/bugs/modalg_2/bug22770_29 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_3 b/tests/bugs/modalg_2/bug22770_3 index 71ea3bb01a..09c481a6b7 100755 --- a/tests/bugs/modalg_2/bug22770_3 +++ b/tests/bugs/modalg_2/bug22770_3 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_30 b/tests/bugs/modalg_2/bug22770_30 index bb7b14d905..b379b0475b 100755 --- a/tests/bugs/modalg_2/bug22770_30 +++ b/tests/bugs/modalg_2/bug22770_30 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_4 b/tests/bugs/modalg_2/bug22770_4 index 1dca813407..aae365bfa0 100755 --- a/tests/bugs/modalg_2/bug22770_4 +++ b/tests/bugs/modalg_2/bug22770_4 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_5 b/tests/bugs/modalg_2/bug22770_5 index 8bfb84aaa3..d2e128f8c1 100755 --- a/tests/bugs/modalg_2/bug22770_5 +++ b/tests/bugs/modalg_2/bug22770_5 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_6 b/tests/bugs/modalg_2/bug22770_6 index ce982de4e2..4c5b48168e 100755 --- a/tests/bugs/modalg_2/bug22770_6 +++ b/tests/bugs/modalg_2/bug22770_6 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_7 b/tests/bugs/modalg_2/bug22770_7 index e9a86d1d85..445543bfbf 100755 --- a/tests/bugs/modalg_2/bug22770_7 +++ b/tests/bugs/modalg_2/bug22770_7 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_8 b/tests/bugs/modalg_2/bug22770_8 index 9356ae57d1..ae885a612e 100755 --- a/tests/bugs/modalg_2/bug22770_8 +++ b/tests/bugs/modalg_2/bug22770_8 @@ -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 diff --git a/tests/bugs/modalg_2/bug22770_9 b/tests/bugs/modalg_2/bug22770_9 index 1483719976..d5c8571e52 100755 --- a/tests/bugs/modalg_2/bug22770_9 +++ b/tests/bugs/modalg_2/bug22770_9 @@ -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 diff --git a/tests/bugs/modalg_2/bug22804 b/tests/bugs/modalg_2/bug22804 index d9b48336bb..6bbd67e779 100755 --- a/tests/bugs/modalg_2/bug22804 +++ b/tests/bugs/modalg_2/bug22804 @@ -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 diff --git a/tests/bugs/modalg_2/bug22881 b/tests/bugs/modalg_2/bug22881 index b0b3d01407..9789392237 100755 --- a/tests/bugs/modalg_2/bug22881 +++ b/tests/bugs/modalg_2/bug22881 @@ -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 diff --git a/tests/bugs/modalg_2/bug322 b/tests/bugs/modalg_2/bug322 index 992eee7cbd..e389043c23 100755 --- a/tests/bugs/modalg_2/bug322 +++ b/tests/bugs/modalg_2/bug322 @@ -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 diff --git a/tests/bugs/modalg_2/bug5805_1 b/tests/bugs/modalg_2/bug5805_1 index 1c459de3a4..20262ade7e 100755 --- a/tests/bugs/modalg_2/bug5805_1 +++ b/tests/bugs/modalg_2/bug5805_1 @@ -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 diff --git a/tests/bugs/modalg_2/bug5805_2 b/tests/bugs/modalg_2/bug5805_2 index 6db13931f9..15db813ff8 100755 --- a/tests/bugs/modalg_2/bug5805_2 +++ b/tests/bugs/modalg_2/bug5805_2 @@ -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 diff --git a/tests/bugs/modalg_2/bug5805_3 b/tests/bugs/modalg_2/bug5805_3 index f262fc146b..a464cf3bd4 100755 --- a/tests/bugs/modalg_2/bug5805_3 +++ b/tests/bugs/modalg_2/bug5805_3 @@ -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 diff --git a/tests/bugs/modalg_2/bug5805_4 b/tests/bugs/modalg_2/bug5805_4 index 731cff9d0f..63a556ada3 100755 --- a/tests/bugs/modalg_2/bug5805_4 +++ b/tests/bugs/modalg_2/bug5805_4 @@ -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 diff --git a/tests/bugs/modalg_2/bug5805_5 b/tests/bugs/modalg_2/bug5805_5 index c6135a3b82..9612f2c297 100755 --- a/tests/bugs/modalg_2/bug5805_5 +++ b/tests/bugs/modalg_2/bug5805_5 @@ -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 diff --git a/tests/bugs/modalg_3/bug5805_6 b/tests/bugs/modalg_3/bug5805_6 index cf9940f35c..1c21d41e78 100755 --- a/tests/bugs/modalg_3/bug5805_6 +++ b/tests/bugs/modalg_3/bug5805_6 @@ -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 diff --git a/tests/bugs/modalg_4/bug5806 b/tests/bugs/modalg_4/bug5806 index eafe5fa7e3..9b61a94ded 100755 --- a/tests/bugs/modalg_4/bug5806 +++ b/tests/bugs/modalg_4/bug5806 @@ -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 diff --git a/tests/bugs/modalg_4/bug714 b/tests/bugs/modalg_4/bug714 index 5ca495f36f..d7f94e56e6 100755 --- a/tests/bugs/modalg_4/bug714 +++ b/tests/bugs/modalg_4/bug714 @@ -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 diff --git a/tests/bugs/modalg_5/bug22747 b/tests/bugs/modalg_5/bug22747 index 424f5e7e29..d9a8f611a3 100644 --- a/tests/bugs/modalg_5/bug22747 +++ b/tests/bugs/modalg_5/bug22747 @@ -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 diff --git a/tests/bugs/modalg_5/bug23375_1 b/tests/bugs/modalg_5/bug23375_1 index 4533e36ed2..13245b22cf 100755 --- a/tests/bugs/modalg_5/bug23375_1 +++ b/tests/bugs/modalg_5/bug23375_1 @@ -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 diff --git a/tests/bugs/modalg_5/bug23845 b/tests/bugs/modalg_5/bug23845 index 02c063df6a..1182cb6566 100755 --- a/tests/bugs/modalg_5/bug23845 +++ b/tests/bugs/modalg_5/bug23845 @@ -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} diff --git a/tests/bugs/modalg_5/bug24036 b/tests/bugs/modalg_5/bug24036 index 446602e6cb..c91199d986 100644 --- a/tests/bugs/modalg_5/bug24036 +++ b/tests/bugs/modalg_5/bug24036 @@ -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 diff --git a/tests/bugs/modalg_5/bug24174_1 b/tests/bugs/modalg_5/bug24174_1 index 6caa52ed3b..5cf8f08cf4 100644 --- a/tests/bugs/modalg_5/bug24174_1 +++ b/tests/bugs/modalg_5/bug24174_1 @@ -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 diff --git a/tests/bugs/modalg_5/bug24174_2 b/tests/bugs/modalg_5/bug24174_2 index 314cd18d1e..1a3f1bab15 100644 --- a/tests/bugs/modalg_5/bug24174_2 +++ b/tests/bugs/modalg_5/bug24174_2 @@ -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 diff --git a/tests/bugs/modalg_5/bug24390_1 b/tests/bugs/modalg_5/bug24390_1 index fe0fb62970..8b1edb208a 100755 --- a/tests/bugs/modalg_5/bug24390_1 +++ b/tests/bugs/modalg_5/bug24390_1 @@ -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 diff --git a/tests/bugs/modalg_5/bug24390_2 b/tests/bugs/modalg_5/bug24390_2 index 5d9005ab26..0d239ea5c5 100755 --- a/tests/bugs/modalg_5/bug24390_2 +++ b/tests/bugs/modalg_5/bug24390_2 @@ -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 diff --git a/tests/bugs/modalg_5/bug24817 b/tests/bugs/modalg_5/bug24817 index ac3242f50a..e719c6cf0a 100755 --- a/tests/bugs/modalg_5/bug24817 +++ b/tests/bugs/modalg_5/bug24817 @@ -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 diff --git a/tests/bugs/modalg_5/bug25175 b/tests/bugs/modalg_5/bug25175 index 08ef7fad38..3c43f2ee19 100644 --- a/tests/bugs/modalg_5/bug25175 +++ b/tests/bugs/modalg_5/bug25175 @@ -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 diff --git a/tests/bugs/modalg_6/bug24097 b/tests/bugs/modalg_6/bug24097 index 9c337a4818..ff8fad0a06 100644 --- a/tests/bugs/modalg_6/bug24097 +++ b/tests/bugs/modalg_6/bug24097 @@ -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 diff --git a/tests/bugs/moddata_1/bug135 b/tests/bugs/moddata_1/bug135 index 2b0c4abd17..f918bbb164 100755 --- a/tests/bugs/moddata_1/bug135 +++ b/tests/bugs/moddata_1/bug135 @@ -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 diff --git a/tests/bugs/moddata_1/bug20904_1 b/tests/bugs/moddata_1/bug20904_1 index fbbd95c86e..7589038012 100755 --- a/tests/bugs/moddata_1/bug20904_1 +++ b/tests/bugs/moddata_1/bug20904_1 @@ -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 diff --git a/tests/bugs/moddata_1/bug20904_2 b/tests/bugs/moddata_1/bug20904_2 index 13769cdbcb..cce862a633 100755 --- a/tests/bugs/moddata_1/bug20904_2 +++ b/tests/bugs/moddata_1/bug20904_2 @@ -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 diff --git a/tests/bugs/moddata_1/bug20904_3 b/tests/bugs/moddata_1/bug20904_3 index ed28df85ac..251875a371 100755 --- a/tests/bugs/moddata_1/bug20904_3 +++ b/tests/bugs/moddata_1/bug20904_3 @@ -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 diff --git a/tests/bugs/moddata_2/bug326 b/tests/bugs/moddata_2/bug326 index 223047328f..5c77683d1c 100755 --- a/tests/bugs/moddata_2/bug326 +++ b/tests/bugs/moddata_2/bug326 @@ -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 diff --git a/tests/bugs/moddata_2/bug343 b/tests/bugs/moddata_2/bug343 index 59ea0b843d..9bde7e31d9 100755 --- a/tests/bugs/moddata_2/bug343 +++ b/tests/bugs/moddata_2/bug343 @@ -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 diff --git a/tests/bugs/moddata_2/bug36 b/tests/bugs/moddata_2/bug36 index b9631a8328..90df093d99 100755 --- a/tests/bugs/moddata_2/bug36 +++ b/tests/bugs/moddata_2/bug36 @@ -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 } diff --git a/tests/bugs/moddata_2/bug42 b/tests/bugs/moddata_2/bug42 index ec6066b4ad..3d9fdf45f2 100755 --- a/tests/bugs/moddata_2/bug42 +++ b/tests/bugs/moddata_2/bug42 @@ -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 diff --git a/tests/bugs/moddata_3/buc60898 b/tests/bugs/moddata_3/buc60898 index 764de86d87..35c4b3806a 100644 --- a/tests/bugs/moddata_3/buc60898 +++ b/tests/bugs/moddata_3/buc60898 @@ -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 diff --git a/tests/bugs/moddata_3/bug24065 b/tests/bugs/moddata_3/bug24065 index 61bc672322..2679d7ecf5 100644 --- a/tests/bugs/moddata_3/bug24065 +++ b/tests/bugs/moddata_3/bug24065 @@ -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 diff --git a/tests/bugs/xde/bug184 b/tests/bugs/xde/bug184 index 7e5554d7a1..a4ce084bcc 100755 --- a/tests/bugs/xde/bug184 +++ b/tests/bugs/xde/bug184 @@ -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 diff --git a/tests/bugs/xde/bug547_2 b/tests/bugs/xde/bug547_2 index 39823aec37..fd1f52df61 100755 --- a/tests/bugs/xde/bug547_2 +++ b/tests/bugs/xde/bug547_2 @@ -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 diff --git a/tests/bugs/xde/bug6491 b/tests/bugs/xde/bug6491 index 139ffe351f..d7c0aa7b8c 100755 --- a/tests/bugs/xde/bug6491 +++ b/tests/bugs/xde/bug6491 @@ -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 diff --git a/tests/bugs/xde/bug6675 b/tests/bugs/xde/bug6675 index 6a2b407be7..e66c1cba86 100755 --- a/tests/bugs/xde/bug6675 +++ b/tests/bugs/xde/bug6675 @@ -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 diff --git a/tests/bugs/xde/bug859 b/tests/bugs/xde/bug859 index 7361dfdaa2..12b934ceb6 100755 --- a/tests/bugs/xde/bug859 +++ b/tests/bugs/xde/bug859 @@ -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 diff --git a/tests/de/end b/tests/de/end index c36d6ecab8..406b71e6b0 100644 --- a/tests/de/end +++ b/tests/de/end @@ -1,717 +1,23 @@ -# 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" diff --git a/tests/de/iges_1/A1 b/tests/de/iges_1/A1 index ec16e0b38a..acd066132c 100644 --- a/tests/de/iges_1/A1 +++ b/tests/de/iges_1/A1 @@ -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} + diff --git a/tests/de/iges_1/A2 b/tests/de/iges_1/A2 index 3b7d449e07..48034783e5 100644 --- a/tests/de/iges_1/A2 +++ b/tests/de/iges_1/A2 @@ -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} + diff --git a/tests/de/iges_1/A3 b/tests/de/iges_1/A3 index b1f5e3b7ed..aa7e1d5642 100644 --- a/tests/de/iges_1/A3 +++ b/tests/de/iges_1/A3 @@ -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} + diff --git a/tests/de/iges_1/A4 b/tests/de/iges_1/A4 index 76ab94e2dd..50e8a09dc7 100644 --- a/tests/de/iges_1/A4 +++ b/tests/de/iges_1/A4 @@ -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} + diff --git a/tests/de/iges_1/A5 b/tests/de/iges_1/A5 index 8fde2cf27e..e62f747acc 100644 --- a/tests/de/iges_1/A5 +++ b/tests/de/iges_1/A5 @@ -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} + diff --git a/tests/de/iges_1/A6 b/tests/de/iges_1/A6 index 8094d684a8..6e93ae6cfb 100644 --- a/tests/de/iges_1/A6 +++ b/tests/de/iges_1/A6 @@ -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} + diff --git a/tests/de/iges_1/A7 b/tests/de/iges_1/A7 index b64a7986e9..246c0e0841 100644 --- a/tests/de/iges_1/A7 +++ b/tests/de/iges_1/A7 @@ -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} + diff --git a/tests/de/iges_1/A8 b/tests/de/iges_1/A8 index e19bd7a33a..cdf616cc60 100644 --- a/tests/de/iges_1/A8 +++ b/tests/de/iges_1/A8 @@ -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} + diff --git a/tests/de/iges_1/A9 b/tests/de/iges_1/A9 index 5d22a08efa..16e63ecb79 100644 --- a/tests/de/iges_1/A9 +++ b/tests/de/iges_1/A9 @@ -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} + diff --git a/tests/de/iges_1/B1 b/tests/de/iges_1/B1 index fbcf3a0cb2..23e802e81e 100644 --- a/tests/de/iges_1/B1 +++ b/tests/de/iges_1/B1 @@ -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} + diff --git a/tests/de/iges_1/B2 b/tests/de/iges_1/B2 index a847df9228..5c65a9474f 100644 --- a/tests/de/iges_1/B2 +++ b/tests/de/iges_1/B2 @@ -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} + diff --git a/tests/de/iges_1/B3 b/tests/de/iges_1/B3 index df847a8e42..6d708d61fa 100644 --- a/tests/de/iges_1/B3 +++ b/tests/de/iges_1/B3 @@ -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} + diff --git a/tests/de/iges_1/B4 b/tests/de/iges_1/B4 index 25ddbc11ea..05acc9693f 100644 --- a/tests/de/iges_1/B4 +++ b/tests/de/iges_1/B4 @@ -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} + diff --git a/tests/de/iges_1/B5 b/tests/de/iges_1/B5 index 92336c5f3f..d3e4a5da59 100644 --- a/tests/de/iges_1/B5 +++ b/tests/de/iges_1/B5 @@ -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} + diff --git a/tests/de/iges_1/B6 b/tests/de/iges_1/B6 index 1b87896554..a15cf098b8 100644 --- a/tests/de/iges_1/B6 +++ b/tests/de/iges_1/B6 @@ -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} + diff --git a/tests/de/iges_1/B7 b/tests/de/iges_1/B7 index a57257d420..0f225d6a7f 100644 --- a/tests/de/iges_1/B7 +++ b/tests/de/iges_1/B7 @@ -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} + diff --git a/tests/de/iges_1/B8 b/tests/de/iges_1/B8 index da371ccc51..38b2a25e39 100644 --- a/tests/de/iges_1/B8 +++ b/tests/de/iges_1/B8 @@ -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} + diff --git a/tests/de/iges_1/B9 b/tests/de/iges_1/B9 index c1abf8de7e..42b77c44f2 100644 --- a/tests/de/iges_1/B9 +++ b/tests/de/iges_1/B9 @@ -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} + diff --git a/tests/de/iges_1/C1 b/tests/de/iges_1/C1 index 7920c052b1..f70455deb0 100644 --- a/tests/de/iges_1/C1 +++ b/tests/de/iges_1/C1 @@ -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} + diff --git a/tests/de/iges_1/C2 b/tests/de/iges_1/C2 index 4b0939e110..7af5f119c2 100644 --- a/tests/de/iges_1/C2 +++ b/tests/de/iges_1/C2 @@ -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} + diff --git a/tests/de/iges_1/C3 b/tests/de/iges_1/C3 index b91bb62e1e..d7bf01a64e 100644 --- a/tests/de/iges_1/C3 +++ b/tests/de/iges_1/C3 @@ -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} + diff --git a/tests/de/iges_1/C4 b/tests/de/iges_1/C4 index 80c190e4ac..311d59c81e 100644 --- a/tests/de/iges_1/C4 +++ b/tests/de/iges_1/C4 @@ -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} + diff --git a/tests/de/iges_1/C5 b/tests/de/iges_1/C5 index b81d72b23a..e1f71468cd 100644 --- a/tests/de/iges_1/C5 +++ b/tests/de/iges_1/C5 @@ -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} + diff --git a/tests/de/iges_1/C6 b/tests/de/iges_1/C6 index aebebdb89b..0b3d7b9c7a 100644 --- a/tests/de/iges_1/C6 +++ b/tests/de/iges_1/C6 @@ -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} + diff --git a/tests/de/iges_1/C7 b/tests/de/iges_1/C7 index 82d476bc4d..8569843952 100644 --- a/tests/de/iges_1/C7 +++ b/tests/de/iges_1/C7 @@ -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} + diff --git a/tests/de/iges_1/C8 b/tests/de/iges_1/C8 index ff0cdafc0f..a5056bff51 100644 --- a/tests/de/iges_1/C8 +++ b/tests/de/iges_1/C8 @@ -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} + diff --git a/tests/de/iges_1/C9 b/tests/de/iges_1/C9 index 7c1fee9f18..10573c69d7 100644 --- a/tests/de/iges_1/C9 +++ b/tests/de/iges_1/C9 @@ -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} + diff --git a/tests/de/iges_1/D1 b/tests/de/iges_1/D1 index cc0d24e0a5..32e29025f8 100644 --- a/tests/de/iges_1/D1 +++ b/tests/de/iges_1/D1 @@ -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} + diff --git a/tests/de/iges_1/D2 b/tests/de/iges_1/D2 index 79fc3ba684..335b0d5ae9 100644 --- a/tests/de/iges_1/D2 +++ b/tests/de/iges_1/D2 @@ -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} + diff --git a/tests/de/iges_1/D3 b/tests/de/iges_1/D3 index dfd55a0e15..25f593d245 100644 --- a/tests/de/iges_1/D3 +++ b/tests/de/iges_1/D3 @@ -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} + diff --git a/tests/de/iges_1/D4 b/tests/de/iges_1/D4 index 804ce2534f..76e0d29654 100644 --- a/tests/de/iges_1/D4 +++ b/tests/de/iges_1/D4 @@ -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} + diff --git a/tests/de/iges_1/D5 b/tests/de/iges_1/D5 index 8e8c7d3b5f..3d6ea36b03 100644 --- a/tests/de/iges_1/D5 +++ b/tests/de/iges_1/D5 @@ -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} + diff --git a/tests/de/iges_1/D6 b/tests/de/iges_1/D6 index 46f43bf69f..9f7d92f5c8 100644 --- a/tests/de/iges_1/D6 +++ b/tests/de/iges_1/D6 @@ -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} + diff --git a/tests/de/iges_1/D7 b/tests/de/iges_1/D7 index a68f542251..bddcc64e4e 100644 --- a/tests/de/iges_1/D7 +++ b/tests/de/iges_1/D7 @@ -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} + diff --git a/tests/de/iges_1/D8 b/tests/de/iges_1/D8 index d30026b5df..d4a7e3044b 100644 --- a/tests/de/iges_1/D8 +++ b/tests/de/iges_1/D8 @@ -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} + diff --git a/tests/de/iges_1/D9 b/tests/de/iges_1/D9 index ef1193eba3..eea75d952b 100644 --- a/tests/de/iges_1/D9 +++ b/tests/de/iges_1/D9 @@ -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} + diff --git a/tests/de/iges_1/E1 b/tests/de/iges_1/E1 index 2adb502d32..63ef5f7835 100644 --- a/tests/de/iges_1/E1 +++ b/tests/de/iges_1/E1 @@ -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} + diff --git a/tests/de/iges_1/E2 b/tests/de/iges_1/E2 index 61260a7838..c898f52c50 100644 --- a/tests/de/iges_1/E2 +++ b/tests/de/iges_1/E2 @@ -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} + diff --git a/tests/de/iges_1/E3 b/tests/de/iges_1/E3 index 335f50fcfc..8ed03f5287 100644 --- a/tests/de/iges_1/E3 +++ b/tests/de/iges_1/E3 @@ -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} + diff --git a/tests/de/iges_1/E4 b/tests/de/iges_1/E4 index 4feb66f1d5..836d1a4787 100644 --- a/tests/de/iges_1/E4 +++ b/tests/de/iges_1/E4 @@ -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} + diff --git a/tests/de/iges_1/E5 b/tests/de/iges_1/E5 index 24beba7f7f..2c0fa85429 100644 --- a/tests/de/iges_1/E5 +++ b/tests/de/iges_1/E5 @@ -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} + diff --git a/tests/de/iges_1/E6 b/tests/de/iges_1/E6 index a04b69cd7f..68fe17d7fa 100644 --- a/tests/de/iges_1/E6 +++ b/tests/de/iges_1/E6 @@ -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} + diff --git a/tests/de/iges_1/E7 b/tests/de/iges_1/E7 index b72b63f49a..05e18565e4 100644 --- a/tests/de/iges_1/E7 +++ b/tests/de/iges_1/E7 @@ -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} + diff --git a/tests/de/iges_1/E8 b/tests/de/iges_1/E8 index cea66f0867..f29276e818 100644 --- a/tests/de/iges_1/E8 +++ b/tests/de/iges_1/E8 @@ -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} + diff --git a/tests/de/iges_1/E9 b/tests/de/iges_1/E9 index 018c407c4a..0a4a2bee93 100644 --- a/tests/de/iges_1/E9 +++ b/tests/de/iges_1/E9 @@ -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} + diff --git a/tests/de/iges_1/F1 b/tests/de/iges_1/F1 index dcac0e79d9..00a8f23f5c 100644 --- a/tests/de/iges_1/F1 +++ b/tests/de/iges_1/F1 @@ -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} + diff --git a/tests/de/iges_1/F2 b/tests/de/iges_1/F2 index 1e0776f64a..f3208f7822 100644 --- a/tests/de/iges_1/F2 +++ b/tests/de/iges_1/F2 @@ -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} + diff --git a/tests/de/iges_1/F3 b/tests/de/iges_1/F3 index 9f461d7239..658817e9be 100644 --- a/tests/de/iges_1/F3 +++ b/tests/de/iges_1/F3 @@ -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} + diff --git a/tests/de/iges_1/F4 b/tests/de/iges_1/F4 index 3b17d4f2be..99e429dcd6 100644 --- a/tests/de/iges_1/F4 +++ b/tests/de/iges_1/F4 @@ -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} + diff --git a/tests/de/iges_1/F5 b/tests/de/iges_1/F5 index 58e1b59c6d..84c144f659 100644 --- a/tests/de/iges_1/F5 +++ b/tests/de/iges_1/F5 @@ -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} + diff --git a/tests/de/iges_1/F6 b/tests/de/iges_1/F6 index 6f1dbbf3bf..180db2c94f 100644 --- a/tests/de/iges_1/F6 +++ b/tests/de/iges_1/F6 @@ -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} + diff --git a/tests/de/iges_1/F7 b/tests/de/iges_1/F7 index d97d27990a..c6a8f5d46d 100644 --- a/tests/de/iges_1/F7 +++ b/tests/de/iges_1/F7 @@ -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} + diff --git a/tests/de/iges_1/F8 b/tests/de/iges_1/F8 index 8a55f20877..9fa376dd6c 100644 --- a/tests/de/iges_1/F8 +++ b/tests/de/iges_1/F8 @@ -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} + diff --git a/tests/de/iges_1/F9 b/tests/de/iges_1/F9 index b524f8243f..a4cdc21b98 100644 --- a/tests/de/iges_1/F9 +++ b/tests/de/iges_1/F9 @@ -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} + diff --git a/tests/de/iges_1/G1 b/tests/de/iges_1/G1 index 204ed3d798..a5403f61f4 100644 --- a/tests/de/iges_1/G1 +++ b/tests/de/iges_1/G1 @@ -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} + diff --git a/tests/de/iges_1/G2 b/tests/de/iges_1/G2 index be4c0930df..6a0da00d3e 100644 --- a/tests/de/iges_1/G2 +++ b/tests/de/iges_1/G2 @@ -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} + diff --git a/tests/de/iges_1/G3 b/tests/de/iges_1/G3 index 627311b90e..f5acb302f1 100644 --- a/tests/de/iges_1/G3 +++ b/tests/de/iges_1/G3 @@ -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} + diff --git a/tests/de/iges_1/G4 b/tests/de/iges_1/G4 index ec314d1267..4a24bee84e 100644 --- a/tests/de/iges_1/G4 +++ b/tests/de/iges_1/G4 @@ -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} + diff --git a/tests/de/iges_1/G5 b/tests/de/iges_1/G5 index 4d8cf75dc8..c7e2494d90 100644 --- a/tests/de/iges_1/G5 +++ b/tests/de/iges_1/G5 @@ -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} + diff --git a/tests/de/iges_1/G6 b/tests/de/iges_1/G6 index 6b7df4860d..dd0109f277 100644 --- a/tests/de/iges_1/G6 +++ b/tests/de/iges_1/G6 @@ -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} + diff --git a/tests/de/iges_1/G7 b/tests/de/iges_1/G7 index 86585ac819..cb2bf687ae 100755 --- a/tests/de/iges_1/G7 +++ b/tests/de/iges_1/G7 @@ -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} + diff --git a/tests/de/iges_1/G8 b/tests/de/iges_1/G8 index acb95cdfa7..5505a3f64e 100644 --- a/tests/de/iges_1/G8 +++ b/tests/de/iges_1/G8 @@ -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} + diff --git a/tests/de/iges_1/G9 b/tests/de/iges_1/G9 index 56a4441b5b..27540fcab5 100755 --- a/tests/de/iges_1/G9 +++ b/tests/de/iges_1/G9 @@ -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} + diff --git a/tests/de/iges_1/H1 b/tests/de/iges_1/H1 index 256285c57c..9f27d5d299 100644 --- a/tests/de/iges_1/H1 +++ b/tests/de/iges_1/H1 @@ -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} + diff --git a/tests/de/iges_1/H2 b/tests/de/iges_1/H2 index 669ee91d92..ac035ff094 100644 --- a/tests/de/iges_1/H2 +++ b/tests/de/iges_1/H2 @@ -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} + diff --git a/tests/de/iges_1/H3 b/tests/de/iges_1/H3 index bce38489a1..45f4b20cf5 100644 --- a/tests/de/iges_1/H3 +++ b/tests/de/iges_1/H3 @@ -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} + diff --git a/tests/de/iges_1/H4 b/tests/de/iges_1/H4 index d023aa1bea..41e9567264 100644 --- a/tests/de/iges_1/H4 +++ b/tests/de/iges_1/H4 @@ -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} + diff --git a/tests/de/iges_1/H5 b/tests/de/iges_1/H5 index e21e53951a..8ab4964438 100755 --- a/tests/de/iges_1/H5 +++ b/tests/de/iges_1/H5 @@ -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} + diff --git a/tests/de/iges_1/H6 b/tests/de/iges_1/H6 index 9f8e8ac375..e412d3a1ca 100644 --- a/tests/de/iges_1/H6 +++ b/tests/de/iges_1/H6 @@ -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} + diff --git a/tests/de/iges_1/H7 b/tests/de/iges_1/H7 index 7ae10f6e8c..263eddbe5e 100755 --- a/tests/de/iges_1/H7 +++ b/tests/de/iges_1/H7 @@ -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} + diff --git a/tests/de/iges_1/H8 b/tests/de/iges_1/H8 index 0fdaab0fbf..2c706bc8b9 100644 --- a/tests/de/iges_1/H8 +++ b/tests/de/iges_1/H8 @@ -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} + diff --git a/tests/de/iges_1/H9 b/tests/de/iges_1/H9 index 8a5aed2b6a..a3cad00a0c 100644 --- a/tests/de/iges_1/H9 +++ b/tests/de/iges_1/H9 @@ -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} + diff --git a/tests/de/iges_1/I1 b/tests/de/iges_1/I1 index c9e012e535..0096344f5e 100644 --- a/tests/de/iges_1/I1 +++ b/tests/de/iges_1/I1 @@ -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} + diff --git a/tests/de/iges_1/I2 b/tests/de/iges_1/I2 index c1407cdc31..d07d4ad5af 100644 --- a/tests/de/iges_1/I2 +++ b/tests/de/iges_1/I2 @@ -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} + diff --git a/tests/de/iges_1/I3 b/tests/de/iges_1/I3 index d7ebcfcdbe..0b7c0b2a28 100755 --- a/tests/de/iges_1/I3 +++ b/tests/de/iges_1/I3 @@ -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} + diff --git a/tests/de/iges_1/I4 b/tests/de/iges_1/I4 index 765295dda6..6cc44d7f44 100644 --- a/tests/de/iges_1/I4 +++ b/tests/de/iges_1/I4 @@ -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} + diff --git a/tests/de/iges_1/I5 b/tests/de/iges_1/I5 index e10327a1ca..982f865cda 100644 --- a/tests/de/iges_1/I5 +++ b/tests/de/iges_1/I5 @@ -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} + diff --git a/tests/de/iges_1/I6 b/tests/de/iges_1/I6 index e35df2a43b..cd1bd5c6f8 100644 --- a/tests/de/iges_1/I6 +++ b/tests/de/iges_1/I6 @@ -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} + diff --git a/tests/de/iges_1/I7 b/tests/de/iges_1/I7 index 23706b652c..9f4309638d 100644 --- a/tests/de/iges_1/I7 +++ b/tests/de/iges_1/I7 @@ -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} + diff --git a/tests/de/iges_1/I8 b/tests/de/iges_1/I8 index 5308278532..6245b984b5 100644 --- a/tests/de/iges_1/I8 +++ b/tests/de/iges_1/I8 @@ -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} + diff --git a/tests/de/iges_1/I9 b/tests/de/iges_1/I9 index 731f95218b..115ca60418 100644 --- a/tests/de/iges_1/I9 +++ b/tests/de/iges_1/I9 @@ -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} + diff --git a/tests/de/iges_1/J1 b/tests/de/iges_1/J1 index 79f4fd0d50..e480bbd818 100644 --- a/tests/de/iges_1/J1 +++ b/tests/de/iges_1/J1 @@ -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} + diff --git a/tests/de/iges_1/J2 b/tests/de/iges_1/J2 index 72eb2b6948..da86380ecb 100644 --- a/tests/de/iges_1/J2 +++ b/tests/de/iges_1/J2 @@ -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} + diff --git a/tests/de/iges_1/J3 b/tests/de/iges_1/J3 index 8928397d3a..02e654c56a 100644 --- a/tests/de/iges_1/J3 +++ b/tests/de/iges_1/J3 @@ -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} + diff --git a/tests/de/iges_1/J4 b/tests/de/iges_1/J4 index c0a82becd4..cf61a1590d 100644 --- a/tests/de/iges_1/J4 +++ b/tests/de/iges_1/J4 @@ -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} + diff --git a/tests/de/iges_1/J5 b/tests/de/iges_1/J5 index de43a52dfd..e14cf07b4b 100644 --- a/tests/de/iges_1/J5 +++ b/tests/de/iges_1/J5 @@ -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} + diff --git a/tests/de/iges_1/J6 b/tests/de/iges_1/J6 index 546dffddf0..025ed4c112 100644 --- a/tests/de/iges_1/J6 +++ b/tests/de/iges_1/J6 @@ -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} + diff --git a/tests/de/iges_1/J7 b/tests/de/iges_1/J7 index 9f3e51b05c..6502fd69d9 100644 --- a/tests/de/iges_1/J7 +++ b/tests/de/iges_1/J7 @@ -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} + diff --git a/tests/de/iges_1/J8 b/tests/de/iges_1/J8 index 3cd1dadc20..cd9bd52276 100644 --- a/tests/de/iges_1/J8 +++ b/tests/de/iges_1/J8 @@ -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} + diff --git a/tests/de/iges_1/J9 b/tests/de/iges_1/J9 index ce3d7bb641..b79989aad3 100644 --- a/tests/de/iges_1/J9 +++ b/tests/de/iges_1/J9 @@ -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} + diff --git a/tests/de/iges_1/K1 b/tests/de/iges_1/K1 index 4a415517e1..16237aaecb 100644 --- a/tests/de/iges_1/K1 +++ b/tests/de/iges_1/K1 @@ -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} + diff --git a/tests/de/iges_1/K2 b/tests/de/iges_1/K2 index 9d8b477729..73cce632a1 100644 --- a/tests/de/iges_1/K2 +++ b/tests/de/iges_1/K2 @@ -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} + diff --git a/tests/de/iges_1/K3 b/tests/de/iges_1/K3 index ca42b0e947..1bc3519f1b 100644 --- a/tests/de/iges_1/K3 +++ b/tests/de/iges_1/K3 @@ -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} + diff --git a/tests/de/iges_1/K4 b/tests/de/iges_1/K4 index c593b46a6c..d3b20d4f26 100644 --- a/tests/de/iges_1/K4 +++ b/tests/de/iges_1/K4 @@ -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} + diff --git a/tests/de/iges_1/K5 b/tests/de/iges_1/K5 index 6933c14c43..7f28c8d0a0 100644 --- a/tests/de/iges_1/K5 +++ b/tests/de/iges_1/K5 @@ -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} + diff --git a/tests/de/iges_1/K6 b/tests/de/iges_1/K6 index 69a4886891..0b069b5a17 100644 --- a/tests/de/iges_1/K6 +++ b/tests/de/iges_1/K6 @@ -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} + diff --git a/tests/de/iges_1/K7 b/tests/de/iges_1/K7 index 33763c3fcf..38a61e5a65 100644 --- a/tests/de/iges_1/K7 +++ b/tests/de/iges_1/K7 @@ -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} + diff --git a/tests/de/iges_1/K8 b/tests/de/iges_1/K8 index a12818f9f2..0827f290ff 100644 --- a/tests/de/iges_1/K8 +++ b/tests/de/iges_1/K8 @@ -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} + diff --git a/tests/de/iges_1/K9 b/tests/de/iges_1/K9 index 1da0cd8cc6..d2f25c8b2b 100644 --- a/tests/de/iges_1/K9 +++ b/tests/de/iges_1/K9 @@ -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} + diff --git a/tests/de/iges_1/L1 b/tests/de/iges_1/L1 index 9d9ba8bb33..8c155caa76 100644 --- a/tests/de/iges_1/L1 +++ b/tests/de/iges_1/L1 @@ -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} + diff --git a/tests/de/iges_1/L2 b/tests/de/iges_1/L2 index df034cb7f1..8ef2885ba1 100644 --- a/tests/de/iges_1/L2 +++ b/tests/de/iges_1/L2 @@ -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} + diff --git a/tests/de/iges_1/L3 b/tests/de/iges_1/L3 index 28bef40324..04eed6ea41 100644 --- a/tests/de/iges_1/L3 +++ b/tests/de/iges_1/L3 @@ -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} + diff --git a/tests/de/iges_1/L4 b/tests/de/iges_1/L4 index d4ac8ba533..26b1afb241 100644 --- a/tests/de/iges_1/L4 +++ b/tests/de/iges_1/L4 @@ -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} + diff --git a/tests/de/iges_1/L5 b/tests/de/iges_1/L5 index 1d479b21cd..b501013dba 100644 --- a/tests/de/iges_1/L5 +++ b/tests/de/iges_1/L5 @@ -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 ) - -} diff --git a/tests/de/iges_1/L6 b/tests/de/iges_1/L6 index 989c94fe25..950df7d500 100644 --- a/tests/de/iges_1/L6 +++ b/tests/de/iges_1/L6 @@ -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} + diff --git a/tests/de/iges_1/L7 b/tests/de/iges_1/L7 index e24b5ebbce..438133e68e 100755 --- a/tests/de/iges_1/L7 +++ b/tests/de/iges_1/L7 @@ -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} + diff --git a/tests/de/iges_1/L8 b/tests/de/iges_1/L8 index 11622673aa..2dcee05282 100755 --- a/tests/de/iges_1/L8 +++ b/tests/de/iges_1/L8 @@ -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} + diff --git a/tests/de/iges_1/L9 b/tests/de/iges_1/L9 index 39ed9b543b..1e71a51507 100644 --- a/tests/de/iges_1/L9 +++ b/tests/de/iges_1/L9 @@ -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} + diff --git a/tests/de/iges_1/M1 b/tests/de/iges_1/M1 index ba99f46b07..1ffbad8ddf 100644 --- a/tests/de/iges_1/M1 +++ b/tests/de/iges_1/M1 @@ -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} + diff --git a/tests/de/iges_1/M2 b/tests/de/iges_1/M2 index 1cce42a55e..0b81a70e97 100644 --- a/tests/de/iges_1/M2 +++ b/tests/de/iges_1/M2 @@ -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} + diff --git a/tests/de/iges_1/M3 b/tests/de/iges_1/M3 index 3c09e0dcfc..21009906de 100644 --- a/tests/de/iges_1/M3 +++ b/tests/de/iges_1/M3 @@ -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} + diff --git a/tests/de/iges_1/M4 b/tests/de/iges_1/M4 index c84f43fc01..e3ec577f71 100644 --- a/tests/de/iges_1/M4 +++ b/tests/de/iges_1/M4 @@ -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} + diff --git a/tests/de/iges_1/M5 b/tests/de/iges_1/M5 index 55a0637a60..d70772ab7d 100644 --- a/tests/de/iges_1/M5 +++ b/tests/de/iges_1/M5 @@ -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} + diff --git a/tests/de/iges_1/M6 b/tests/de/iges_1/M6 index 623388e888..c48e76b3a6 100755 --- a/tests/de/iges_1/M6 +++ b/tests/de/iges_1/M6 @@ -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} + diff --git a/tests/de/iges_1/M7 b/tests/de/iges_1/M7 index 6cea1aedb3..204a71b01b 100644 --- a/tests/de/iges_1/M7 +++ b/tests/de/iges_1/M7 @@ -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} + diff --git a/tests/de/iges_1/M8 b/tests/de/iges_1/M8 index ba911568e9..5f7e387d39 100644 --- a/tests/de/iges_1/M8 +++ b/tests/de/iges_1/M8 @@ -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} + diff --git a/tests/de/iges_1/M9 b/tests/de/iges_1/M9 index 1e2335e6c4..878d9a4b9a 100644 --- a/tests/de/iges_1/M9 +++ b/tests/de/iges_1/M9 @@ -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} + diff --git a/tests/de/iges_1/N1 b/tests/de/iges_1/N1 index a339676b70..fa84723b8f 100644 --- a/tests/de/iges_1/N1 +++ b/tests/de/iges_1/N1 @@ -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} + diff --git a/tests/de/iges_1/N2 b/tests/de/iges_1/N2 index 37dca4c9ca..2127101075 100644 --- a/tests/de/iges_1/N2 +++ b/tests/de/iges_1/N2 @@ -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} + diff --git a/tests/de/iges_1/N3 b/tests/de/iges_1/N3 index 21e59ee4ee..ae46dcc020 100644 --- a/tests/de/iges_1/N3 +++ b/tests/de/iges_1/N3 @@ -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} + diff --git a/tests/de/iges_1/N4 b/tests/de/iges_1/N4 index 8592b983ac..8215a87709 100644 --- a/tests/de/iges_1/N4 +++ b/tests/de/iges_1/N4 @@ -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} + diff --git a/tests/de/iges_1/N5 b/tests/de/iges_1/N5 index 69d6c5f1cd..113450222b 100644 --- a/tests/de/iges_1/N5 +++ b/tests/de/iges_1/N5 @@ -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} + diff --git a/tests/de/iges_1/N6 b/tests/de/iges_1/N6 index f496344eec..83021186bb 100644 --- a/tests/de/iges_1/N6 +++ b/tests/de/iges_1/N6 @@ -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} + diff --git a/tests/de/iges_1/N7 b/tests/de/iges_1/N7 index e9dba6218b..2539918b35 100644 --- a/tests/de/iges_1/N7 +++ b/tests/de/iges_1/N7 @@ -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} + diff --git a/tests/de/iges_1/N8 b/tests/de/iges_1/N8 index 33c88ef269..bc88e3025a 100644 --- a/tests/de/iges_1/N8 +++ b/tests/de/iges_1/N8 @@ -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} + diff --git a/tests/de/iges_1/N9 b/tests/de/iges_1/N9 index f5a6ad9109..1ac5449620 100644 --- a/tests/de/iges_1/N9 +++ b/tests/de/iges_1/N9 @@ -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} + diff --git a/tests/de/iges_1/O1 b/tests/de/iges_1/O1 index 89810a42cf..18c9bd5acb 100644 --- a/tests/de/iges_1/O1 +++ b/tests/de/iges_1/O1 @@ -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} + diff --git a/tests/de/iges_1/O2 b/tests/de/iges_1/O2 index 2de3acd876..35e9ca9f52 100644 --- a/tests/de/iges_1/O2 +++ b/tests/de/iges_1/O2 @@ -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} + diff --git a/tests/de/iges_1/O3 b/tests/de/iges_1/O3 index d1a9947079..20ebf94418 100755 --- a/tests/de/iges_1/O3 +++ b/tests/de/iges_1/O3 @@ -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} + diff --git a/tests/de/iges_1/O4 b/tests/de/iges_1/O4 index 326d42c37a..3bf8c7aa36 100644 --- a/tests/de/iges_1/O4 +++ b/tests/de/iges_1/O4 @@ -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} + diff --git a/tests/de/iges_1/O5 b/tests/de/iges_1/O5 index d1e0c36ece..1bafe964fe 100755 --- a/tests/de/iges_1/O5 +++ b/tests/de/iges_1/O5 @@ -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} + diff --git a/tests/de/iges_1/O6 b/tests/de/iges_1/O6 index af83f06563..65cce4fa87 100644 --- a/tests/de/iges_1/O6 +++ b/tests/de/iges_1/O6 @@ -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} + diff --git a/tests/de/iges_1/O7 b/tests/de/iges_1/O7 index a5832da16a..d5e409737d 100644 --- a/tests/de/iges_1/O7 +++ b/tests/de/iges_1/O7 @@ -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} + diff --git a/tests/de/iges_1/O8 b/tests/de/iges_1/O8 index f7865f9397..0104e3e237 100644 --- a/tests/de/iges_1/O8 +++ b/tests/de/iges_1/O8 @@ -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} + diff --git a/tests/de/iges_1/O9 b/tests/de/iges_1/O9 index 4ac1f5a867..00d3be90df 100644 --- a/tests/de/iges_1/O9 +++ b/tests/de/iges_1/O9 @@ -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} + diff --git a/tests/de/iges_1/P1 b/tests/de/iges_1/P1 index 1f4bc874d0..5a1dcf6350 100644 --- a/tests/de/iges_1/P1 +++ b/tests/de/iges_1/P1 @@ -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} + diff --git a/tests/de/iges_1/P2 b/tests/de/iges_1/P2 index b5055e2666..60efcb5945 100644 --- a/tests/de/iges_1/P2 +++ b/tests/de/iges_1/P2 @@ -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} + diff --git a/tests/de/iges_1/P3 b/tests/de/iges_1/P3 index a7ee20df0b..c70e76c6bf 100644 --- a/tests/de/iges_1/P3 +++ b/tests/de/iges_1/P3 @@ -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} + diff --git a/tests/de/iges_1/P4 b/tests/de/iges_1/P4 index 6d7a423011..cd6bf39c81 100644 --- a/tests/de/iges_1/P4 +++ b/tests/de/iges_1/P4 @@ -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} + diff --git a/tests/de/iges_1/P5 b/tests/de/iges_1/P5 index c61de8f337..5080a83e71 100755 --- a/tests/de/iges_1/P5 +++ b/tests/de/iges_1/P5 @@ -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} + diff --git a/tests/de/iges_1/P6 b/tests/de/iges_1/P6 index 8eabdcbf15..adf6d9f233 100644 --- a/tests/de/iges_1/P6 +++ b/tests/de/iges_1/P6 @@ -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} + diff --git a/tests/de/iges_1/P7 b/tests/de/iges_1/P7 index ad4d31d775..315776d733 100644 --- a/tests/de/iges_1/P7 +++ b/tests/de/iges_1/P7 @@ -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} + diff --git a/tests/de/iges_1/P8 b/tests/de/iges_1/P8 index ce568899c4..02b114141c 100644 --- a/tests/de/iges_1/P8 +++ b/tests/de/iges_1/P8 @@ -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} + diff --git a/tests/de/iges_1/P9 b/tests/de/iges_1/P9 index 90c9522db5..61cd25501d 100644 --- a/tests/de/iges_1/P9 +++ b/tests/de/iges_1/P9 @@ -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} + diff --git a/tests/de/iges_1/Q1 b/tests/de/iges_1/Q1 index e94f2031dc..2c744fccf9 100644 --- a/tests/de/iges_1/Q1 +++ b/tests/de/iges_1/Q1 @@ -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} + diff --git a/tests/de/iges_1/Q2 b/tests/de/iges_1/Q2 index 307f22dbd6..650ef324ba 100644 --- a/tests/de/iges_1/Q2 +++ b/tests/de/iges_1/Q2 @@ -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} + diff --git a/tests/de/iges_1/Q3 b/tests/de/iges_1/Q3 index 622bb23388..362975911b 100644 --- a/tests/de/iges_1/Q3 +++ b/tests/de/iges_1/Q3 @@ -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} + diff --git a/tests/de/iges_1/Q4 b/tests/de/iges_1/Q4 index b204464bfb..1a964881e7 100644 --- a/tests/de/iges_1/Q4 +++ b/tests/de/iges_1/Q4 @@ -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} + diff --git a/tests/de/iges_1/Q5 b/tests/de/iges_1/Q5 index 80350498dc..ba50696ed2 100644 --- a/tests/de/iges_1/Q5 +++ b/tests/de/iges_1/Q5 @@ -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} + diff --git a/tests/de/iges_1/Q6 b/tests/de/iges_1/Q6 index 4eae79d09a..aba829caa1 100644 --- a/tests/de/iges_1/Q6 +++ b/tests/de/iges_1/Q6 @@ -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} + diff --git a/tests/de/iges_1/Q7 b/tests/de/iges_1/Q7 index 587a8b11ef..76854b111e 100644 --- a/tests/de/iges_1/Q7 +++ b/tests/de/iges_1/Q7 @@ -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} + diff --git a/tests/de/iges_1/Q8 b/tests/de/iges_1/Q8 index da3306dd40..5547440b83 100644 --- a/tests/de/iges_1/Q8 +++ b/tests/de/iges_1/Q8 @@ -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} + diff --git a/tests/de/iges_1/Q9 b/tests/de/iges_1/Q9 index a5b8f5b3ee..967c78a913 100644 --- a/tests/de/iges_1/Q9 +++ b/tests/de/iges_1/Q9 @@ -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} + diff --git a/tests/de/iges_1/R1 b/tests/de/iges_1/R1 index 7f5f0933ca..919fd1535e 100755 --- a/tests/de/iges_1/R1 +++ b/tests/de/iges_1/R1 @@ -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} + diff --git a/tests/de/iges_1/R2 b/tests/de/iges_1/R2 index b35730a097..618b8c1ae1 100644 --- a/tests/de/iges_1/R2 +++ b/tests/de/iges_1/R2 @@ -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} + diff --git a/tests/de/iges_1/R3 b/tests/de/iges_1/R3 index d50b3c16c8..75b5b712c5 100644 --- a/tests/de/iges_1/R3 +++ b/tests/de/iges_1/R3 @@ -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} + diff --git a/tests/de/iges_1/R4 b/tests/de/iges_1/R4 index 22a717c6b2..9d831f8c59 100644 --- a/tests/de/iges_1/R4 +++ b/tests/de/iges_1/R4 @@ -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} + diff --git a/tests/de/iges_1/R5 b/tests/de/iges_1/R5 index 6e8db28e2a..80abb0fbb0 100644 --- a/tests/de/iges_1/R5 +++ b/tests/de/iges_1/R5 @@ -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} + diff --git a/tests/de/iges_1/R6 b/tests/de/iges_1/R6 index 279c9591e1..f20f93ba16 100755 --- a/tests/de/iges_1/R6 +++ b/tests/de/iges_1/R6 @@ -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} + diff --git a/tests/de/iges_1/R7 b/tests/de/iges_1/R7 index 45915f3516..fb5c62e0f7 100644 --- a/tests/de/iges_1/R7 +++ b/tests/de/iges_1/R7 @@ -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} + diff --git a/tests/de/iges_1/R8 b/tests/de/iges_1/R8 index a5e3c29795..776582959f 100755 --- a/tests/de/iges_1/R8 +++ b/tests/de/iges_1/R8 @@ -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} + diff --git a/tests/de/iges_2/A1 b/tests/de/iges_2/A1 index b158a18dcc..8c2e50e911 100644 --- a/tests/de/iges_2/A1 +++ b/tests/de/iges_2/A1 @@ -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} + diff --git a/tests/de/iges_2/A2 b/tests/de/iges_2/A2 index 70231b197c..b2173700da 100755 --- a/tests/de/iges_2/A2 +++ b/tests/de/iges_2/A2 @@ -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} + diff --git a/tests/de/iges_2/A3 b/tests/de/iges_2/A3 index ef62898c34..b1598a2749 100644 --- a/tests/de/iges_2/A3 +++ b/tests/de/iges_2/A3 @@ -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} + diff --git a/tests/de/iges_2/A4 b/tests/de/iges_2/A4 index 1f2685ec8a..744b5a65c7 100644 --- a/tests/de/iges_2/A4 +++ b/tests/de/iges_2/A4 @@ -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} + diff --git a/tests/de/iges_2/A5 b/tests/de/iges_2/A5 index 273d1b935b..6f1a465d6f 100644 --- a/tests/de/iges_2/A5 +++ b/tests/de/iges_2/A5 @@ -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} + diff --git a/tests/de/iges_2/A6 b/tests/de/iges_2/A6 index 8f7f306faf..0acd1c181c 100755 --- a/tests/de/iges_2/A6 +++ b/tests/de/iges_2/A6 @@ -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} + diff --git a/tests/de/iges_2/A7 b/tests/de/iges_2/A7 index 8b4bff45d8..f6b910d2e6 100644 --- a/tests/de/iges_2/A7 +++ b/tests/de/iges_2/A7 @@ -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} + diff --git a/tests/de/iges_2/A8 b/tests/de/iges_2/A8 index f15eaa5cc5..2f173f903b 100644 --- a/tests/de/iges_2/A8 +++ b/tests/de/iges_2/A8 @@ -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} + diff --git a/tests/de/iges_2/A9 b/tests/de/iges_2/A9 index a3e526705e..40536820c0 100755 --- a/tests/de/iges_2/A9 +++ b/tests/de/iges_2/A9 @@ -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} + diff --git a/tests/de/iges_2/B1 b/tests/de/iges_2/B1 index e3c6b4dfa1..37f8a1a626 100755 --- a/tests/de/iges_2/B1 +++ b/tests/de/iges_2/B1 @@ -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} + diff --git a/tests/de/iges_2/B2 b/tests/de/iges_2/B2 index 10e5fc4875..74115f82a8 100644 --- a/tests/de/iges_2/B2 +++ b/tests/de/iges_2/B2 @@ -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} + diff --git a/tests/de/iges_2/B3 b/tests/de/iges_2/B3 index c0fedb111c..7bd10fd8fa 100644 --- a/tests/de/iges_2/B3 +++ b/tests/de/iges_2/B3 @@ -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} + diff --git a/tests/de/iges_2/B4 b/tests/de/iges_2/B4 index 0021fd1cee..d1ce197b69 100644 --- a/tests/de/iges_2/B4 +++ b/tests/de/iges_2/B4 @@ -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} + diff --git a/tests/de/iges_2/B5 b/tests/de/iges_2/B5 index 65031260ab..d1d0dda7cb 100644 --- a/tests/de/iges_2/B5 +++ b/tests/de/iges_2/B5 @@ -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} + diff --git a/tests/de/iges_2/B6 b/tests/de/iges_2/B6 index f4cd421a8c..549a201cab 100755 --- a/tests/de/iges_2/B6 +++ b/tests/de/iges_2/B6 @@ -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} + diff --git a/tests/de/iges_2/B7 b/tests/de/iges_2/B7 index 4af23228b1..d8fe51c451 100644 --- a/tests/de/iges_2/B7 +++ b/tests/de/iges_2/B7 @@ -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} + diff --git a/tests/de/iges_2/B8 b/tests/de/iges_2/B8 index e5aec2575d..3007c614e1 100644 --- a/tests/de/iges_2/B8 +++ b/tests/de/iges_2/B8 @@ -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} + diff --git a/tests/de/iges_2/B9 b/tests/de/iges_2/B9 index bcc2feb6ae..81af5ac12b 100644 --- a/tests/de/iges_2/B9 +++ b/tests/de/iges_2/B9 @@ -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} + diff --git a/tests/de/iges_2/C1 b/tests/de/iges_2/C1 index bbe6b8ccc1..95cb834b60 100644 --- a/tests/de/iges_2/C1 +++ b/tests/de/iges_2/C1 @@ -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} + diff --git a/tests/de/iges_2/C2 b/tests/de/iges_2/C2 index c3cdd97e6b..fba909d62d 100644 --- a/tests/de/iges_2/C2 +++ b/tests/de/iges_2/C2 @@ -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} + diff --git a/tests/de/iges_2/C3 b/tests/de/iges_2/C3 index 05475e2524..0dd374859f 100644 --- a/tests/de/iges_2/C3 +++ b/tests/de/iges_2/C3 @@ -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} + diff --git a/tests/de/iges_2/C4 b/tests/de/iges_2/C4 index d6f43c74ca..ef3d8a6ef7 100644 --- a/tests/de/iges_2/C4 +++ b/tests/de/iges_2/C4 @@ -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} + diff --git a/tests/de/iges_2/C5 b/tests/de/iges_2/C5 index 70184aba9f..c612127f5f 100644 --- a/tests/de/iges_2/C5 +++ b/tests/de/iges_2/C5 @@ -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} + diff --git a/tests/de/iges_2/C6 b/tests/de/iges_2/C6 index f6ab2f0223..18fcf2a616 100644 --- a/tests/de/iges_2/C6 +++ b/tests/de/iges_2/C6 @@ -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} + diff --git a/tests/de/iges_2/C7 b/tests/de/iges_2/C7 index db3bfe0154..e1f30eaaad 100755 --- a/tests/de/iges_2/C7 +++ b/tests/de/iges_2/C7 @@ -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} + diff --git a/tests/de/iges_2/C8 b/tests/de/iges_2/C8 index b7ca63b323..4cda8fba12 100755 --- a/tests/de/iges_2/C8 +++ b/tests/de/iges_2/C8 @@ -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} + diff --git a/tests/de/iges_2/C9 b/tests/de/iges_2/C9 index cb284fa2b9..6718857ced 100755 --- a/tests/de/iges_2/C9 +++ b/tests/de/iges_2/C9 @@ -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} + diff --git a/tests/de/iges_2/D1 b/tests/de/iges_2/D1 index 8f6beac884..38f119ab4e 100755 --- a/tests/de/iges_2/D1 +++ b/tests/de/iges_2/D1 @@ -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} + diff --git a/tests/de/iges_2/D2 b/tests/de/iges_2/D2 index 4194b439cc..01e8627d8c 100644 --- a/tests/de/iges_2/D2 +++ b/tests/de/iges_2/D2 @@ -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} + diff --git a/tests/de/iges_2/D3 b/tests/de/iges_2/D3 index 713b80ffd7..7cc9a5f4eb 100644 --- a/tests/de/iges_2/D3 +++ b/tests/de/iges_2/D3 @@ -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} + diff --git a/tests/de/iges_2/D4 b/tests/de/iges_2/D4 index 2104ab9eca..d2bcd5bc3d 100644 --- a/tests/de/iges_2/D4 +++ b/tests/de/iges_2/D4 @@ -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} + diff --git a/tests/de/iges_2/D5 b/tests/de/iges_2/D5 index ae0b7911ce..0788a3d34e 100644 --- a/tests/de/iges_2/D5 +++ b/tests/de/iges_2/D5 @@ -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} + diff --git a/tests/de/iges_2/D6 b/tests/de/iges_2/D6 index 7154a65936..66edda1e96 100644 --- a/tests/de/iges_2/D6 +++ b/tests/de/iges_2/D6 @@ -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} + diff --git a/tests/de/iges_2/D7 b/tests/de/iges_2/D7 index 13557bbaa3..e26ed6b264 100644 --- a/tests/de/iges_2/D7 +++ b/tests/de/iges_2/D7 @@ -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} + diff --git a/tests/de/iges_2/D8 b/tests/de/iges_2/D8 index 3526483744..cc931d5855 100644 --- a/tests/de/iges_2/D8 +++ b/tests/de/iges_2/D8 @@ -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} + diff --git a/tests/de/iges_2/D9 b/tests/de/iges_2/D9 index f765bd0e1d..580ff46747 100644 --- a/tests/de/iges_2/D9 +++ b/tests/de/iges_2/D9 @@ -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} + diff --git a/tests/de/iges_2/E1 b/tests/de/iges_2/E1 index 384968f9e0..2dc8115151 100644 --- a/tests/de/iges_2/E1 +++ b/tests/de/iges_2/E1 @@ -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} + diff --git a/tests/de/iges_2/E2 b/tests/de/iges_2/E2 index 86580fb152..0cbfee3783 100644 --- a/tests/de/iges_2/E2 +++ b/tests/de/iges_2/E2 @@ -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} + diff --git a/tests/de/iges_2/E3 b/tests/de/iges_2/E3 index 158d435c0e..495a0f5f46 100644 --- a/tests/de/iges_2/E3 +++ b/tests/de/iges_2/E3 @@ -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} + diff --git a/tests/de/iges_2/E4 b/tests/de/iges_2/E4 index 2304e4711c..df675936a5 100644 --- a/tests/de/iges_2/E4 +++ b/tests/de/iges_2/E4 @@ -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} + diff --git a/tests/de/iges_2/E5 b/tests/de/iges_2/E5 index 7b90b92dfa..7400f046ac 100644 --- a/tests/de/iges_2/E5 +++ b/tests/de/iges_2/E5 @@ -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} + diff --git a/tests/de/iges_2/E6 b/tests/de/iges_2/E6 index fb5c6b3f1d..e2bf0f61bd 100644 --- a/tests/de/iges_2/E6 +++ b/tests/de/iges_2/E6 @@ -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} + diff --git a/tests/de/iges_2/E7 b/tests/de/iges_2/E7 index 025d6a0311..de99fe4509 100644 --- a/tests/de/iges_2/E7 +++ b/tests/de/iges_2/E7 @@ -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} + diff --git a/tests/de/iges_2/E8 b/tests/de/iges_2/E8 index 1f1b0da7bf..7d7e0345b2 100644 --- a/tests/de/iges_2/E8 +++ b/tests/de/iges_2/E8 @@ -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} + diff --git a/tests/de/iges_2/E9 b/tests/de/iges_2/E9 index 892320bcef..33de1b409c 100644 --- a/tests/de/iges_2/E9 +++ b/tests/de/iges_2/E9 @@ -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} + diff --git a/tests/de/iges_2/F1 b/tests/de/iges_2/F1 index 51367769ed..6c9f4658d1 100755 --- a/tests/de/iges_2/F1 +++ b/tests/de/iges_2/F1 @@ -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} + diff --git a/tests/de/iges_2/F2 b/tests/de/iges_2/F2 index f073fbce6d..2a69c7e41a 100755 --- a/tests/de/iges_2/F2 +++ b/tests/de/iges_2/F2 @@ -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} + diff --git a/tests/de/iges_2/F3 b/tests/de/iges_2/F3 index 2859a34244..5b8933b75d 100755 --- a/tests/de/iges_2/F3 +++ b/tests/de/iges_2/F3 @@ -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} + diff --git a/tests/de/iges_2/F4 b/tests/de/iges_2/F4 index 050bacf8f2..efd3cb9c21 100755 --- a/tests/de/iges_2/F4 +++ b/tests/de/iges_2/F4 @@ -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} + diff --git a/tests/de/iges_2/F5 b/tests/de/iges_2/F5 index 1f04e654a2..78ada59170 100755 --- a/tests/de/iges_2/F5 +++ b/tests/de/iges_2/F5 @@ -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} + diff --git a/tests/de/iges_2/F6 b/tests/de/iges_2/F6 index 901ed32ec0..8eda7cdf0c 100755 --- a/tests/de/iges_2/F6 +++ b/tests/de/iges_2/F6 @@ -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} + diff --git a/tests/de/iges_2/F7 b/tests/de/iges_2/F7 index 128f0278fe..75abaf7061 100644 --- a/tests/de/iges_2/F7 +++ b/tests/de/iges_2/F7 @@ -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} + diff --git a/tests/de/iges_2/F8 b/tests/de/iges_2/F8 index 29b9ce4ebc..3d98ed86b3 100755 --- a/tests/de/iges_2/F8 +++ b/tests/de/iges_2/F8 @@ -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} + diff --git a/tests/de/iges_2/F9 b/tests/de/iges_2/F9 index c3059282ab..6b63652237 100644 --- a/tests/de/iges_2/F9 +++ b/tests/de/iges_2/F9 @@ -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} + diff --git a/tests/de/iges_2/G1 b/tests/de/iges_2/G1 index 2b510dd1f4..e52934d737 100755 --- a/tests/de/iges_2/G1 +++ b/tests/de/iges_2/G1 @@ -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} + diff --git a/tests/de/iges_2/G2 b/tests/de/iges_2/G2 index 0c4096152a..ed0bc19ef0 100644 --- a/tests/de/iges_2/G2 +++ b/tests/de/iges_2/G2 @@ -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} + diff --git a/tests/de/iges_2/G3 b/tests/de/iges_2/G3 index 0b9c2faae7..5e0366aced 100644 --- a/tests/de/iges_2/G3 +++ b/tests/de/iges_2/G3 @@ -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} + diff --git a/tests/de/iges_2/G4 b/tests/de/iges_2/G4 index f5a4a6726b..fa580e068f 100755 --- a/tests/de/iges_2/G4 +++ b/tests/de/iges_2/G4 @@ -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} + diff --git a/tests/de/iges_2/G5 b/tests/de/iges_2/G5 index a10990beb2..88cd3fd5b6 100644 --- a/tests/de/iges_2/G5 +++ b/tests/de/iges_2/G5 @@ -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} + diff --git a/tests/de/iges_2/G6 b/tests/de/iges_2/G6 index 62c5e25bf3..a5cc990798 100644 --- a/tests/de/iges_2/G6 +++ b/tests/de/iges_2/G6 @@ -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} + diff --git a/tests/de/iges_2/G7 b/tests/de/iges_2/G7 index 3308375cd8..abe553a6f4 100644 --- a/tests/de/iges_2/G7 +++ b/tests/de/iges_2/G7 @@ -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} + diff --git a/tests/de/iges_2/G8 b/tests/de/iges_2/G8 index 52c800390e..978e51182b 100644 --- a/tests/de/iges_2/G8 +++ b/tests/de/iges_2/G8 @@ -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} + diff --git a/tests/de/iges_2/G9 b/tests/de/iges_2/G9 index f805427025..07260a32a8 100755 --- a/tests/de/iges_2/G9 +++ b/tests/de/iges_2/G9 @@ -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} + diff --git a/tests/de/iges_2/H1 b/tests/de/iges_2/H1 index 68708f3066..16cd356ffb 100755 --- a/tests/de/iges_2/H1 +++ b/tests/de/iges_2/H1 @@ -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} + diff --git a/tests/de/iges_2/H2 b/tests/de/iges_2/H2 index 160e866477..5fa973dbcc 100644 --- a/tests/de/iges_2/H2 +++ b/tests/de/iges_2/H2 @@ -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} + diff --git a/tests/de/iges_2/H3 b/tests/de/iges_2/H3 index ab0abd2a16..c890bfe227 100755 --- a/tests/de/iges_2/H3 +++ b/tests/de/iges_2/H3 @@ -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} + diff --git a/tests/de/iges_2/H4 b/tests/de/iges_2/H4 index 7c5d220f17..daf9ea9eb8 100755 --- a/tests/de/iges_2/H4 +++ b/tests/de/iges_2/H4 @@ -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} + diff --git a/tests/de/iges_2/H5 b/tests/de/iges_2/H5 index 17c77f3c85..f0c8e63058 100755 --- a/tests/de/iges_2/H5 +++ b/tests/de/iges_2/H5 @@ -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} + diff --git a/tests/de/iges_2/H6 b/tests/de/iges_2/H6 index 5b0ab0a0ae..ed7ab7fbcf 100755 --- a/tests/de/iges_2/H6 +++ b/tests/de/iges_2/H6 @@ -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} + diff --git a/tests/de/iges_2/H7 b/tests/de/iges_2/H7 index 9ce9535a6a..fa2f89873b 100644 --- a/tests/de/iges_2/H7 +++ b/tests/de/iges_2/H7 @@ -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} + diff --git a/tests/de/iges_2/H8 b/tests/de/iges_2/H8 index 7ce124fe07..2b9f434654 100644 --- a/tests/de/iges_2/H8 +++ b/tests/de/iges_2/H8 @@ -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} + diff --git a/tests/de/iges_2/H9 b/tests/de/iges_2/H9 index 8c0e68f860..f5d96309d5 100755 --- a/tests/de/iges_2/H9 +++ b/tests/de/iges_2/H9 @@ -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} + diff --git a/tests/de/iges_2/I1 b/tests/de/iges_2/I1 index 2b18773db9..4bfab8348f 100644 --- a/tests/de/iges_2/I1 +++ b/tests/de/iges_2/I1 @@ -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} + diff --git a/tests/de/iges_2/I2 b/tests/de/iges_2/I2 index 7726376658..0bc812301b 100644 --- a/tests/de/iges_2/I2 +++ b/tests/de/iges_2/I2 @@ -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} + diff --git a/tests/de/iges_2/I3 b/tests/de/iges_2/I3 index 2a79b96ce1..4e955b2cdb 100644 --- a/tests/de/iges_2/I3 +++ b/tests/de/iges_2/I3 @@ -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} + diff --git a/tests/de/iges_2/I4 b/tests/de/iges_2/I4 index 1115de4280..84cfd6f75d 100644 --- a/tests/de/iges_2/I4 +++ b/tests/de/iges_2/I4 @@ -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} + diff --git a/tests/de/iges_2/I5 b/tests/de/iges_2/I5 index 96fa840e5f..1a5ff562c5 100755 --- a/tests/de/iges_2/I5 +++ b/tests/de/iges_2/I5 @@ -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} + diff --git a/tests/de/iges_2/I6 b/tests/de/iges_2/I6 index 6f027d39ff..be0a856c82 100644 --- a/tests/de/iges_2/I6 +++ b/tests/de/iges_2/I6 @@ -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} + diff --git a/tests/de/iges_2/I7 b/tests/de/iges_2/I7 index bef85b6642..162ee4b1f3 100644 --- a/tests/de/iges_2/I7 +++ b/tests/de/iges_2/I7 @@ -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} + diff --git a/tests/de/iges_2/I8 b/tests/de/iges_2/I8 index 78316b7a5d..4a8ebfa165 100755 --- a/tests/de/iges_2/I8 +++ b/tests/de/iges_2/I8 @@ -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} + diff --git a/tests/de/iges_2/I9 b/tests/de/iges_2/I9 index a7292a25a4..a06e81856e 100644 --- a/tests/de/iges_2/I9 +++ b/tests/de/iges_2/I9 @@ -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} + diff --git a/tests/de/iges_2/J1 b/tests/de/iges_2/J1 index 34b275f690..8fbdab7c2f 100644 --- a/tests/de/iges_2/J1 +++ b/tests/de/iges_2/J1 @@ -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} + diff --git a/tests/de/iges_3/A1 b/tests/de/iges_3/A1 index bbbc0f7f64..cd4808a99d 100644 --- a/tests/de/iges_3/A1 +++ b/tests/de/iges_3/A1 @@ -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} + diff --git a/tests/de/iges_3/A2 b/tests/de/iges_3/A2 index c2d2884c17..6bc6f638fe 100755 --- a/tests/de/iges_3/A2 +++ b/tests/de/iges_3/A2 @@ -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} + diff --git a/tests/de/iges_3/A3 b/tests/de/iges_3/A3 index 9e6c600484..3b8fa38b06 100755 --- a/tests/de/iges_3/A3 +++ b/tests/de/iges_3/A3 @@ -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} + diff --git a/tests/de/iges_3/A4 b/tests/de/iges_3/A4 index f3a4ba1952..c2de18d75f 100755 --- a/tests/de/iges_3/A4 +++ b/tests/de/iges_3/A4 @@ -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} + diff --git a/tests/de/iges_3/A5 b/tests/de/iges_3/A5 index 8a69057190..b0c180cb5f 100644 --- a/tests/de/iges_3/A5 +++ b/tests/de/iges_3/A5 @@ -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} + diff --git a/tests/de/iges_3/A6 b/tests/de/iges_3/A6 index 0de91af8e3..00498834f1 100755 --- a/tests/de/iges_3/A6 +++ b/tests/de/iges_3/A6 @@ -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} + diff --git a/tests/de/iges_3/A7 b/tests/de/iges_3/A7 index 8a026f91dd..44ffe860a2 100644 --- a/tests/de/iges_3/A7 +++ b/tests/de/iges_3/A7 @@ -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} + diff --git a/tests/de/iges_3/A8 b/tests/de/iges_3/A8 index 54a4e08482..dc2b92f6e5 100755 --- a/tests/de/iges_3/A8 +++ b/tests/de/iges_3/A8 @@ -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} + diff --git a/tests/de/iges_3/A9 b/tests/de/iges_3/A9 index 4610466ff4..4eb1da228b 100644 --- a/tests/de/iges_3/A9 +++ b/tests/de/iges_3/A9 @@ -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} + diff --git a/tests/de/iges_3/B1 b/tests/de/iges_3/B1 index ef86a2554e..5951038685 100644 --- a/tests/de/iges_3/B1 +++ b/tests/de/iges_3/B1 @@ -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} + diff --git a/tests/de/iges_3/B2 b/tests/de/iges_3/B2 index af95584da6..27e262e6ea 100755 --- a/tests/de/iges_3/B2 +++ b/tests/de/iges_3/B2 @@ -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} + diff --git a/tests/de/step_1/A1 b/tests/de/step_1/A1 index ae3201d2d4..fb02768603 100644 --- a/tests/de/step_1/A1 +++ b/tests/de/step_1/A1 @@ -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} + diff --git a/tests/de/step_1/A2 b/tests/de/step_1/A2 index 8f1fac1461..67b6cb2e41 100644 --- a/tests/de/step_1/A2 +++ b/tests/de/step_1/A2 @@ -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} + diff --git a/tests/de/step_1/A3 b/tests/de/step_1/A3 index c94a8788e0..34ee98917f 100644 --- a/tests/de/step_1/A3 +++ b/tests/de/step_1/A3 @@ -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} + diff --git a/tests/de/step_1/A4 b/tests/de/step_1/A4 index aec8d4975f..932a16ff68 100644 --- a/tests/de/step_1/A4 +++ b/tests/de/step_1/A4 @@ -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} + diff --git a/tests/de/step_1/A5 b/tests/de/step_1/A5 index 721cd84f5a..0ef9d4a9d4 100644 --- a/tests/de/step_1/A5 +++ b/tests/de/step_1/A5 @@ -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} + diff --git a/tests/de/step_1/A6 b/tests/de/step_1/A6 index 98e334823d..43f395ca6e 100644 --- a/tests/de/step_1/A6 +++ b/tests/de/step_1/A6 @@ -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} + diff --git a/tests/de/step_1/A7 b/tests/de/step_1/A7 index 934f2c3f45..6a95fd2a84 100644 --- a/tests/de/step_1/A7 +++ b/tests/de/step_1/A7 @@ -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} + diff --git a/tests/de/step_1/A8 b/tests/de/step_1/A8 index 4e135279f0..0fc4449950 100644 --- a/tests/de/step_1/A8 +++ b/tests/de/step_1/A8 @@ -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} + diff --git a/tests/de/step_1/A9 b/tests/de/step_1/A9 index f19d12c16b..4cca10c5c2 100644 --- a/tests/de/step_1/A9 +++ b/tests/de/step_1/A9 @@ -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} + diff --git a/tests/de/step_1/B1 b/tests/de/step_1/B1 index 6ce0309890..3e80f77fe9 100644 --- a/tests/de/step_1/B1 +++ b/tests/de/step_1/B1 @@ -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} + diff --git a/tests/de/step_1/B2 b/tests/de/step_1/B2 index 0e4d549d86..1ea9a9dfb1 100644 --- a/tests/de/step_1/B2 +++ b/tests/de/step_1/B2 @@ -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} + diff --git a/tests/de/step_1/B3 b/tests/de/step_1/B3 index 1e3e80078e..b66e7289f3 100644 --- a/tests/de/step_1/B3 +++ b/tests/de/step_1/B3 @@ -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} + diff --git a/tests/de/step_1/B4 b/tests/de/step_1/B4 index 439694b752..aba6e5591b 100644 --- a/tests/de/step_1/B4 +++ b/tests/de/step_1/B4 @@ -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} + diff --git a/tests/de/step_1/B5 b/tests/de/step_1/B5 index 3c775aaff0..b85066c321 100644 --- a/tests/de/step_1/B5 +++ b/tests/de/step_1/B5 @@ -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} + diff --git a/tests/de/step_1/B6 b/tests/de/step_1/B6 index 951bf94896..ba49962d75 100644 --- a/tests/de/step_1/B6 +++ b/tests/de/step_1/B6 @@ -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} + diff --git a/tests/de/step_1/B7 b/tests/de/step_1/B7 index 61d3412893..bb078c89d6 100644 --- a/tests/de/step_1/B7 +++ b/tests/de/step_1/B7 @@ -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} + diff --git a/tests/de/step_1/B8 b/tests/de/step_1/B8 index 30b0f02f5b..3c338b3b98 100644 --- a/tests/de/step_1/B8 +++ b/tests/de/step_1/B8 @@ -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} + diff --git a/tests/de/step_1/B9 b/tests/de/step_1/B9 index 0d93dc2966..0135b9252c 100644 --- a/tests/de/step_1/B9 +++ b/tests/de/step_1/B9 @@ -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} + diff --git a/tests/de/step_1/C1 b/tests/de/step_1/C1 index 9199226c54..4ddc0267dd 100644 --- a/tests/de/step_1/C1 +++ b/tests/de/step_1/C1 @@ -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} + diff --git a/tests/de/step_1/C2 b/tests/de/step_1/C2 index b2c76bc817..ed136a8a4f 100644 --- a/tests/de/step_1/C2 +++ b/tests/de/step_1/C2 @@ -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} + diff --git a/tests/de/step_1/C3 b/tests/de/step_1/C3 index 36863c082c..ea8df5cb96 100644 --- a/tests/de/step_1/C3 +++ b/tests/de/step_1/C3 @@ -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} + diff --git a/tests/de/step_1/C4 b/tests/de/step_1/C4 index dd079b65d4..0cde9b7d2a 100644 --- a/tests/de/step_1/C4 +++ b/tests/de/step_1/C4 @@ -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} + diff --git a/tests/de/step_1/C5 b/tests/de/step_1/C5 index 9b4ce74430..c49fcdf52b 100644 --- a/tests/de/step_1/C5 +++ b/tests/de/step_1/C5 @@ -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} + diff --git a/tests/de/step_1/C6 b/tests/de/step_1/C6 index 9e394c5b35..bd1a22c4b3 100644 --- a/tests/de/step_1/C6 +++ b/tests/de/step_1/C6 @@ -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} + diff --git a/tests/de/step_1/C7 b/tests/de/step_1/C7 index a115adc49a..9e1e27e5d1 100644 --- a/tests/de/step_1/C7 +++ b/tests/de/step_1/C7 @@ -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} + diff --git a/tests/de/step_1/C8 b/tests/de/step_1/C8 index 6372e0d259..7a2d8c1954 100644 --- a/tests/de/step_1/C8 +++ b/tests/de/step_1/C8 @@ -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} + diff --git a/tests/de/step_1/C9 b/tests/de/step_1/C9 index 4bb0d0c9af..6aa01a32a3 100644 --- a/tests/de/step_1/C9 +++ b/tests/de/step_1/C9 @@ -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} + diff --git a/tests/de/step_1/D1 b/tests/de/step_1/D1 index a090a45344..0d12fe61f7 100644 --- a/tests/de/step_1/D1 +++ b/tests/de/step_1/D1 @@ -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} + diff --git a/tests/de/step_1/D2 b/tests/de/step_1/D2 index c13d655221..6f7c8a0c7f 100644 --- a/tests/de/step_1/D2 +++ b/tests/de/step_1/D2 @@ -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} + diff --git a/tests/de/step_1/D3 b/tests/de/step_1/D3 index 59f9f00e59..934c764708 100644 --- a/tests/de/step_1/D3 +++ b/tests/de/step_1/D3 @@ -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} + diff --git a/tests/de/step_1/D4 b/tests/de/step_1/D4 index 20337e3f23..55e4e3bd11 100644 --- a/tests/de/step_1/D4 +++ b/tests/de/step_1/D4 @@ -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} + diff --git a/tests/de/step_1/D5 b/tests/de/step_1/D5 index b99206a07a..533b890f96 100644 --- a/tests/de/step_1/D5 +++ b/tests/de/step_1/D5 @@ -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} + diff --git a/tests/de/step_1/D6 b/tests/de/step_1/D6 index 6cad2c8f74..e8892d25be 100644 --- a/tests/de/step_1/D6 +++ b/tests/de/step_1/D6 @@ -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} + diff --git a/tests/de/step_1/D7 b/tests/de/step_1/D7 index 849156033f..47d298ced3 100644 --- a/tests/de/step_1/D7 +++ b/tests/de/step_1/D7 @@ -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} + diff --git a/tests/de/step_1/D8 b/tests/de/step_1/D8 index 32420e11b3..960bd893b8 100644 --- a/tests/de/step_1/D8 +++ b/tests/de/step_1/D8 @@ -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} + diff --git a/tests/de/step_1/D9 b/tests/de/step_1/D9 index 26ab6a1659..480528e311 100644 --- a/tests/de/step_1/D9 +++ b/tests/de/step_1/D9 @@ -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} + diff --git a/tests/de/step_1/E1 b/tests/de/step_1/E1 index e3f3e2ac82..da8cfe20de 100644 --- a/tests/de/step_1/E1 +++ b/tests/de/step_1/E1 @@ -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} + diff --git a/tests/de/step_1/E2 b/tests/de/step_1/E2 index f9d7ebdbf9..3d94e5dd3f 100644 --- a/tests/de/step_1/E2 +++ b/tests/de/step_1/E2 @@ -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} + diff --git a/tests/de/step_1/E3 b/tests/de/step_1/E3 index 21885a7bc9..1710549e8e 100644 --- a/tests/de/step_1/E3 +++ b/tests/de/step_1/E3 @@ -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} + diff --git a/tests/de/step_1/E4 b/tests/de/step_1/E4 index d756b405f6..c55a0e1b47 100644 --- a/tests/de/step_1/E4 +++ b/tests/de/step_1/E4 @@ -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} + diff --git a/tests/de/step_1/E5 b/tests/de/step_1/E5 index 6f7306a93a..0413f764ca 100644 --- a/tests/de/step_1/E5 +++ b/tests/de/step_1/E5 @@ -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} + diff --git a/tests/de/step_1/E6 b/tests/de/step_1/E6 index 8b628a7777..9fecaa7b5e 100755 --- a/tests/de/step_1/E6 +++ b/tests/de/step_1/E6 @@ -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} + diff --git a/tests/de/step_1/E7 b/tests/de/step_1/E7 index 94174dcce7..87dce31526 100644 --- a/tests/de/step_1/E7 +++ b/tests/de/step_1/E7 @@ -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} + diff --git a/tests/de/step_1/E8 b/tests/de/step_1/E8 index 9f96f8b3ca..138cbe9254 100644 --- a/tests/de/step_1/E8 +++ b/tests/de/step_1/E8 @@ -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} + diff --git a/tests/de/step_1/E9 b/tests/de/step_1/E9 index 5c83345355..e4e5bf7040 100644 --- a/tests/de/step_1/E9 +++ b/tests/de/step_1/E9 @@ -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} + diff --git a/tests/de/step_1/F1 b/tests/de/step_1/F1 index 96996383b7..cb41707244 100644 --- a/tests/de/step_1/F1 +++ b/tests/de/step_1/F1 @@ -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} + diff --git a/tests/de/step_1/F2 b/tests/de/step_1/F2 index e072434833..3278103633 100644 --- a/tests/de/step_1/F2 +++ b/tests/de/step_1/F2 @@ -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} + diff --git a/tests/de/step_1/F3 b/tests/de/step_1/F3 index 436c3486f0..853d0fc80c 100644 --- a/tests/de/step_1/F3 +++ b/tests/de/step_1/F3 @@ -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} + diff --git a/tests/de/step_1/F4 b/tests/de/step_1/F4 index 6a30997e54..e5f6567a0f 100644 --- a/tests/de/step_1/F4 +++ b/tests/de/step_1/F4 @@ -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} + diff --git a/tests/de/step_1/F5 b/tests/de/step_1/F5 index 959f9b6ae6..b255cb5063 100644 --- a/tests/de/step_1/F5 +++ b/tests/de/step_1/F5 @@ -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} + diff --git a/tests/de/step_1/F6 b/tests/de/step_1/F6 index 6d50fb1d18..4b0fc5c65f 100644 --- a/tests/de/step_1/F6 +++ b/tests/de/step_1/F6 @@ -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} + diff --git a/tests/de/step_1/F7 b/tests/de/step_1/F7 index 0a1a645dbf..90a2faa1dc 100644 --- a/tests/de/step_1/F7 +++ b/tests/de/step_1/F7 @@ -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} + diff --git a/tests/de/step_1/F8 b/tests/de/step_1/F8 index 0e2fc99d77..a54b5ce345 100644 --- a/tests/de/step_1/F8 +++ b/tests/de/step_1/F8 @@ -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} + diff --git a/tests/de/step_1/F9 b/tests/de/step_1/F9 index e67b6d0659..4bac471210 100644 --- a/tests/de/step_1/F9 +++ b/tests/de/step_1/F9 @@ -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} + diff --git a/tests/de/step_1/G1 b/tests/de/step_1/G1 index 46bdb07b78..986c7c7f51 100644 --- a/tests/de/step_1/G1 +++ b/tests/de/step_1/G1 @@ -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} + diff --git a/tests/de/step_1/G2 b/tests/de/step_1/G2 index 78df615ead..c9a944a646 100644 --- a/tests/de/step_1/G2 +++ b/tests/de/step_1/G2 @@ -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} + diff --git a/tests/de/step_1/G3 b/tests/de/step_1/G3 index da8cb28784..6c2bbd75a7 100644 --- a/tests/de/step_1/G3 +++ b/tests/de/step_1/G3 @@ -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} + diff --git a/tests/de/step_1/G4 b/tests/de/step_1/G4 index 49c7f3fbe8..9c89cbc32f 100644 --- a/tests/de/step_1/G4 +++ b/tests/de/step_1/G4 @@ -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} + diff --git a/tests/de/step_1/G5 b/tests/de/step_1/G5 index 6ffa03e7f1..780612ee90 100644 --- a/tests/de/step_1/G5 +++ b/tests/de/step_1/G5 @@ -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} + diff --git a/tests/de/step_1/G6 b/tests/de/step_1/G6 index e434de36c5..b697e734e0 100644 --- a/tests/de/step_1/G6 +++ b/tests/de/step_1/G6 @@ -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} + diff --git a/tests/de/step_1/G7 b/tests/de/step_1/G7 index 15cb11a417..e950db2aa5 100644 --- a/tests/de/step_1/G7 +++ b/tests/de/step_1/G7 @@ -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} + diff --git a/tests/de/step_1/G8 b/tests/de/step_1/G8 index aaf6c6c24b..34d1f996f3 100644 --- a/tests/de/step_1/G8 +++ b/tests/de/step_1/G8 @@ -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} + diff --git a/tests/de/step_1/G9 b/tests/de/step_1/G9 index 0515e43149..42a9216883 100644 --- a/tests/de/step_1/G9 +++ b/tests/de/step_1/G9 @@ -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} + diff --git a/tests/de/step_1/H1 b/tests/de/step_1/H1 index 6f92f51402..fe4672fbc4 100644 --- a/tests/de/step_1/H1 +++ b/tests/de/step_1/H1 @@ -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} + diff --git a/tests/de/step_1/H2 b/tests/de/step_1/H2 index ffbecf663d..9ea3c1e1b2 100644 --- a/tests/de/step_1/H2 +++ b/tests/de/step_1/H2 @@ -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} + diff --git a/tests/de/step_1/H3 b/tests/de/step_1/H3 index a749633ca7..361b1523d0 100644 --- a/tests/de/step_1/H3 +++ b/tests/de/step_1/H3 @@ -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} + diff --git a/tests/de/step_1/H4 b/tests/de/step_1/H4 index 5085536926..91d253f7ef 100644 --- a/tests/de/step_1/H4 +++ b/tests/de/step_1/H4 @@ -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} + diff --git a/tests/de/step_1/H5 b/tests/de/step_1/H5 index 3867219503..02d9d1546e 100644 --- a/tests/de/step_1/H5 +++ b/tests/de/step_1/H5 @@ -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} + diff --git a/tests/de/step_1/H6 b/tests/de/step_1/H6 index fcafc35a48..2e95238073 100644 --- a/tests/de/step_1/H6 +++ b/tests/de/step_1/H6 @@ -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} + diff --git a/tests/de/step_1/H7 b/tests/de/step_1/H7 index 5d7346c5ca..f7bb29b86e 100644 --- a/tests/de/step_1/H7 +++ b/tests/de/step_1/H7 @@ -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} + diff --git a/tests/de/step_1/H8 b/tests/de/step_1/H8 index 17adfc78d3..f3413ed702 100644 --- a/tests/de/step_1/H8 +++ b/tests/de/step_1/H8 @@ -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} + diff --git a/tests/de/step_1/H9 b/tests/de/step_1/H9 index 08cbacc0fa..f9b97d0586 100644 --- a/tests/de/step_1/H9 +++ b/tests/de/step_1/H9 @@ -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} + diff --git a/tests/de/step_1/I1 b/tests/de/step_1/I1 index 730be639be..90a13ccdb3 100644 --- a/tests/de/step_1/I1 +++ b/tests/de/step_1/I1 @@ -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} + diff --git a/tests/de/step_1/I2 b/tests/de/step_1/I2 index 01e5f6210c..bd8b2c90da 100644 --- a/tests/de/step_1/I2 +++ b/tests/de/step_1/I2 @@ -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} + diff --git a/tests/de/step_1/I3 b/tests/de/step_1/I3 index 73d16dc83d..27ccfb300d 100644 --- a/tests/de/step_1/I3 +++ b/tests/de/step_1/I3 @@ -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} + diff --git a/tests/de/step_1/I4 b/tests/de/step_1/I4 index 0d4a079cf2..f46c9f8643 100644 --- a/tests/de/step_1/I4 +++ b/tests/de/step_1/I4 @@ -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} + diff --git a/tests/de/step_1/I5 b/tests/de/step_1/I5 index 6350f93476..d1eaf3364d 100644 --- a/tests/de/step_1/I5 +++ b/tests/de/step_1/I5 @@ -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} + diff --git a/tests/de/step_1/I6 b/tests/de/step_1/I6 index 0cce0382b3..a164e8ad3c 100644 --- a/tests/de/step_1/I6 +++ b/tests/de/step_1/I6 @@ -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} + diff --git a/tests/de/step_1/I7 b/tests/de/step_1/I7 index 189e8b2e66..52e0de3b58 100644 --- a/tests/de/step_1/I7 +++ b/tests/de/step_1/I7 @@ -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} + diff --git a/tests/de/step_1/I8 b/tests/de/step_1/I8 index 2e69159fc2..316a2c23b7 100644 --- a/tests/de/step_1/I8 +++ b/tests/de/step_1/I8 @@ -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} + diff --git a/tests/de/step_1/I9 b/tests/de/step_1/I9 index 9289c3df4b..35274e44e3 100644 --- a/tests/de/step_1/I9 +++ b/tests/de/step_1/I9 @@ -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} + diff --git a/tests/de/step_1/J1 b/tests/de/step_1/J1 index 319c867a63..3d23241ad6 100644 --- a/tests/de/step_1/J1 +++ b/tests/de/step_1/J1 @@ -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} + diff --git a/tests/de/step_1/J2 b/tests/de/step_1/J2 index 9f5162ebd9..189a1fa489 100644 --- a/tests/de/step_1/J2 +++ b/tests/de/step_1/J2 @@ -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} + diff --git a/tests/de/step_1/J3 b/tests/de/step_1/J3 index 9ecb081452..8c2c3539a8 100644 --- a/tests/de/step_1/J3 +++ b/tests/de/step_1/J3 @@ -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} + diff --git a/tests/de/step_1/J4 b/tests/de/step_1/J4 index 03d0f90ef4..26cf85e2f4 100644 --- a/tests/de/step_1/J4 +++ b/tests/de/step_1/J4 @@ -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} + diff --git a/tests/de/step_1/J5 b/tests/de/step_1/J5 index 33bdfd839a..c1843e7f23 100644 --- a/tests/de/step_1/J5 +++ b/tests/de/step_1/J5 @@ -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} + diff --git a/tests/de/step_1/J6 b/tests/de/step_1/J6 index ff12ff4bb4..0544d3d538 100755 --- a/tests/de/step_1/J6 +++ b/tests/de/step_1/J6 @@ -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} + diff --git a/tests/de/step_1/J7 b/tests/de/step_1/J7 index e4e717fe51..b5b0544da0 100644 --- a/tests/de/step_1/J7 +++ b/tests/de/step_1/J7 @@ -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} + diff --git a/tests/de/step_1/J8 b/tests/de/step_1/J8 index 877e9e5b8e..fd3b9b7f81 100644 --- a/tests/de/step_1/J8 +++ b/tests/de/step_1/J8 @@ -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} + diff --git a/tests/de/step_1/J9 b/tests/de/step_1/J9 index 60e247a775..e349672b90 100644 --- a/tests/de/step_1/J9 +++ b/tests/de/step_1/J9 @@ -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} + diff --git a/tests/de/step_1/K1 b/tests/de/step_1/K1 index f9fdc6baa4..44d852a6d8 100644 --- a/tests/de/step_1/K1 +++ b/tests/de/step_1/K1 @@ -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} + diff --git a/tests/de/step_1/K2 b/tests/de/step_1/K2 index 23cd827c68..87a5f24111 100644 --- a/tests/de/step_1/K2 +++ b/tests/de/step_1/K2 @@ -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} + diff --git a/tests/de/step_1/K3 b/tests/de/step_1/K3 index 00a4df4102..748761f234 100644 --- a/tests/de/step_1/K3 +++ b/tests/de/step_1/K3 @@ -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} + diff --git a/tests/de/step_1/K4 b/tests/de/step_1/K4 index 6a4ae15f61..91ba310cfc 100644 --- a/tests/de/step_1/K4 +++ b/tests/de/step_1/K4 @@ -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} + diff --git a/tests/de/step_1/K5 b/tests/de/step_1/K5 index d6a0f9a2ba..9a385617d3 100644 --- a/tests/de/step_1/K5 +++ b/tests/de/step_1/K5 @@ -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} + diff --git a/tests/de/step_1/K6 b/tests/de/step_1/K6 index 73725b58a7..f273f1270f 100644 --- a/tests/de/step_1/K6 +++ b/tests/de/step_1/K6 @@ -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} + diff --git a/tests/de/step_1/K7 b/tests/de/step_1/K7 index 6a721c7c3b..8c44fed65b 100644 --- a/tests/de/step_1/K7 +++ b/tests/de/step_1/K7 @@ -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} + diff --git a/tests/de/step_1/K8 b/tests/de/step_1/K8 index 0a6ebc27bf..81a3b2de9c 100644 --- a/tests/de/step_1/K8 +++ b/tests/de/step_1/K8 @@ -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} + diff --git a/tests/de/step_1/K9 b/tests/de/step_1/K9 index d58a0ba9f1..436676c8cc 100644 --- a/tests/de/step_1/K9 +++ b/tests/de/step_1/K9 @@ -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} + diff --git a/tests/de/step_1/L1 b/tests/de/step_1/L1 index 02ddde8b39..00c95b7243 100644 --- a/tests/de/step_1/L1 +++ b/tests/de/step_1/L1 @@ -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} + diff --git a/tests/de/step_1/L2 b/tests/de/step_1/L2 index 905b125807..7528020e8d 100644 --- a/tests/de/step_1/L2 +++ b/tests/de/step_1/L2 @@ -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} + diff --git a/tests/de/step_1/L3 b/tests/de/step_1/L3 index 3def8bfcb7..e77350f032 100644 --- a/tests/de/step_1/L3 +++ b/tests/de/step_1/L3 @@ -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} + diff --git a/tests/de/step_1/L4 b/tests/de/step_1/L4 index 42dbf6ca26..a4c72f6590 100644 --- a/tests/de/step_1/L4 +++ b/tests/de/step_1/L4 @@ -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} + diff --git a/tests/de/step_1/L5 b/tests/de/step_1/L5 index 16f192cd41..8e2d47ba70 100644 --- a/tests/de/step_1/L5 +++ b/tests/de/step_1/L5 @@ -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} + diff --git a/tests/de/step_1/L6 b/tests/de/step_1/L6 index 5edb7bc59c..c0625b051b 100644 --- a/tests/de/step_1/L6 +++ b/tests/de/step_1/L6 @@ -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} + diff --git a/tests/de/step_1/L7 b/tests/de/step_1/L7 index 96552440c4..985e4f1db5 100644 --- a/tests/de/step_1/L7 +++ b/tests/de/step_1/L7 @@ -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} + diff --git a/tests/de/step_1/L8 b/tests/de/step_1/L8 index d547e0dd71..09db06e9b4 100644 --- a/tests/de/step_1/L8 +++ b/tests/de/step_1/L8 @@ -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} + diff --git a/tests/de/step_1/L9 b/tests/de/step_1/L9 index 1cf009bd8b..ceb15e5a47 100644 --- a/tests/de/step_1/L9 +++ b/tests/de/step_1/L9 @@ -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} + diff --git a/tests/de/step_1/M1 b/tests/de/step_1/M1 index 110b1e013e..c899319fb5 100644 --- a/tests/de/step_1/M1 +++ b/tests/de/step_1/M1 @@ -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} + diff --git a/tests/de/step_1/M2 b/tests/de/step_1/M2 index 00b4bca749..bf63e29258 100644 --- a/tests/de/step_1/M2 +++ b/tests/de/step_1/M2 @@ -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} + diff --git a/tests/de/step_1/M3 b/tests/de/step_1/M3 index 82ffdd3574..209c05414e 100644 --- a/tests/de/step_1/M3 +++ b/tests/de/step_1/M3 @@ -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} + diff --git a/tests/de/step_1/M4 b/tests/de/step_1/M4 index 61736515ee..5703b635a1 100644 --- a/tests/de/step_1/M4 +++ b/tests/de/step_1/M4 @@ -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} + diff --git a/tests/de/step_1/M5 b/tests/de/step_1/M5 index 2de88edab8..abe340a7bd 100644 --- a/tests/de/step_1/M5 +++ b/tests/de/step_1/M5 @@ -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} + diff --git a/tests/de/step_1/M6 b/tests/de/step_1/M6 index 7964b05342..63cc8cef5c 100644 --- a/tests/de/step_1/M6 +++ b/tests/de/step_1/M6 @@ -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} + diff --git a/tests/de/step_1/M7 b/tests/de/step_1/M7 index 626d922df6..e754737e7a 100644 --- a/tests/de/step_1/M7 +++ b/tests/de/step_1/M7 @@ -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} + diff --git a/tests/de/step_1/M8 b/tests/de/step_1/M8 index ec671552e0..0c7edef167 100644 --- a/tests/de/step_1/M8 +++ b/tests/de/step_1/M8 @@ -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} + diff --git a/tests/de/step_1/M9 b/tests/de/step_1/M9 index e4fd32cd20..fed12fb444 100644 --- a/tests/de/step_1/M9 +++ b/tests/de/step_1/M9 @@ -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} + diff --git a/tests/de/step_1/N1 b/tests/de/step_1/N1 index 1a59cce4c2..1485f40c0c 100644 --- a/tests/de/step_1/N1 +++ b/tests/de/step_1/N1 @@ -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} + diff --git a/tests/de/step_1/N2 b/tests/de/step_1/N2 index e0746eaeff..9e9bdc5bf3 100644 --- a/tests/de/step_1/N2 +++ b/tests/de/step_1/N2 @@ -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} + diff --git a/tests/de/step_1/N3 b/tests/de/step_1/N3 index 7445478419..28215e19a2 100644 --- a/tests/de/step_1/N3 +++ b/tests/de/step_1/N3 @@ -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} + diff --git a/tests/de/step_1/N4 b/tests/de/step_1/N4 index 91dbb5f5f5..f6b2d2c1b5 100644 --- a/tests/de/step_1/N4 +++ b/tests/de/step_1/N4 @@ -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} + diff --git a/tests/de/step_1/N5 b/tests/de/step_1/N5 index 53bd00430a..72ee9ea43a 100644 --- a/tests/de/step_1/N5 +++ b/tests/de/step_1/N5 @@ -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} + diff --git a/tests/de/step_1/N6 b/tests/de/step_1/N6 index 635bce1d1e..6c88ae022a 100644 --- a/tests/de/step_1/N6 +++ b/tests/de/step_1/N6 @@ -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} + diff --git a/tests/de/step_1/N7 b/tests/de/step_1/N7 index 5009e6969e..dcf572225c 100644 --- a/tests/de/step_1/N7 +++ b/tests/de/step_1/N7 @@ -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} + diff --git a/tests/de/step_1/N8 b/tests/de/step_1/N8 index 9d9ba73701..fe1e7e2879 100644 --- a/tests/de/step_1/N8 +++ b/tests/de/step_1/N8 @@ -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} + diff --git a/tests/de/step_1/N9 b/tests/de/step_1/N9 index 849fdebe3f..b4f9a6e9c3 100644 --- a/tests/de/step_1/N9 +++ b/tests/de/step_1/N9 @@ -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} + diff --git a/tests/de/step_1/O1 b/tests/de/step_1/O1 index cf1107b110..1a85a9da41 100644 --- a/tests/de/step_1/O1 +++ b/tests/de/step_1/O1 @@ -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} + diff --git a/tests/de/step_1/O2 b/tests/de/step_1/O2 index 51adda1d0e..180351fb0f 100644 --- a/tests/de/step_1/O2 +++ b/tests/de/step_1/O2 @@ -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} + diff --git a/tests/de/step_1/O3 b/tests/de/step_1/O3 index 0eba113e5d..3cda6f87f3 100644 --- a/tests/de/step_1/O3 +++ b/tests/de/step_1/O3 @@ -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} + diff --git a/tests/de/step_1/O4 b/tests/de/step_1/O4 index 719d52e4a8..59e3d6e213 100644 --- a/tests/de/step_1/O4 +++ b/tests/de/step_1/O4 @@ -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} + diff --git a/tests/de/step_1/O5 b/tests/de/step_1/O5 index 48dcf978bf..9fa598c2de 100644 --- a/tests/de/step_1/O5 +++ b/tests/de/step_1/O5 @@ -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} + diff --git a/tests/de/step_1/O6 b/tests/de/step_1/O6 index 3c2942deb4..0278a78776 100644 --- a/tests/de/step_1/O6 +++ b/tests/de/step_1/O6 @@ -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} + diff --git a/tests/de/step_1/O7 b/tests/de/step_1/O7 index 88b9b23949..911170bd7c 100644 --- a/tests/de/step_1/O7 +++ b/tests/de/step_1/O7 @@ -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} + diff --git a/tests/de/step_1/O8 b/tests/de/step_1/O8 index 60ae29a322..304de978e1 100644 --- a/tests/de/step_1/O8 +++ b/tests/de/step_1/O8 @@ -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} + diff --git a/tests/de/step_1/O9 b/tests/de/step_1/O9 index 2b876904a4..39245e6d1b 100644 --- a/tests/de/step_1/O9 +++ b/tests/de/step_1/O9 @@ -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} + diff --git a/tests/de/step_1/P1 b/tests/de/step_1/P1 index 52f2233e3c..2d0ef89268 100644 --- a/tests/de/step_1/P1 +++ b/tests/de/step_1/P1 @@ -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} + diff --git a/tests/de/step_1/P2 b/tests/de/step_1/P2 index 0f2e548087..7fe4dbd6a5 100644 --- a/tests/de/step_1/P2 +++ b/tests/de/step_1/P2 @@ -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} + diff --git a/tests/de/step_1/P3 b/tests/de/step_1/P3 index 0a91548f3b..aff006bbbb 100644 --- a/tests/de/step_1/P3 +++ b/tests/de/step_1/P3 @@ -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} + diff --git a/tests/de/step_1/P4 b/tests/de/step_1/P4 index 64f64c74b4..9470466587 100644 --- a/tests/de/step_1/P4 +++ b/tests/de/step_1/P4 @@ -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} + diff --git a/tests/de/step_1/P5 b/tests/de/step_1/P5 index 4e53ce912d..04a08aa39e 100644 --- a/tests/de/step_1/P5 +++ b/tests/de/step_1/P5 @@ -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} + diff --git a/tests/de/step_1/P6 b/tests/de/step_1/P6 index 68e733f4b3..dbb29e3f56 100644 --- a/tests/de/step_1/P6 +++ b/tests/de/step_1/P6 @@ -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} + diff --git a/tests/de/step_1/P7 b/tests/de/step_1/P7 index e7efd79752..d7ade976a3 100644 --- a/tests/de/step_1/P7 +++ b/tests/de/step_1/P7 @@ -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} + diff --git a/tests/de/step_1/P8 b/tests/de/step_1/P8 index 06f51b2f7d..cda54a2608 100644 --- a/tests/de/step_1/P8 +++ b/tests/de/step_1/P8 @@ -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} + diff --git a/tests/de/step_1/P9 b/tests/de/step_1/P9 index 3761d903ae..cb9d0dcef6 100644 --- a/tests/de/step_1/P9 +++ b/tests/de/step_1/P9 @@ -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} + diff --git a/tests/de/step_1/Q1 b/tests/de/step_1/Q1 index 2607c5a809..fcba6c096d 100644 --- a/tests/de/step_1/Q1 +++ b/tests/de/step_1/Q1 @@ -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} + diff --git a/tests/de/step_1/Q2 b/tests/de/step_1/Q2 index c48b8c58f1..cbf3444c6d 100644 --- a/tests/de/step_1/Q2 +++ b/tests/de/step_1/Q2 @@ -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} + diff --git a/tests/de/step_1/Q3 b/tests/de/step_1/Q3 index 588c7a3d1b..ea6d72cb35 100644 --- a/tests/de/step_1/Q3 +++ b/tests/de/step_1/Q3 @@ -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} + diff --git a/tests/de/step_1/Q4 b/tests/de/step_1/Q4 index e95a6f4f85..4a12a30da0 100644 --- a/tests/de/step_1/Q4 +++ b/tests/de/step_1/Q4 @@ -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} + diff --git a/tests/de/step_1/Q5 b/tests/de/step_1/Q5 index 125798d08b..2ef7012642 100644 --- a/tests/de/step_1/Q5 +++ b/tests/de/step_1/Q5 @@ -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} + diff --git a/tests/de/step_1/Q6 b/tests/de/step_1/Q6 index d2fe5ed106..a902fdead7 100644 --- a/tests/de/step_1/Q6 +++ b/tests/de/step_1/Q6 @@ -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} + diff --git a/tests/de/step_1/Q7 b/tests/de/step_1/Q7 index cc623a790d..6b6e1a2f69 100644 --- a/tests/de/step_1/Q7 +++ b/tests/de/step_1/Q7 @@ -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} + diff --git a/tests/de/step_1/Q8 b/tests/de/step_1/Q8 index 0c5c3df531..f448d4d2d6 100644 --- a/tests/de/step_1/Q8 +++ b/tests/de/step_1/Q8 @@ -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} + diff --git a/tests/de/step_1/Q9 b/tests/de/step_1/Q9 index 8e4374b5de..0ab1507aa9 100644 --- a/tests/de/step_1/Q9 +++ b/tests/de/step_1/Q9 @@ -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} + diff --git a/tests/de/step_1/R1 b/tests/de/step_1/R1 index d570d2d3cf..e73d709301 100644 --- a/tests/de/step_1/R1 +++ b/tests/de/step_1/R1 @@ -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} + diff --git a/tests/de/step_1/R2 b/tests/de/step_1/R2 index 30e733ed89..dde562d7f1 100644 --- a/tests/de/step_1/R2 +++ b/tests/de/step_1/R2 @@ -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} + diff --git a/tests/de/step_1/R3 b/tests/de/step_1/R3 index a4c7363353..9dc5daa981 100644 --- a/tests/de/step_1/R3 +++ b/tests/de/step_1/R3 @@ -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} + diff --git a/tests/de/step_1/R4 b/tests/de/step_1/R4 index 1ae1bd1a3a..38c8e3a7d9 100644 --- a/tests/de/step_1/R4 +++ b/tests/de/step_1/R4 @@ -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} + diff --git a/tests/de/step_1/R5 b/tests/de/step_1/R5 index bb3fbea319..4efc3ad27e 100644 --- a/tests/de/step_1/R5 +++ b/tests/de/step_1/R5 @@ -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} + diff --git a/tests/de/step_1/R6 b/tests/de/step_1/R6 index 4a9e9e7899..0b878f460b 100644 --- a/tests/de/step_1/R6 +++ b/tests/de/step_1/R6 @@ -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} + diff --git a/tests/de/step_1/R7 b/tests/de/step_1/R7 index 409a979cfd..1e3b179817 100644 --- a/tests/de/step_1/R7 +++ b/tests/de/step_1/R7 @@ -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} + diff --git a/tests/de/step_1/R8 b/tests/de/step_1/R8 index 336a36c14c..7bd4272db0 100644 --- a/tests/de/step_1/R8 +++ b/tests/de/step_1/R8 @@ -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} + diff --git a/tests/de/step_1/R9 b/tests/de/step_1/R9 index 1b547c2fe2..0f0a4efa8e 100644 --- a/tests/de/step_1/R9 +++ b/tests/de/step_1/R9 @@ -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} + diff --git a/tests/de/step_1/S1 b/tests/de/step_1/S1 index 3d3d534037..ef0b122c7e 100644 --- a/tests/de/step_1/S1 +++ b/tests/de/step_1/S1 @@ -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} + diff --git a/tests/de/step_1/S2 b/tests/de/step_1/S2 index b1d8795f6b..4f2bc0b79f 100644 --- a/tests/de/step_1/S2 +++ b/tests/de/step_1/S2 @@ -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} + diff --git a/tests/de/step_1/S3 b/tests/de/step_1/S3 index e9fdb08601..44f48b57a6 100644 --- a/tests/de/step_1/S3 +++ b/tests/de/step_1/S3 @@ -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} + diff --git a/tests/de/step_1/S4 b/tests/de/step_1/S4 index 4bd9489d94..a2ec5760fa 100644 --- a/tests/de/step_1/S4 +++ b/tests/de/step_1/S4 @@ -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} + diff --git a/tests/de/step_1/S5 b/tests/de/step_1/S5 index d54a933e4c..4d2edea1aa 100644 --- a/tests/de/step_1/S5 +++ b/tests/de/step_1/S5 @@ -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} + diff --git a/tests/de/step_1/S6 b/tests/de/step_1/S6 index 4a97cebc24..a277556859 100644 --- a/tests/de/step_1/S6 +++ b/tests/de/step_1/S6 @@ -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} + diff --git a/tests/de/step_1/S7 b/tests/de/step_1/S7 index e76b7f9165..a554037e14 100644 --- a/tests/de/step_1/S7 +++ b/tests/de/step_1/S7 @@ -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} + diff --git a/tests/de/step_1/S8 b/tests/de/step_1/S8 index 8857fc5bc2..119759ccbe 100644 --- a/tests/de/step_1/S8 +++ b/tests/de/step_1/S8 @@ -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} + diff --git a/tests/de/step_1/S9 b/tests/de/step_1/S9 index e5bfd55ef2..b11a4003c9 100644 --- a/tests/de/step_1/S9 +++ b/tests/de/step_1/S9 @@ -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} + diff --git a/tests/de/step_1/T1 b/tests/de/step_1/T1 index e6c9f2af96..174a3997ce 100644 --- a/tests/de/step_1/T1 +++ b/tests/de/step_1/T1 @@ -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} + diff --git a/tests/de/step_1/T2 b/tests/de/step_1/T2 index cfb7cc0856..7c91a4fc66 100644 --- a/tests/de/step_1/T2 +++ b/tests/de/step_1/T2 @@ -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} + diff --git a/tests/de/step_1/T3 b/tests/de/step_1/T3 index 0d048aabec..9f5de2584f 100644 --- a/tests/de/step_1/T3 +++ b/tests/de/step_1/T3 @@ -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} + diff --git a/tests/de/step_1/T4 b/tests/de/step_1/T4 index 49740c4b27..f1b2a95279 100644 --- a/tests/de/step_1/T4 +++ b/tests/de/step_1/T4 @@ -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} + diff --git a/tests/de/step_1/T5 b/tests/de/step_1/T5 index ef71195142..56d14a47ab 100644 --- a/tests/de/step_1/T5 +++ b/tests/de/step_1/T5 @@ -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} + diff --git a/tests/de/step_1/T6 b/tests/de/step_1/T6 index e069c0bde2..fb9ef9cbf2 100644 --- a/tests/de/step_1/T6 +++ b/tests/de/step_1/T6 @@ -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} + diff --git a/tests/de/step_1/T7 b/tests/de/step_1/T7 index 8d5fc180a4..b816d5316b 100644 --- a/tests/de/step_1/T7 +++ b/tests/de/step_1/T7 @@ -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} + diff --git a/tests/de/step_1/T8 b/tests/de/step_1/T8 index fd42f06027..7758358059 100644 --- a/tests/de/step_1/T8 +++ b/tests/de/step_1/T8 @@ -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} + diff --git a/tests/de/step_1/T9 b/tests/de/step_1/T9 index fa2120aced..239cdfab99 100644 --- a/tests/de/step_1/T9 +++ b/tests/de/step_1/T9 @@ -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} + diff --git a/tests/de/step_1/U1 b/tests/de/step_1/U1 index d86b9f69f0..8753ec234b 100644 --- a/tests/de/step_1/U1 +++ b/tests/de/step_1/U1 @@ -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} + diff --git a/tests/de/step_1/U2 b/tests/de/step_1/U2 index e5a294fb12..af25661eb8 100644 --- a/tests/de/step_1/U2 +++ b/tests/de/step_1/U2 @@ -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} + diff --git a/tests/de/step_1/U3 b/tests/de/step_1/U3 index d6fb4f51c8..1a1a9b947d 100644 --- a/tests/de/step_1/U3 +++ b/tests/de/step_1/U3 @@ -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} + diff --git a/tests/de/step_1/U4 b/tests/de/step_1/U4 index 324ddad7a9..214cc1fa84 100644 --- a/tests/de/step_1/U4 +++ b/tests/de/step_1/U4 @@ -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} + diff --git a/tests/de/step_1/U5 b/tests/de/step_1/U5 index 28b6fcfbc5..0309c0510b 100644 --- a/tests/de/step_1/U5 +++ b/tests/de/step_1/U5 @@ -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} + diff --git a/tests/de/step_1/U6 b/tests/de/step_1/U6 index d776b33228..7e4d51cf6a 100644 --- a/tests/de/step_1/U6 +++ b/tests/de/step_1/U6 @@ -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} + diff --git a/tests/de/step_1/U7 b/tests/de/step_1/U7 index 24d091a533..b7e75d580e 100644 --- a/tests/de/step_1/U7 +++ b/tests/de/step_1/U7 @@ -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} + diff --git a/tests/de/step_1/U8 b/tests/de/step_1/U8 index c4ae87f60b..3f6df33227 100644 --- a/tests/de/step_1/U8 +++ b/tests/de/step_1/U8 @@ -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} + diff --git a/tests/de/step_1/U9 b/tests/de/step_1/U9 index b5563c4ed8..0e3e46e815 100644 --- a/tests/de/step_1/U9 +++ b/tests/de/step_1/U9 @@ -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} + diff --git a/tests/de/step_1/V1 b/tests/de/step_1/V1 index 309de73abf..4cb12ccfec 100644 --- a/tests/de/step_1/V1 +++ b/tests/de/step_1/V1 @@ -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} + diff --git a/tests/de/step_1/V2 b/tests/de/step_1/V2 index 17ca7c74c1..29d93d141e 100644 --- a/tests/de/step_1/V2 +++ b/tests/de/step_1/V2 @@ -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} + diff --git a/tests/de/step_1/V3 b/tests/de/step_1/V3 index 164703f064..f23395f137 100644 --- a/tests/de/step_1/V3 +++ b/tests/de/step_1/V3 @@ -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} + diff --git a/tests/de/step_1/V4 b/tests/de/step_1/V4 index 76cded3421..be8bda939b 100644 --- a/tests/de/step_1/V4 +++ b/tests/de/step_1/V4 @@ -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} + diff --git a/tests/de/step_1/V5 b/tests/de/step_1/V5 index b31700f434..d11f664d62 100644 --- a/tests/de/step_1/V5 +++ b/tests/de/step_1/V5 @@ -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} + diff --git a/tests/de/step_1/V6 b/tests/de/step_1/V6 index be524ac63b..e2cad70202 100644 --- a/tests/de/step_1/V6 +++ b/tests/de/step_1/V6 @@ -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} + diff --git a/tests/de/step_1/V7 b/tests/de/step_1/V7 index 9cb59b6e45..dff038fbf7 100644 --- a/tests/de/step_1/V7 +++ b/tests/de/step_1/V7 @@ -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} + diff --git a/tests/de/step_1/V8 b/tests/de/step_1/V8 index e3a8cede25..44761e1514 100644 --- a/tests/de/step_1/V8 +++ b/tests/de/step_1/V8 @@ -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} + diff --git a/tests/de/step_1/V9 b/tests/de/step_1/V9 index 0d522c05f9..209e99fa2b 100644 --- a/tests/de/step_1/V9 +++ b/tests/de/step_1/V9 @@ -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} + diff --git a/tests/de/step_1/W1 b/tests/de/step_1/W1 index 0248fae945..220f57bb71 100644 --- a/tests/de/step_1/W1 +++ b/tests/de/step_1/W1 @@ -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} + diff --git a/tests/de/step_1/W2 b/tests/de/step_1/W2 index d9ab370d38..c1665c9854 100644 --- a/tests/de/step_1/W2 +++ b/tests/de/step_1/W2 @@ -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} + diff --git a/tests/de/step_1/W3 b/tests/de/step_1/W3 index 7348a62e65..7d1fe76b5b 100644 --- a/tests/de/step_1/W3 +++ b/tests/de/step_1/W3 @@ -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} + diff --git a/tests/de/step_1/W4 b/tests/de/step_1/W4 index aa11245a79..d6381c0271 100644 --- a/tests/de/step_1/W4 +++ b/tests/de/step_1/W4 @@ -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} + diff --git a/tests/de/step_1/W5 b/tests/de/step_1/W5 index 0f1150dceb..6bd48da136 100644 --- a/tests/de/step_1/W5 +++ b/tests/de/step_1/W5 @@ -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} + diff --git a/tests/de/step_1/W6 b/tests/de/step_1/W6 index 741e2500ec..1ac6570196 100644 --- a/tests/de/step_1/W6 +++ b/tests/de/step_1/W6 @@ -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} + diff --git a/tests/de/step_1/W7 b/tests/de/step_1/W7 index 280d5097cc..1610e37594 100644 --- a/tests/de/step_1/W7 +++ b/tests/de/step_1/W7 @@ -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} + diff --git a/tests/de/step_1/W8 b/tests/de/step_1/W8 index c1f3606399..e1a456508c 100644 --- a/tests/de/step_1/W8 +++ b/tests/de/step_1/W8 @@ -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} + diff --git a/tests/de/step_1/W9 b/tests/de/step_1/W9 index 958b53b617..56c96a7db4 100644 --- a/tests/de/step_1/W9 +++ b/tests/de/step_1/W9 @@ -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} + diff --git a/tests/de/step_1/X1 b/tests/de/step_1/X1 index afb74d04a4..a2acb8988e 100644 --- a/tests/de/step_1/X1 +++ b/tests/de/step_1/X1 @@ -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} + diff --git a/tests/de/step_1/X2 b/tests/de/step_1/X2 index 7758e6b3fd..ddf807f801 100644 --- a/tests/de/step_1/X2 +++ b/tests/de/step_1/X2 @@ -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} + diff --git a/tests/de/step_1/X3 b/tests/de/step_1/X3 index e2895a6657..5b389a3c68 100644 --- a/tests/de/step_1/X3 +++ b/tests/de/step_1/X3 @@ -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} + diff --git a/tests/de/step_1/X4 b/tests/de/step_1/X4 index eb5c10a306..6cb51c05d0 100644 --- a/tests/de/step_1/X4 +++ b/tests/de/step_1/X4 @@ -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} + diff --git a/tests/de/step_1/X5 b/tests/de/step_1/X5 index 211f0d56be..42782d8273 100644 --- a/tests/de/step_1/X5 +++ b/tests/de/step_1/X5 @@ -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} + diff --git a/tests/de/step_1/X6 b/tests/de/step_1/X6 index 4ec316cbed..82e2ad9d2b 100644 --- a/tests/de/step_1/X6 +++ b/tests/de/step_1/X6 @@ -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} + diff --git a/tests/de/step_1/X7 b/tests/de/step_1/X7 index d3898b55fa..7711eb9cc1 100644 --- a/tests/de/step_1/X7 +++ b/tests/de/step_1/X7 @@ -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} + diff --git a/tests/de/step_1/X8 b/tests/de/step_1/X8 index eacbee73ad..1bdf07f038 100644 --- a/tests/de/step_1/X8 +++ b/tests/de/step_1/X8 @@ -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} + diff --git a/tests/de/step_1/X9 b/tests/de/step_1/X9 index 6d05cd0cc3..5cc2eceaac 100644 --- a/tests/de/step_1/X9 +++ b/tests/de/step_1/X9 @@ -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} + diff --git a/tests/de/step_1/Y1 b/tests/de/step_1/Y1 index 20f581962b..77d133e6a9 100644 --- a/tests/de/step_1/Y1 +++ b/tests/de/step_1/Y1 @@ -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} + diff --git a/tests/de/step_1/Y2 b/tests/de/step_1/Y2 index 47189c421f..296d191762 100644 --- a/tests/de/step_1/Y2 +++ b/tests/de/step_1/Y2 @@ -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} + diff --git a/tests/de/step_1/Y3 b/tests/de/step_1/Y3 index dfe2688d87..d9088926fb 100644 --- a/tests/de/step_1/Y3 +++ b/tests/de/step_1/Y3 @@ -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} + diff --git a/tests/de/step_1/Y4 b/tests/de/step_1/Y4 index c3b986817c..25a917b983 100644 --- a/tests/de/step_1/Y4 +++ b/tests/de/step_1/Y4 @@ -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} + diff --git a/tests/de/step_1/Y5 b/tests/de/step_1/Y5 index af66f6f4be..362c93ddf3 100644 --- a/tests/de/step_1/Y5 +++ b/tests/de/step_1/Y5 @@ -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} + diff --git a/tests/de/step_1/Y6 b/tests/de/step_1/Y6 index 8ee0b48de4..0893fe737a 100644 --- a/tests/de/step_1/Y6 +++ b/tests/de/step_1/Y6 @@ -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} + diff --git a/tests/de/step_1/Y7 b/tests/de/step_1/Y7 index 4ca8901957..34a07711d8 100644 --- a/tests/de/step_1/Y7 +++ b/tests/de/step_1/Y7 @@ -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} + diff --git a/tests/de/step_1/Y8 b/tests/de/step_1/Y8 index 8c95344af5..9fd3f4c41b 100644 --- a/tests/de/step_1/Y8 +++ b/tests/de/step_1/Y8 @@ -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} + diff --git a/tests/de/step_1/Y9 b/tests/de/step_1/Y9 index 9cb1ca9a23..3d53855dd4 100644 --- a/tests/de/step_1/Y9 +++ b/tests/de/step_1/Y9 @@ -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} + diff --git a/tests/de/step_1/Z1 b/tests/de/step_1/Z1 index c7111322f4..cf411dc19f 100644 --- a/tests/de/step_1/Z1 +++ b/tests/de/step_1/Z1 @@ -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} + diff --git a/tests/de/step_1/Z2 b/tests/de/step_1/Z2 index f3c937837a..645b24d370 100644 --- a/tests/de/step_1/Z2 +++ b/tests/de/step_1/Z2 @@ -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} + diff --git a/tests/de/step_1/Z3 b/tests/de/step_1/Z3 index c4b5ff2190..ba9a48c0a3 100644 --- a/tests/de/step_1/Z3 +++ b/tests/de/step_1/Z3 @@ -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} + diff --git a/tests/de/step_1/Z4 b/tests/de/step_1/Z4 index e30754dc69..48ef9ada90 100644 --- a/tests/de/step_1/Z4 +++ b/tests/de/step_1/Z4 @@ -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} + diff --git a/tests/de/step_1/Z5 b/tests/de/step_1/Z5 index 8d696691e6..e58a29cecb 100644 --- a/tests/de/step_1/Z5 +++ b/tests/de/step_1/Z5 @@ -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} + diff --git a/tests/de/step_1/Z6 b/tests/de/step_1/Z6 index 7b94bda28d..734aa1ea0e 100644 --- a/tests/de/step_1/Z6 +++ b/tests/de/step_1/Z6 @@ -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} + diff --git a/tests/de/step_1/Z7 b/tests/de/step_1/Z7 index 31ec0bee4e..3e37e04e51 100644 --- a/tests/de/step_1/Z7 +++ b/tests/de/step_1/Z7 @@ -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} + diff --git a/tests/de/step_1/Z8 b/tests/de/step_1/Z8 index 75f484be1b..f3b373ce5b 100644 --- a/tests/de/step_1/Z8 +++ b/tests/de/step_1/Z8 @@ -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} + diff --git a/tests/de/step_1/Z9 b/tests/de/step_1/Z9 index 1d120dbf8b..8043a58f5a 100644 --- a/tests/de/step_1/Z9 +++ b/tests/de/step_1/Z9 @@ -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} + diff --git a/tests/de/step_1/ZA1 b/tests/de/step_1/ZA1 index 65a1c69ead..b95afa218f 100644 --- a/tests/de/step_1/ZA1 +++ b/tests/de/step_1/ZA1 @@ -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} + diff --git a/tests/de/step_1/ZA2 b/tests/de/step_1/ZA2 index 7ed4869296..dc6a0b49f5 100644 --- a/tests/de/step_1/ZA2 +++ b/tests/de/step_1/ZA2 @@ -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} + diff --git a/tests/de/step_1/ZA3 b/tests/de/step_1/ZA3 index 7c3a1a1c47..c9003b71fa 100644 --- a/tests/de/step_1/ZA3 +++ b/tests/de/step_1/ZA3 @@ -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} + diff --git a/tests/de/step_1/ZA4 b/tests/de/step_1/ZA4 index 4b6783440c..1a5b47df90 100644 --- a/tests/de/step_1/ZA4 +++ b/tests/de/step_1/ZA4 @@ -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} + diff --git a/tests/de/step_1/ZA5 b/tests/de/step_1/ZA5 index c9f3bd321c..f5e6f25636 100644 --- a/tests/de/step_1/ZA5 +++ b/tests/de/step_1/ZA5 @@ -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} + diff --git a/tests/de/step_1/ZA6 b/tests/de/step_1/ZA6 index cdb3fc600b..6fb3d4e608 100644 --- a/tests/de/step_1/ZA6 +++ b/tests/de/step_1/ZA6 @@ -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} + diff --git a/tests/de/step_1/ZA7 b/tests/de/step_1/ZA7 index 8ff2c3741e..55262fbc16 100644 --- a/tests/de/step_1/ZA7 +++ b/tests/de/step_1/ZA7 @@ -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} + diff --git a/tests/de/step_1/ZA8 b/tests/de/step_1/ZA8 index 21959e3f7b..512b79519f 100644 --- a/tests/de/step_1/ZA8 +++ b/tests/de/step_1/ZA8 @@ -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} + diff --git a/tests/de/step_1/ZA9 b/tests/de/step_1/ZA9 index 11a7b61665..a1d447290c 100644 --- a/tests/de/step_1/ZA9 +++ b/tests/de/step_1/ZA9 @@ -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} + diff --git a/tests/de/step_1/ZB1 b/tests/de/step_1/ZB1 index 1665f6f9a6..789cfaaf41 100644 --- a/tests/de/step_1/ZB1 +++ b/tests/de/step_1/ZB1 @@ -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} + diff --git a/tests/de/step_1/ZB2 b/tests/de/step_1/ZB2 index 37a0f5df99..9a3db61561 100644 --- a/tests/de/step_1/ZB2 +++ b/tests/de/step_1/ZB2 @@ -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} + diff --git a/tests/de/step_1/ZB3 b/tests/de/step_1/ZB3 index 07ba27468e..22bc34161e 100644 --- a/tests/de/step_1/ZB3 +++ b/tests/de/step_1/ZB3 @@ -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} + diff --git a/tests/de/step_1/ZB4 b/tests/de/step_1/ZB4 index ad5dbb27dd..2adf3d4767 100644 --- a/tests/de/step_1/ZB4 +++ b/tests/de/step_1/ZB4 @@ -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} + diff --git a/tests/de/step_1/ZB5 b/tests/de/step_1/ZB5 index 89c3c0233c..7f8d3e60bb 100644 --- a/tests/de/step_1/ZB5 +++ b/tests/de/step_1/ZB5 @@ -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} + diff --git a/tests/de/step_1/ZB6 b/tests/de/step_1/ZB6 index 34fd324164..a62a952a18 100644 --- a/tests/de/step_1/ZB6 +++ b/tests/de/step_1/ZB6 @@ -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} + diff --git a/tests/de/step_1/ZB7 b/tests/de/step_1/ZB7 index e0e9fc961a..4ce635e6f5 100644 --- a/tests/de/step_1/ZB7 +++ b/tests/de/step_1/ZB7 @@ -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} + diff --git a/tests/de/step_1/ZB8 b/tests/de/step_1/ZB8 index c4c4242076..daf37f0495 100644 --- a/tests/de/step_1/ZB8 +++ b/tests/de/step_1/ZB8 @@ -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} + diff --git a/tests/de/step_1/ZB9 b/tests/de/step_1/ZB9 index 6e9190b00d..3d36f4f0e0 100644 --- a/tests/de/step_1/ZB9 +++ b/tests/de/step_1/ZB9 @@ -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} + diff --git a/tests/de/step_1/ZC1 b/tests/de/step_1/ZC1 index d51978c2a5..2c4f773495 100644 --- a/tests/de/step_1/ZC1 +++ b/tests/de/step_1/ZC1 @@ -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} + diff --git a/tests/de/step_1/ZC2 b/tests/de/step_1/ZC2 index b60fbadf24..743d675b33 100644 --- a/tests/de/step_1/ZC2 +++ b/tests/de/step_1/ZC2 @@ -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} + diff --git a/tests/de/step_1/ZC3 b/tests/de/step_1/ZC3 index a5e6ea93b6..95a00406e8 100644 --- a/tests/de/step_1/ZC3 +++ b/tests/de/step_1/ZC3 @@ -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} + diff --git a/tests/de/step_1/ZC4 b/tests/de/step_1/ZC4 index fc616e9dd2..73cd160795 100644 --- a/tests/de/step_1/ZC4 +++ b/tests/de/step_1/ZC4 @@ -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} + diff --git a/tests/de/step_1/ZC5 b/tests/de/step_1/ZC5 index a732e832c3..71bb247b99 100644 --- a/tests/de/step_1/ZC5 +++ b/tests/de/step_1/ZC5 @@ -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} + diff --git a/tests/de/step_1/ZC6 b/tests/de/step_1/ZC6 index e70bee1c40..409b608405 100644 --- a/tests/de/step_1/ZC6 +++ b/tests/de/step_1/ZC6 @@ -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} + diff --git a/tests/de/step_1/ZC7 b/tests/de/step_1/ZC7 index 6ec5cd9dfb..bd2fe57ecd 100644 --- a/tests/de/step_1/ZC7 +++ b/tests/de/step_1/ZC7 @@ -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} + diff --git a/tests/de/step_1/ZC8 b/tests/de/step_1/ZC8 index 2f44121f20..dc6c7d65ad 100644 --- a/tests/de/step_1/ZC8 +++ b/tests/de/step_1/ZC8 @@ -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} + diff --git a/tests/de/step_1/ZC9 b/tests/de/step_1/ZC9 index 9a4d280c82..f921f341da 100644 --- a/tests/de/step_1/ZC9 +++ b/tests/de/step_1/ZC9 @@ -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} + diff --git a/tests/de/step_1/ZD1 b/tests/de/step_1/ZD1 index 68fb33d823..c3f8d77f74 100644 --- a/tests/de/step_1/ZD1 +++ b/tests/de/step_1/ZD1 @@ -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} + diff --git a/tests/de/step_1/ZD2 b/tests/de/step_1/ZD2 index 12eed808e6..1cd670b460 100644 --- a/tests/de/step_1/ZD2 +++ b/tests/de/step_1/ZD2 @@ -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} + diff --git a/tests/de/step_1/ZD3 b/tests/de/step_1/ZD3 index 07acc8930d..093c1d55f8 100644 --- a/tests/de/step_1/ZD3 +++ b/tests/de/step_1/ZD3 @@ -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} + diff --git a/tests/de/step_1/ZD4 b/tests/de/step_1/ZD4 index 623beade97..63c4e0b1cd 100644 --- a/tests/de/step_1/ZD4 +++ b/tests/de/step_1/ZD4 @@ -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} + diff --git a/tests/de/step_1/ZD5 b/tests/de/step_1/ZD5 index 04e38917c4..4436b8dc83 100644 --- a/tests/de/step_1/ZD5 +++ b/tests/de/step_1/ZD5 @@ -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} + diff --git a/tests/de/step_1/ZD6 b/tests/de/step_1/ZD6 index f6d27c39e1..248b09958e 100644 --- a/tests/de/step_1/ZD6 +++ b/tests/de/step_1/ZD6 @@ -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} + diff --git a/tests/de/step_1/ZD7 b/tests/de/step_1/ZD7 index 8fcf6cb362..382896607a 100644 --- a/tests/de/step_1/ZD7 +++ b/tests/de/step_1/ZD7 @@ -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} + diff --git a/tests/de/step_1/ZD8 b/tests/de/step_1/ZD8 index cc766c0c6d..fdd4a8b0ed 100644 --- a/tests/de/step_1/ZD8 +++ b/tests/de/step_1/ZD8 @@ -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} + diff --git a/tests/de/step_1/ZD9 b/tests/de/step_1/ZD9 index f3c484aa07..6510e4738d 100644 --- a/tests/de/step_1/ZD9 +++ b/tests/de/step_1/ZD9 @@ -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} + diff --git a/tests/de/step_1/ZE1 b/tests/de/step_1/ZE1 index cab7c6673c..bdd60b2804 100644 --- a/tests/de/step_1/ZE1 +++ b/tests/de/step_1/ZE1 @@ -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} + diff --git a/tests/de/step_1/ZE2 b/tests/de/step_1/ZE2 index 28ebec816d..3336ee3f92 100644 --- a/tests/de/step_1/ZE2 +++ b/tests/de/step_1/ZE2 @@ -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} + diff --git a/tests/de/step_1/ZE3 b/tests/de/step_1/ZE3 index d55bc4f6c2..eb50f9342f 100644 --- a/tests/de/step_1/ZE3 +++ b/tests/de/step_1/ZE3 @@ -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} + diff --git a/tests/de/step_1/ZE4 b/tests/de/step_1/ZE4 index c0941e9d17..4ef914dab6 100644 --- a/tests/de/step_1/ZE4 +++ b/tests/de/step_1/ZE4 @@ -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} + diff --git a/tests/de/step_1/ZE5 b/tests/de/step_1/ZE5 index 50a4071582..215c614409 100644 --- a/tests/de/step_1/ZE5 +++ b/tests/de/step_1/ZE5 @@ -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} + diff --git a/tests/de/step_1/ZE6 b/tests/de/step_1/ZE6 index 249ef3f3ce..04b628bbcf 100644 --- a/tests/de/step_1/ZE6 +++ b/tests/de/step_1/ZE6 @@ -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} + diff --git a/tests/de/step_1/ZE7 b/tests/de/step_1/ZE7 index a2d09d67c9..668ccb679d 100644 --- a/tests/de/step_1/ZE7 +++ b/tests/de/step_1/ZE7 @@ -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} + diff --git a/tests/de/step_1/ZE8 b/tests/de/step_1/ZE8 index 3ddfeaf1d4..5d5b69ccac 100644 --- a/tests/de/step_1/ZE8 +++ b/tests/de/step_1/ZE8 @@ -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} + diff --git a/tests/de/step_1/ZE9 b/tests/de/step_1/ZE9 index 17f0fba568..11dfe7b61e 100644 --- a/tests/de/step_1/ZE9 +++ b/tests/de/step_1/ZE9 @@ -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} + diff --git a/tests/de/step_1/ZF1 b/tests/de/step_1/ZF1 index 29e9fdd7aa..3c176d446d 100644 --- a/tests/de/step_1/ZF1 +++ b/tests/de/step_1/ZF1 @@ -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} + diff --git a/tests/de/step_1/ZF2 b/tests/de/step_1/ZF2 index 0e3302d01e..939a33ecb3 100644 --- a/tests/de/step_1/ZF2 +++ b/tests/de/step_1/ZF2 @@ -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} + diff --git a/tests/de/step_1/ZF3 b/tests/de/step_1/ZF3 index d18114081b..60394f8289 100644 --- a/tests/de/step_1/ZF3 +++ b/tests/de/step_1/ZF3 @@ -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} + diff --git a/tests/de/step_1/ZF4 b/tests/de/step_1/ZF4 index 84896c2552..8ca0d75bd0 100644 --- a/tests/de/step_1/ZF4 +++ b/tests/de/step_1/ZF4 @@ -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} + diff --git a/tests/de/step_1/ZF5 b/tests/de/step_1/ZF5 index ba66b1e36d..f9c4480796 100644 --- a/tests/de/step_1/ZF5 +++ b/tests/de/step_1/ZF5 @@ -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} + diff --git a/tests/de/step_1/ZF6 b/tests/de/step_1/ZF6 index 0e6e06b7df..13bfa628a9 100644 --- a/tests/de/step_1/ZF6 +++ b/tests/de/step_1/ZF6 @@ -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} + diff --git a/tests/de/step_1/ZF7 b/tests/de/step_1/ZF7 index e5621339bb..20d07f1c95 100644 --- a/tests/de/step_1/ZF7 +++ b/tests/de/step_1/ZF7 @@ -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} + diff --git a/tests/de/step_1/ZF8 b/tests/de/step_1/ZF8 index fd775bded6..71b0a56a82 100644 --- a/tests/de/step_1/ZF8 +++ b/tests/de/step_1/ZF8 @@ -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} + diff --git a/tests/de/step_1/ZF9 b/tests/de/step_1/ZF9 index 6584ce8f3b..93f5372c2f 100644 --- a/tests/de/step_1/ZF9 +++ b/tests/de/step_1/ZF9 @@ -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} + diff --git a/tests/de/step_1/ZG1 b/tests/de/step_1/ZG1 index 9bf86887a8..81e452ae35 100644 --- a/tests/de/step_1/ZG1 +++ b/tests/de/step_1/ZG1 @@ -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} + diff --git a/tests/de/step_1/ZG2 b/tests/de/step_1/ZG2 index d489bc3809..4b845e8703 100644 --- a/tests/de/step_1/ZG2 +++ b/tests/de/step_1/ZG2 @@ -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} + diff --git a/tests/de/step_1/ZG3 b/tests/de/step_1/ZG3 index ea7e3ca10d..9422614872 100644 --- a/tests/de/step_1/ZG3 +++ b/tests/de/step_1/ZG3 @@ -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} + diff --git a/tests/de/step_1/ZG4 b/tests/de/step_1/ZG4 index 9f42891b2b..1e0b13e87d 100644 --- a/tests/de/step_1/ZG4 +++ b/tests/de/step_1/ZG4 @@ -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} + diff --git a/tests/de/step_1/ZG5 b/tests/de/step_1/ZG5 index d2a7de0d84..007681cafe 100644 --- a/tests/de/step_1/ZG5 +++ b/tests/de/step_1/ZG5 @@ -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} + diff --git a/tests/de/step_1/ZG6 b/tests/de/step_1/ZG6 index 8db8fa70da..d6af28de90 100644 --- a/tests/de/step_1/ZG6 +++ b/tests/de/step_1/ZG6 @@ -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} + diff --git a/tests/de/step_1/ZG7 b/tests/de/step_1/ZG7 index 3fd39de730..77ce8ce446 100644 --- a/tests/de/step_1/ZG7 +++ b/tests/de/step_1/ZG7 @@ -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} + diff --git a/tests/de/step_1/ZG8 b/tests/de/step_1/ZG8 index 9a236e3982..6f52184261 100644 --- a/tests/de/step_1/ZG8 +++ b/tests/de/step_1/ZG8 @@ -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} + diff --git a/tests/de/step_1/ZG9 b/tests/de/step_1/ZG9 index 8196705450..850582a554 100644 --- a/tests/de/step_1/ZG9 +++ b/tests/de/step_1/ZG9 @@ -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} + diff --git a/tests/de/step_1/ZH1 b/tests/de/step_1/ZH1 index c80919a656..bd45cb8d19 100644 --- a/tests/de/step_1/ZH1 +++ b/tests/de/step_1/ZH1 @@ -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} + diff --git a/tests/de/step_1/ZH2 b/tests/de/step_1/ZH2 index aaf1a457c0..3d04633cf2 100644 --- a/tests/de/step_1/ZH2 +++ b/tests/de/step_1/ZH2 @@ -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} + diff --git a/tests/de/step_1/ZH3 b/tests/de/step_1/ZH3 index 4d07aa2910..e19aa9790d 100644 --- a/tests/de/step_1/ZH3 +++ b/tests/de/step_1/ZH3 @@ -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} + diff --git a/tests/de/step_1/ZH4 b/tests/de/step_1/ZH4 index 04f42c6d5d..fe6ef82aa1 100644 --- a/tests/de/step_1/ZH4 +++ b/tests/de/step_1/ZH4 @@ -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} + diff --git a/tests/de/step_1/ZH5 b/tests/de/step_1/ZH5 index 5ae91ecd62..9efb52feb7 100644 --- a/tests/de/step_1/ZH5 +++ b/tests/de/step_1/ZH5 @@ -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} + diff --git a/tests/de/step_1/ZH6 b/tests/de/step_1/ZH6 index d9e41212b8..ef242dac8d 100644 --- a/tests/de/step_1/ZH6 +++ b/tests/de/step_1/ZH6 @@ -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} + diff --git a/tests/de/step_1/ZH7 b/tests/de/step_1/ZH7 index e935dcf799..15adbfe8cc 100644 --- a/tests/de/step_1/ZH7 +++ b/tests/de/step_1/ZH7 @@ -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} + diff --git a/tests/de/step_1/ZH8 b/tests/de/step_1/ZH8 index 25670f6d69..c523d3c76e 100644 --- a/tests/de/step_1/ZH8 +++ b/tests/de/step_1/ZH8 @@ -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} + diff --git a/tests/de/step_1/ZH9 b/tests/de/step_1/ZH9 index 26cf8b9635..501c53da09 100644 --- a/tests/de/step_1/ZH9 +++ b/tests/de/step_1/ZH9 @@ -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} + diff --git a/tests/de/step_1/ZI1 b/tests/de/step_1/ZI1 index fc852f2343..87b97287ec 100644 --- a/tests/de/step_1/ZI1 +++ b/tests/de/step_1/ZI1 @@ -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} + diff --git a/tests/de/step_1/ZI2 b/tests/de/step_1/ZI2 index 9090f06fe2..d9e226b9b7 100644 --- a/tests/de/step_1/ZI2 +++ b/tests/de/step_1/ZI2 @@ -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} + diff --git a/tests/de/step_1/ZI3 b/tests/de/step_1/ZI3 index 84c338b3de..b606f17ca5 100644 --- a/tests/de/step_1/ZI3 +++ b/tests/de/step_1/ZI3 @@ -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} + diff --git a/tests/de/step_1/ZI4 b/tests/de/step_1/ZI4 index 5205dfdb3b..5e20872339 100644 --- a/tests/de/step_1/ZI4 +++ b/tests/de/step_1/ZI4 @@ -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} + diff --git a/tests/de/step_1/ZI5 b/tests/de/step_1/ZI5 index 960a54a708..682a317a33 100644 --- a/tests/de/step_1/ZI5 +++ b/tests/de/step_1/ZI5 @@ -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} + diff --git a/tests/de/step_1/ZI6 b/tests/de/step_1/ZI6 index 0b71e16f28..3094c03176 100644 --- a/tests/de/step_1/ZI6 +++ b/tests/de/step_1/ZI6 @@ -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} + diff --git a/tests/de/step_1/ZI7 b/tests/de/step_1/ZI7 index 131ad3924e..babceab83d 100644 --- a/tests/de/step_1/ZI7 +++ b/tests/de/step_1/ZI7 @@ -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} + diff --git a/tests/de/step_1/ZI8 b/tests/de/step_1/ZI8 index 4898338ce3..57feaf99bd 100644 --- a/tests/de/step_1/ZI8 +++ b/tests/de/step_1/ZI8 @@ -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} + diff --git a/tests/de/step_1/ZI9 b/tests/de/step_1/ZI9 index 217dd0f97b..2a15d62015 100644 --- a/tests/de/step_1/ZI9 +++ b/tests/de/step_1/ZI9 @@ -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} + diff --git a/tests/de/step_1/ZJ1 b/tests/de/step_1/ZJ1 index f4302f11e1..f6a557a190 100644 --- a/tests/de/step_1/ZJ1 +++ b/tests/de/step_1/ZJ1 @@ -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} + diff --git a/tests/de/step_1/ZJ2 b/tests/de/step_1/ZJ2 index 5b7dfb8f19..9ef4f790b5 100644 --- a/tests/de/step_1/ZJ2 +++ b/tests/de/step_1/ZJ2 @@ -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} + diff --git a/tests/de/step_1/ZJ3 b/tests/de/step_1/ZJ3 index f4ddbe93ce..09d3d739f9 100644 --- a/tests/de/step_1/ZJ3 +++ b/tests/de/step_1/ZJ3 @@ -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} + diff --git a/tests/de/step_1/ZJ4 b/tests/de/step_1/ZJ4 index 6e6162e8a4..74a8378c3b 100644 --- a/tests/de/step_1/ZJ4 +++ b/tests/de/step_1/ZJ4 @@ -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} + diff --git a/tests/de/step_1/ZJ5 b/tests/de/step_1/ZJ5 index 8b123a73cc..39bc90ce2d 100644 --- a/tests/de/step_1/ZJ5 +++ b/tests/de/step_1/ZJ5 @@ -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} + diff --git a/tests/de/step_1/ZJ6 b/tests/de/step_1/ZJ6 index 532e53163b..58dcd2ad53 100644 --- a/tests/de/step_1/ZJ6 +++ b/tests/de/step_1/ZJ6 @@ -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} + diff --git a/tests/de/step_1/ZJ7 b/tests/de/step_1/ZJ7 index e905630e20..c5eff8e41d 100644 --- a/tests/de/step_1/ZJ7 +++ b/tests/de/step_1/ZJ7 @@ -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} + diff --git a/tests/de/step_1/ZJ8 b/tests/de/step_1/ZJ8 index 181a006ae6..73e1bef570 100644 --- a/tests/de/step_1/ZJ8 +++ b/tests/de/step_1/ZJ8 @@ -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} + diff --git a/tests/de/step_1/ZJ9 b/tests/de/step_1/ZJ9 index 7c066a846c..5209fc428d 100644 --- a/tests/de/step_1/ZJ9 +++ b/tests/de/step_1/ZJ9 @@ -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} + diff --git a/tests/de/step_1/ZK1 b/tests/de/step_1/ZK1 index 95dbfbe27d..9736b38f87 100644 --- a/tests/de/step_1/ZK1 +++ b/tests/de/step_1/ZK1 @@ -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} + diff --git a/tests/de/step_1/ZK2 b/tests/de/step_1/ZK2 index 9b6a0d2ac3..fdf6e566aa 100644 --- a/tests/de/step_1/ZK2 +++ b/tests/de/step_1/ZK2 @@ -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} + diff --git a/tests/de/step_1/ZK3 b/tests/de/step_1/ZK3 index 2f6148cf6c..ac1fd1293c 100644 --- a/tests/de/step_1/ZK3 +++ b/tests/de/step_1/ZK3 @@ -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} + diff --git a/tests/de/step_1/ZK4 b/tests/de/step_1/ZK4 index 2790f2275f..eca5f1621a 100644 --- a/tests/de/step_1/ZK4 +++ b/tests/de/step_1/ZK4 @@ -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} + diff --git a/tests/de/step_1/ZK5 b/tests/de/step_1/ZK5 index 79d8beeffd..8220dd9f27 100644 --- a/tests/de/step_1/ZK5 +++ b/tests/de/step_1/ZK5 @@ -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} + diff --git a/tests/de/step_1/ZK6 b/tests/de/step_1/ZK6 index 2131fb17c6..0e91be35f3 100644 --- a/tests/de/step_1/ZK6 +++ b/tests/de/step_1/ZK6 @@ -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} + diff --git a/tests/de/step_1/ZK7 b/tests/de/step_1/ZK7 index 860a34f148..d70db244a2 100644 --- a/tests/de/step_1/ZK7 +++ b/tests/de/step_1/ZK7 @@ -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} + diff --git a/tests/de/step_1/ZK8 b/tests/de/step_1/ZK8 index 50625b2d86..9e82afc2ae 100644 --- a/tests/de/step_1/ZK8 +++ b/tests/de/step_1/ZK8 @@ -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} + diff --git a/tests/de/step_1/ZK9 b/tests/de/step_1/ZK9 index 5a0175ebcd..09dc94a4c3 100644 --- a/tests/de/step_1/ZK9 +++ b/tests/de/step_1/ZK9 @@ -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} + diff --git a/tests/de/step_1/ZL1 b/tests/de/step_1/ZL1 index 19ffdf21b2..41191f7a6b 100644 --- a/tests/de/step_1/ZL1 +++ b/tests/de/step_1/ZL1 @@ -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} + diff --git a/tests/de/step_1/ZL2 b/tests/de/step_1/ZL2 index f45543789d..ab5a68d34e 100644 --- a/tests/de/step_1/ZL2 +++ b/tests/de/step_1/ZL2 @@ -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} + diff --git a/tests/de/step_1/ZL3 b/tests/de/step_1/ZL3 index 13340cd558..5c05408acc 100644 --- a/tests/de/step_1/ZL3 +++ b/tests/de/step_1/ZL3 @@ -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} + diff --git a/tests/de/step_1/ZL4 b/tests/de/step_1/ZL4 index 2139fc4254..07b6198d01 100644 --- a/tests/de/step_1/ZL4 +++ b/tests/de/step_1/ZL4 @@ -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} + diff --git a/tests/de/step_1/ZL5 b/tests/de/step_1/ZL5 index 2f4803f30f..303fc3c187 100644 --- a/tests/de/step_1/ZL5 +++ b/tests/de/step_1/ZL5 @@ -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} + diff --git a/tests/de/step_1/ZL6 b/tests/de/step_1/ZL6 index dae06dfb94..3522bf8dc4 100644 --- a/tests/de/step_1/ZL6 +++ b/tests/de/step_1/ZL6 @@ -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} + diff --git a/tests/de/step_1/ZL7 b/tests/de/step_1/ZL7 index 0ac185f933..6a8afc03e9 100644 --- a/tests/de/step_1/ZL7 +++ b/tests/de/step_1/ZL7 @@ -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} + diff --git a/tests/de/step_1/ZL8 b/tests/de/step_1/ZL8 index 6360549691..7b37a7fc1f 100644 --- a/tests/de/step_1/ZL8 +++ b/tests/de/step_1/ZL8 @@ -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} + diff --git a/tests/de/step_1/ZL9 b/tests/de/step_1/ZL9 index bfcb7b59fb..f1583e09cf 100644 --- a/tests/de/step_1/ZL9 +++ b/tests/de/step_1/ZL9 @@ -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} + diff --git a/tests/de/step_1/ZM1 b/tests/de/step_1/ZM1 index c0524db754..c87c06e1aa 100644 --- a/tests/de/step_1/ZM1 +++ b/tests/de/step_1/ZM1 @@ -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} + diff --git a/tests/de/step_1/ZM2 b/tests/de/step_1/ZM2 index aa570a7af9..0235699533 100644 --- a/tests/de/step_1/ZM2 +++ b/tests/de/step_1/ZM2 @@ -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} + diff --git a/tests/de/step_1/ZM3 b/tests/de/step_1/ZM3 index 30cf214a3c..f3cc959656 100644 --- a/tests/de/step_1/ZM3 +++ b/tests/de/step_1/ZM3 @@ -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} + diff --git a/tests/de/step_1/ZM4 b/tests/de/step_1/ZM4 index a60f125239..2630338d30 100644 --- a/tests/de/step_1/ZM4 +++ b/tests/de/step_1/ZM4 @@ -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} + diff --git a/tests/de/step_1/ZM5 b/tests/de/step_1/ZM5 index 55e588da22..5297c27c11 100644 --- a/tests/de/step_1/ZM5 +++ b/tests/de/step_1/ZM5 @@ -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} + diff --git a/tests/de/step_1/ZM6 b/tests/de/step_1/ZM6 index fe83b457b2..d415466bc6 100644 --- a/tests/de/step_1/ZM6 +++ b/tests/de/step_1/ZM6 @@ -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} + diff --git a/tests/de/step_1/ZM7 b/tests/de/step_1/ZM7 index 2beb8f6d65..55b6ecc179 100644 --- a/tests/de/step_1/ZM7 +++ b/tests/de/step_1/ZM7 @@ -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} + diff --git a/tests/de/step_1/ZM8 b/tests/de/step_1/ZM8 index 2f4c97fe34..4315980169 100644 --- a/tests/de/step_1/ZM8 +++ b/tests/de/step_1/ZM8 @@ -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} + diff --git a/tests/de/step_1/ZM9 b/tests/de/step_1/ZM9 index 60389c5313..b9ed1d9d99 100644 --- a/tests/de/step_1/ZM9 +++ b/tests/de/step_1/ZM9 @@ -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} + diff --git a/tests/de/step_1/ZN1 b/tests/de/step_1/ZN1 index cbba000a59..1e2a2b8373 100644 --- a/tests/de/step_1/ZN1 +++ b/tests/de/step_1/ZN1 @@ -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} + diff --git a/tests/de/step_1/ZN2 b/tests/de/step_1/ZN2 index f5183cc4b1..a54c0f1792 100644 --- a/tests/de/step_1/ZN2 +++ b/tests/de/step_1/ZN2 @@ -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} + diff --git a/tests/de/step_1/ZN3 b/tests/de/step_1/ZN3 index e67a813eb8..32fa678c28 100644 --- a/tests/de/step_1/ZN3 +++ b/tests/de/step_1/ZN3 @@ -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} + diff --git a/tests/de/step_1/ZN4 b/tests/de/step_1/ZN4 index b49dceb334..90c5d0850c 100644 --- a/tests/de/step_1/ZN4 +++ b/tests/de/step_1/ZN4 @@ -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} + diff --git a/tests/de/step_1/ZN5 b/tests/de/step_1/ZN5 index 4cbe0e8857..88bcd4fdad 100644 --- a/tests/de/step_1/ZN5 +++ b/tests/de/step_1/ZN5 @@ -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} + diff --git a/tests/de/step_1/ZN6 b/tests/de/step_1/ZN6 index b29907ebb8..e22c193ab2 100644 --- a/tests/de/step_1/ZN6 +++ b/tests/de/step_1/ZN6 @@ -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} + diff --git a/tests/de/step_1/ZN7 b/tests/de/step_1/ZN7 index 1815c80d2f..c7b2944ce7 100644 --- a/tests/de/step_1/ZN7 +++ b/tests/de/step_1/ZN7 @@ -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} + diff --git a/tests/de/step_1/ZN8 b/tests/de/step_1/ZN8 index fbedcb7191..a01c8fa024 100644 --- a/tests/de/step_1/ZN8 +++ b/tests/de/step_1/ZN8 @@ -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} + diff --git a/tests/de/step_1/ZN9 b/tests/de/step_1/ZN9 index cabe7573a4..a337172fab 100644 --- a/tests/de/step_1/ZN9 +++ b/tests/de/step_1/ZN9 @@ -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} + diff --git a/tests/de/step_1/ZO1 b/tests/de/step_1/ZO1 index 163d0c1067..3894e411c6 100644 --- a/tests/de/step_1/ZO1 +++ b/tests/de/step_1/ZO1 @@ -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} + diff --git a/tests/de/step_1/ZO2 b/tests/de/step_1/ZO2 index edbdb81449..b4e0f86b6c 100644 --- a/tests/de/step_1/ZO2 +++ b/tests/de/step_1/ZO2 @@ -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} + diff --git a/tests/de/step_1/ZO3 b/tests/de/step_1/ZO3 index f9c9da954b..82c9ca514c 100644 --- a/tests/de/step_1/ZO3 +++ b/tests/de/step_1/ZO3 @@ -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} + diff --git a/tests/de/step_1/ZO4 b/tests/de/step_1/ZO4 index 2951b961e2..bf0ddf94dc 100644 --- a/tests/de/step_1/ZO4 +++ b/tests/de/step_1/ZO4 @@ -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} + diff --git a/tests/de/step_1/ZO5 b/tests/de/step_1/ZO5 index 9f1de0030a..e4e8d1bc10 100644 --- a/tests/de/step_1/ZO5 +++ b/tests/de/step_1/ZO5 @@ -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} + diff --git a/tests/de/step_1/ZO6 b/tests/de/step_1/ZO6 index e7e3eeb35c..8de1400f05 100644 --- a/tests/de/step_1/ZO6 +++ b/tests/de/step_1/ZO6 @@ -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} + diff --git a/tests/de/step_1/ZO7 b/tests/de/step_1/ZO7 index 77f2692651..ae8a795989 100644 --- a/tests/de/step_1/ZO7 +++ b/tests/de/step_1/ZO7 @@ -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} + diff --git a/tests/de/step_1/ZO8 b/tests/de/step_1/ZO8 index db46693c11..5a005dda16 100644 --- a/tests/de/step_1/ZO8 +++ b/tests/de/step_1/ZO8 @@ -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} + diff --git a/tests/de/step_1/ZO9 b/tests/de/step_1/ZO9 index 9e77f16e9f..c34633e1bb 100644 --- a/tests/de/step_1/ZO9 +++ b/tests/de/step_1/ZO9 @@ -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} + diff --git a/tests/de/step_1/ZP1 b/tests/de/step_1/ZP1 index 6cb280c974..0f4121b58e 100644 --- a/tests/de/step_1/ZP1 +++ b/tests/de/step_1/ZP1 @@ -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} + diff --git a/tests/de/step_1/ZP2 b/tests/de/step_1/ZP2 index 2165698460..984f0bd8d4 100644 --- a/tests/de/step_1/ZP2 +++ b/tests/de/step_1/ZP2 @@ -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} + diff --git a/tests/de/step_1/ZP3 b/tests/de/step_1/ZP3 index f314d7d4c0..6c5f246d3d 100644 --- a/tests/de/step_1/ZP3 +++ b/tests/de/step_1/ZP3 @@ -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} + diff --git a/tests/de/step_1/ZP4 b/tests/de/step_1/ZP4 index 0d0a4049eb..550b189551 100644 --- a/tests/de/step_1/ZP4 +++ b/tests/de/step_1/ZP4 @@ -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} + diff --git a/tests/de/step_1/ZP5 b/tests/de/step_1/ZP5 index 4733550d5b..1c34d4e1b6 100644 --- a/tests/de/step_1/ZP5 +++ b/tests/de/step_1/ZP5 @@ -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} + diff --git a/tests/de/step_1/ZP6 b/tests/de/step_1/ZP6 index 10fe2d7353..9d45004150 100644 --- a/tests/de/step_1/ZP6 +++ b/tests/de/step_1/ZP6 @@ -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} + diff --git a/tests/de/step_1/ZP7 b/tests/de/step_1/ZP7 index aea5a4b619..d000bc56f6 100644 --- a/tests/de/step_1/ZP7 +++ b/tests/de/step_1/ZP7 @@ -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} + diff --git a/tests/de/step_1/ZP8 b/tests/de/step_1/ZP8 index d0b97e5cb4..5ef3b973bb 100644 --- a/tests/de/step_1/ZP8 +++ b/tests/de/step_1/ZP8 @@ -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} + diff --git a/tests/de/step_1/ZP9 b/tests/de/step_1/ZP9 index cf2c0f2cea..4789c29dff 100644 --- a/tests/de/step_1/ZP9 +++ b/tests/de/step_1/ZP9 @@ -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} + diff --git a/tests/de/step_1/ZQ1 b/tests/de/step_1/ZQ1 index 19fd545fa2..8867f589d3 100644 --- a/tests/de/step_1/ZQ1 +++ b/tests/de/step_1/ZQ1 @@ -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} + diff --git a/tests/de/step_1/ZQ2 b/tests/de/step_1/ZQ2 index fa5c03ce05..1b8d7f83e6 100644 --- a/tests/de/step_1/ZQ2 +++ b/tests/de/step_1/ZQ2 @@ -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} + diff --git a/tests/de/step_1/ZQ3 b/tests/de/step_1/ZQ3 index c469a208e0..9dd524a8d4 100644 --- a/tests/de/step_1/ZQ3 +++ b/tests/de/step_1/ZQ3 @@ -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} + diff --git a/tests/de/step_1/ZQ4 b/tests/de/step_1/ZQ4 index 06b64aa300..b139873c68 100644 --- a/tests/de/step_1/ZQ4 +++ b/tests/de/step_1/ZQ4 @@ -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} + diff --git a/tests/de/step_1/ZQ5 b/tests/de/step_1/ZQ5 index e1cc75427c..8071d7b53b 100644 --- a/tests/de/step_1/ZQ5 +++ b/tests/de/step_1/ZQ5 @@ -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} + diff --git a/tests/de/step_1/ZQ6 b/tests/de/step_1/ZQ6 index fc3742b532..90d2c39a10 100644 --- a/tests/de/step_1/ZQ6 +++ b/tests/de/step_1/ZQ6 @@ -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} + diff --git a/tests/de/step_1/ZQ7 b/tests/de/step_1/ZQ7 index 7efe57a6a9..11bbd50e4f 100644 --- a/tests/de/step_1/ZQ7 +++ b/tests/de/step_1/ZQ7 @@ -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} + diff --git a/tests/de/step_1/ZQ8 b/tests/de/step_1/ZQ8 index f2a1bfce24..9fcba35c73 100644 --- a/tests/de/step_1/ZQ8 +++ b/tests/de/step_1/ZQ8 @@ -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} + diff --git a/tests/de/step_1/ZQ9 b/tests/de/step_1/ZQ9 index e27527dce2..26d39262dc 100644 --- a/tests/de/step_1/ZQ9 +++ b/tests/de/step_1/ZQ9 @@ -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} + diff --git a/tests/de/step_1/ZR1 b/tests/de/step_1/ZR1 index 879484d405..1545e6c02f 100644 --- a/tests/de/step_1/ZR1 +++ b/tests/de/step_1/ZR1 @@ -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} + diff --git a/tests/de/step_1/ZR2 b/tests/de/step_1/ZR2 index 2975c3264e..6fbed6586b 100644 --- a/tests/de/step_1/ZR2 +++ b/tests/de/step_1/ZR2 @@ -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} + diff --git a/tests/de/step_1/ZR3 b/tests/de/step_1/ZR3 index 6c311fbd57..6d24093ed5 100644 --- a/tests/de/step_1/ZR3 +++ b/tests/de/step_1/ZR3 @@ -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} + diff --git a/tests/de/step_1/ZR4 b/tests/de/step_1/ZR4 index e0caac89c8..4dce4e0a18 100644 --- a/tests/de/step_1/ZR4 +++ b/tests/de/step_1/ZR4 @@ -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} + diff --git a/tests/de/step_1/ZR5 b/tests/de/step_1/ZR5 index f6814583db..213fa7bd7f 100644 --- a/tests/de/step_1/ZR5 +++ b/tests/de/step_1/ZR5 @@ -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} + diff --git a/tests/de/step_1/ZR6 b/tests/de/step_1/ZR6 index 0f2843b6ac..c6b0a132ad 100644 --- a/tests/de/step_1/ZR6 +++ b/tests/de/step_1/ZR6 @@ -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} + diff --git a/tests/de/step_1/ZR7 b/tests/de/step_1/ZR7 index 76957730a6..f320cf32f1 100644 --- a/tests/de/step_1/ZR7 +++ b/tests/de/step_1/ZR7 @@ -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} + diff --git a/tests/de/step_1/ZR8 b/tests/de/step_1/ZR8 index 0e31d28c70..cce83f47d6 100644 --- a/tests/de/step_1/ZR8 +++ b/tests/de/step_1/ZR8 @@ -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} + diff --git a/tests/de/step_1/ZR9 b/tests/de/step_1/ZR9 index 089837b0e0..1dad488aec 100644 --- a/tests/de/step_1/ZR9 +++ b/tests/de/step_1/ZR9 @@ -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} + diff --git a/tests/de/step_1/ZS1 b/tests/de/step_1/ZS1 index 41590fad0f..c9ff6dcd7e 100644 --- a/tests/de/step_1/ZS1 +++ b/tests/de/step_1/ZS1 @@ -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} + diff --git a/tests/de/step_1/ZS2 b/tests/de/step_1/ZS2 index fb26331df3..2506fcd7f5 100644 --- a/tests/de/step_1/ZS2 +++ b/tests/de/step_1/ZS2 @@ -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} + diff --git a/tests/de/step_1/ZS3 b/tests/de/step_1/ZS3 index 04b9eaafd1..570088df42 100644 --- a/tests/de/step_1/ZS3 +++ b/tests/de/step_1/ZS3 @@ -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} + diff --git a/tests/de/step_1/ZS4 b/tests/de/step_1/ZS4 index f0796dc3dd..f7fcce367c 100644 --- a/tests/de/step_1/ZS4 +++ b/tests/de/step_1/ZS4 @@ -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} + diff --git a/tests/de/step_1/ZS5 b/tests/de/step_1/ZS5 index 07590fc2bd..78970ed65a 100644 --- a/tests/de/step_1/ZS5 +++ b/tests/de/step_1/ZS5 @@ -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} + diff --git a/tests/de/step_1/ZS6 b/tests/de/step_1/ZS6 index 11dba24e75..464af0a822 100644 --- a/tests/de/step_1/ZS6 +++ b/tests/de/step_1/ZS6 @@ -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} + diff --git a/tests/de/step_1/ZS7 b/tests/de/step_1/ZS7 index 74188ed999..a9b16674a6 100644 --- a/tests/de/step_1/ZS7 +++ b/tests/de/step_1/ZS7 @@ -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} + diff --git a/tests/de/step_1/ZS8 b/tests/de/step_1/ZS8 index e9bb180356..8a3c86ebc4 100644 --- a/tests/de/step_1/ZS8 +++ b/tests/de/step_1/ZS8 @@ -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} + diff --git a/tests/de/step_1/ZS9 b/tests/de/step_1/ZS9 index f7cd519f4b..08108481ca 100644 --- a/tests/de/step_1/ZS9 +++ b/tests/de/step_1/ZS9 @@ -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} + diff --git a/tests/de/step_1/ZT1 b/tests/de/step_1/ZT1 index 9897d5faaa..61245a4e0c 100644 --- a/tests/de/step_1/ZT1 +++ b/tests/de/step_1/ZT1 @@ -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} + diff --git a/tests/de/step_1/ZT2 b/tests/de/step_1/ZT2 index 05131f3fca..3b9ed8778c 100644 --- a/tests/de/step_1/ZT2 +++ b/tests/de/step_1/ZT2 @@ -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} + diff --git a/tests/de/step_1/ZT3 b/tests/de/step_1/ZT3 index b0c00b1d43..9f30488d0a 100644 --- a/tests/de/step_1/ZT3 +++ b/tests/de/step_1/ZT3 @@ -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} + diff --git a/tests/de/step_1/ZT4 b/tests/de/step_1/ZT4 index 56e6db17c9..baf12104f4 100644 --- a/tests/de/step_1/ZT4 +++ b/tests/de/step_1/ZT4 @@ -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} + diff --git a/tests/de/step_1/ZT5 b/tests/de/step_1/ZT5 index 35147559e6..142c8450dc 100644 --- a/tests/de/step_1/ZT5 +++ b/tests/de/step_1/ZT5 @@ -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} + diff --git a/tests/de/step_1/ZT6 b/tests/de/step_1/ZT6 index eeddf2c205..7b8581f2c9 100644 --- a/tests/de/step_1/ZT6 +++ b/tests/de/step_1/ZT6 @@ -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} + diff --git a/tests/de/step_1/ZT7 b/tests/de/step_1/ZT7 index 924cdc800c..0a1cd91e28 100644 --- a/tests/de/step_1/ZT7 +++ b/tests/de/step_1/ZT7 @@ -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} + diff --git a/tests/de/step_1/ZT8 b/tests/de/step_1/ZT8 index ce0c136198..53efaeb7ec 100644 --- a/tests/de/step_1/ZT8 +++ b/tests/de/step_1/ZT8 @@ -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} + diff --git a/tests/de/step_1/ZT9 b/tests/de/step_1/ZT9 index 352d410a83..ca5f8cf5c2 100644 --- a/tests/de/step_1/ZT9 +++ b/tests/de/step_1/ZT9 @@ -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} + diff --git a/tests/de/step_1/ZU1 b/tests/de/step_1/ZU1 index e1d5a6c203..ac1972fba3 100644 --- a/tests/de/step_1/ZU1 +++ b/tests/de/step_1/ZU1 @@ -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} + diff --git a/tests/de/step_1/ZU2 b/tests/de/step_1/ZU2 index f410f029ca..0937297d74 100644 --- a/tests/de/step_1/ZU2 +++ b/tests/de/step_1/ZU2 @@ -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} + diff --git a/tests/de/step_1/ZU3 b/tests/de/step_1/ZU3 index 3b391bb285..a2ae0dce05 100644 --- a/tests/de/step_1/ZU3 +++ b/tests/de/step_1/ZU3 @@ -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} + diff --git a/tests/de/step_1/ZU4 b/tests/de/step_1/ZU4 index 58f0490dd9..50989a733d 100644 --- a/tests/de/step_1/ZU4 +++ b/tests/de/step_1/ZU4 @@ -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} + diff --git a/tests/de/step_1/ZU5 b/tests/de/step_1/ZU5 index 6310f48965..826540c3fe 100644 --- a/tests/de/step_1/ZU5 +++ b/tests/de/step_1/ZU5 @@ -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} + diff --git a/tests/de/step_1/ZU6 b/tests/de/step_1/ZU6 index b2b338c3c0..0e35559696 100644 --- a/tests/de/step_1/ZU6 +++ b/tests/de/step_1/ZU6 @@ -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} + diff --git a/tests/de/step_1/ZU7 b/tests/de/step_1/ZU7 index be9b7e0aa0..7d953a0298 100644 --- a/tests/de/step_1/ZU7 +++ b/tests/de/step_1/ZU7 @@ -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} + diff --git a/tests/de/step_1/ZU8 b/tests/de/step_1/ZU8 index aee82b6654..f6bd42eabb 100644 --- a/tests/de/step_1/ZU8 +++ b/tests/de/step_1/ZU8 @@ -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} + diff --git a/tests/de/step_1/ZU9 b/tests/de/step_1/ZU9 index 4bbace0473..71a49efe0b 100644 --- a/tests/de/step_1/ZU9 +++ b/tests/de/step_1/ZU9 @@ -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} + diff --git a/tests/de/step_1/ZV1 b/tests/de/step_1/ZV1 index 46f941e738..635b73cda5 100644 --- a/tests/de/step_1/ZV1 +++ b/tests/de/step_1/ZV1 @@ -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} + diff --git a/tests/de/step_1/ZV2 b/tests/de/step_1/ZV2 index 3e8bc30104..868af80032 100644 --- a/tests/de/step_1/ZV2 +++ b/tests/de/step_1/ZV2 @@ -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} + diff --git a/tests/de/step_1/ZV3 b/tests/de/step_1/ZV3 index 785abcb485..24e4f9c203 100644 --- a/tests/de/step_1/ZV3 +++ b/tests/de/step_1/ZV3 @@ -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} + diff --git a/tests/de/step_1/ZV4 b/tests/de/step_1/ZV4 index 9c20170f09..5a4f8c9903 100644 --- a/tests/de/step_1/ZV4 +++ b/tests/de/step_1/ZV4 @@ -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} + diff --git a/tests/de/step_1/ZV5 b/tests/de/step_1/ZV5 index b75bc22c59..7637a3186d 100644 --- a/tests/de/step_1/ZV5 +++ b/tests/de/step_1/ZV5 @@ -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} + diff --git a/tests/de/step_1/ZV6 b/tests/de/step_1/ZV6 index 2e5ee6f809..8bc9c5d0ba 100644 --- a/tests/de/step_1/ZV6 +++ b/tests/de/step_1/ZV6 @@ -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} + diff --git a/tests/de/step_1/ZV7 b/tests/de/step_1/ZV7 index 325b8332f6..82daa4b3c2 100644 --- a/tests/de/step_1/ZV7 +++ b/tests/de/step_1/ZV7 @@ -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} + diff --git a/tests/de/step_1/ZV8 b/tests/de/step_1/ZV8 index f97c4e1c30..bbf7dfd202 100644 --- a/tests/de/step_1/ZV8 +++ b/tests/de/step_1/ZV8 @@ -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} + diff --git a/tests/de/step_1/ZV9 b/tests/de/step_1/ZV9 index 6efb048a4e..e083cc1194 100644 --- a/tests/de/step_1/ZV9 +++ b/tests/de/step_1/ZV9 @@ -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} + diff --git a/tests/de/step_1/ZW1 b/tests/de/step_1/ZW1 index 73ea5224bb..1b4b1355a2 100644 --- a/tests/de/step_1/ZW1 +++ b/tests/de/step_1/ZW1 @@ -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} + diff --git a/tests/de/step_1/ZW2 b/tests/de/step_1/ZW2 index b1cd88f525..4d2df1768f 100644 --- a/tests/de/step_1/ZW2 +++ b/tests/de/step_1/ZW2 @@ -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} + diff --git a/tests/de/step_1/ZW3 b/tests/de/step_1/ZW3 index 7171c5707f..455a8a6f42 100644 --- a/tests/de/step_1/ZW3 +++ b/tests/de/step_1/ZW3 @@ -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} + diff --git a/tests/de/step_1/ZW4 b/tests/de/step_1/ZW4 index b3367bc92c..72e7344710 100644 --- a/tests/de/step_1/ZW4 +++ b/tests/de/step_1/ZW4 @@ -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} + diff --git a/tests/de/step_1/ZW5 b/tests/de/step_1/ZW5 index 9a29b2f454..e74911e196 100644 --- a/tests/de/step_1/ZW5 +++ b/tests/de/step_1/ZW5 @@ -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} + diff --git a/tests/de/step_1/ZW6 b/tests/de/step_1/ZW6 index 43d3107645..8362475d94 100644 --- a/tests/de/step_1/ZW6 +++ b/tests/de/step_1/ZW6 @@ -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} + diff --git a/tests/de/step_1/ZW7 b/tests/de/step_1/ZW7 index 7de6e11d4a..78857711d2 100644 --- a/tests/de/step_1/ZW7 +++ b/tests/de/step_1/ZW7 @@ -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} + diff --git a/tests/de/step_1/ZW8 b/tests/de/step_1/ZW8 index 9e1f28c0dd..8022cbf20c 100644 --- a/tests/de/step_1/ZW8 +++ b/tests/de/step_1/ZW8 @@ -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} + diff --git a/tests/de/step_1/ZW9 b/tests/de/step_1/ZW9 index 6ce60d9d30..ac5a714f4d 100644 --- a/tests/de/step_1/ZW9 +++ b/tests/de/step_1/ZW9 @@ -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} + diff --git a/tests/de/step_1/ZX1 b/tests/de/step_1/ZX1 index fb653286bd..cbe49cf123 100644 --- a/tests/de/step_1/ZX1 +++ b/tests/de/step_1/ZX1 @@ -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} + diff --git a/tests/de/step_1/ZX2 b/tests/de/step_1/ZX2 index cbf4b2eb52..e22a7f37dd 100644 --- a/tests/de/step_1/ZX2 +++ b/tests/de/step_1/ZX2 @@ -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} + diff --git a/tests/de/step_1/ZX3 b/tests/de/step_1/ZX3 index bfa6f5cfd5..46a1da2151 100644 --- a/tests/de/step_1/ZX3 +++ b/tests/de/step_1/ZX3 @@ -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} + diff --git a/tests/de/step_1/ZX4 b/tests/de/step_1/ZX4 index 5ca40e2877..3d835a609b 100644 --- a/tests/de/step_1/ZX4 +++ b/tests/de/step_1/ZX4 @@ -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} + diff --git a/tests/de/step_1/ZX5 b/tests/de/step_1/ZX5 index 2a7bec35f1..f58d78015f 100644 --- a/tests/de/step_1/ZX5 +++ b/tests/de/step_1/ZX5 @@ -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} + diff --git a/tests/de/step_1/ZX6 b/tests/de/step_1/ZX6 index fea5c6212a..f7623d5de3 100644 --- a/tests/de/step_1/ZX6 +++ b/tests/de/step_1/ZX6 @@ -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} + diff --git a/tests/de/step_1/ZX7 b/tests/de/step_1/ZX7 index 861a64aaf4..dc32f82451 100644 --- a/tests/de/step_1/ZX7 +++ b/tests/de/step_1/ZX7 @@ -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} + diff --git a/tests/de/step_1/ZX8 b/tests/de/step_1/ZX8 index 524ee5373f..82e4955cfb 100644 --- a/tests/de/step_1/ZX8 +++ b/tests/de/step_1/ZX8 @@ -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} + diff --git a/tests/de/step_1/ZX9 b/tests/de/step_1/ZX9 index 47cc0dc472..30691bb3ac 100644 --- a/tests/de/step_1/ZX9 +++ b/tests/de/step_1/ZX9 @@ -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} + diff --git a/tests/de/step_1/ZY1 b/tests/de/step_1/ZY1 index 163045e465..8a6d1d5c9a 100644 --- a/tests/de/step_1/ZY1 +++ b/tests/de/step_1/ZY1 @@ -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} + diff --git a/tests/de/step_1/ZY2 b/tests/de/step_1/ZY2 index b86895de20..36e061754d 100644 --- a/tests/de/step_1/ZY2 +++ b/tests/de/step_1/ZY2 @@ -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} + diff --git a/tests/de/step_1/ZY3 b/tests/de/step_1/ZY3 index f797ca4142..9a00fa0315 100644 --- a/tests/de/step_1/ZY3 +++ b/tests/de/step_1/ZY3 @@ -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} + diff --git a/tests/de/step_1/ZY4 b/tests/de/step_1/ZY4 index c4d0e4596f..ecfd8be12a 100644 --- a/tests/de/step_1/ZY4 +++ b/tests/de/step_1/ZY4 @@ -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} + diff --git a/tests/de/step_1/ZY5 b/tests/de/step_1/ZY5 index 5d34ca4b69..3312e057c1 100644 --- a/tests/de/step_1/ZY5 +++ b/tests/de/step_1/ZY5 @@ -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} + diff --git a/tests/de/step_1/ZY6 b/tests/de/step_1/ZY6 index 82ba7950cb..03bfe7ee1f 100644 --- a/tests/de/step_1/ZY6 +++ b/tests/de/step_1/ZY6 @@ -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} + diff --git a/tests/de/step_1/ZY7 b/tests/de/step_1/ZY7 index f12dd473fa..c22702dd10 100644 --- a/tests/de/step_1/ZY7 +++ b/tests/de/step_1/ZY7 @@ -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} + diff --git a/tests/de/step_1/ZY8 b/tests/de/step_1/ZY8 index 421e9812ee..c0d2c11444 100644 --- a/tests/de/step_1/ZY8 +++ b/tests/de/step_1/ZY8 @@ -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} + diff --git a/tests/de/step_1/ZY9 b/tests/de/step_1/ZY9 index 213268324c..2db47c58c4 100644 --- a/tests/de/step_1/ZY9 +++ b/tests/de/step_1/ZY9 @@ -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} + diff --git a/tests/de/step_1/ZZ1 b/tests/de/step_1/ZZ1 index 826e9f97d4..557f3d0e7c 100644 --- a/tests/de/step_1/ZZ1 +++ b/tests/de/step_1/ZZ1 @@ -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} + diff --git a/tests/de/step_1/ZZ2 b/tests/de/step_1/ZZ2 index 26de9d6e13..b250b7e4f7 100644 --- a/tests/de/step_1/ZZ2 +++ b/tests/de/step_1/ZZ2 @@ -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} + diff --git a/tests/de/step_1/ZZ3 b/tests/de/step_1/ZZ3 index f6ea90795b..7e0b721ec3 100644 --- a/tests/de/step_1/ZZ3 +++ b/tests/de/step_1/ZZ3 @@ -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} + diff --git a/tests/de/step_1/ZZ4 b/tests/de/step_1/ZZ4 index b6a1aeacbc..24c4d5473a 100644 --- a/tests/de/step_1/ZZ4 +++ b/tests/de/step_1/ZZ4 @@ -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} + diff --git a/tests/de/step_1/ZZ5 b/tests/de/step_1/ZZ5 index 2373ee27ff..c07a31ec28 100644 --- a/tests/de/step_1/ZZ5 +++ b/tests/de/step_1/ZZ5 @@ -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} + diff --git a/tests/de/step_1/ZZ6 b/tests/de/step_1/ZZ6 index 43853b3b7f..184f8931e6 100644 --- a/tests/de/step_1/ZZ6 +++ b/tests/de/step_1/ZZ6 @@ -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} + diff --git a/tests/de/step_1/ZZ7 b/tests/de/step_1/ZZ7 index d40bf679d1..e429dbe8f4 100644 --- a/tests/de/step_1/ZZ7 +++ b/tests/de/step_1/ZZ7 @@ -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} + diff --git a/tests/de/step_1/ZZ8 b/tests/de/step_1/ZZ8 index d53d304ab2..7024466953 100644 --- a/tests/de/step_1/ZZ8 +++ b/tests/de/step_1/ZZ8 @@ -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} + diff --git a/tests/de/step_1/ZZ9 b/tests/de/step_1/ZZ9 index 5578e17444..b4286294c7 100644 --- a/tests/de/step_1/ZZ9 +++ b/tests/de/step_1/ZZ9 @@ -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} + diff --git a/tests/de/step_2/A1 b/tests/de/step_2/A1 index bd0cb9c166..2fb6b77fe5 100644 --- a/tests/de/step_2/A1 +++ b/tests/de/step_2/A1 @@ -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} + diff --git a/tests/de/step_2/A2 b/tests/de/step_2/A2 index 9f57242421..5b54847365 100644 --- a/tests/de/step_2/A2 +++ b/tests/de/step_2/A2 @@ -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} + diff --git a/tests/de/step_2/A3 b/tests/de/step_2/A3 index 413079f06c..e807ad812d 100755 --- a/tests/de/step_2/A3 +++ b/tests/de/step_2/A3 @@ -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} + diff --git a/tests/de/step_2/A4 b/tests/de/step_2/A4 index 54943465cb..25272f4818 100644 --- a/tests/de/step_2/A4 +++ b/tests/de/step_2/A4 @@ -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} + diff --git a/tests/de/step_2/A5 b/tests/de/step_2/A5 index b1a3d84370..ef54b446de 100755 --- a/tests/de/step_2/A5 +++ b/tests/de/step_2/A5 @@ -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} + diff --git a/tests/de/step_2/A6 b/tests/de/step_2/A6 index 21695dfdc9..8ccf998173 100644 --- a/tests/de/step_2/A6 +++ b/tests/de/step_2/A6 @@ -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} + diff --git a/tests/de/step_2/A7 b/tests/de/step_2/A7 index ba2cfc520c..8e2a94a791 100644 --- a/tests/de/step_2/A7 +++ b/tests/de/step_2/A7 @@ -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} + diff --git a/tests/de/step_2/A8 b/tests/de/step_2/A8 index 4b604b37a0..2b841cbc23 100644 --- a/tests/de/step_2/A8 +++ b/tests/de/step_2/A8 @@ -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} + diff --git a/tests/de/step_2/A9 b/tests/de/step_2/A9 index 4149fe7559..1a91c9c6ce 100644 --- a/tests/de/step_2/A9 +++ b/tests/de/step_2/A9 @@ -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} + diff --git a/tests/de/step_2/B1 b/tests/de/step_2/B1 index 3407f0ceb9..8660280ca9 100644 --- a/tests/de/step_2/B1 +++ b/tests/de/step_2/B1 @@ -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} + diff --git a/tests/de/step_2/B2 b/tests/de/step_2/B2 index 23bf5b8b49..6ef358b0a8 100644 --- a/tests/de/step_2/B2 +++ b/tests/de/step_2/B2 @@ -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} + diff --git a/tests/de/step_2/B3 b/tests/de/step_2/B3 index ab31a8f775..5005d28eb5 100644 --- a/tests/de/step_2/B3 +++ b/tests/de/step_2/B3 @@ -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} + diff --git a/tests/de/step_2/B4 b/tests/de/step_2/B4 index ffb575af80..a5828ef4d9 100644 --- a/tests/de/step_2/B4 +++ b/tests/de/step_2/B4 @@ -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} + diff --git a/tests/de/step_2/B5 b/tests/de/step_2/B5 index df21698164..826478d8b1 100644 --- a/tests/de/step_2/B5 +++ b/tests/de/step_2/B5 @@ -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} + diff --git a/tests/de/step_2/B6 b/tests/de/step_2/B6 index 4750365e2c..c7971b489d 100644 --- a/tests/de/step_2/B6 +++ b/tests/de/step_2/B6 @@ -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} + diff --git a/tests/de/step_2/B7 b/tests/de/step_2/B7 index f08a138fea..435d94510c 100644 --- a/tests/de/step_2/B7 +++ b/tests/de/step_2/B7 @@ -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} + diff --git a/tests/de/step_2/B8 b/tests/de/step_2/B8 index 8142d9b6a5..087c51c6d0 100644 --- a/tests/de/step_2/B8 +++ b/tests/de/step_2/B8 @@ -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} + diff --git a/tests/de/step_2/B9 b/tests/de/step_2/B9 index b0adf29e58..5c32a08cc2 100644 --- a/tests/de/step_2/B9 +++ b/tests/de/step_2/B9 @@ -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} + diff --git a/tests/de/step_2/C1 b/tests/de/step_2/C1 index be15ce4409..bec1646946 100644 --- a/tests/de/step_2/C1 +++ b/tests/de/step_2/C1 @@ -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} + diff --git a/tests/de/step_2/C2 b/tests/de/step_2/C2 index 93f8e6b99e..67c7bc451a 100644 --- a/tests/de/step_2/C2 +++ b/tests/de/step_2/C2 @@ -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} + diff --git a/tests/de/step_2/C3 b/tests/de/step_2/C3 index e9e395b223..5302b71ca8 100644 --- a/tests/de/step_2/C3 +++ b/tests/de/step_2/C3 @@ -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} + diff --git a/tests/de/step_2/C4 b/tests/de/step_2/C4 index 294b0522c6..07c3612a28 100644 --- a/tests/de/step_2/C4 +++ b/tests/de/step_2/C4 @@ -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} + diff --git a/tests/de/step_2/C5 b/tests/de/step_2/C5 index c496904bfa..a6bb04879c 100644 --- a/tests/de/step_2/C5 +++ b/tests/de/step_2/C5 @@ -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} + diff --git a/tests/de/step_2/C6 b/tests/de/step_2/C6 index 38758d871d..e4b75807e6 100644 --- a/tests/de/step_2/C6 +++ b/tests/de/step_2/C6 @@ -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} + diff --git a/tests/de/step_2/C7 b/tests/de/step_2/C7 index 2391605651..a845df7dbe 100644 --- a/tests/de/step_2/C7 +++ b/tests/de/step_2/C7 @@ -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} + diff --git a/tests/de/step_2/C8 b/tests/de/step_2/C8 index c226324b5b..6b97270011 100644 --- a/tests/de/step_2/C8 +++ b/tests/de/step_2/C8 @@ -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} + diff --git a/tests/de/step_2/C9 b/tests/de/step_2/C9 index d7149df21d..08c4e87d44 100755 --- a/tests/de/step_2/C9 +++ b/tests/de/step_2/C9 @@ -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} + diff --git a/tests/de/step_2/D1 b/tests/de/step_2/D1 index 417602f4fa..3978536b4d 100644 --- a/tests/de/step_2/D1 +++ b/tests/de/step_2/D1 @@ -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} + diff --git a/tests/de/step_2/D2 b/tests/de/step_2/D2 index 547280faaf..e071e5d999 100755 --- a/tests/de/step_2/D2 +++ b/tests/de/step_2/D2 @@ -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} + diff --git a/tests/de/step_2/D3 b/tests/de/step_2/D3 index bae1fb272d..c11032c011 100644 --- a/tests/de/step_2/D3 +++ b/tests/de/step_2/D3 @@ -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} + diff --git a/tests/de/step_2/D4 b/tests/de/step_2/D4 index 703c0fe1e4..dd79d21468 100644 --- a/tests/de/step_2/D4 +++ b/tests/de/step_2/D4 @@ -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} + diff --git a/tests/de/step_2/D5 b/tests/de/step_2/D5 index 6c63ffcb87..70fdde3207 100644 --- a/tests/de/step_2/D5 +++ b/tests/de/step_2/D5 @@ -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} + diff --git a/tests/de/step_2/D6 b/tests/de/step_2/D6 index 92c5e90ade..b2e1731342 100644 --- a/tests/de/step_2/D6 +++ b/tests/de/step_2/D6 @@ -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} + diff --git a/tests/de/step_2/D7 b/tests/de/step_2/D7 index ffb838930c..e454b0a280 100644 --- a/tests/de/step_2/D7 +++ b/tests/de/step_2/D7 @@ -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} + diff --git a/tests/de/step_2/D8 b/tests/de/step_2/D8 index 66c14431f4..9412bc82a0 100644 --- a/tests/de/step_2/D8 +++ b/tests/de/step_2/D8 @@ -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} + diff --git a/tests/de/step_2/D9 b/tests/de/step_2/D9 index 9c6e40f974..156e7b59ad 100644 --- a/tests/de/step_2/D9 +++ b/tests/de/step_2/D9 @@ -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} + diff --git a/tests/de/step_2/E1 b/tests/de/step_2/E1 index 6e016b3788..8a0787c921 100644 --- a/tests/de/step_2/E1 +++ b/tests/de/step_2/E1 @@ -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} + diff --git a/tests/de/step_2/E2 b/tests/de/step_2/E2 index d85bd1933d..f69080cbbe 100644 --- a/tests/de/step_2/E2 +++ b/tests/de/step_2/E2 @@ -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} + diff --git a/tests/de/step_2/E3 b/tests/de/step_2/E3 index 75af709644..0d01b7fcdd 100644 --- a/tests/de/step_2/E3 +++ b/tests/de/step_2/E3 @@ -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} + diff --git a/tests/de/step_2/E4 b/tests/de/step_2/E4 index 8fa3499f27..3131045f35 100644 --- a/tests/de/step_2/E4 +++ b/tests/de/step_2/E4 @@ -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} + diff --git a/tests/de/step_2/E5 b/tests/de/step_2/E5 index 348d760d06..f205a2d5b8 100644 --- a/tests/de/step_2/E5 +++ b/tests/de/step_2/E5 @@ -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} + diff --git a/tests/de/step_2/E6 b/tests/de/step_2/E6 index 3b0631a8b7..d45e17aa80 100644 --- a/tests/de/step_2/E6 +++ b/tests/de/step_2/E6 @@ -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} + diff --git a/tests/de/step_2/E7 b/tests/de/step_2/E7 index 4726f81efe..a311a1a7e2 100644 --- a/tests/de/step_2/E7 +++ b/tests/de/step_2/E7 @@ -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} + diff --git a/tests/de/step_2/E8 b/tests/de/step_2/E8 index 90f31a0851..a21042be1d 100644 --- a/tests/de/step_2/E8 +++ b/tests/de/step_2/E8 @@ -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} + diff --git a/tests/de/step_2/E9 b/tests/de/step_2/E9 index ae363724b3..8b5fd4c7b7 100644 --- a/tests/de/step_2/E9 +++ b/tests/de/step_2/E9 @@ -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} + diff --git a/tests/de/step_2/F1 b/tests/de/step_2/F1 index 62602346e4..f12fad50bf 100755 --- a/tests/de/step_2/F1 +++ b/tests/de/step_2/F1 @@ -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} + diff --git a/tests/de/step_2/F2 b/tests/de/step_2/F2 index 1060bf44d8..7f53e21c49 100644 --- a/tests/de/step_2/F2 +++ b/tests/de/step_2/F2 @@ -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} + diff --git a/tests/de/step_2/F3 b/tests/de/step_2/F3 index 295ba7f092..9c4f27ac8a 100644 --- a/tests/de/step_2/F3 +++ b/tests/de/step_2/F3 @@ -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} + diff --git a/tests/de/step_2/F4 b/tests/de/step_2/F4 index 9e4305716d..0aa1dcda59 100755 --- a/tests/de/step_2/F4 +++ b/tests/de/step_2/F4 @@ -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} + diff --git a/tests/de/step_2/F5 b/tests/de/step_2/F5 index 85a64a37ec..f2cc9e538f 100644 --- a/tests/de/step_2/F5 +++ b/tests/de/step_2/F5 @@ -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} + diff --git a/tests/de/step_2/F6 b/tests/de/step_2/F6 index ea0614506b..3102f8499f 100644 --- a/tests/de/step_2/F6 +++ b/tests/de/step_2/F6 @@ -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} + diff --git a/tests/de/step_2/F7 b/tests/de/step_2/F7 index 91b356b81c..c9fa24e576 100644 --- a/tests/de/step_2/F7 +++ b/tests/de/step_2/F7 @@ -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} + diff --git a/tests/de/step_2/F8 b/tests/de/step_2/F8 index f0f8941bbf..2743a33573 100644 --- a/tests/de/step_2/F8 +++ b/tests/de/step_2/F8 @@ -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} + diff --git a/tests/de/step_2/F9 b/tests/de/step_2/F9 index 04e186106b..6e450baac2 100644 --- a/tests/de/step_2/F9 +++ b/tests/de/step_2/F9 @@ -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} + diff --git a/tests/de/step_2/G1 b/tests/de/step_2/G1 index 36249e6eb2..81c4ab9804 100644 --- a/tests/de/step_2/G1 +++ b/tests/de/step_2/G1 @@ -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} + diff --git a/tests/de/step_2/G2 b/tests/de/step_2/G2 index b50967a847..086a554bcc 100644 --- a/tests/de/step_2/G2 +++ b/tests/de/step_2/G2 @@ -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} + diff --git a/tests/de/step_2/G3 b/tests/de/step_2/G3 index 4f18081772..6c653e54e5 100644 --- a/tests/de/step_2/G3 +++ b/tests/de/step_2/G3 @@ -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} + diff --git a/tests/de/step_2/G4 b/tests/de/step_2/G4 index 955a819703..f2215eda56 100644 --- a/tests/de/step_2/G4 +++ b/tests/de/step_2/G4 @@ -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} + diff --git a/tests/de/step_2/G5 b/tests/de/step_2/G5 index f5cd3c70c6..be4ceff5fb 100644 --- a/tests/de/step_2/G5 +++ b/tests/de/step_2/G5 @@ -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} + diff --git a/tests/de/step_2/G6 b/tests/de/step_2/G6 index c437d5dc9b..8d73570732 100644 --- a/tests/de/step_2/G6 +++ b/tests/de/step_2/G6 @@ -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} + diff --git a/tests/de/step_2/G7 b/tests/de/step_2/G7 index 88f0ec20c6..1941c805e4 100644 --- a/tests/de/step_2/G7 +++ b/tests/de/step_2/G7 @@ -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} + diff --git a/tests/de/step_2/G8 b/tests/de/step_2/G8 index f781ab8b32..503a200b25 100644 --- a/tests/de/step_2/G8 +++ b/tests/de/step_2/G8 @@ -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} + diff --git a/tests/de/step_2/G9 b/tests/de/step_2/G9 index 39a1b45edc..6f918172a3 100644 --- a/tests/de/step_2/G9 +++ b/tests/de/step_2/G9 @@ -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} + diff --git a/tests/de/step_2/H1 b/tests/de/step_2/H1 index b06beb6e13..5f7660760e 100644 --- a/tests/de/step_2/H1 +++ b/tests/de/step_2/H1 @@ -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} + diff --git a/tests/de/step_2/H2 b/tests/de/step_2/H2 index a757c95d81..9eea23f0d6 100644 --- a/tests/de/step_2/H2 +++ b/tests/de/step_2/H2 @@ -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} + diff --git a/tests/de/step_2/H3 b/tests/de/step_2/H3 index 23ac0a90d1..eecf5c6eda 100644 --- a/tests/de/step_2/H3 +++ b/tests/de/step_2/H3 @@ -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} + diff --git a/tests/de/step_2/H4 b/tests/de/step_2/H4 index b04f0fd121..a86714e6f3 100644 --- a/tests/de/step_2/H4 +++ b/tests/de/step_2/H4 @@ -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} + diff --git a/tests/de/step_2/H5 b/tests/de/step_2/H5 index dc5888a7f2..8d96926e6a 100644 --- a/tests/de/step_2/H5 +++ b/tests/de/step_2/H5 @@ -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} + diff --git a/tests/de/step_2/H6 b/tests/de/step_2/H6 index e55b7d7cee..2d8b69c53c 100644 --- a/tests/de/step_2/H6 +++ b/tests/de/step_2/H6 @@ -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} + diff --git a/tests/de/step_2/H7 b/tests/de/step_2/H7 index bc63bbf990..fb94a29260 100644 --- a/tests/de/step_2/H7 +++ b/tests/de/step_2/H7 @@ -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} + diff --git a/tests/de/step_2/H8 b/tests/de/step_2/H8 index 4a3a960523..c90cc95509 100644 --- a/tests/de/step_2/H8 +++ b/tests/de/step_2/H8 @@ -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} + diff --git a/tests/de/step_2/H9 b/tests/de/step_2/H9 index 16f2649e47..b8add42518 100644 --- a/tests/de/step_2/H9 +++ b/tests/de/step_2/H9 @@ -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} + diff --git a/tests/de/step_2/I1 b/tests/de/step_2/I1 index 237e6fe2e3..71f8570660 100644 --- a/tests/de/step_2/I1 +++ b/tests/de/step_2/I1 @@ -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} + diff --git a/tests/de/step_2/I2 b/tests/de/step_2/I2 index 82b1282c4f..a6bbfca427 100644 --- a/tests/de/step_2/I2 +++ b/tests/de/step_2/I2 @@ -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} + diff --git a/tests/de/step_2/I3 b/tests/de/step_2/I3 index 04b8688378..5f174388e4 100644 --- a/tests/de/step_2/I3 +++ b/tests/de/step_2/I3 @@ -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} + diff --git a/tests/de/step_2/I4 b/tests/de/step_2/I4 index 229e758eb0..a064278bdb 100644 --- a/tests/de/step_2/I4 +++ b/tests/de/step_2/I4 @@ -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} + diff --git a/tests/de/step_2/I5 b/tests/de/step_2/I5 index bf24d8840f..fd96d1b34f 100644 --- a/tests/de/step_2/I5 +++ b/tests/de/step_2/I5 @@ -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} + diff --git a/tests/de/step_2/I6 b/tests/de/step_2/I6 index 20eb9bd489..1fdd683552 100644 --- a/tests/de/step_2/I6 +++ b/tests/de/step_2/I6 @@ -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} + diff --git a/tests/de/step_2/I7 b/tests/de/step_2/I7 index 2dc1fec03f..f23d004af9 100644 --- a/tests/de/step_2/I7 +++ b/tests/de/step_2/I7 @@ -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} + diff --git a/tests/de/step_2/I8 b/tests/de/step_2/I8 index 7f09b2c67f..6818b23278 100644 --- a/tests/de/step_2/I8 +++ b/tests/de/step_2/I8 @@ -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} + diff --git a/tests/de/step_2/I9 b/tests/de/step_2/I9 index 4e014a8a60..e6bf61c563 100644 --- a/tests/de/step_2/I9 +++ b/tests/de/step_2/I9 @@ -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} + diff --git a/tests/de/step_2/J1 b/tests/de/step_2/J1 index 407631ff78..1cbeb4edb9 100644 --- a/tests/de/step_2/J1 +++ b/tests/de/step_2/J1 @@ -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} + diff --git a/tests/de/step_2/J2 b/tests/de/step_2/J2 index fa769012a4..42d432dc58 100644 --- a/tests/de/step_2/J2 +++ b/tests/de/step_2/J2 @@ -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} + diff --git a/tests/de/step_2/J3 b/tests/de/step_2/J3 index 9037dceb8d..60a2fb0c33 100644 --- a/tests/de/step_2/J3 +++ b/tests/de/step_2/J3 @@ -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} + diff --git a/tests/de/step_2/J4 b/tests/de/step_2/J4 index d8c1446e26..bc11a16671 100644 --- a/tests/de/step_2/J4 +++ b/tests/de/step_2/J4 @@ -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} + diff --git a/tests/de/step_2/J5 b/tests/de/step_2/J5 index b31f7bde59..b77df01fd5 100644 --- a/tests/de/step_2/J5 +++ b/tests/de/step_2/J5 @@ -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} + diff --git a/tests/de/step_2/J6 b/tests/de/step_2/J6 index bedb4549cc..a074312bd9 100644 --- a/tests/de/step_2/J6 +++ b/tests/de/step_2/J6 @@ -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} + diff --git a/tests/de/step_2/J7 b/tests/de/step_2/J7 index 0f7c0fccd7..fb77b7f542 100644 --- a/tests/de/step_2/J7 +++ b/tests/de/step_2/J7 @@ -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} + diff --git a/tests/de/step_2/J8 b/tests/de/step_2/J8 index bab94b76f0..2c6b4b3bd0 100644 --- a/tests/de/step_2/J8 +++ b/tests/de/step_2/J8 @@ -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} + diff --git a/tests/de/step_2/J9 b/tests/de/step_2/J9 index 1bd4aead82..8f0082fce6 100644 --- a/tests/de/step_2/J9 +++ b/tests/de/step_2/J9 @@ -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} + diff --git a/tests/de/step_2/K1 b/tests/de/step_2/K1 index 6e5decc0a4..f2e15dac8f 100644 --- a/tests/de/step_2/K1 +++ b/tests/de/step_2/K1 @@ -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} + diff --git a/tests/de/step_2/K2 b/tests/de/step_2/K2 index fc3e7fe225..2f93ef8515 100644 --- a/tests/de/step_2/K2 +++ b/tests/de/step_2/K2 @@ -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} + diff --git a/tests/de/step_2/K3 b/tests/de/step_2/K3 index bc3ba79a46..9206cf0783 100644 --- a/tests/de/step_2/K3 +++ b/tests/de/step_2/K3 @@ -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} + diff --git a/tests/de/step_2/K4 b/tests/de/step_2/K4 index 19cd4f8e25..3f616d5427 100644 --- a/tests/de/step_2/K4 +++ b/tests/de/step_2/K4 @@ -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} + diff --git a/tests/de/step_2/K5 b/tests/de/step_2/K5 index 85f7e16f03..e038ec659d 100644 --- a/tests/de/step_2/K5 +++ b/tests/de/step_2/K5 @@ -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} + diff --git a/tests/de/step_2/K6 b/tests/de/step_2/K6 index e9aad2a0b1..10dede5697 100644 --- a/tests/de/step_2/K6 +++ b/tests/de/step_2/K6 @@ -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} + diff --git a/tests/de/step_2/K7 b/tests/de/step_2/K7 index afe3da6522..3e7eb84a72 100644 --- a/tests/de/step_2/K7 +++ b/tests/de/step_2/K7 @@ -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} + diff --git a/tests/de/step_2/K8 b/tests/de/step_2/K8 index 2b05fe42f9..297c4ab660 100644 --- a/tests/de/step_2/K8 +++ b/tests/de/step_2/K8 @@ -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} + diff --git a/tests/de/step_2/K9 b/tests/de/step_2/K9 index 749f5c1447..d132476b07 100644 --- a/tests/de/step_2/K9 +++ b/tests/de/step_2/K9 @@ -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} + diff --git a/tests/de/step_2/L1 b/tests/de/step_2/L1 index 6ac984ad47..f79e090bd7 100644 --- a/tests/de/step_2/L1 +++ b/tests/de/step_2/L1 @@ -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} + diff --git a/tests/de/step_2/L2 b/tests/de/step_2/L2 index 392e3b3858..de20eebf5b 100644 --- a/tests/de/step_2/L2 +++ b/tests/de/step_2/L2 @@ -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} + diff --git a/tests/de/step_2/L3 b/tests/de/step_2/L3 index 00695c5f4a..1fe96ff27d 100644 --- a/tests/de/step_2/L3 +++ b/tests/de/step_2/L3 @@ -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} + diff --git a/tests/de/step_2/L4 b/tests/de/step_2/L4 index d35d49270c..4f52019ee7 100644 --- a/tests/de/step_2/L4 +++ b/tests/de/step_2/L4 @@ -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} + diff --git a/tests/de/step_2/L5 b/tests/de/step_2/L5 index 4963d6f676..9b3a50b208 100644 --- a/tests/de/step_2/L5 +++ b/tests/de/step_2/L5 @@ -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} + diff --git a/tests/de/step_2/L6 b/tests/de/step_2/L6 index 7edd02e6bc..68db0b47f8 100644 --- a/tests/de/step_2/L6 +++ b/tests/de/step_2/L6 @@ -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} + diff --git a/tests/de/step_2/L7 b/tests/de/step_2/L7 index 5c7fe5e93f..9d7b6ae373 100644 --- a/tests/de/step_2/L7 +++ b/tests/de/step_2/L7 @@ -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} + diff --git a/tests/de/step_2/L8 b/tests/de/step_2/L8 index ebf2231322..87477f44b6 100644 --- a/tests/de/step_2/L8 +++ b/tests/de/step_2/L8 @@ -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} + diff --git a/tests/de/step_2/L9 b/tests/de/step_2/L9 index 06d25d69f2..0fc0471f17 100644 --- a/tests/de/step_2/L9 +++ b/tests/de/step_2/L9 @@ -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} + diff --git a/tests/de/step_2/M1 b/tests/de/step_2/M1 index 1dfb6b8007..a94551d5ca 100644 --- a/tests/de/step_2/M1 +++ b/tests/de/step_2/M1 @@ -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} + diff --git a/tests/de/step_2/M2 b/tests/de/step_2/M2 index 30145ba43b..e8ffcf2381 100644 --- a/tests/de/step_2/M2 +++ b/tests/de/step_2/M2 @@ -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} + diff --git a/tests/de/step_2/M3 b/tests/de/step_2/M3 index 29c6981115..da9408c598 100644 --- a/tests/de/step_2/M3 +++ b/tests/de/step_2/M3 @@ -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} + diff --git a/tests/de/step_2/M4 b/tests/de/step_2/M4 index a4b99a4e7e..d31840cac9 100644 --- a/tests/de/step_2/M4 +++ b/tests/de/step_2/M4 @@ -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} + diff --git a/tests/de/step_2/M5 b/tests/de/step_2/M5 index 1d4baa1f6b..3efb1ca68e 100644 --- a/tests/de/step_2/M5 +++ b/tests/de/step_2/M5 @@ -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} + diff --git a/tests/de/step_2/M6 b/tests/de/step_2/M6 index d4fd0da324..6d3420be5e 100644 --- a/tests/de/step_2/M6 +++ b/tests/de/step_2/M6 @@ -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} + diff --git a/tests/de/step_2/M7 b/tests/de/step_2/M7 index 377c183be5..7726a4e35b 100644 --- a/tests/de/step_2/M7 +++ b/tests/de/step_2/M7 @@ -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} + diff --git a/tests/de/step_2/M8 b/tests/de/step_2/M8 index 866c5cff21..a959ad53e6 100644 --- a/tests/de/step_2/M8 +++ b/tests/de/step_2/M8 @@ -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} + diff --git a/tests/de/step_2/M9 b/tests/de/step_2/M9 index e98d09dfc2..3f890edfa8 100644 --- a/tests/de/step_2/M9 +++ b/tests/de/step_2/M9 @@ -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} + diff --git a/tests/de/step_2/N1 b/tests/de/step_2/N1 index 6b24f380a5..cfe21094ff 100644 --- a/tests/de/step_2/N1 +++ b/tests/de/step_2/N1 @@ -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} + diff --git a/tests/de/step_2/N2 b/tests/de/step_2/N2 index 12677891c9..432bb34455 100644 --- a/tests/de/step_2/N2 +++ b/tests/de/step_2/N2 @@ -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} + diff --git a/tests/de/step_2/N3 b/tests/de/step_2/N3 index b84e396311..bade29b028 100644 --- a/tests/de/step_2/N3 +++ b/tests/de/step_2/N3 @@ -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} + diff --git a/tests/de/step_2/N4 b/tests/de/step_2/N4 index db140f692b..9f5158632d 100644 --- a/tests/de/step_2/N4 +++ b/tests/de/step_2/N4 @@ -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} + diff --git a/tests/de/step_2/N5 b/tests/de/step_2/N5 index 665e72c7c4..f94f857c32 100644 --- a/tests/de/step_2/N5 +++ b/tests/de/step_2/N5 @@ -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} + diff --git a/tests/de/step_2/N6 b/tests/de/step_2/N6 index 08ead2d2aa..b37277ba6c 100644 --- a/tests/de/step_2/N6 +++ b/tests/de/step_2/N6 @@ -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} + diff --git a/tests/de/step_2/N7 b/tests/de/step_2/N7 index b1a9389b61..1ae9096afa 100644 --- a/tests/de/step_2/N7 +++ b/tests/de/step_2/N7 @@ -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} + diff --git a/tests/de/step_2/N8 b/tests/de/step_2/N8 index bb68feb83d..abc9291c4a 100644 --- a/tests/de/step_2/N8 +++ b/tests/de/step_2/N8 @@ -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 = ( ) - -} diff --git a/tests/de/step_2/N9 b/tests/de/step_2/N9 index 1a52e84520..7ce40b9c3f 100644 --- a/tests/de/step_2/N9 +++ b/tests/de/step_2/N9 @@ -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} + diff --git a/tests/de/step_2/O1 b/tests/de/step_2/O1 index d64db823ad..f58ca36d01 100644 --- a/tests/de/step_2/O1 +++ b/tests/de/step_2/O1 @@ -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} + diff --git a/tests/de/step_2/O2 b/tests/de/step_2/O2 index d454daaa4e..b70b4f8eba 100644 --- a/tests/de/step_2/O2 +++ b/tests/de/step_2/O2 @@ -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} + diff --git a/tests/de/step_2/O3 b/tests/de/step_2/O3 index 6f5d4dd2fc..7264c9968c 100644 --- a/tests/de/step_2/O3 +++ b/tests/de/step_2/O3 @@ -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} + diff --git a/tests/de/step_2/O4 b/tests/de/step_2/O4 index c3c2b9c93c..9a854b03c8 100644 --- a/tests/de/step_2/O4 +++ b/tests/de/step_2/O4 @@ -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} + diff --git a/tests/de/step_2/O5 b/tests/de/step_2/O5 index f130a54bd8..0d8f0c0f61 100644 --- a/tests/de/step_2/O5 +++ b/tests/de/step_2/O5 @@ -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} + diff --git a/tests/de/step_2/O6 b/tests/de/step_2/O6 index ca43bfb3d8..56ba1ee753 100644 --- a/tests/de/step_2/O6 +++ b/tests/de/step_2/O6 @@ -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} + diff --git a/tests/de/step_2/O7 b/tests/de/step_2/O7 index 078eb6d4ad..7205f20e89 100644 --- a/tests/de/step_2/O7 +++ b/tests/de/step_2/O7 @@ -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} + diff --git a/tests/de/step_2/O8 b/tests/de/step_2/O8 index 60a55375a8..752791e6dc 100644 --- a/tests/de/step_2/O8 +++ b/tests/de/step_2/O8 @@ -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} + diff --git a/tests/de/step_2/O9 b/tests/de/step_2/O9 index f0b06996e8..a36eea89c7 100644 --- a/tests/de/step_2/O9 +++ b/tests/de/step_2/O9 @@ -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} + diff --git a/tests/de/step_2/P1 b/tests/de/step_2/P1 index 805df98340..cfcfdea5f7 100644 --- a/tests/de/step_2/P1 +++ b/tests/de/step_2/P1 @@ -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} + diff --git a/tests/de/step_2/P2 b/tests/de/step_2/P2 index 726080940a..3b08e21975 100644 --- a/tests/de/step_2/P2 +++ b/tests/de/step_2/P2 @@ -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} + diff --git a/tests/de/step_2/P3 b/tests/de/step_2/P3 index b263d8049b..e1f409da1b 100644 --- a/tests/de/step_2/P3 +++ b/tests/de/step_2/P3 @@ -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} + diff --git a/tests/de/step_2/P4 b/tests/de/step_2/P4 index 04fc453a20..87c629ad78 100644 --- a/tests/de/step_2/P4 +++ b/tests/de/step_2/P4 @@ -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} + diff --git a/tests/de/step_2/P5 b/tests/de/step_2/P5 index 6a6f89c93e..f7fa8ffcef 100644 --- a/tests/de/step_2/P5 +++ b/tests/de/step_2/P5 @@ -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} + diff --git a/tests/de/step_2/P6 b/tests/de/step_2/P6 index b5d77bfec3..37801e69c6 100644 --- a/tests/de/step_2/P6 +++ b/tests/de/step_2/P6 @@ -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} + diff --git a/tests/de/step_2/P7 b/tests/de/step_2/P7 index a2e468f7a4..6b9bcbe619 100644 --- a/tests/de/step_2/P7 +++ b/tests/de/step_2/P7 @@ -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} + diff --git a/tests/de/step_2/P8 b/tests/de/step_2/P8 index 217fc6c7e5..665d307619 100644 --- a/tests/de/step_2/P8 +++ b/tests/de/step_2/P8 @@ -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} + diff --git a/tests/de/step_2/P9 b/tests/de/step_2/P9 index b67df1d64f..d7ab37c2c3 100644 --- a/tests/de/step_2/P9 +++ b/tests/de/step_2/P9 @@ -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} + diff --git a/tests/de/step_2/Q1 b/tests/de/step_2/Q1 index a878ea84ef..da48eacfd1 100644 --- a/tests/de/step_2/Q1 +++ b/tests/de/step_2/Q1 @@ -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} + diff --git a/tests/de/step_2/Q2 b/tests/de/step_2/Q2 index 147f25f50b..5156238f58 100644 --- a/tests/de/step_2/Q2 +++ b/tests/de/step_2/Q2 @@ -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} + diff --git a/tests/de/step_2/Q3 b/tests/de/step_2/Q3 index 3f896b5614..a26e4df245 100644 --- a/tests/de/step_2/Q3 +++ b/tests/de/step_2/Q3 @@ -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} + diff --git a/tests/de/step_2/Q4 b/tests/de/step_2/Q4 index e811e64fcd..ebf9180403 100644 --- a/tests/de/step_2/Q4 +++ b/tests/de/step_2/Q4 @@ -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} + diff --git a/tests/de/step_2/Q5 b/tests/de/step_2/Q5 index 5e4a3754af..7b7a0ce3b7 100644 --- a/tests/de/step_2/Q5 +++ b/tests/de/step_2/Q5 @@ -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} + diff --git a/tests/de/step_2/Q6 b/tests/de/step_2/Q6 index 2b47785f97..e25e9c650d 100644 --- a/tests/de/step_2/Q6 +++ b/tests/de/step_2/Q6 @@ -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} + diff --git a/tests/de/step_2/Q7 b/tests/de/step_2/Q7 index 1152ef38c6..7ef1720670 100644 --- a/tests/de/step_2/Q7 +++ b/tests/de/step_2/Q7 @@ -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} + diff --git a/tests/de/step_2/Q8 b/tests/de/step_2/Q8 index 2a2b331e06..9a8e0d3843 100644 --- a/tests/de/step_2/Q8 +++ b/tests/de/step_2/Q8 @@ -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} + diff --git a/tests/de/step_2/Q9 b/tests/de/step_2/Q9 index 69952b4979..253546c3b7 100644 --- a/tests/de/step_2/Q9 +++ b/tests/de/step_2/Q9 @@ -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} + diff --git a/tests/de/step_2/R1 b/tests/de/step_2/R1 index fad4eac6bb..78d29c0c5e 100644 --- a/tests/de/step_2/R1 +++ b/tests/de/step_2/R1 @@ -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} + diff --git a/tests/de/step_2/R2 b/tests/de/step_2/R2 index cc18f1564c..ff82f21522 100644 --- a/tests/de/step_2/R2 +++ b/tests/de/step_2/R2 @@ -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} + diff --git a/tests/de/step_2/R3 b/tests/de/step_2/R3 index 9830eb94de..d4452bd9cc 100644 --- a/tests/de/step_2/R3 +++ b/tests/de/step_2/R3 @@ -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} + diff --git a/tests/de/step_2/R4 b/tests/de/step_2/R4 index 47b4d1dab4..45b54c7d92 100644 --- a/tests/de/step_2/R4 +++ b/tests/de/step_2/R4 @@ -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} + diff --git a/tests/de/step_2/R5 b/tests/de/step_2/R5 index a8c5997310..a3036fa75c 100644 --- a/tests/de/step_2/R5 +++ b/tests/de/step_2/R5 @@ -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} + diff --git a/tests/de/step_2/R6 b/tests/de/step_2/R6 index d1f28559eb..94e43dfcd9 100644 --- a/tests/de/step_2/R6 +++ b/tests/de/step_2/R6 @@ -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} + diff --git a/tests/de/step_2/R7 b/tests/de/step_2/R7 index f04403c68d..81952eab6c 100644 --- a/tests/de/step_2/R7 +++ b/tests/de/step_2/R7 @@ -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} + diff --git a/tests/de/step_2/R8 b/tests/de/step_2/R8 index c77799440f..e9b03994f7 100644 --- a/tests/de/step_2/R8 +++ b/tests/de/step_2/R8 @@ -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} + diff --git a/tests/de/step_2/R9 b/tests/de/step_2/R9 index bd2896d204..714ae5340d 100644 --- a/tests/de/step_2/R9 +++ b/tests/de/step_2/R9 @@ -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} + diff --git a/tests/de/step_2/S1 b/tests/de/step_2/S1 index c3a1425f4b..8474d62617 100755 --- a/tests/de/step_2/S1 +++ b/tests/de/step_2/S1 @@ -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} + diff --git a/tests/de/step_2/S2 b/tests/de/step_2/S2 index 2a90a47c8f..c16b2ff5e7 100644 --- a/tests/de/step_2/S2 +++ b/tests/de/step_2/S2 @@ -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} + diff --git a/tests/de/step_2/S3 b/tests/de/step_2/S3 index aa0069326a..d5cabf7fe1 100644 --- a/tests/de/step_2/S3 +++ b/tests/de/step_2/S3 @@ -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} + diff --git a/tests/de/step_2/S4 b/tests/de/step_2/S4 index 62bebcc41d..f320d45d36 100644 --- a/tests/de/step_2/S4 +++ b/tests/de/step_2/S4 @@ -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} + diff --git a/tests/de/step_2/S5 b/tests/de/step_2/S5 index 6053a1daf4..5f2a357c39 100644 --- a/tests/de/step_2/S5 +++ b/tests/de/step_2/S5 @@ -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} + diff --git a/tests/de/step_2/S6 b/tests/de/step_2/S6 index fb7fdfd22c..f5f9a8d081 100644 --- a/tests/de/step_2/S6 +++ b/tests/de/step_2/S6 @@ -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} + diff --git a/tests/de/step_2/S7 b/tests/de/step_2/S7 index bdc6d47899..bf3c3610fc 100644 --- a/tests/de/step_2/S7 +++ b/tests/de/step_2/S7 @@ -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} + diff --git a/tests/de/step_2/S8 b/tests/de/step_2/S8 index 844487700e..dc8097b649 100644 --- a/tests/de/step_2/S8 +++ b/tests/de/step_2/S8 @@ -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} + diff --git a/tests/de/step_2/S9 b/tests/de/step_2/S9 index 4efcc36fdc..95af6bc525 100644 --- a/tests/de/step_2/S9 +++ b/tests/de/step_2/S9 @@ -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} + diff --git a/tests/de/step_2/T1 b/tests/de/step_2/T1 index 7cab7c8f0e..4f87ad55c4 100644 --- a/tests/de/step_2/T1 +++ b/tests/de/step_2/T1 @@ -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} + diff --git a/tests/de/step_2/T2 b/tests/de/step_2/T2 index 63b2e14b39..867b288670 100644 --- a/tests/de/step_2/T2 +++ b/tests/de/step_2/T2 @@ -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} + diff --git a/tests/de/step_2/T3 b/tests/de/step_2/T3 index d7bf11d3c7..330b1495be 100644 --- a/tests/de/step_2/T3 +++ b/tests/de/step_2/T3 @@ -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} + diff --git a/tests/de/step_2/T4 b/tests/de/step_2/T4 index c2a44d1ca9..df6c8c981b 100644 --- a/tests/de/step_2/T4 +++ b/tests/de/step_2/T4 @@ -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} + diff --git a/tests/de/step_2/T5 b/tests/de/step_2/T5 index c947c98bd7..cb8a074a31 100644 --- a/tests/de/step_2/T5 +++ b/tests/de/step_2/T5 @@ -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} + diff --git a/tests/de/step_2/T6 b/tests/de/step_2/T6 index d8e9edfb26..39329f7df0 100644 --- a/tests/de/step_2/T6 +++ b/tests/de/step_2/T6 @@ -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} + diff --git a/tests/de/step_2/T7 b/tests/de/step_2/T7 index 85c2eab2fb..b338e7b6b4 100644 --- a/tests/de/step_2/T7 +++ b/tests/de/step_2/T7 @@ -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} + diff --git a/tests/de/step_2/T8 b/tests/de/step_2/T8 index c7daddeb01..6adcec9616 100644 --- a/tests/de/step_2/T8 +++ b/tests/de/step_2/T8 @@ -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} + diff --git a/tests/de/step_2/T9 b/tests/de/step_2/T9 index 66a19677ea..465133f82d 100755 --- a/tests/de/step_2/T9 +++ b/tests/de/step_2/T9 @@ -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} + diff --git a/tests/de/step_2/U1 b/tests/de/step_2/U1 index df86a4eb33..85516b7b1e 100644 --- a/tests/de/step_2/U1 +++ b/tests/de/step_2/U1 @@ -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} + diff --git a/tests/de/step_2/U2 b/tests/de/step_2/U2 index 7c4f752df2..498da0ab98 100644 --- a/tests/de/step_2/U2 +++ b/tests/de/step_2/U2 @@ -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} + diff --git a/tests/de/step_2/U3 b/tests/de/step_2/U3 index 5689e990fa..12a5f1073b 100644 --- a/tests/de/step_2/U3 +++ b/tests/de/step_2/U3 @@ -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} + diff --git a/tests/de/step_2/U4 b/tests/de/step_2/U4 index 36e1c0eba6..5888b3ebfe 100644 --- a/tests/de/step_2/U4 +++ b/tests/de/step_2/U4 @@ -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} + diff --git a/tests/de/step_2/U5 b/tests/de/step_2/U5 index da92381c29..ee16b5d923 100644 --- a/tests/de/step_2/U5 +++ b/tests/de/step_2/U5 @@ -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} + diff --git a/tests/de/step_2/U6 b/tests/de/step_2/U6 index 2c6f62ebc4..4d68d8ea31 100644 --- a/tests/de/step_2/U6 +++ b/tests/de/step_2/U6 @@ -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} + diff --git a/tests/de/step_2/U7 b/tests/de/step_2/U7 index 482c329d13..7baa51d0c5 100644 --- a/tests/de/step_2/U7 +++ b/tests/de/step_2/U7 @@ -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} + diff --git a/tests/de/step_2/U8 b/tests/de/step_2/U8 index aca76ada76..fa99ead615 100644 --- a/tests/de/step_2/U8 +++ b/tests/de/step_2/U8 @@ -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} + diff --git a/tests/de/step_2/U9 b/tests/de/step_2/U9 index eadad1c7fe..666057e2f9 100644 --- a/tests/de/step_2/U9 +++ b/tests/de/step_2/U9 @@ -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} + diff --git a/tests/de/step_2/V1 b/tests/de/step_2/V1 index 69e86e95c1..636305ad29 100644 --- a/tests/de/step_2/V1 +++ b/tests/de/step_2/V1 @@ -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} + diff --git a/tests/de/step_2/V2 b/tests/de/step_2/V2 index f945fb0131..99b1c3e63d 100644 --- a/tests/de/step_2/V2 +++ b/tests/de/step_2/V2 @@ -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} + diff --git a/tests/de/step_2/V3 b/tests/de/step_2/V3 index 667c0346b3..28e367dc30 100644 --- a/tests/de/step_2/V3 +++ b/tests/de/step_2/V3 @@ -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} + diff --git a/tests/de/step_2/V4 b/tests/de/step_2/V4 index bca75a366a..863ccc7730 100644 --- a/tests/de/step_2/V4 +++ b/tests/de/step_2/V4 @@ -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} + diff --git a/tests/de/step_2/V5 b/tests/de/step_2/V5 index d1145568e5..ae6f796d89 100644 --- a/tests/de/step_2/V5 +++ b/tests/de/step_2/V5 @@ -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} + diff --git a/tests/de/step_2/V6 b/tests/de/step_2/V6 index 11c573d081..0da243a720 100644 --- a/tests/de/step_2/V6 +++ b/tests/de/step_2/V6 @@ -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} + diff --git a/tests/de/step_2/V7 b/tests/de/step_2/V7 index 290e72be83..0dd8e62c0d 100644 --- a/tests/de/step_2/V7 +++ b/tests/de/step_2/V7 @@ -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} + diff --git a/tests/de/step_2/V8 b/tests/de/step_2/V8 index a1d75db03c..582d110119 100644 --- a/tests/de/step_2/V8 +++ b/tests/de/step_2/V8 @@ -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} + diff --git a/tests/de/step_2/V9 b/tests/de/step_2/V9 index 432e47abc8..e7fc4d8982 100644 --- a/tests/de/step_2/V9 +++ b/tests/de/step_2/V9 @@ -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} + diff --git a/tests/de/step_2/W1 b/tests/de/step_2/W1 index 82e8492709..f4a1d23771 100644 --- a/tests/de/step_2/W1 +++ b/tests/de/step_2/W1 @@ -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} + diff --git a/tests/de/step_2/W2 b/tests/de/step_2/W2 index 89040f3653..384189e7bd 100755 --- a/tests/de/step_2/W2 +++ b/tests/de/step_2/W2 @@ -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} + diff --git a/tests/de/step_2/W3 b/tests/de/step_2/W3 index b99b27557e..e899f86420 100644 --- a/tests/de/step_2/W3 +++ b/tests/de/step_2/W3 @@ -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} + diff --git a/tests/de/step_2/W4 b/tests/de/step_2/W4 index b6c84f6f85..9556f0e55a 100644 --- a/tests/de/step_2/W4 +++ b/tests/de/step_2/W4 @@ -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} + diff --git a/tests/de/step_2/W5 b/tests/de/step_2/W5 index 9b78289f01..3284960575 100644 --- a/tests/de/step_2/W5 +++ b/tests/de/step_2/W5 @@ -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} + diff --git a/tests/de/step_2/W6 b/tests/de/step_2/W6 index 953fb8c1d0..be6ac7e8b7 100644 --- a/tests/de/step_2/W6 +++ b/tests/de/step_2/W6 @@ -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} + diff --git a/tests/de/step_2/W7 b/tests/de/step_2/W7 index 8a5217631b..863eb8be27 100644 --- a/tests/de/step_2/W7 +++ b/tests/de/step_2/W7 @@ -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} + diff --git a/tests/de/step_2/W8 b/tests/de/step_2/W8 index 9ae9e4df67..36e5f9ff87 100644 --- a/tests/de/step_2/W8 +++ b/tests/de/step_2/W8 @@ -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} + diff --git a/tests/de/step_2/W9 b/tests/de/step_2/W9 index 325904c63e..d475c96448 100644 --- a/tests/de/step_2/W9 +++ b/tests/de/step_2/W9 @@ -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} + diff --git a/tests/de/step_2/X1 b/tests/de/step_2/X1 index d1b5883508..ab2c87a5d1 100644 --- a/tests/de/step_2/X1 +++ b/tests/de/step_2/X1 @@ -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} + diff --git a/tests/de/step_2/X2 b/tests/de/step_2/X2 index 0a327bbe7e..104c48c18f 100644 --- a/tests/de/step_2/X2 +++ b/tests/de/step_2/X2 @@ -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} + diff --git a/tests/de/step_2/X3 b/tests/de/step_2/X3 index fa3c05ca41..382415dd2f 100644 --- a/tests/de/step_2/X3 +++ b/tests/de/step_2/X3 @@ -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} + diff --git a/tests/de/step_2/X4 b/tests/de/step_2/X4 index 92b36988bb..c96f065d95 100644 --- a/tests/de/step_2/X4 +++ b/tests/de/step_2/X4 @@ -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} + diff --git a/tests/de/step_2/X5 b/tests/de/step_2/X5 index 2e5d4f3ec8..006a092098 100644 --- a/tests/de/step_2/X5 +++ b/tests/de/step_2/X5 @@ -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} + diff --git a/tests/de/step_2/X6 b/tests/de/step_2/X6 index d4ffd1613b..0ca151f751 100644 --- a/tests/de/step_2/X6 +++ b/tests/de/step_2/X6 @@ -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} + diff --git a/tests/de/step_2/X7 b/tests/de/step_2/X7 index 815a862c4d..de368a5f51 100644 --- a/tests/de/step_2/X7 +++ b/tests/de/step_2/X7 @@ -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} + diff --git a/tests/de/step_2/X8 b/tests/de/step_2/X8 index 4d0aeaf3ce..7bf4a03ade 100644 --- a/tests/de/step_2/X8 +++ b/tests/de/step_2/X8 @@ -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} + diff --git a/tests/de/step_2/X9 b/tests/de/step_2/X9 index a27cf4617d..65011353eb 100644 --- a/tests/de/step_2/X9 +++ b/tests/de/step_2/X9 @@ -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} + diff --git a/tests/de/step_2/Y1 b/tests/de/step_2/Y1 index ea640d9d0a..66ed28011d 100644 --- a/tests/de/step_2/Y1 +++ b/tests/de/step_2/Y1 @@ -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} + diff --git a/tests/de/step_2/Y2 b/tests/de/step_2/Y2 index b798a697a3..12ce058323 100644 --- a/tests/de/step_2/Y2 +++ b/tests/de/step_2/Y2 @@ -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} + diff --git a/tests/de/step_2/Y3 b/tests/de/step_2/Y3 index 8622908376..91abfd4d05 100644 --- a/tests/de/step_2/Y3 +++ b/tests/de/step_2/Y3 @@ -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} + diff --git a/tests/de/step_2/Y4 b/tests/de/step_2/Y4 index 8cc6128877..3cce1b02ab 100644 --- a/tests/de/step_2/Y4 +++ b/tests/de/step_2/Y4 @@ -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} + diff --git a/tests/de/step_2/Y5 b/tests/de/step_2/Y5 index a36b39e710..7c2d9e0099 100644 --- a/tests/de/step_2/Y5 +++ b/tests/de/step_2/Y5 @@ -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} + diff --git a/tests/de/step_3/A1 b/tests/de/step_3/A1 index a6e96e7d64..c557f453b9 100644 --- a/tests/de/step_3/A1 +++ b/tests/de/step_3/A1 @@ -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} + diff --git a/tests/de/step_3/A2 b/tests/de/step_3/A2 index adbde44c47..963aa4d6b2 100644 --- a/tests/de/step_3/A2 +++ b/tests/de/step_3/A2 @@ -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} + diff --git a/tests/de/step_3/A3 b/tests/de/step_3/A3 index 61d79936d5..e3730762b0 100644 --- a/tests/de/step_3/A3 +++ b/tests/de/step_3/A3 @@ -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} + diff --git a/tests/de/step_3/A4 b/tests/de/step_3/A4 index fbcb11a9a1..e51f37ba93 100644 --- a/tests/de/step_3/A4 +++ b/tests/de/step_3/A4 @@ -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} + diff --git a/tests/de/step_3/A5 b/tests/de/step_3/A5 index dcb4c97a7d..89873f5abb 100755 --- a/tests/de/step_3/A5 +++ b/tests/de/step_3/A5 @@ -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} + diff --git a/tests/de/step_3/A6 b/tests/de/step_3/A6 index 1d3e5f29d9..f3eacf7cba 100644 --- a/tests/de/step_3/A6 +++ b/tests/de/step_3/A6 @@ -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} + diff --git a/tests/de/step_3/A7 b/tests/de/step_3/A7 index 2f350b159a..6dc5b5019f 100644 --- a/tests/de/step_3/A7 +++ b/tests/de/step_3/A7 @@ -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} + diff --git a/tests/de/step_3/A8 b/tests/de/step_3/A8 index cb95fa9ece..8d1645419a 100644 --- a/tests/de/step_3/A8 +++ b/tests/de/step_3/A8 @@ -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} + diff --git a/tests/de/step_3/A9 b/tests/de/step_3/A9 index 320b7cb839..48e8bb6b0c 100755 --- a/tests/de/step_3/A9 +++ b/tests/de/step_3/A9 @@ -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} + diff --git a/tests/de/step_3/B1 b/tests/de/step_3/B1 index 7420edf8d1..c9bb24f37b 100644 --- a/tests/de/step_3/B1 +++ b/tests/de/step_3/B1 @@ -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} + diff --git a/tests/de/step_3/B2 b/tests/de/step_3/B2 index 49c10b316b..9ad09c7d58 100644 --- a/tests/de/step_3/B2 +++ b/tests/de/step_3/B2 @@ -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} + diff --git a/tests/de/step_3/B3 b/tests/de/step_3/B3 index 5fef87e0d5..196ea9b2fe 100644 --- a/tests/de/step_3/B3 +++ b/tests/de/step_3/B3 @@ -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} + diff --git a/tests/de/step_3/B4 b/tests/de/step_3/B4 index ed865150c1..7c1b30bdb8 100644 --- a/tests/de/step_3/B4 +++ b/tests/de/step_3/B4 @@ -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} + diff --git a/tests/de/step_3/B5 b/tests/de/step_3/B5 index 0d3b1b6640..3316be47ce 100644 --- a/tests/de/step_3/B5 +++ b/tests/de/step_3/B5 @@ -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} + diff --git a/tests/de/step_3/B6 b/tests/de/step_3/B6 index 5301ff9557..27fd377347 100644 --- a/tests/de/step_3/B6 +++ b/tests/de/step_3/B6 @@ -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} + diff --git a/tests/de/step_3/B7 b/tests/de/step_3/B7 index f4eff205b2..74fa1f5d57 100644 --- a/tests/de/step_3/B7 +++ b/tests/de/step_3/B7 @@ -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} + diff --git a/tests/de/step_3/B8 b/tests/de/step_3/B8 index d6ec70cc41..fa626b0147 100644 --- a/tests/de/step_3/B8 +++ b/tests/de/step_3/B8 @@ -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} + diff --git a/tests/de/step_3/B9 b/tests/de/step_3/B9 index b6c65f0547..a41a30441a 100644 --- a/tests/de/step_3/B9 +++ b/tests/de/step_3/B9 @@ -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} + diff --git a/tests/de/step_3/C1 b/tests/de/step_3/C1 index 11b10b0a8b..394901e6d1 100644 --- a/tests/de/step_3/C1 +++ b/tests/de/step_3/C1 @@ -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} + diff --git a/tests/de/step_3/C2 b/tests/de/step_3/C2 index 42a6228d76..fb2f5efe76 100644 --- a/tests/de/step_3/C2 +++ b/tests/de/step_3/C2 @@ -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} + diff --git a/tests/de/step_3/C3 b/tests/de/step_3/C3 index 7a938af727..134bdbc236 100644 --- a/tests/de/step_3/C3 +++ b/tests/de/step_3/C3 @@ -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} + diff --git a/tests/de/step_3/C4 b/tests/de/step_3/C4 index 02c2ed55fe..babb49dbdc 100644 --- a/tests/de/step_3/C4 +++ b/tests/de/step_3/C4 @@ -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} + diff --git a/tests/de/step_3/C5 b/tests/de/step_3/C5 index c990ac4c4e..9ac6742c61 100644 --- a/tests/de/step_3/C5 +++ b/tests/de/step_3/C5 @@ -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} + diff --git a/tests/de/step_3/C6 b/tests/de/step_3/C6 index 03bcbd1eb1..83cbd4c9e5 100644 --- a/tests/de/step_3/C6 +++ b/tests/de/step_3/C6 @@ -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} + diff --git a/tests/de/step_3/C7 b/tests/de/step_3/C7 index 338f2ceabc..102dbe0838 100644 --- a/tests/de/step_3/C7 +++ b/tests/de/step_3/C7 @@ -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} + diff --git a/tests/de/step_3/C8 b/tests/de/step_3/C8 index 71edb3466f..92890b75d0 100644 --- a/tests/de/step_3/C8 +++ b/tests/de/step_3/C8 @@ -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} + diff --git a/tests/de/step_3/C9 b/tests/de/step_3/C9 index 5b14b318a2..c71fdc05a0 100644 --- a/tests/de/step_3/C9 +++ b/tests/de/step_3/C9 @@ -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} + diff --git a/tests/de/step_3/D1 b/tests/de/step_3/D1 index 91ab3c3652..b6e68b5d88 100755 --- a/tests/de/step_3/D1 +++ b/tests/de/step_3/D1 @@ -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} + diff --git a/tests/de/step_3/D2 b/tests/de/step_3/D2 index 03bd84b18b..79ce638721 100644 --- a/tests/de/step_3/D2 +++ b/tests/de/step_3/D2 @@ -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} + diff --git a/tests/de/step_3/D3 b/tests/de/step_3/D3 index 8d39937697..bf5f3f8795 100644 --- a/tests/de/step_3/D3 +++ b/tests/de/step_3/D3 @@ -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} + diff --git a/tests/de/step_3/D4 b/tests/de/step_3/D4 index dfa3465d3b..ee1f1eb39c 100644 --- a/tests/de/step_3/D4 +++ b/tests/de/step_3/D4 @@ -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} + diff --git a/tests/de/step_3/D5 b/tests/de/step_3/D5 index f78d651f0e..99cf76a61d 100644 --- a/tests/de/step_3/D5 +++ b/tests/de/step_3/D5 @@ -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} + diff --git a/tests/de/step_3/D6 b/tests/de/step_3/D6 index b60ec3a4e0..f5f6900c1d 100644 --- a/tests/de/step_3/D6 +++ b/tests/de/step_3/D6 @@ -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} + diff --git a/tests/de/step_3/D7 b/tests/de/step_3/D7 index f8ad569aa3..f417de38ea 100644 --- a/tests/de/step_3/D7 +++ b/tests/de/step_3/D7 @@ -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} + diff --git a/tests/de/step_3/D8 b/tests/de/step_3/D8 index ae83511d29..a627f48a01 100755 --- a/tests/de/step_3/D8 +++ b/tests/de/step_3/D8 @@ -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} + diff --git a/tests/de/step_3/D9 b/tests/de/step_3/D9 index 469cca1933..89784ba5d5 100755 --- a/tests/de/step_3/D9 +++ b/tests/de/step_3/D9 @@ -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} + diff --git a/tests/de/step_3/E1 b/tests/de/step_3/E1 index 71d66d6c89..2dd63bdbc4 100644 --- a/tests/de/step_3/E1 +++ b/tests/de/step_3/E1 @@ -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} + diff --git a/tests/de/step_3/E2 b/tests/de/step_3/E2 index d8c77f920c..c4891af710 100644 --- a/tests/de/step_3/E2 +++ b/tests/de/step_3/E2 @@ -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} + diff --git a/tests/de/step_3/E3 b/tests/de/step_3/E3 index 31381593c7..767cf6d345 100644 --- a/tests/de/step_3/E3 +++ b/tests/de/step_3/E3 @@ -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} + diff --git a/tests/de/step_3/E4 b/tests/de/step_3/E4 index baf3e977cb..f16e3cf8e0 100644 --- a/tests/de/step_3/E4 +++ b/tests/de/step_3/E4 @@ -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} + diff --git a/tests/de/step_3/E5 b/tests/de/step_3/E5 index bae0c9bd1f..6967d15acc 100644 --- a/tests/de/step_3/E5 +++ b/tests/de/step_3/E5 @@ -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} + diff --git a/tests/de/step_3/E6 b/tests/de/step_3/E6 index 04714b9e20..c62d0fe808 100755 --- a/tests/de/step_3/E6 +++ b/tests/de/step_3/E6 @@ -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} + diff --git a/tests/de/step_3/E7 b/tests/de/step_3/E7 index d544982821..2e9e4bd8a4 100644 --- a/tests/de/step_3/E7 +++ b/tests/de/step_3/E7 @@ -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} + diff --git a/tests/de/step_3/E8 b/tests/de/step_3/E8 index 110a5ea3c4..6ba3b9cca9 100644 --- a/tests/de/step_3/E8 +++ b/tests/de/step_3/E8 @@ -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} + diff --git a/tests/de/step_3/E9 b/tests/de/step_3/E9 index 394684e8f9..24c6da456a 100644 --- a/tests/de/step_3/E9 +++ b/tests/de/step_3/E9 @@ -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} + diff --git a/tests/de/step_3/F1 b/tests/de/step_3/F1 index e41f3d45e7..48f2058706 100644 --- a/tests/de/step_3/F1 +++ b/tests/de/step_3/F1 @@ -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} + diff --git a/tests/de/step_3/F2 b/tests/de/step_3/F2 index 5a1de261d9..4043eaf607 100644 --- a/tests/de/step_3/F2 +++ b/tests/de/step_3/F2 @@ -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} + diff --git a/tests/de/step_3/F3 b/tests/de/step_3/F3 index 874b06f7c3..0d36b73565 100644 --- a/tests/de/step_3/F3 +++ b/tests/de/step_3/F3 @@ -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} + diff --git a/tests/de/step_3/F4 b/tests/de/step_3/F4 index bf2a803c34..18a924aa12 100644 --- a/tests/de/step_3/F4 +++ b/tests/de/step_3/F4 @@ -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} + diff --git a/tests/de/step_4/A1 b/tests/de/step_4/A1 index ac27aa4c8b..189050fa8e 100644 --- a/tests/de/step_4/A1 +++ b/tests/de/step_4/A1 @@ -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} + diff --git a/tests/de/step_4/A2 b/tests/de/step_4/A2 index 9c80a6f67d..8b67e139b0 100644 --- a/tests/de/step_4/A2 +++ b/tests/de/step_4/A2 @@ -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} + diff --git a/tests/de/step_4/A3 b/tests/de/step_4/A3 index 11d6066f71..37fb560081 100644 --- a/tests/de/step_4/A3 +++ b/tests/de/step_4/A3 @@ -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} + diff --git a/tests/de/step_4/A4 b/tests/de/step_4/A4 index 8936ad573e..fed3e11a71 100644 --- a/tests/de/step_4/A4 +++ b/tests/de/step_4/A4 @@ -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} + diff --git a/tests/de/step_4/A5 b/tests/de/step_4/A5 index a15f3dde0b..0088652c1d 100644 --- a/tests/de/step_4/A5 +++ b/tests/de/step_4/A5 @@ -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} + diff --git a/tests/de/step_4/A6 b/tests/de/step_4/A6 index ba126401a9..3f8f396687 100644 --- a/tests/de/step_4/A6 +++ b/tests/de/step_4/A6 @@ -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} + diff --git a/tests/de/step_4/A7 b/tests/de/step_4/A7 index e212b71ed6..565759625f 100644 --- a/tests/de/step_4/A7 +++ b/tests/de/step_4/A7 @@ -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} + diff --git a/tests/de/step_4/A8 b/tests/de/step_4/A8 index d04270acd6..0f12c6d407 100644 --- a/tests/de/step_4/A8 +++ b/tests/de/step_4/A8 @@ -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} + diff --git a/tests/de/step_4/A9 b/tests/de/step_4/A9 index 3046458a00..f46c266014 100644 --- a/tests/de/step_4/A9 +++ b/tests/de/step_4/A9 @@ -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} + diff --git a/tests/de/step_4/B1 b/tests/de/step_4/B1 index a089c2d6ce..56e8b87145 100644 --- a/tests/de/step_4/B1 +++ b/tests/de/step_4/B1 @@ -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} + diff --git a/tests/de/step_4/B2 b/tests/de/step_4/B2 index da1a86f240..6692700b92 100644 --- a/tests/de/step_4/B2 +++ b/tests/de/step_4/B2 @@ -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} + diff --git a/tests/de/step_4/B3 b/tests/de/step_4/B3 index 6385a5e170..dc7d0d99af 100644 --- a/tests/de/step_4/B3 +++ b/tests/de/step_4/B3 @@ -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} + diff --git a/tests/de/step_4/B4 b/tests/de/step_4/B4 index cffe1eeca8..db05f2df61 100644 --- a/tests/de/step_4/B4 +++ b/tests/de/step_4/B4 @@ -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} + diff --git a/tests/de/step_4/B5 b/tests/de/step_4/B5 index e9fe361374..940ccff1cb 100644 --- a/tests/de/step_4/B5 +++ b/tests/de/step_4/B5 @@ -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} + diff --git a/tests/de/step_4/B6 b/tests/de/step_4/B6 index d99ce34080..01b4002b59 100644 --- a/tests/de/step_4/B6 +++ b/tests/de/step_4/B6 @@ -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} + diff --git a/tests/de/step_4/B7 b/tests/de/step_4/B7 index aac8203442..bddc9e0d84 100644 --- a/tests/de/step_4/B7 +++ b/tests/de/step_4/B7 @@ -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} + diff --git a/tests/de/step_4/B8 b/tests/de/step_4/B8 index 99d83f44db..4f3be46421 100644 --- a/tests/de/step_4/B8 +++ b/tests/de/step_4/B8 @@ -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} + diff --git a/tests/de/step_4/B9 b/tests/de/step_4/B9 index c23d27a55d..b008695a55 100644 --- a/tests/de/step_4/B9 +++ b/tests/de/step_4/B9 @@ -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} + diff --git a/tests/de/step_4/C1 b/tests/de/step_4/C1 index 6ad9972de1..a1fff4aef8 100644 --- a/tests/de/step_4/C1 +++ b/tests/de/step_4/C1 @@ -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} + diff --git a/tests/de/step_4/C2 b/tests/de/step_4/C2 index e29a334cc2..4e5d7baddc 100644 --- a/tests/de/step_4/C2 +++ b/tests/de/step_4/C2 @@ -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} + diff --git a/tests/de/step_4/C3 b/tests/de/step_4/C3 index 75db32c4a3..ecb6de0ba8 100644 --- a/tests/de/step_4/C3 +++ b/tests/de/step_4/C3 @@ -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} + diff --git a/tests/de/step_4/C4 b/tests/de/step_4/C4 index dcb6558bc6..5041a28067 100644 --- a/tests/de/step_4/C4 +++ b/tests/de/step_4/C4 @@ -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} + diff --git a/tests/de/step_4/C5 b/tests/de/step_4/C5 index c8cd8f8c44..590cf9aa46 100644 --- a/tests/de/step_4/C5 +++ b/tests/de/step_4/C5 @@ -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} + diff --git a/tests/de/step_4/C6 b/tests/de/step_4/C6 index 70536bab40..0c6094924a 100644 --- a/tests/de/step_4/C6 +++ b/tests/de/step_4/C6 @@ -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} + diff --git a/tests/de/step_4/C7 b/tests/de/step_4/C7 index 02f0eb354e..ab5e9b5033 100644 --- a/tests/de/step_4/C7 +++ b/tests/de/step_4/C7 @@ -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} + diff --git a/tests/de/step_4/C8 b/tests/de/step_4/C8 index 50cd400978..2bb63fa990 100644 --- a/tests/de/step_4/C8 +++ b/tests/de/step_4/C8 @@ -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} + diff --git a/tests/de/step_4/C9 b/tests/de/step_4/C9 index 8dee702bd0..fd700659e9 100644 --- a/tests/de/step_4/C9 +++ b/tests/de/step_4/C9 @@ -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} + diff --git a/tests/de/step_4/D1 b/tests/de/step_4/D1 index 3bf180ff31..3ac0d0ab55 100644 --- a/tests/de/step_4/D1 +++ b/tests/de/step_4/D1 @@ -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} + diff --git a/tests/de/step_4/D2 b/tests/de/step_4/D2 index 1f271de9de..cbbe63dd85 100644 --- a/tests/de/step_4/D2 +++ b/tests/de/step_4/D2 @@ -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} + diff --git a/tests/de/step_4/D3 b/tests/de/step_4/D3 index 975ded3201..b59b060717 100644 --- a/tests/de/step_4/D3 +++ b/tests/de/step_4/D3 @@ -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} + diff --git a/tests/de/step_4/D4 b/tests/de/step_4/D4 index 7a2a02bc69..f40c70c6cc 100644 --- a/tests/de/step_4/D4 +++ b/tests/de/step_4/D4 @@ -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} + diff --git a/tests/de/step_4/D5 b/tests/de/step_4/D5 index 1310b7d5c3..5227f8fbf0 100644 --- a/tests/de/step_4/D5 +++ b/tests/de/step_4/D5 @@ -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} + diff --git a/tests/de/step_4/D6 b/tests/de/step_4/D6 index cbc3f1d812..3665b768a1 100644 --- a/tests/de/step_4/D6 +++ b/tests/de/step_4/D6 @@ -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} + diff --git a/tests/de/step_4/D7 b/tests/de/step_4/D7 index 69aea35df8..fe5ac91d2e 100644 --- a/tests/de/step_4/D7 +++ b/tests/de/step_4/D7 @@ -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} + diff --git a/tests/de/step_4/D8 b/tests/de/step_4/D8 index 509aac45cb..d748ffb872 100644 --- a/tests/de/step_4/D8 +++ b/tests/de/step_4/D8 @@ -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} + diff --git a/tests/de/step_4/D9 b/tests/de/step_4/D9 index b5f9c05841..0638e091ca 100644 --- a/tests/de/step_4/D9 +++ b/tests/de/step_4/D9 @@ -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} + diff --git a/tests/de/step_4/E1 b/tests/de/step_4/E1 index a6476b3cd4..bd4fd03f29 100644 --- a/tests/de/step_4/E1 +++ b/tests/de/step_4/E1 @@ -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} + diff --git a/tests/de/step_4/E2 b/tests/de/step_4/E2 index cdd9ab3429..2572422e7f 100644 --- a/tests/de/step_4/E2 +++ b/tests/de/step_4/E2 @@ -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} + diff --git a/tests/de/step_4/E3 b/tests/de/step_4/E3 index 9a71ad6466..434cc00796 100644 --- a/tests/de/step_4/E3 +++ b/tests/de/step_4/E3 @@ -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} + diff --git a/tests/de/step_4/E4 b/tests/de/step_4/E4 index 9d94465852..b008da7a62 100644 --- a/tests/de/step_4/E4 +++ b/tests/de/step_4/E4 @@ -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} + diff --git a/tests/de/step_4/E5 b/tests/de/step_4/E5 index 4fd0640986..690d2d46b0 100644 --- a/tests/de/step_4/E5 +++ b/tests/de/step_4/E5 @@ -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} + diff --git a/tests/de/step_4/E6 b/tests/de/step_4/E6 index 9a5a9434da..c91b43885b 100644 --- a/tests/de/step_4/E6 +++ b/tests/de/step_4/E6 @@ -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} + diff --git a/tests/de/step_4/E7 b/tests/de/step_4/E7 index a06f06533b..dd5d0e65cf 100644 --- a/tests/de/step_4/E7 +++ b/tests/de/step_4/E7 @@ -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} + diff --git a/tests/de/step_4/E8 b/tests/de/step_4/E8 index a42f98cd34..45f3604693 100644 --- a/tests/de/step_4/E8 +++ b/tests/de/step_4/E8 @@ -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} + diff --git a/tests/de/step_4/E9 b/tests/de/step_4/E9 index d245be8e3d..3397565aa7 100644 --- a/tests/de/step_4/E9 +++ b/tests/de/step_4/E9 @@ -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} + diff --git a/tests/de/step_4/F1 b/tests/de/step_4/F1 index 67b964e478..8314a48f9c 100644 --- a/tests/de/step_4/F1 +++ b/tests/de/step_4/F1 @@ -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} + diff --git a/tests/de/step_4/F2 b/tests/de/step_4/F2 index 7c78818668..405ce38838 100644 --- a/tests/de/step_4/F2 +++ b/tests/de/step_4/F2 @@ -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} + diff --git a/tests/de/step_4/F3 b/tests/de/step_4/F3 index 13c29760f6..9abe7c367a 100644 --- a/tests/de/step_4/F3 +++ b/tests/de/step_4/F3 @@ -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} + diff --git a/tests/de/step_4/F4 b/tests/de/step_4/F4 index c98fac82b7..51798add26 100644 --- a/tests/de/step_4/F4 +++ b/tests/de/step_4/F4 @@ -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} + diff --git a/tests/de/step_4/F5 b/tests/de/step_4/F5 index af39c9f837..8882952ae5 100644 --- a/tests/de/step_4/F5 +++ b/tests/de/step_4/F5 @@ -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} + diff --git a/tests/de/step_4/F6 b/tests/de/step_4/F6 index f9a4038a52..65367c596e 100644 --- a/tests/de/step_4/F6 +++ b/tests/de/step_4/F6 @@ -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} + diff --git a/tests/de/step_4/F7 b/tests/de/step_4/F7 index 426bd39894..10e4f0e054 100644 --- a/tests/de/step_4/F7 +++ b/tests/de/step_4/F7 @@ -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} + diff --git a/tests/de/step_4/F8 b/tests/de/step_4/F8 index 294335a0a6..69f77468d0 100644 --- a/tests/de/step_4/F8 +++ b/tests/de/step_4/F8 @@ -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} + diff --git a/tests/de/step_4/F9 b/tests/de/step_4/F9 index 0945a6396b..c97494e32d 100644 --- a/tests/de/step_4/F9 +++ b/tests/de/step_4/F9 @@ -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} + diff --git a/tests/de/step_4/G1 b/tests/de/step_4/G1 index a43cd7a21f..880cc16876 100644 --- a/tests/de/step_4/G1 +++ b/tests/de/step_4/G1 @@ -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} + diff --git a/tests/de/step_4/G2 b/tests/de/step_4/G2 index a04e979cb9..97cc39a40a 100644 --- a/tests/de/step_4/G2 +++ b/tests/de/step_4/G2 @@ -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} + diff --git a/tests/de/step_4/G3 b/tests/de/step_4/G3 index 453264d5e0..4ccf372eba 100644 --- a/tests/de/step_4/G3 +++ b/tests/de/step_4/G3 @@ -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} + diff --git a/tests/de/step_4/G4 b/tests/de/step_4/G4 index 361f81fd28..1335420568 100644 --- a/tests/de/step_4/G4 +++ b/tests/de/step_4/G4 @@ -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} + diff --git a/tests/de/step_4/G5 b/tests/de/step_4/G5 index d319370878..31b238da4b 100644 --- a/tests/de/step_4/G5 +++ b/tests/de/step_4/G5 @@ -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} + diff --git a/tests/de/step_4/G6 b/tests/de/step_4/G6 index 85dc441760..93d6d01de4 100644 --- a/tests/de/step_4/G6 +++ b/tests/de/step_4/G6 @@ -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} + diff --git a/tests/de/step_4/G7 b/tests/de/step_4/G7 index f1575c325c..62526b88d3 100644 --- a/tests/de/step_4/G7 +++ b/tests/de/step_4/G7 @@ -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} + diff --git a/tests/de/step_4/G8 b/tests/de/step_4/G8 index f97483d13c..f18886b8ef 100644 --- a/tests/de/step_4/G8 +++ b/tests/de/step_4/G8 @@ -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} + diff --git a/tests/de/step_4/G9 b/tests/de/step_4/G9 index 9cf666d962..8ecd440612 100644 --- a/tests/de/step_4/G9 +++ b/tests/de/step_4/G9 @@ -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} + diff --git a/tests/de/step_4/H1 b/tests/de/step_4/H1 index cf5bc49f62..2c12b014f9 100644 --- a/tests/de/step_4/H1 +++ b/tests/de/step_4/H1 @@ -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} + diff --git a/tests/de/step_4/H2 b/tests/de/step_4/H2 index fb25e1eb03..ee7d972c9e 100644 --- a/tests/de/step_4/H2 +++ b/tests/de/step_4/H2 @@ -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} + diff --git a/tests/de/step_4/H3 b/tests/de/step_4/H3 index 8a5612249a..f2699b47cd 100644 --- a/tests/de/step_4/H3 +++ b/tests/de/step_4/H3 @@ -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} + diff --git a/tests/de/step_4/H4 b/tests/de/step_4/H4 index 1960b00768..c1a07c8dba 100644 --- a/tests/de/step_4/H4 +++ b/tests/de/step_4/H4 @@ -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} + diff --git a/tests/de/step_4/H5 b/tests/de/step_4/H5 index e42a76e2d9..90aec5c7ba 100644 --- a/tests/de/step_4/H5 +++ b/tests/de/step_4/H5 @@ -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} + diff --git a/tests/de/step_4/H6 b/tests/de/step_4/H6 index f3a3a43215..ba147f7f03 100644 --- a/tests/de/step_4/H6 +++ b/tests/de/step_4/H6 @@ -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} + diff --git a/tests/de/step_4/H7 b/tests/de/step_4/H7 index b50286fa44..10ff06b542 100644 --- a/tests/de/step_4/H7 +++ b/tests/de/step_4/H7 @@ -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} + diff --git a/tests/de/step_4/H8 b/tests/de/step_4/H8 index b36604096d..9025373ac8 100644 --- a/tests/de/step_4/H8 +++ b/tests/de/step_4/H8 @@ -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} + diff --git a/tests/de/step_4/H9 b/tests/de/step_4/H9 index 6f79cfdecd..801e173745 100644 --- a/tests/de/step_4/H9 +++ b/tests/de/step_4/H9 @@ -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} + diff --git a/tests/de/step_4/I1 b/tests/de/step_4/I1 index a6871bf3f9..851cde9397 100644 --- a/tests/de/step_4/I1 +++ b/tests/de/step_4/I1 @@ -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} + diff --git a/tests/de/step_4/I2 b/tests/de/step_4/I2 index 7f1bc14cd4..0a858cae41 100644 --- a/tests/de/step_4/I2 +++ b/tests/de/step_4/I2 @@ -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} + diff --git a/tests/de/step_4/I3 b/tests/de/step_4/I3 index d50026e0ff..fc9cd6e33e 100644 --- a/tests/de/step_4/I3 +++ b/tests/de/step_4/I3 @@ -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} + diff --git a/tests/de/step_5/A1 b/tests/de/step_5/A1 index ede0d5f80f..8ae22c3751 100755 --- a/tests/de/step_5/A1 +++ b/tests/de/step_5/A1 @@ -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} + diff --git a/tests/de/step_5/A2 b/tests/de/step_5/A2 index 8c92233463..40f6776f90 100644 --- a/tests/de/step_5/A2 +++ b/tests/de/step_5/A2 @@ -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} + diff --git a/tests/de/step_5/A3 b/tests/de/step_5/A3 index afb49702c6..9c6ccc5ec8 100644 --- a/tests/de/step_5/A3 +++ b/tests/de/step_5/A3 @@ -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} + diff --git a/tests/de/step_5/A4 b/tests/de/step_5/A4 index 10876f5ae7..3985d30fa6 100644 --- a/tests/de/step_5/A4 +++ b/tests/de/step_5/A4 @@ -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} + diff --git a/tests/de/step_5/A5 b/tests/de/step_5/A5 index 32245c46af..2e7ee3088b 100644 --- a/tests/de/step_5/A5 +++ b/tests/de/step_5/A5 @@ -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} + diff --git a/tests/de/step_5/A6 b/tests/de/step_5/A6 index 22f986d6cd..5224067fc4 100644 --- a/tests/de/step_5/A6 +++ b/tests/de/step_5/A6 @@ -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} + diff --git a/tests/de/step_5/A7 b/tests/de/step_5/A7 index 1d34a91a41..6f54b78f78 100644 --- a/tests/de/step_5/A7 +++ b/tests/de/step_5/A7 @@ -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} + diff --git a/tests/de/step_5/A8 b/tests/de/step_5/A8 index fd9bc396ae..ad63bf01b6 100644 --- a/tests/de/step_5/A8 +++ b/tests/de/step_5/A8 @@ -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} + diff --git a/tests/de/step_5/A9 b/tests/de/step_5/A9 index 3187c246b4..b515aba401 100644 --- a/tests/de/step_5/A9 +++ b/tests/de/step_5/A9 @@ -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} + diff --git a/tests/de/step_5/B1 b/tests/de/step_5/B1 index 248c00f57a..3984d34b0b 100644 --- a/tests/de/step_5/B1 +++ b/tests/de/step_5/B1 @@ -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} + diff --git a/tests/de/step_5/B2 b/tests/de/step_5/B2 index 0f7c9535d2..beca520780 100644 --- a/tests/de/step_5/B2 +++ b/tests/de/step_5/B2 @@ -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} + diff --git a/tests/de/step_5/B3 b/tests/de/step_5/B3 index ec9416e52c..e34accc955 100644 --- a/tests/de/step_5/B3 +++ b/tests/de/step_5/B3 @@ -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} + diff --git a/tests/de/step_5/B4 b/tests/de/step_5/B4 index fcc604d8e1..1a9ca59240 100644 --- a/tests/de/step_5/B4 +++ b/tests/de/step_5/B4 @@ -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} + diff --git a/tests/de/step_5/B5 b/tests/de/step_5/B5 index 212e63a4b3..587da561f7 100644 --- a/tests/de/step_5/B5 +++ b/tests/de/step_5/B5 @@ -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} + diff --git a/tests/de/step_5/B6 b/tests/de/step_5/B6 index e22e7bce43..814473de75 100644 --- a/tests/de/step_5/B6 +++ b/tests/de/step_5/B6 @@ -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} + diff --git a/tests/sewing/tol_0_01/A1 b/tests/sewing/tol_0_01/A1 index f6fc1580e5..2ecc53c72a 100644 --- a/tests/sewing/tol_0_01/A1 +++ b/tests/sewing/tol_0_01/A1 @@ -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 diff --git a/tests/sewing/tol_0_01/A2 b/tests/sewing/tol_0_01/A2 index af16d56912..78aca732cb 100644 --- a/tests/sewing/tol_0_01/A2 +++ b/tests/sewing/tol_0_01/A2 @@ -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 diff --git a/tests/sewing/tol_0_01/A3 b/tests/sewing/tol_0_01/A3 index 82d0146007..e65eb26119 100644 --- a/tests/sewing/tol_0_01/A3 +++ b/tests/sewing/tol_0_01/A3 @@ -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 diff --git a/tests/sewing/tol_0_01/A4 b/tests/sewing/tol_0_01/A4 index 10d8e17dd9..fcd0f58f6d 100644 --- a/tests/sewing/tol_0_01/A4 +++ b/tests/sewing/tol_0_01/A4 @@ -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 diff --git a/tests/sewing/tol_0_01/A5 b/tests/sewing/tol_0_01/A5 index ac12766c5d..3a26019278 100644 --- a/tests/sewing/tol_0_01/A5 +++ b/tests/sewing/tol_0_01/A5 @@ -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 diff --git a/tests/sewing/tol_0_01/A6 b/tests/sewing/tol_0_01/A6 index fd858fe570..fd426f6e8d 100644 --- a/tests/sewing/tol_0_01/A6 +++ b/tests/sewing/tol_0_01/A6 @@ -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 diff --git a/tests/sewing/tol_0_01/A7 b/tests/sewing/tol_0_01/A7 index 9d8a57b34b..5b1e71fe53 100644 --- a/tests/sewing/tol_0_01/A7 +++ b/tests/sewing/tol_0_01/A7 @@ -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 diff --git a/tests/sewing/tol_0_01/A8 b/tests/sewing/tol_0_01/A8 index 95351713c3..3a86c20773 100644 --- a/tests/sewing/tol_0_01/A8 +++ b/tests/sewing/tol_0_01/A8 @@ -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 diff --git a/tests/sewing/tol_0_01/A9 b/tests/sewing/tol_0_01/A9 index 8ca7549a45..0f9d3a321a 100644 --- a/tests/sewing/tol_0_01/A9 +++ b/tests/sewing/tol_0_01/A9 @@ -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 diff --git a/tests/sewing/tol_0_01/B1 b/tests/sewing/tol_0_01/B1 index 5b2dfee549..59ecf9c74f 100644 --- a/tests/sewing/tol_0_01/B1 +++ b/tests/sewing/tol_0_01/B1 @@ -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 diff --git a/tests/sewing/tol_0_01/B2 b/tests/sewing/tol_0_01/B2 index 479dd93b0b..28dfb72eb6 100644 --- a/tests/sewing/tol_0_01/B2 +++ b/tests/sewing/tol_0_01/B2 @@ -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 diff --git a/tests/sewing/tol_0_01/B3 b/tests/sewing/tol_0_01/B3 index f707d5e301..0890c65964 100644 --- a/tests/sewing/tol_0_01/B3 +++ b/tests/sewing/tol_0_01/B3 @@ -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 diff --git a/tests/sewing/tol_0_01/B4 b/tests/sewing/tol_0_01/B4 index f782fd1065..dd9c1b45a6 100644 --- a/tests/sewing/tol_0_01/B4 +++ b/tests/sewing/tol_0_01/B4 @@ -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 diff --git a/tests/sewing/tol_0_01/B5 b/tests/sewing/tol_0_01/B5 index 9b254db785..52a4efcdb3 100644 --- a/tests/sewing/tol_0_01/B5 +++ b/tests/sewing/tol_0_01/B5 @@ -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 diff --git a/tests/sewing/tol_0_01/B6 b/tests/sewing/tol_0_01/B6 index 233543272c..e57966bc49 100644 --- a/tests/sewing/tol_0_01/B6 +++ b/tests/sewing/tol_0_01/B6 @@ -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 diff --git a/tests/sewing/tol_0_01/B7 b/tests/sewing/tol_0_01/B7 index 18f0a3bfd0..93b3eee078 100644 --- a/tests/sewing/tol_0_01/B7 +++ b/tests/sewing/tol_0_01/B7 @@ -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 diff --git a/tests/sewing/tol_0_01/B8 b/tests/sewing/tol_0_01/B8 index c8b5f3729a..d497d5bfed 100644 --- a/tests/sewing/tol_0_01/B8 +++ b/tests/sewing/tol_0_01/B8 @@ -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 diff --git a/tests/sewing/tol_0_01/B9 b/tests/sewing/tol_0_01/B9 index ab99fce492..81dbecdb5c 100644 --- a/tests/sewing/tol_0_01/B9 +++ b/tests/sewing/tol_0_01/B9 @@ -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 diff --git a/tests/sewing/tol_0_01/C1 b/tests/sewing/tol_0_01/C1 index 8bef648058..742fd8cefd 100644 --- a/tests/sewing/tol_0_01/C1 +++ b/tests/sewing/tol_0_01/C1 @@ -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 diff --git a/tests/sewing/tol_0_01/C2 b/tests/sewing/tol_0_01/C2 index f59274dea9..6e3d031cd7 100644 --- a/tests/sewing/tol_0_01/C2 +++ b/tests/sewing/tol_0_01/C2 @@ -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 diff --git a/tests/sewing/tol_0_01/C3 b/tests/sewing/tol_0_01/C3 index 3a772639c3..d200270f0a 100644 --- a/tests/sewing/tol_0_01/C3 +++ b/tests/sewing/tol_0_01/C3 @@ -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 diff --git a/tests/sewing/tol_0_01/C4 b/tests/sewing/tol_0_01/C4 index 59f9ce963c..da8d88745b 100644 --- a/tests/sewing/tol_0_01/C4 +++ b/tests/sewing/tol_0_01/C4 @@ -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 diff --git a/tests/sewing/tol_0_01/C5 b/tests/sewing/tol_0_01/C5 index a6e0338658..637e5221ba 100644 --- a/tests/sewing/tol_0_01/C5 +++ b/tests/sewing/tol_0_01/C5 @@ -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 diff --git a/tests/sewing/tol_0_01/C6 b/tests/sewing/tol_0_01/C6 index 30b8753170..92e05753d5 100644 --- a/tests/sewing/tol_0_01/C6 +++ b/tests/sewing/tol_0_01/C6 @@ -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 diff --git a/tests/sewing/tol_0_01/C7 b/tests/sewing/tol_0_01/C7 index 09d8ea5e28..c3ddb2d73d 100644 --- a/tests/sewing/tol_0_01/C7 +++ b/tests/sewing/tol_0_01/C7 @@ -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 diff --git a/tests/sewing/tol_0_01/C8 b/tests/sewing/tol_0_01/C8 index 26a997acbb..836131a55e 100644 --- a/tests/sewing/tol_0_01/C8 +++ b/tests/sewing/tol_0_01/C8 @@ -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 diff --git a/tests/sewing/tol_0_01/C9 b/tests/sewing/tol_0_01/C9 index 8db151fecc..412cb98418 100644 --- a/tests/sewing/tol_0_01/C9 +++ b/tests/sewing/tol_0_01/C9 @@ -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 diff --git a/tests/sewing/tol_0_01/D1 b/tests/sewing/tol_0_01/D1 index 444b6a16d3..3e7a70381e 100644 --- a/tests/sewing/tol_0_01/D1 +++ b/tests/sewing/tol_0_01/D1 @@ -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 diff --git a/tests/sewing/tol_0_01/D2 b/tests/sewing/tol_0_01/D2 index 0a1ba692a4..32663b3772 100644 --- a/tests/sewing/tol_0_01/D2 +++ b/tests/sewing/tol_0_01/D2 @@ -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 diff --git a/tests/sewing/tol_0_01/D3 b/tests/sewing/tol_0_01/D3 index db776d7ef1..87a16dc943 100644 --- a/tests/sewing/tol_0_01/D3 +++ b/tests/sewing/tol_0_01/D3 @@ -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 diff --git a/tests/sewing/tol_0_01/D4 b/tests/sewing/tol_0_01/D4 index 16e35c51a7..4bcfcea50c 100644 --- a/tests/sewing/tol_0_01/D4 +++ b/tests/sewing/tol_0_01/D4 @@ -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 diff --git a/tests/sewing/tol_0_01/D5 b/tests/sewing/tol_0_01/D5 index 66c916ffc0..cce4d6f2b9 100644 --- a/tests/sewing/tol_0_01/D5 +++ b/tests/sewing/tol_0_01/D5 @@ -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 diff --git a/tests/sewing/tol_0_01/D6 b/tests/sewing/tol_0_01/D6 index 4619a0440e..b4a69b4e77 100644 --- a/tests/sewing/tol_0_01/D6 +++ b/tests/sewing/tol_0_01/D6 @@ -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 diff --git a/tests/sewing/tol_0_01/D7 b/tests/sewing/tol_0_01/D7 index d563a61485..5282afd4b1 100644 --- a/tests/sewing/tol_0_01/D7 +++ b/tests/sewing/tol_0_01/D7 @@ -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 diff --git a/tests/sewing/tol_0_01/D8 b/tests/sewing/tol_0_01/D8 index 4c02f8f5e8..d666d58981 100644 --- a/tests/sewing/tol_0_01/D8 +++ b/tests/sewing/tol_0_01/D8 @@ -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 diff --git a/tests/sewing/tol_0_01/D9 b/tests/sewing/tol_0_01/D9 index 0d0f6aa1fe..aedaa0a2fd 100644 --- a/tests/sewing/tol_0_01/D9 +++ b/tests/sewing/tol_0_01/D9 @@ -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 diff --git a/tests/sewing/tol_0_01/E1 b/tests/sewing/tol_0_01/E1 index 94fa3911db..861d0c4b14 100644 --- a/tests/sewing/tol_0_01/E1 +++ b/tests/sewing/tol_0_01/E1 @@ -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 diff --git a/tests/sewing/tol_0_01/E2 b/tests/sewing/tol_0_01/E2 index c2e241e689..3b52290858 100644 --- a/tests/sewing/tol_0_01/E2 +++ b/tests/sewing/tol_0_01/E2 @@ -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 diff --git a/tests/sewing/tol_0_01/E3 b/tests/sewing/tol_0_01/E3 index 7629312d27..16627d5bb7 100644 --- a/tests/sewing/tol_0_01/E3 +++ b/tests/sewing/tol_0_01/E3 @@ -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 diff --git a/tests/sewing/tol_0_01/E4 b/tests/sewing/tol_0_01/E4 index 0bb41821e7..8bd6cc9816 100644 --- a/tests/sewing/tol_0_01/E4 +++ b/tests/sewing/tol_0_01/E4 @@ -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 diff --git a/tests/sewing/tol_0_01/E5 b/tests/sewing/tol_0_01/E5 index 462e27b407..247f210d90 100644 --- a/tests/sewing/tol_0_01/E5 +++ b/tests/sewing/tol_0_01/E5 @@ -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 diff --git a/tests/sewing/tol_0_01/E6 b/tests/sewing/tol_0_01/E6 index 62836bf962..a055005711 100644 --- a/tests/sewing/tol_0_01/E6 +++ b/tests/sewing/tol_0_01/E6 @@ -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 diff --git a/tests/sewing/tol_0_01/E7 b/tests/sewing/tol_0_01/E7 index 0b8a5941a9..448ee6c4ab 100644 --- a/tests/sewing/tol_0_01/E7 +++ b/tests/sewing/tol_0_01/E7 @@ -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 diff --git a/tests/sewing/tol_0_01/E8 b/tests/sewing/tol_0_01/E8 index 98880c6934..eddf79ed67 100644 --- a/tests/sewing/tol_0_01/E8 +++ b/tests/sewing/tol_0_01/E8 @@ -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 diff --git a/tests/sewing/tol_0_01/E9 b/tests/sewing/tol_0_01/E9 index 4889d5ce6a..b2bd7d823a 100644 --- a/tests/sewing/tol_0_01/E9 +++ b/tests/sewing/tol_0_01/E9 @@ -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 diff --git a/tests/sewing/tol_0_01/F1 b/tests/sewing/tol_0_01/F1 index 17d2101a91..ed604fc8ef 100644 --- a/tests/sewing/tol_0_01/F1 +++ b/tests/sewing/tol_0_01/F1 @@ -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 diff --git a/tests/sewing/tol_0_01/F2 b/tests/sewing/tol_0_01/F2 index 9509d8c2d4..0cd0002e86 100644 --- a/tests/sewing/tol_0_01/F2 +++ b/tests/sewing/tol_0_01/F2 @@ -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 diff --git a/tests/sewing/tol_0_01/F3 b/tests/sewing/tol_0_01/F3 index cd1d6e4871..e12214f95e 100644 --- a/tests/sewing/tol_0_01/F3 +++ b/tests/sewing/tol_0_01/F3 @@ -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 diff --git a/tests/sewing/tol_0_01/F4 b/tests/sewing/tol_0_01/F4 index 4c1684e496..e16b835511 100644 --- a/tests/sewing/tol_0_01/F4 +++ b/tests/sewing/tol_0_01/F4 @@ -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 diff --git a/tests/sewing/tol_0_01/F5 b/tests/sewing/tol_0_01/F5 index 7a2e259030..1d6b5ec566 100644 --- a/tests/sewing/tol_0_01/F5 +++ b/tests/sewing/tol_0_01/F5 @@ -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 diff --git a/tests/sewing/tol_0_01/F6 b/tests/sewing/tol_0_01/F6 index 1375f0a173..7ae5e72b35 100644 --- a/tests/sewing/tol_0_01/F6 +++ b/tests/sewing/tol_0_01/F6 @@ -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 diff --git a/tests/sewing/tol_0_01/F7 b/tests/sewing/tol_0_01/F7 index b23ccb4090..da65f1c37f 100644 --- a/tests/sewing/tol_0_01/F7 +++ b/tests/sewing/tol_0_01/F7 @@ -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 diff --git a/tests/sewing/tol_0_01/F8 b/tests/sewing/tol_0_01/F8 index ec980d397d..68e98e3ab5 100644 --- a/tests/sewing/tol_0_01/F8 +++ b/tests/sewing/tol_0_01/F8 @@ -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 diff --git a/tests/sewing/tol_0_01/F9 b/tests/sewing/tol_0_01/F9 index a826963d59..dd07625728 100644 --- a/tests/sewing/tol_0_01/F9 +++ b/tests/sewing/tol_0_01/F9 @@ -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 diff --git a/tests/sewing/tol_0_01/G1 b/tests/sewing/tol_0_01/G1 index 7c7c2f872a..be8459bb9e 100644 --- a/tests/sewing/tol_0_01/G1 +++ b/tests/sewing/tol_0_01/G1 @@ -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 diff --git a/tests/sewing/tol_0_01/G2 b/tests/sewing/tol_0_01/G2 index 1299719c41..50e1be8f8a 100644 --- a/tests/sewing/tol_0_01/G2 +++ b/tests/sewing/tol_0_01/G2 @@ -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 diff --git a/tests/sewing/tol_0_01/G3 b/tests/sewing/tol_0_01/G3 index 936a1bc36d..8559689979 100644 --- a/tests/sewing/tol_0_01/G3 +++ b/tests/sewing/tol_0_01/G3 @@ -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 diff --git a/tests/sewing/tol_0_01/G4 b/tests/sewing/tol_0_01/G4 index 0eda7919d8..e1f4fda3ab 100644 --- a/tests/sewing/tol_0_01/G4 +++ b/tests/sewing/tol_0_01/G4 @@ -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 diff --git a/tests/sewing/tol_0_01/G5 b/tests/sewing/tol_0_01/G5 index e9da151cbe..fc005f99df 100644 --- a/tests/sewing/tol_0_01/G5 +++ b/tests/sewing/tol_0_01/G5 @@ -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 diff --git a/tests/sewing/tol_0_01/G6 b/tests/sewing/tol_0_01/G6 index 5508dd948d..1387357173 100644 --- a/tests/sewing/tol_0_01/G6 +++ b/tests/sewing/tol_0_01/G6 @@ -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 diff --git a/tests/sewing/tol_0_01/G7 b/tests/sewing/tol_0_01/G7 index 11a84b438d..5cbec00a0b 100644 --- a/tests/sewing/tol_0_01/G7 +++ b/tests/sewing/tol_0_01/G7 @@ -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 diff --git a/tests/sewing/tol_0_01/G8 b/tests/sewing/tol_0_01/G8 index f06a58c28b..831d56a4e0 100644 --- a/tests/sewing/tol_0_01/G8 +++ b/tests/sewing/tol_0_01/G8 @@ -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 diff --git a/tests/sewing/tol_0_01/G9 b/tests/sewing/tol_0_01/G9 index 606f116150..f725d89185 100644 --- a/tests/sewing/tol_0_01/G9 +++ b/tests/sewing/tol_0_01/G9 @@ -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 diff --git a/tests/sewing/tol_0_01/H1 b/tests/sewing/tol_0_01/H1 index 8577fce99f..2259e21ffd 100644 --- a/tests/sewing/tol_0_01/H1 +++ b/tests/sewing/tol_0_01/H1 @@ -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 diff --git a/tests/sewing/tol_0_01/H2 b/tests/sewing/tol_0_01/H2 index 5cca8ab9f8..07ff709d9f 100644 --- a/tests/sewing/tol_0_01/H2 +++ b/tests/sewing/tol_0_01/H2 @@ -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 diff --git a/tests/sewing/tol_0_01/H3 b/tests/sewing/tol_0_01/H3 index 38cb983836..6bb5108e54 100644 --- a/tests/sewing/tol_0_01/H3 +++ b/tests/sewing/tol_0_01/H3 @@ -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 diff --git a/tests/sewing/tol_0_01/H4 b/tests/sewing/tol_0_01/H4 index f74510b4ef..3202804b39 100644 --- a/tests/sewing/tol_0_01/H4 +++ b/tests/sewing/tol_0_01/H4 @@ -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 diff --git a/tests/sewing/tol_0_01/H5 b/tests/sewing/tol_0_01/H5 index 777629703f..3fc979eae5 100644 --- a/tests/sewing/tol_0_01/H5 +++ b/tests/sewing/tol_0_01/H5 @@ -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 diff --git a/tests/sewing/tol_0_01/H6 b/tests/sewing/tol_0_01/H6 index de60c29fc4..479fc59e67 100644 --- a/tests/sewing/tol_0_01/H6 +++ b/tests/sewing/tol_0_01/H6 @@ -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 diff --git a/tests/sewing/tol_0_01/H7 b/tests/sewing/tol_0_01/H7 index f498776b93..762a0b75f0 100644 --- a/tests/sewing/tol_0_01/H7 +++ b/tests/sewing/tol_0_01/H7 @@ -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 diff --git a/tests/sewing/tol_0_01/H8 b/tests/sewing/tol_0_01/H8 index 290bc7e163..ca28339e2c 100644 --- a/tests/sewing/tol_0_01/H8 +++ b/tests/sewing/tol_0_01/H8 @@ -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 diff --git a/tests/sewing/tol_0_01/H9 b/tests/sewing/tol_0_01/H9 index 0860a756e5..7898590145 100644 --- a/tests/sewing/tol_0_01/H9 +++ b/tests/sewing/tol_0_01/H9 @@ -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 diff --git a/tests/sewing/tol_0_01/I1 b/tests/sewing/tol_0_01/I1 index b28965a92d..9ca8571cd9 100644 --- a/tests/sewing/tol_0_01/I1 +++ b/tests/sewing/tol_0_01/I1 @@ -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 diff --git a/tests/sewing/tol_0_01/I2 b/tests/sewing/tol_0_01/I2 index 35c914a140..80ab92f843 100644 --- a/tests/sewing/tol_0_01/I2 +++ b/tests/sewing/tol_0_01/I2 @@ -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 diff --git a/tests/sewing/tol_0_01/I3 b/tests/sewing/tol_0_01/I3 index 13b1c2f875..26eb7b6656 100644 --- a/tests/sewing/tol_0_01/I3 +++ b/tests/sewing/tol_0_01/I3 @@ -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 diff --git a/tests/sewing/tol_0_01/I4 b/tests/sewing/tol_0_01/I4 index 9de6a83fd1..f62e4b6996 100644 --- a/tests/sewing/tol_0_01/I4 +++ b/tests/sewing/tol_0_01/I4 @@ -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 diff --git a/tests/sewing/tol_0_01/I5 b/tests/sewing/tol_0_01/I5 index e81a3aa24d..ea6dc40ebf 100644 --- a/tests/sewing/tol_0_01/I5 +++ b/tests/sewing/tol_0_01/I5 @@ -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 diff --git a/tests/sewing/tol_0_01/I6 b/tests/sewing/tol_0_01/I6 index 6c057d77da..4b341f2f1d 100644 --- a/tests/sewing/tol_0_01/I6 +++ b/tests/sewing/tol_0_01/I6 @@ -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 diff --git a/tests/sewing/tol_0_01/I7 b/tests/sewing/tol_0_01/I7 index fa9f197313..81785b0460 100644 --- a/tests/sewing/tol_0_01/I7 +++ b/tests/sewing/tol_0_01/I7 @@ -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 diff --git a/tests/sewing/tol_0_01/I8 b/tests/sewing/tol_0_01/I8 index 73e7649835..3b10450825 100644 --- a/tests/sewing/tol_0_01/I8 +++ b/tests/sewing/tol_0_01/I8 @@ -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 diff --git a/tests/sewing/tol_0_01/I9 b/tests/sewing/tol_0_01/I9 index 16fb6014d2..ccd323c328 100644 --- a/tests/sewing/tol_0_01/I9 +++ b/tests/sewing/tol_0_01/I9 @@ -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 diff --git a/tests/sewing/tol_0_01/J1 b/tests/sewing/tol_0_01/J1 index 0c75f05eb3..f32d17993f 100644 --- a/tests/sewing/tol_0_01/J1 +++ b/tests/sewing/tol_0_01/J1 @@ -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 diff --git a/tests/sewing/tol_0_01/J2 b/tests/sewing/tol_0_01/J2 index 76b42f24c8..1b23902c0c 100644 --- a/tests/sewing/tol_0_01/J2 +++ b/tests/sewing/tol_0_01/J2 @@ -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 diff --git a/tests/sewing/tol_0_01/J3 b/tests/sewing/tol_0_01/J3 index 8305180f03..de9203bd4f 100644 --- a/tests/sewing/tol_0_01/J3 +++ b/tests/sewing/tol_0_01/J3 @@ -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 diff --git a/tests/sewing/tol_0_01/J4 b/tests/sewing/tol_0_01/J4 index 112fe3acab..9044706d16 100644 --- a/tests/sewing/tol_0_01/J4 +++ b/tests/sewing/tol_0_01/J4 @@ -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 diff --git a/tests/sewing/tol_0_01/J5 b/tests/sewing/tol_0_01/J5 index 4afe6a9d5e..7436158cda 100644 --- a/tests/sewing/tol_0_01/J5 +++ b/tests/sewing/tol_0_01/J5 @@ -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 diff --git a/tests/sewing/tol_0_01/J6 b/tests/sewing/tol_0_01/J6 index f6ca708010..9d5633e05e 100644 --- a/tests/sewing/tol_0_01/J6 +++ b/tests/sewing/tol_0_01/J6 @@ -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 diff --git a/tests/sewing/tol_0_01/J7 b/tests/sewing/tol_0_01/J7 index 7f8cd4b68c..15a0b1dd33 100644 --- a/tests/sewing/tol_0_01/J7 +++ b/tests/sewing/tol_0_01/J7 @@ -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 diff --git a/tests/sewing/tol_0_01/J8 b/tests/sewing/tol_0_01/J8 index 96cc9a1d24..42fd58c04d 100644 --- a/tests/sewing/tol_0_01/J8 +++ b/tests/sewing/tol_0_01/J8 @@ -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 diff --git a/tests/sewing/tol_0_01/J9 b/tests/sewing/tol_0_01/J9 index 0ce2003ca6..34b12f7ac3 100644 --- a/tests/sewing/tol_0_01/J9 +++ b/tests/sewing/tol_0_01/J9 @@ -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 diff --git a/tests/sewing/tol_0_01/K1 b/tests/sewing/tol_0_01/K1 index ad4741752d..5bdda1d6e5 100644 --- a/tests/sewing/tol_0_01/K1 +++ b/tests/sewing/tol_0_01/K1 @@ -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 diff --git a/tests/sewing/tol_0_01/K2 b/tests/sewing/tol_0_01/K2 index a923ffe981..5ee43b7228 100644 --- a/tests/sewing/tol_0_01/K2 +++ b/tests/sewing/tol_0_01/K2 @@ -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 diff --git a/tests/sewing/tol_0_01/K3 b/tests/sewing/tol_0_01/K3 index 88bb5b48d8..aabc94cee4 100644 --- a/tests/sewing/tol_0_01/K3 +++ b/tests/sewing/tol_0_01/K3 @@ -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 diff --git a/tests/sewing/tol_0_01/K4 b/tests/sewing/tol_0_01/K4 index 5e918e950d..9b19885c7c 100644 --- a/tests/sewing/tol_0_01/K4 +++ b/tests/sewing/tol_0_01/K4 @@ -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 diff --git a/tests/sewing/tol_0_01/K5 b/tests/sewing/tol_0_01/K5 index fc3b7f2651..66c79dceb0 100644 --- a/tests/sewing/tol_0_01/K5 +++ b/tests/sewing/tol_0_01/K5 @@ -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 diff --git a/tests/sewing/tol_0_01/K6 b/tests/sewing/tol_0_01/K6 index 661c8ce511..935d1133c5 100644 --- a/tests/sewing/tol_0_01/K6 +++ b/tests/sewing/tol_0_01/K6 @@ -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 diff --git a/tests/sewing/tol_0_01/K7 b/tests/sewing/tol_0_01/K7 index 6a08b20f65..2b187ceccf 100644 --- a/tests/sewing/tol_0_01/K7 +++ b/tests/sewing/tol_0_01/K7 @@ -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 diff --git a/tests/sewing/tol_0_01/K8 b/tests/sewing/tol_0_01/K8 index 01ec0362a7..d3b58221e5 100644 --- a/tests/sewing/tol_0_01/K8 +++ b/tests/sewing/tol_0_01/K8 @@ -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 diff --git a/tests/sewing/tol_0_01/K9 b/tests/sewing/tol_0_01/K9 index dddb8e911e..d8d0c58fab 100644 --- a/tests/sewing/tol_0_01/K9 +++ b/tests/sewing/tol_0_01/K9 @@ -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 diff --git a/tests/sewing/tol_0_01/L1 b/tests/sewing/tol_0_01/L1 index 5e4cead6e4..3cfe4ee235 100644 --- a/tests/sewing/tol_0_01/L1 +++ b/tests/sewing/tol_0_01/L1 @@ -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 diff --git a/tests/sewing/tol_0_01/L2 b/tests/sewing/tol_0_01/L2 index 42e1befa3f..b5a57a9e9f 100644 --- a/tests/sewing/tol_0_01/L2 +++ b/tests/sewing/tol_0_01/L2 @@ -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 diff --git a/tests/sewing/tol_0_01/L3 b/tests/sewing/tol_0_01/L3 index dcfa3eae49..1099308ec2 100644 --- a/tests/sewing/tol_0_01/L3 +++ b/tests/sewing/tol_0_01/L3 @@ -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 diff --git a/tests/sewing/tol_0_01/L4 b/tests/sewing/tol_0_01/L4 index d03e3b5da3..87f1580935 100644 --- a/tests/sewing/tol_0_01/L4 +++ b/tests/sewing/tol_0_01/L4 @@ -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 diff --git a/tests/sewing/tol_0_01/L5 b/tests/sewing/tol_0_01/L5 index 395c850866..34afd623c6 100644 --- a/tests/sewing/tol_0_01/L5 +++ b/tests/sewing/tol_0_01/L5 @@ -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 diff --git a/tests/sewing/tol_0_01/L6 b/tests/sewing/tol_0_01/L6 index 4c1041f1cf..317e91cabf 100644 --- a/tests/sewing/tol_0_01/L6 +++ b/tests/sewing/tol_0_01/L6 @@ -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 diff --git a/tests/sewing/tol_0_01/L7 b/tests/sewing/tol_0_01/L7 index b03a440242..e54db0a5e2 100644 --- a/tests/sewing/tol_0_01/L7 +++ b/tests/sewing/tol_0_01/L7 @@ -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 diff --git a/tests/sewing/tol_0_01/L8 b/tests/sewing/tol_0_01/L8 index ad49a89208..bee7f096e4 100644 --- a/tests/sewing/tol_0_01/L8 +++ b/tests/sewing/tol_0_01/L8 @@ -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 diff --git a/tests/sewing/tol_0_01/L9 b/tests/sewing/tol_0_01/L9 index f9c75c2978..a91dcbef05 100644 --- a/tests/sewing/tol_0_01/L9 +++ b/tests/sewing/tol_0_01/L9 @@ -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 diff --git a/tests/sewing/tol_0_01/M1 b/tests/sewing/tol_0_01/M1 index 2c7bb4a404..6fc2b230c1 100644 --- a/tests/sewing/tol_0_01/M1 +++ b/tests/sewing/tol_0_01/M1 @@ -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 diff --git a/tests/sewing/tol_0_01/M2 b/tests/sewing/tol_0_01/M2 index 3e3b8b0e71..5b1247e14b 100644 --- a/tests/sewing/tol_0_01/M2 +++ b/tests/sewing/tol_0_01/M2 @@ -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 diff --git a/tests/sewing/tol_0_01/M3 b/tests/sewing/tol_0_01/M3 index 497b06e444..db54cd13a1 100644 --- a/tests/sewing/tol_0_01/M3 +++ b/tests/sewing/tol_0_01/M3 @@ -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 diff --git a/tests/sewing/tol_0_01/M4 b/tests/sewing/tol_0_01/M4 index 3876040855..a948fb081e 100644 --- a/tests/sewing/tol_0_01/M4 +++ b/tests/sewing/tol_0_01/M4 @@ -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 diff --git a/tests/sewing/tol_0_01/M5 b/tests/sewing/tol_0_01/M5 index cb21ef6b99..cb39a43cb4 100644 --- a/tests/sewing/tol_0_01/M5 +++ b/tests/sewing/tol_0_01/M5 @@ -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 diff --git a/tests/sewing/tol_0_01/M6 b/tests/sewing/tol_0_01/M6 index 9070a753b7..d5ea24a207 100644 --- a/tests/sewing/tol_0_01/M6 +++ b/tests/sewing/tol_0_01/M6 @@ -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 diff --git a/tests/sewing/tol_0_01/M7 b/tests/sewing/tol_0_01/M7 index b7dab27f4b..b77950cfdc 100644 --- a/tests/sewing/tol_0_01/M7 +++ b/tests/sewing/tol_0_01/M7 @@ -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 diff --git a/tests/sewing/tol_0_01/M8 b/tests/sewing/tol_0_01/M8 index 3b6e58a10e..582253aecc 100644 --- a/tests/sewing/tol_0_01/M8 +++ b/tests/sewing/tol_0_01/M8 @@ -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 diff --git a/tests/sewing/tol_0_01/M9 b/tests/sewing/tol_0_01/M9 index 53be7e22c7..101f821f82 100644 --- a/tests/sewing/tol_0_01/M9 +++ b/tests/sewing/tol_0_01/M9 @@ -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 diff --git a/tests/sewing/tol_0_01/N1 b/tests/sewing/tol_0_01/N1 index 26ecdf3865..0ac5416b8b 100644 --- a/tests/sewing/tol_0_01/N1 +++ b/tests/sewing/tol_0_01/N1 @@ -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 diff --git a/tests/sewing/tol_0_01/N2 b/tests/sewing/tol_0_01/N2 index cbcad02787..1b5cf4627f 100644 --- a/tests/sewing/tol_0_01/N2 +++ b/tests/sewing/tol_0_01/N2 @@ -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 diff --git a/tests/sewing/tol_0_01/N3 b/tests/sewing/tol_0_01/N3 index 6603736a45..38486e7b50 100644 --- a/tests/sewing/tol_0_01/N3 +++ b/tests/sewing/tol_0_01/N3 @@ -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 diff --git a/tests/sewing/tol_0_01/N4 b/tests/sewing/tol_0_01/N4 index 22fec0650c..b4b0d1f237 100644 --- a/tests/sewing/tol_0_01/N4 +++ b/tests/sewing/tol_0_01/N4 @@ -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 diff --git a/tests/sewing/tol_0_01/N5 b/tests/sewing/tol_0_01/N5 index b74289dcdc..01dd020883 100644 --- a/tests/sewing/tol_0_01/N5 +++ b/tests/sewing/tol_0_01/N5 @@ -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 diff --git a/tests/sewing/tol_0_01/N6 b/tests/sewing/tol_0_01/N6 index 2550ad3033..ad13e17384 100644 --- a/tests/sewing/tol_0_01/N6 +++ b/tests/sewing/tol_0_01/N6 @@ -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 diff --git a/tests/sewing/tol_0_01/N7 b/tests/sewing/tol_0_01/N7 index 98e92e0710..d08a271586 100644 --- a/tests/sewing/tol_0_01/N7 +++ b/tests/sewing/tol_0_01/N7 @@ -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 diff --git a/tests/sewing/tol_0_01/N8 b/tests/sewing/tol_0_01/N8 index 8a47aa3c45..01689e62c7 100644 --- a/tests/sewing/tol_0_01/N8 +++ b/tests/sewing/tol_0_01/N8 @@ -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 diff --git a/tests/sewing/tol_0_01/N9 b/tests/sewing/tol_0_01/N9 index 046314ed6d..9781e65b10 100644 --- a/tests/sewing/tol_0_01/N9 +++ b/tests/sewing/tol_0_01/N9 @@ -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 diff --git a/tests/sewing/tol_0_01/O1 b/tests/sewing/tol_0_01/O1 index 171c9240bb..ab67bf3058 100644 --- a/tests/sewing/tol_0_01/O1 +++ b/tests/sewing/tol_0_01/O1 @@ -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 diff --git a/tests/sewing/tol_0_01/O2 b/tests/sewing/tol_0_01/O2 index 514c96b11c..8576f50ebf 100644 --- a/tests/sewing/tol_0_01/O2 +++ b/tests/sewing/tol_0_01/O2 @@ -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 diff --git a/tests/sewing/tol_0_01/O3 b/tests/sewing/tol_0_01/O3 index be90fbe0a9..02f0587769 100644 --- a/tests/sewing/tol_0_01/O3 +++ b/tests/sewing/tol_0_01/O3 @@ -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 diff --git a/tests/sewing/tol_0_01/O4 b/tests/sewing/tol_0_01/O4 index a38f1f6c34..967235b4ff 100644 --- a/tests/sewing/tol_0_01/O4 +++ b/tests/sewing/tol_0_01/O4 @@ -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 diff --git a/tests/sewing/tol_0_01/O5 b/tests/sewing/tol_0_01/O5 index 7d08218b78..8e419667ac 100644 --- a/tests/sewing/tol_0_01/O5 +++ b/tests/sewing/tol_0_01/O5 @@ -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 diff --git a/tests/sewing/tol_0_01/O6 b/tests/sewing/tol_0_01/O6 index db93e72f2a..aa7d7d6e6f 100644 --- a/tests/sewing/tol_0_01/O6 +++ b/tests/sewing/tol_0_01/O6 @@ -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 diff --git a/tests/sewing/tol_0_01/O7 b/tests/sewing/tol_0_01/O7 index 9dedfcca62..695ae7cd56 100644 --- a/tests/sewing/tol_0_01/O7 +++ b/tests/sewing/tol_0_01/O7 @@ -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 diff --git a/tests/sewing/tol_0_01/O8 b/tests/sewing/tol_0_01/O8 index 652fe15363..8edd1ace13 100644 --- a/tests/sewing/tol_0_01/O8 +++ b/tests/sewing/tol_0_01/O8 @@ -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 diff --git a/tests/sewing/tol_0_01/O9 b/tests/sewing/tol_0_01/O9 index bbac59ecb9..e2eec4f9e5 100644 --- a/tests/sewing/tol_0_01/O9 +++ b/tests/sewing/tol_0_01/O9 @@ -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 diff --git a/tests/sewing/tol_0_01/P1 b/tests/sewing/tol_0_01/P1 index ec0472e1aa..d27f09b644 100644 --- a/tests/sewing/tol_0_01/P1 +++ b/tests/sewing/tol_0_01/P1 @@ -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 diff --git a/tests/sewing/tol_0_01/P2 b/tests/sewing/tol_0_01/P2 index 3ebca4d5b9..846e1ab1c8 100644 --- a/tests/sewing/tol_0_01/P2 +++ b/tests/sewing/tol_0_01/P2 @@ -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 diff --git a/tests/sewing/tol_0_01/P3 b/tests/sewing/tol_0_01/P3 index 163c6a2e8f..00a133b9b5 100644 --- a/tests/sewing/tol_0_01/P3 +++ b/tests/sewing/tol_0_01/P3 @@ -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 diff --git a/tests/sewing/tol_0_01/P4 b/tests/sewing/tol_0_01/P4 index 5f0e9e0295..4efef232c4 100644 --- a/tests/sewing/tol_0_01/P4 +++ b/tests/sewing/tol_0_01/P4 @@ -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 diff --git a/tests/sewing/tol_0_01/P5 b/tests/sewing/tol_0_01/P5 index b9b16c1f1d..a6fab616c5 100644 --- a/tests/sewing/tol_0_01/P5 +++ b/tests/sewing/tol_0_01/P5 @@ -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 diff --git a/tests/sewing/tol_0_01/P6 b/tests/sewing/tol_0_01/P6 index 41836eb233..ebad699cdc 100644 --- a/tests/sewing/tol_0_01/P6 +++ b/tests/sewing/tol_0_01/P6 @@ -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 diff --git a/tests/sewing/tol_0_01/P7 b/tests/sewing/tol_0_01/P7 index 969af42064..7b4ebc9539 100644 --- a/tests/sewing/tol_0_01/P7 +++ b/tests/sewing/tol_0_01/P7 @@ -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 diff --git a/tests/sewing/tol_0_01/P8 b/tests/sewing/tol_0_01/P8 index de17c16530..db3aedddad 100644 --- a/tests/sewing/tol_0_01/P8 +++ b/tests/sewing/tol_0_01/P8 @@ -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 diff --git a/tests/sewing/tol_0_01/P9 b/tests/sewing/tol_0_01/P9 index a90e1a25c3..1b193ceba6 100644 --- a/tests/sewing/tol_0_01/P9 +++ b/tests/sewing/tol_0_01/P9 @@ -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 diff --git a/tests/sewing/tol_0_01/Q1 b/tests/sewing/tol_0_01/Q1 index 51cb22e604..9f4f8952ad 100644 --- a/tests/sewing/tol_0_01/Q1 +++ b/tests/sewing/tol_0_01/Q1 @@ -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 diff --git a/tests/sewing/tol_0_01/Q2 b/tests/sewing/tol_0_01/Q2 index 8306ae6694..dbb3dcf402 100644 --- a/tests/sewing/tol_0_01/Q2 +++ b/tests/sewing/tol_0_01/Q2 @@ -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 diff --git a/tests/sewing/tol_0_01/Q3 b/tests/sewing/tol_0_01/Q3 index efa430dd8f..5c124b1180 100644 --- a/tests/sewing/tol_0_01/Q3 +++ b/tests/sewing/tol_0_01/Q3 @@ -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 diff --git a/tests/sewing/tol_0_01/Q4 b/tests/sewing/tol_0_01/Q4 index 556622a195..61e088de91 100644 --- a/tests/sewing/tol_0_01/Q4 +++ b/tests/sewing/tol_0_01/Q4 @@ -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 diff --git a/tests/sewing/tol_0_01/Q5 b/tests/sewing/tol_0_01/Q5 index 27b022fab7..e327bf1ad7 100644 --- a/tests/sewing/tol_0_01/Q5 +++ b/tests/sewing/tol_0_01/Q5 @@ -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 diff --git a/tests/sewing/tol_0_01/Q6 b/tests/sewing/tol_0_01/Q6 index b47922de47..c0bed45b86 100644 --- a/tests/sewing/tol_0_01/Q6 +++ b/tests/sewing/tol_0_01/Q6 @@ -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 diff --git a/tests/sewing/tol_0_01/Q7 b/tests/sewing/tol_0_01/Q7 index f845af935d..bed1ab708b 100644 --- a/tests/sewing/tol_0_01/Q7 +++ b/tests/sewing/tol_0_01/Q7 @@ -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 diff --git a/tests/sewing/tol_0_01/Q8 b/tests/sewing/tol_0_01/Q8 index 8bc40bd77c..0e698c0f5f 100644 --- a/tests/sewing/tol_0_01/Q8 +++ b/tests/sewing/tol_0_01/Q8 @@ -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 diff --git a/tests/sewing/tol_0_01/Q9 b/tests/sewing/tol_0_01/Q9 index 2948dfe94e..ebca026b15 100644 --- a/tests/sewing/tol_0_01/Q9 +++ b/tests/sewing/tol_0_01/Q9 @@ -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 diff --git a/tests/sewing/tol_0_01/R1 b/tests/sewing/tol_0_01/R1 index 25b6fcfbbe..b40c936ebb 100644 --- a/tests/sewing/tol_0_01/R1 +++ b/tests/sewing/tol_0_01/R1 @@ -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 diff --git a/tests/sewing/tol_0_01/R2 b/tests/sewing/tol_0_01/R2 index 4a56a22a51..1686099121 100644 --- a/tests/sewing/tol_0_01/R2 +++ b/tests/sewing/tol_0_01/R2 @@ -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 diff --git a/tests/sewing/tol_0_01/R3 b/tests/sewing/tol_0_01/R3 index c50fd589a0..27732a8800 100644 --- a/tests/sewing/tol_0_01/R3 +++ b/tests/sewing/tol_0_01/R3 @@ -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 diff --git a/tests/sewing/tol_0_01/R4 b/tests/sewing/tol_0_01/R4 index 3ba75a0537..c288d7181a 100644 --- a/tests/sewing/tol_0_01/R4 +++ b/tests/sewing/tol_0_01/R4 @@ -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 diff --git a/tests/sewing/tol_0_01/R5 b/tests/sewing/tol_0_01/R5 index b69ec19024..8c4e7ecbac 100644 --- a/tests/sewing/tol_0_01/R5 +++ b/tests/sewing/tol_0_01/R5 @@ -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 diff --git a/tests/sewing/tol_0_01/R6 b/tests/sewing/tol_0_01/R6 index 3bd0e2e06a..1aca39b908 100644 --- a/tests/sewing/tol_0_01/R6 +++ b/tests/sewing/tol_0_01/R6 @@ -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 diff --git a/tests/sewing/tol_0_01/R7 b/tests/sewing/tol_0_01/R7 index e01f02b05c..d88072b96a 100644 --- a/tests/sewing/tol_0_01/R7 +++ b/tests/sewing/tol_0_01/R7 @@ -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 diff --git a/tests/sewing/tol_0_01/R8 b/tests/sewing/tol_0_01/R8 index 400d8c3650..816a8eb8df 100644 --- a/tests/sewing/tol_0_01/R8 +++ b/tests/sewing/tol_0_01/R8 @@ -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 diff --git a/tests/sewing/tol_0_01/R9 b/tests/sewing/tol_0_01/R9 index 769d7d80cf..81fcd5a5e7 100644 --- a/tests/sewing/tol_0_01/R9 +++ b/tests/sewing/tol_0_01/R9 @@ -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 diff --git a/tests/sewing/tol_0_01/S1 b/tests/sewing/tol_0_01/S1 index 7aa322c60b..7e090ea845 100644 --- a/tests/sewing/tol_0_01/S1 +++ b/tests/sewing/tol_0_01/S1 @@ -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 diff --git a/tests/sewing/tol_0_01/S2 b/tests/sewing/tol_0_01/S2 index 9d3d870d25..ef14cd07ec 100644 --- a/tests/sewing/tol_0_01/S2 +++ b/tests/sewing/tol_0_01/S2 @@ -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 diff --git a/tests/sewing/tol_0_01/S3 b/tests/sewing/tol_0_01/S3 index defecafebc..b71cb105ea 100644 --- a/tests/sewing/tol_0_01/S3 +++ b/tests/sewing/tol_0_01/S3 @@ -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 diff --git a/tests/sewing/tol_0_01/S4 b/tests/sewing/tol_0_01/S4 index 7a1ced6db7..d5da053bcc 100644 --- a/tests/sewing/tol_0_01/S4 +++ b/tests/sewing/tol_0_01/S4 @@ -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 diff --git a/tests/sewing/tol_0_01/S5 b/tests/sewing/tol_0_01/S5 index 90c605d673..871fc97a4c 100644 --- a/tests/sewing/tol_0_01/S5 +++ b/tests/sewing/tol_0_01/S5 @@ -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 diff --git a/tests/sewing/tol_0_01/S6 b/tests/sewing/tol_0_01/S6 index fe343f259d..23e38ee6ae 100644 --- a/tests/sewing/tol_0_01/S6 +++ b/tests/sewing/tol_0_01/S6 @@ -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 diff --git a/tests/sewing/tol_0_01/S7 b/tests/sewing/tol_0_01/S7 index 38a4520a80..a188aaafd8 100644 --- a/tests/sewing/tol_0_01/S7 +++ b/tests/sewing/tol_0_01/S7 @@ -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 diff --git a/tests/sewing/tol_0_01/S8 b/tests/sewing/tol_0_01/S8 index 9bc1e98eaf..609c016a61 100644 --- a/tests/sewing/tol_0_01/S8 +++ b/tests/sewing/tol_0_01/S8 @@ -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 diff --git a/tests/sewing/tol_0_01/S9 b/tests/sewing/tol_0_01/S9 index 17a3c775f5..c29f83d785 100644 --- a/tests/sewing/tol_0_01/S9 +++ b/tests/sewing/tol_0_01/S9 @@ -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 diff --git a/tests/sewing/tol_0_01/T1 b/tests/sewing/tol_0_01/T1 index f2f6390e47..7f896a0f63 100644 --- a/tests/sewing/tol_0_01/T1 +++ b/tests/sewing/tol_0_01/T1 @@ -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 diff --git a/tests/sewing/tol_0_01/T2 b/tests/sewing/tol_0_01/T2 index 9a45d21390..8bc7bd8c4c 100644 --- a/tests/sewing/tol_0_01/T2 +++ b/tests/sewing/tol_0_01/T2 @@ -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 diff --git a/tests/sewing/tol_0_01/T3 b/tests/sewing/tol_0_01/T3 index 197be1d31c..8af091edb9 100644 --- a/tests/sewing/tol_0_01/T3 +++ b/tests/sewing/tol_0_01/T3 @@ -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 diff --git a/tests/sewing/tol_0_01/T4 b/tests/sewing/tol_0_01/T4 index 7eb539d81e..ef00f94930 100644 --- a/tests/sewing/tol_0_01/T4 +++ b/tests/sewing/tol_0_01/T4 @@ -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 diff --git a/tests/sewing/tol_0_01/T5 b/tests/sewing/tol_0_01/T5 index 88c89d718f..3d8705e45c 100644 --- a/tests/sewing/tol_0_01/T5 +++ b/tests/sewing/tol_0_01/T5 @@ -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 diff --git a/tests/sewing/tol_0_01/T6 b/tests/sewing/tol_0_01/T6 index 626415506f..3a63604f67 100644 --- a/tests/sewing/tol_0_01/T6 +++ b/tests/sewing/tol_0_01/T6 @@ -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 diff --git a/tests/sewing/tol_0_01/T7 b/tests/sewing/tol_0_01/T7 index d53f8001fb..e657425a91 100644 --- a/tests/sewing/tol_0_01/T7 +++ b/tests/sewing/tol_0_01/T7 @@ -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 diff --git a/tests/sewing/tol_0_01/T8 b/tests/sewing/tol_0_01/T8 index 7edf59ab58..1e9191e223 100644 --- a/tests/sewing/tol_0_01/T8 +++ b/tests/sewing/tol_0_01/T8 @@ -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 diff --git a/tests/sewing/tol_0_01/T9 b/tests/sewing/tol_0_01/T9 index e9be42e92a..1ebfb87651 100644 --- a/tests/sewing/tol_0_01/T9 +++ b/tests/sewing/tol_0_01/T9 @@ -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 diff --git a/tests/sewing/tol_0_01/U1 b/tests/sewing/tol_0_01/U1 index 9ee69bc0e8..6afafc93ad 100644 --- a/tests/sewing/tol_0_01/U1 +++ b/tests/sewing/tol_0_01/U1 @@ -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 diff --git a/tests/sewing/tol_0_01/U2 b/tests/sewing/tol_0_01/U2 index efee2ae3f3..e53e51ab91 100644 --- a/tests/sewing/tol_0_01/U2 +++ b/tests/sewing/tol_0_01/U2 @@ -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 diff --git a/tests/sewing/tol_0_01/U3 b/tests/sewing/tol_0_01/U3 index 89aff87319..e7745350eb 100644 --- a/tests/sewing/tol_0_01/U3 +++ b/tests/sewing/tol_0_01/U3 @@ -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 diff --git a/tests/sewing/tol_0_01/U4 b/tests/sewing/tol_0_01/U4 index 14f18768ab..0a86e1c73b 100644 --- a/tests/sewing/tol_0_01/U4 +++ b/tests/sewing/tol_0_01/U4 @@ -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 diff --git a/tests/sewing/tol_0_01/U5 b/tests/sewing/tol_0_01/U5 index c0968517ab..1444b46763 100644 --- a/tests/sewing/tol_0_01/U5 +++ b/tests/sewing/tol_0_01/U5 @@ -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 diff --git a/tests/sewing/tol_0_01/U6 b/tests/sewing/tol_0_01/U6 index 7a51992b1f..dc001fe5de 100644 --- a/tests/sewing/tol_0_01/U6 +++ b/tests/sewing/tol_0_01/U6 @@ -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 diff --git a/tests/sewing/tol_0_01/U7 b/tests/sewing/tol_0_01/U7 index 85ab7c46f0..e06f1c8e49 100644 --- a/tests/sewing/tol_0_01/U7 +++ b/tests/sewing/tol_0_01/U7 @@ -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 diff --git a/tests/sewing/tol_0_01/U8 b/tests/sewing/tol_0_01/U8 index ff104dbef5..b76e2802dd 100644 --- a/tests/sewing/tol_0_01/U8 +++ b/tests/sewing/tol_0_01/U8 @@ -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 diff --git a/tests/sewing/tol_0_01/U9 b/tests/sewing/tol_0_01/U9 index 88606a5e13..bef40c8db0 100644 --- a/tests/sewing/tol_0_01/U9 +++ b/tests/sewing/tol_0_01/U9 @@ -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 diff --git a/tests/sewing/tol_0_01/V1 b/tests/sewing/tol_0_01/V1 index 73a0c3abaf..452e0c6e10 100644 --- a/tests/sewing/tol_0_01/V1 +++ b/tests/sewing/tol_0_01/V1 @@ -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 diff --git a/tests/sewing/tol_0_01/V2 b/tests/sewing/tol_0_01/V2 index 3dec379bf9..a7f0c9af17 100644 --- a/tests/sewing/tol_0_01/V2 +++ b/tests/sewing/tol_0_01/V2 @@ -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 diff --git a/tests/sewing/tol_0_01/V3 b/tests/sewing/tol_0_01/V3 index e4cd2ed3c5..b2bf6300f9 100644 --- a/tests/sewing/tol_0_01/V3 +++ b/tests/sewing/tol_0_01/V3 @@ -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 diff --git a/tests/sewing/tol_0_01/V4 b/tests/sewing/tol_0_01/V4 index f66953a307..fb26b424d4 100644 --- a/tests/sewing/tol_0_01/V4 +++ b/tests/sewing/tol_0_01/V4 @@ -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 diff --git a/tests/sewing/tol_0_01/V5 b/tests/sewing/tol_0_01/V5 index 20716d9561..2d360921cc 100644 --- a/tests/sewing/tol_0_01/V5 +++ b/tests/sewing/tol_0_01/V5 @@ -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 diff --git a/tests/sewing/tol_0_01/V6 b/tests/sewing/tol_0_01/V6 index 4e9580509a..0eb7626b27 100644 --- a/tests/sewing/tol_0_01/V6 +++ b/tests/sewing/tol_0_01/V6 @@ -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 diff --git a/tests/sewing/tol_0_01/V7 b/tests/sewing/tol_0_01/V7 index 03b1f98ee1..82a03a08b7 100644 --- a/tests/sewing/tol_0_01/V7 +++ b/tests/sewing/tol_0_01/V7 @@ -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 diff --git a/tests/sewing/tol_0_01/V8 b/tests/sewing/tol_0_01/V8 index 324681f754..846b1619bd 100644 --- a/tests/sewing/tol_0_01/V8 +++ b/tests/sewing/tol_0_01/V8 @@ -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 diff --git a/tests/sewing/tol_0_01/V9 b/tests/sewing/tol_0_01/V9 index 9731de3833..7ebbbbd7a8 100644 --- a/tests/sewing/tol_0_01/V9 +++ b/tests/sewing/tol_0_01/V9 @@ -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 diff --git a/tests/sewing/tol_0_01/W1 b/tests/sewing/tol_0_01/W1 index 36f0fa7a25..155ee22405 100644 --- a/tests/sewing/tol_0_01/W1 +++ b/tests/sewing/tol_0_01/W1 @@ -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 diff --git a/tests/sewing/tol_0_01/W2 b/tests/sewing/tol_0_01/W2 index 11e6d4a073..140c438b51 100644 --- a/tests/sewing/tol_0_01/W2 +++ b/tests/sewing/tol_0_01/W2 @@ -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 diff --git a/tests/sewing/tol_0_01/W3 b/tests/sewing/tol_0_01/W3 index 2d70c6641a..8c29eb02cf 100644 --- a/tests/sewing/tol_0_01/W3 +++ b/tests/sewing/tol_0_01/W3 @@ -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 diff --git a/tests/sewing/tol_0_01/W4 b/tests/sewing/tol_0_01/W4 index 3eb4ae130e..652e0cc3de 100644 --- a/tests/sewing/tol_0_01/W4 +++ b/tests/sewing/tol_0_01/W4 @@ -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 diff --git a/tests/sewing/tol_0_01/W5 b/tests/sewing/tol_0_01/W5 index 0731cfe319..41edd980ec 100644 --- a/tests/sewing/tol_0_01/W5 +++ b/tests/sewing/tol_0_01/W5 @@ -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 diff --git a/tests/sewing/tol_0_01/W6 b/tests/sewing/tol_0_01/W6 index fd3367645c..5cbe84cfa6 100644 --- a/tests/sewing/tol_0_01/W6 +++ b/tests/sewing/tol_0_01/W6 @@ -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 diff --git a/tests/sewing/tol_0_01/W7 b/tests/sewing/tol_0_01/W7 index dd18454b2d..fadbcb16ed 100644 --- a/tests/sewing/tol_0_01/W7 +++ b/tests/sewing/tol_0_01/W7 @@ -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 diff --git a/tests/sewing/tol_0_01/W8 b/tests/sewing/tol_0_01/W8 index c41f055c96..68df25988f 100644 --- a/tests/sewing/tol_0_01/W8 +++ b/tests/sewing/tol_0_01/W8 @@ -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 diff --git a/tests/sewing/tol_0_01/W9 b/tests/sewing/tol_0_01/W9 index 1f80d1933c..9b54ad0c6d 100644 --- a/tests/sewing/tol_0_01/W9 +++ b/tests/sewing/tol_0_01/W9 @@ -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 diff --git a/tests/sewing/tol_0_01/X1 b/tests/sewing/tol_0_01/X1 index 16be549a59..9291d9fe3e 100644 --- a/tests/sewing/tol_0_01/X1 +++ b/tests/sewing/tol_0_01/X1 @@ -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 diff --git a/tests/sewing/tol_0_01/X2 b/tests/sewing/tol_0_01/X2 index 4e6074b7f6..703a5594e0 100644 --- a/tests/sewing/tol_0_01/X2 +++ b/tests/sewing/tol_0_01/X2 @@ -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 diff --git a/tests/sewing/tol_0_01/X3 b/tests/sewing/tol_0_01/X3 index 0a5d77d596..2cea9c3c73 100644 --- a/tests/sewing/tol_0_01/X3 +++ b/tests/sewing/tol_0_01/X3 @@ -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 diff --git a/tests/sewing/tol_0_01/X4 b/tests/sewing/tol_0_01/X4 index 8b5b2f8788..50edb904ce 100644 --- a/tests/sewing/tol_0_01/X4 +++ b/tests/sewing/tol_0_01/X4 @@ -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 diff --git a/tests/sewing/tol_0_01/X5 b/tests/sewing/tol_0_01/X5 index 7beaeb2872..e20ec6bada 100644 --- a/tests/sewing/tol_0_01/X5 +++ b/tests/sewing/tol_0_01/X5 @@ -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 diff --git a/tests/sewing/tol_0_01/X6 b/tests/sewing/tol_0_01/X6 index 55d3355b0b..1804c9e92a 100644 --- a/tests/sewing/tol_0_01/X6 +++ b/tests/sewing/tol_0_01/X6 @@ -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 diff --git a/tests/sewing/tol_0_01/X7 b/tests/sewing/tol_0_01/X7 index ab6bc9b262..83792c8606 100644 --- a/tests/sewing/tol_0_01/X7 +++ b/tests/sewing/tol_0_01/X7 @@ -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 diff --git a/tests/sewing/tol_0_01/X8 b/tests/sewing/tol_0_01/X8 index 0b04cba3ed..89798c11fc 100644 --- a/tests/sewing/tol_0_01/X8 +++ b/tests/sewing/tol_0_01/X8 @@ -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 diff --git a/tests/sewing/tol_0_01/X9 b/tests/sewing/tol_0_01/X9 index 1086263671..ce688ed5fc 100644 --- a/tests/sewing/tol_0_01/X9 +++ b/tests/sewing/tol_0_01/X9 @@ -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 diff --git a/tests/sewing/tol_0_01/Y1 b/tests/sewing/tol_0_01/Y1 index 36db9bd260..e569d95d6f 100644 --- a/tests/sewing/tol_0_01/Y1 +++ b/tests/sewing/tol_0_01/Y1 @@ -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 diff --git a/tests/sewing/tol_0_01/Y2 b/tests/sewing/tol_0_01/Y2 index 271586d684..5b5460ede5 100644 --- a/tests/sewing/tol_0_01/Y2 +++ b/tests/sewing/tol_0_01/Y2 @@ -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 diff --git a/tests/sewing/tol_0_01/Y3 b/tests/sewing/tol_0_01/Y3 index 610738fbed..dab3edcde3 100644 --- a/tests/sewing/tol_0_01/Y3 +++ b/tests/sewing/tol_0_01/Y3 @@ -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 diff --git a/tests/sewing/tol_0_01/Y4 b/tests/sewing/tol_0_01/Y4 index 9f7223453a..e8bc7b997d 100644 --- a/tests/sewing/tol_0_01/Y4 +++ b/tests/sewing/tol_0_01/Y4 @@ -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 diff --git a/tests/sewing/tol_0_01/Y5 b/tests/sewing/tol_0_01/Y5 index 1ebe931d0b..90eec84772 100644 --- a/tests/sewing/tol_0_01/Y5 +++ b/tests/sewing/tol_0_01/Y5 @@ -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 diff --git a/tests/sewing/tol_0_01/Y6 b/tests/sewing/tol_0_01/Y6 index 33abfe2c23..55c84f1503 100644 --- a/tests/sewing/tol_0_01/Y6 +++ b/tests/sewing/tol_0_01/Y6 @@ -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 diff --git a/tests/sewing/tol_0_01/Y7 b/tests/sewing/tol_0_01/Y7 index ba4aa7ff7c..a04c528070 100644 --- a/tests/sewing/tol_0_01/Y7 +++ b/tests/sewing/tol_0_01/Y7 @@ -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 diff --git a/tests/sewing/tol_0_01/Y8 b/tests/sewing/tol_0_01/Y8 index 81cc230845..5373aa0d8f 100644 --- a/tests/sewing/tol_0_01/Y8 +++ b/tests/sewing/tol_0_01/Y8 @@ -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 diff --git a/tests/sewing/tol_0_01/Y9 b/tests/sewing/tol_0_01/Y9 index 14fa76e215..8875a58929 100644 --- a/tests/sewing/tol_0_01/Y9 +++ b/tests/sewing/tol_0_01/Y9 @@ -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 diff --git a/tests/sewing/tol_0_01/Z1 b/tests/sewing/tol_0_01/Z1 index 6cfe2848d4..d9eb1f39e6 100644 --- a/tests/sewing/tol_0_01/Z1 +++ b/tests/sewing/tol_0_01/Z1 @@ -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 diff --git a/tests/sewing/tol_0_01/Z2 b/tests/sewing/tol_0_01/Z2 index fae0cf5147..306b6d6cfe 100644 --- a/tests/sewing/tol_0_01/Z2 +++ b/tests/sewing/tol_0_01/Z2 @@ -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 diff --git a/tests/sewing/tol_0_01/Z3 b/tests/sewing/tol_0_01/Z3 index 0cd4465730..8f18c2a442 100644 --- a/tests/sewing/tol_0_01/Z3 +++ b/tests/sewing/tol_0_01/Z3 @@ -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 diff --git a/tests/sewing/tol_0_01/Z4 b/tests/sewing/tol_0_01/Z4 index 8f447ffef7..8389385e6b 100644 --- a/tests/sewing/tol_0_01/Z4 +++ b/tests/sewing/tol_0_01/Z4 @@ -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 diff --git a/tests/sewing/tol_0_01/Z5 b/tests/sewing/tol_0_01/Z5 index 6a2067a58b..b5fa11b243 100644 --- a/tests/sewing/tol_0_01/Z5 +++ b/tests/sewing/tol_0_01/Z5 @@ -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 diff --git a/tests/sewing/tol_0_01/Z6 b/tests/sewing/tol_0_01/Z6 index 1e8c167e14..b5401afe3b 100644 --- a/tests/sewing/tol_0_01/Z6 +++ b/tests/sewing/tol_0_01/Z6 @@ -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 diff --git a/tests/sewing/tol_0_01/Z7 b/tests/sewing/tol_0_01/Z7 index 696aecd41d..a1a4fb0c8f 100644 --- a/tests/sewing/tol_0_01/Z7 +++ b/tests/sewing/tol_0_01/Z7 @@ -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 diff --git a/tests/sewing/tol_0_01/Z8 b/tests/sewing/tol_0_01/Z8 index ee1b9e767e..834e0ec971 100644 --- a/tests/sewing/tol_0_01/Z8 +++ b/tests/sewing/tol_0_01/Z8 @@ -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 diff --git a/tests/sewing/tol_0_01/Z9 b/tests/sewing/tol_0_01/Z9 index 1f141c095f..571f57a429 100644 --- a/tests/sewing/tol_0_01/Z9 +++ b/tests/sewing/tol_0_01/Z9 @@ -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 diff --git a/tests/sewing/tol_1/A1 b/tests/sewing/tol_1/A1 index c94db3793b..f831a60767 100644 --- a/tests/sewing/tol_1/A1 +++ b/tests/sewing/tol_1/A1 @@ -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 diff --git a/tests/sewing/tol_1/A2 b/tests/sewing/tol_1/A2 index 49cedec4f9..f59dd5dc9d 100644 --- a/tests/sewing/tol_1/A2 +++ b/tests/sewing/tol_1/A2 @@ -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 diff --git a/tests/sewing/tol_1/A3 b/tests/sewing/tol_1/A3 index 3989e10de8..bb2bc253d5 100644 --- a/tests/sewing/tol_1/A3 +++ b/tests/sewing/tol_1/A3 @@ -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 diff --git a/tests/sewing/tol_1/A4 b/tests/sewing/tol_1/A4 index fec3b3319a..9e6d4a4e28 100644 --- a/tests/sewing/tol_1/A4 +++ b/tests/sewing/tol_1/A4 @@ -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 diff --git a/tests/sewing/tol_1/A5 b/tests/sewing/tol_1/A5 index 2de64dc6e2..129f397ae4 100644 --- a/tests/sewing/tol_1/A5 +++ b/tests/sewing/tol_1/A5 @@ -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 diff --git a/tests/sewing/tol_1/A6 b/tests/sewing/tol_1/A6 index 36931f2031..21d03e0c04 100644 --- a/tests/sewing/tol_1/A6 +++ b/tests/sewing/tol_1/A6 @@ -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 diff --git a/tests/sewing/tol_1/A7 b/tests/sewing/tol_1/A7 index f37e6761c3..2717b92397 100644 --- a/tests/sewing/tol_1/A7 +++ b/tests/sewing/tol_1/A7 @@ -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 diff --git a/tests/sewing/tol_1/A8 b/tests/sewing/tol_1/A8 index 90e1aa9cfa..d2456e8daa 100644 --- a/tests/sewing/tol_1/A8 +++ b/tests/sewing/tol_1/A8 @@ -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 diff --git a/tests/sewing/tol_1/A9 b/tests/sewing/tol_1/A9 index 292cf7c168..805411daf6 100644 --- a/tests/sewing/tol_1/A9 +++ b/tests/sewing/tol_1/A9 @@ -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 diff --git a/tests/sewing/tol_1/B1 b/tests/sewing/tol_1/B1 index 6094ae4b30..6ceb4653a4 100644 --- a/tests/sewing/tol_1/B1 +++ b/tests/sewing/tol_1/B1 @@ -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 diff --git a/tests/sewing/tol_1/B2 b/tests/sewing/tol_1/B2 index e6f7937d93..d8126759f6 100644 --- a/tests/sewing/tol_1/B2 +++ b/tests/sewing/tol_1/B2 @@ -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 diff --git a/tests/sewing/tol_1/B3 b/tests/sewing/tol_1/B3 index ed418fd20c..620dc0bbbf 100644 --- a/tests/sewing/tol_1/B3 +++ b/tests/sewing/tol_1/B3 @@ -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 diff --git a/tests/sewing/tol_1/B4 b/tests/sewing/tol_1/B4 index a8fbde5659..6992dd89bf 100644 --- a/tests/sewing/tol_1/B4 +++ b/tests/sewing/tol_1/B4 @@ -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 diff --git a/tests/sewing/tol_1/B5 b/tests/sewing/tol_1/B5 index ddfe506ba4..5a2653fbeb 100644 --- a/tests/sewing/tol_1/B5 +++ b/tests/sewing/tol_1/B5 @@ -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 diff --git a/tests/sewing/tol_1/B6 b/tests/sewing/tol_1/B6 index 6092f36b9f..ac548e1496 100644 --- a/tests/sewing/tol_1/B6 +++ b/tests/sewing/tol_1/B6 @@ -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 diff --git a/tests/sewing/tol_1/B7 b/tests/sewing/tol_1/B7 index 4dd9677227..67b33789ff 100644 --- a/tests/sewing/tol_1/B7 +++ b/tests/sewing/tol_1/B7 @@ -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 diff --git a/tests/sewing/tol_1/B8 b/tests/sewing/tol_1/B8 index 651f266ea0..11e8730b05 100644 --- a/tests/sewing/tol_1/B8 +++ b/tests/sewing/tol_1/B8 @@ -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 diff --git a/tests/sewing/tol_1/B9 b/tests/sewing/tol_1/B9 index 5deb387a3f..5d289352d9 100644 --- a/tests/sewing/tol_1/B9 +++ b/tests/sewing/tol_1/B9 @@ -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 diff --git a/tests/sewing/tol_1/C1 b/tests/sewing/tol_1/C1 index 850a973fe1..ae012c12f5 100644 --- a/tests/sewing/tol_1/C1 +++ b/tests/sewing/tol_1/C1 @@ -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 diff --git a/tests/sewing/tol_1/C2 b/tests/sewing/tol_1/C2 index 796890db3e..6535761bbe 100644 --- a/tests/sewing/tol_1/C2 +++ b/tests/sewing/tol_1/C2 @@ -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 diff --git a/tests/sewing/tol_1/C3 b/tests/sewing/tol_1/C3 index 05adaa2900..3b05ca73ea 100644 --- a/tests/sewing/tol_1/C3 +++ b/tests/sewing/tol_1/C3 @@ -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 diff --git a/tests/sewing/tol_1/C4 b/tests/sewing/tol_1/C4 index 24d8300799..232703f159 100644 --- a/tests/sewing/tol_1/C4 +++ b/tests/sewing/tol_1/C4 @@ -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 diff --git a/tests/sewing/tol_1/C5 b/tests/sewing/tol_1/C5 index 42a2423f60..a9f651b5a2 100644 --- a/tests/sewing/tol_1/C5 +++ b/tests/sewing/tol_1/C5 @@ -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 diff --git a/tests/sewing/tol_1/C6 b/tests/sewing/tol_1/C6 index fc0e912d58..85982bbc9a 100644 --- a/tests/sewing/tol_1/C6 +++ b/tests/sewing/tol_1/C6 @@ -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 diff --git a/tests/sewing/tol_1/C7 b/tests/sewing/tol_1/C7 index 3df982ed47..3813769cf1 100644 --- a/tests/sewing/tol_1/C7 +++ b/tests/sewing/tol_1/C7 @@ -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 diff --git a/tests/sewing/tol_1/C8 b/tests/sewing/tol_1/C8 index 0ca74b5ab8..576d06435d 100644 --- a/tests/sewing/tol_1/C8 +++ b/tests/sewing/tol_1/C8 @@ -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 diff --git a/tests/sewing/tol_1/C9 b/tests/sewing/tol_1/C9 index c8d2b023a3..06f6076101 100644 --- a/tests/sewing/tol_1/C9 +++ b/tests/sewing/tol_1/C9 @@ -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 diff --git a/tests/sewing/tol_1/D1 b/tests/sewing/tol_1/D1 index ff12e0e911..5abd07e122 100644 --- a/tests/sewing/tol_1/D1 +++ b/tests/sewing/tol_1/D1 @@ -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 diff --git a/tests/sewing/tol_1/D2 b/tests/sewing/tol_1/D2 index b8b1908ab4..99c90988c0 100644 --- a/tests/sewing/tol_1/D2 +++ b/tests/sewing/tol_1/D2 @@ -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 diff --git a/tests/sewing/tol_1/D3 b/tests/sewing/tol_1/D3 index 60754b400e..12311dd638 100644 --- a/tests/sewing/tol_1/D3 +++ b/tests/sewing/tol_1/D3 @@ -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 diff --git a/tests/sewing/tol_1/D4 b/tests/sewing/tol_1/D4 index 5b8a78a68e..99d74d0448 100644 --- a/tests/sewing/tol_1/D4 +++ b/tests/sewing/tol_1/D4 @@ -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 diff --git a/tests/sewing/tol_1/D5 b/tests/sewing/tol_1/D5 index ccfb99b57f..18169c0ad8 100644 --- a/tests/sewing/tol_1/D5 +++ b/tests/sewing/tol_1/D5 @@ -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 diff --git a/tests/sewing/tol_1/D6 b/tests/sewing/tol_1/D6 index d50990ff05..b5ab94d821 100644 --- a/tests/sewing/tol_1/D6 +++ b/tests/sewing/tol_1/D6 @@ -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 diff --git a/tests/sewing/tol_1/D7 b/tests/sewing/tol_1/D7 index 6f3386378d..fa3b19b12c 100644 --- a/tests/sewing/tol_1/D7 +++ b/tests/sewing/tol_1/D7 @@ -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 diff --git a/tests/sewing/tol_1/D8 b/tests/sewing/tol_1/D8 index e2fc2691f9..d589cf3ed7 100644 --- a/tests/sewing/tol_1/D8 +++ b/tests/sewing/tol_1/D8 @@ -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 diff --git a/tests/sewing/tol_1/D9 b/tests/sewing/tol_1/D9 index 363653e80b..e21fd13b47 100644 --- a/tests/sewing/tol_1/D9 +++ b/tests/sewing/tol_1/D9 @@ -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 diff --git a/tests/sewing/tol_1/E1 b/tests/sewing/tol_1/E1 index cb21ef6b99..cb39a43cb4 100644 --- a/tests/sewing/tol_1/E1 +++ b/tests/sewing/tol_1/E1 @@ -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 diff --git a/tests/sewing/tol_1/E2 b/tests/sewing/tol_1/E2 index af48295ea0..4c4f22717e 100644 --- a/tests/sewing/tol_1/E2 +++ b/tests/sewing/tol_1/E2 @@ -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 diff --git a/tests/sewing/tol_1/E3 b/tests/sewing/tol_1/E3 index 81eeb7a5b9..d47899a852 100644 --- a/tests/sewing/tol_1/E3 +++ b/tests/sewing/tol_1/E3 @@ -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 diff --git a/tests/sewing/tol_1/E4 b/tests/sewing/tol_1/E4 index bebd39e6e2..389c7bd492 100644 --- a/tests/sewing/tol_1/E4 +++ b/tests/sewing/tol_1/E4 @@ -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 diff --git a/tests/sewing/tol_1/E5 b/tests/sewing/tol_1/E5 index 6f30222619..4d44ec39c2 100644 --- a/tests/sewing/tol_1/E5 +++ b/tests/sewing/tol_1/E5 @@ -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 diff --git a/tests/sewing/tol_1/E6 b/tests/sewing/tol_1/E6 index afb4d179eb..a54aff2813 100644 --- a/tests/sewing/tol_1/E6 +++ b/tests/sewing/tol_1/E6 @@ -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 diff --git a/tests/sewing/tol_1/E7 b/tests/sewing/tol_1/E7 index 8aa5d19cbe..fbed6d137c 100644 --- a/tests/sewing/tol_1/E7 +++ b/tests/sewing/tol_1/E7 @@ -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 diff --git a/tests/sewing/tol_1/E8 b/tests/sewing/tol_1/E8 index 96e025ea75..4ce760c9a2 100644 --- a/tests/sewing/tol_1/E8 +++ b/tests/sewing/tol_1/E8 @@ -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 diff --git a/tests/sewing/tol_1/E9 b/tests/sewing/tol_1/E9 index 4813182e3b..06b9b638ae 100644 --- a/tests/sewing/tol_1/E9 +++ b/tests/sewing/tol_1/E9 @@ -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 diff --git a/tests/sewing/tol_1/F1 b/tests/sewing/tol_1/F1 index 91d0a7031c..d6aba4f678 100644 --- a/tests/sewing/tol_1/F1 +++ b/tests/sewing/tol_1/F1 @@ -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 diff --git a/tests/sewing/tol_1/F2 b/tests/sewing/tol_1/F2 index fe24968b78..3e73fb5cb8 100644 --- a/tests/sewing/tol_1/F2 +++ b/tests/sewing/tol_1/F2 @@ -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 diff --git a/tests/sewing/tol_1/F3 b/tests/sewing/tol_1/F3 index 5f590dffc7..f6e7ca0887 100644 --- a/tests/sewing/tol_1/F3 +++ b/tests/sewing/tol_1/F3 @@ -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 diff --git a/tests/sewing/tol_1/F4 b/tests/sewing/tol_1/F4 index 75f40a8635..d7b11560f6 100644 --- a/tests/sewing/tol_1/F4 +++ b/tests/sewing/tol_1/F4 @@ -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 diff --git a/tests/sewing/tol_1/F5 b/tests/sewing/tol_1/F5 index c709a08c80..c239df4467 100644 --- a/tests/sewing/tol_1/F5 +++ b/tests/sewing/tol_1/F5 @@ -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 diff --git a/tests/sewing/tol_1/F6 b/tests/sewing/tol_1/F6 index 7997fc67ce..ab78fb5dbd 100644 --- a/tests/sewing/tol_1/F6 +++ b/tests/sewing/tol_1/F6 @@ -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 diff --git a/tests/sewing/tol_1/F7 b/tests/sewing/tol_1/F7 index dd34fc34f9..97952a6530 100644 --- a/tests/sewing/tol_1/F7 +++ b/tests/sewing/tol_1/F7 @@ -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 diff --git a/tests/sewing/tol_1/F8 b/tests/sewing/tol_1/F8 index ad6579cbc0..63c2159dc5 100644 --- a/tests/sewing/tol_1/F8 +++ b/tests/sewing/tol_1/F8 @@ -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 diff --git a/tests/sewing/tol_1/F9 b/tests/sewing/tol_1/F9 index 82eacdf4f6..d7a7a3d9ed 100644 --- a/tests/sewing/tol_1/F9 +++ b/tests/sewing/tol_1/F9 @@ -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 diff --git a/tests/sewing/tol_1/G1 b/tests/sewing/tol_1/G1 index 9556bcc6ff..04fcf8413d 100644 --- a/tests/sewing/tol_1/G1 +++ b/tests/sewing/tol_1/G1 @@ -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 diff --git a/tests/sewing/tol_1/G2 b/tests/sewing/tol_1/G2 index dc74f11797..104aaad573 100644 --- a/tests/sewing/tol_1/G2 +++ b/tests/sewing/tol_1/G2 @@ -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 diff --git a/tests/sewing/tol_1/G3 b/tests/sewing/tol_1/G3 index 21aeed381b..611eafb5d2 100644 --- a/tests/sewing/tol_1/G3 +++ b/tests/sewing/tol_1/G3 @@ -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 diff --git a/tests/sewing/tol_1/G4 b/tests/sewing/tol_1/G4 index a13d4b5bea..1c5eedd169 100644 --- a/tests/sewing/tol_1/G4 +++ b/tests/sewing/tol_1/G4 @@ -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 diff --git a/tests/sewing/tol_1/G5 b/tests/sewing/tol_1/G5 index cb7b96e17f..299564526b 100644 --- a/tests/sewing/tol_1/G5 +++ b/tests/sewing/tol_1/G5 @@ -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 diff --git a/tests/sewing/tol_1/G6 b/tests/sewing/tol_1/G6 index 76d94a8032..16a03f2f37 100644 --- a/tests/sewing/tol_1/G6 +++ b/tests/sewing/tol_1/G6 @@ -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 diff --git a/tests/sewing/tol_1/G7 b/tests/sewing/tol_1/G7 index b7c5fbc501..25c89c4c41 100644 --- a/tests/sewing/tol_1/G7 +++ b/tests/sewing/tol_1/G7 @@ -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 diff --git a/tests/sewing/tol_1/G8 b/tests/sewing/tol_1/G8 index b4edf575ae..72a510e041 100644 --- a/tests/sewing/tol_1/G8 +++ b/tests/sewing/tol_1/G8 @@ -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 diff --git a/tests/sewing/tol_1/G9 b/tests/sewing/tol_1/G9 index 5611a2c77c..fd128b92ce 100644 --- a/tests/sewing/tol_1/G9 +++ b/tests/sewing/tol_1/G9 @@ -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 diff --git a/tests/sewing/tol_1/H1 b/tests/sewing/tol_1/H1 index b86fd8e5a1..ce37b3da17 100644 --- a/tests/sewing/tol_1/H1 +++ b/tests/sewing/tol_1/H1 @@ -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 diff --git a/tests/sewing/tol_1/H2 b/tests/sewing/tol_1/H2 index d1263dadf2..b1c742d77c 100644 --- a/tests/sewing/tol_1/H2 +++ b/tests/sewing/tol_1/H2 @@ -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 diff --git a/tests/sewing/tol_1/H3 b/tests/sewing/tol_1/H3 index 1f6665da79..31ddc03016 100644 --- a/tests/sewing/tol_1/H3 +++ b/tests/sewing/tol_1/H3 @@ -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 diff --git a/tests/sewing/tol_1/H4 b/tests/sewing/tol_1/H4 index f0f8bffb92..e0bace025e 100644 --- a/tests/sewing/tol_1/H4 +++ b/tests/sewing/tol_1/H4 @@ -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 diff --git a/tests/sewing/tol_1/H5 b/tests/sewing/tol_1/H5 index 05d2f505e1..cf4e62bd13 100644 --- a/tests/sewing/tol_1/H5 +++ b/tests/sewing/tol_1/H5 @@ -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 diff --git a/tests/sewing/tol_1/H6 b/tests/sewing/tol_1/H6 index 7e3f5132ad..52c30fb70c 100644 --- a/tests/sewing/tol_1/H6 +++ b/tests/sewing/tol_1/H6 @@ -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 diff --git a/tests/sewing/tol_1/H7 b/tests/sewing/tol_1/H7 index 526bc3e483..88b6a76eac 100644 --- a/tests/sewing/tol_1/H7 +++ b/tests/sewing/tol_1/H7 @@ -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 diff --git a/tests/sewing/tol_1/H8 b/tests/sewing/tol_1/H8 index 29ed323339..0d50707ca0 100644 --- a/tests/sewing/tol_1/H8 +++ b/tests/sewing/tol_1/H8 @@ -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 diff --git a/tests/sewing/tol_1/H9 b/tests/sewing/tol_1/H9 index 495114986c..c47e049ead 100644 --- a/tests/sewing/tol_1/H9 +++ b/tests/sewing/tol_1/H9 @@ -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 diff --git a/tests/sewing/tol_1/I1 b/tests/sewing/tol_1/I1 index 6a87ad7a12..1fde1e523a 100644 --- a/tests/sewing/tol_1/I1 +++ b/tests/sewing/tol_1/I1 @@ -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 diff --git a/tests/sewing/tol_1/I2 b/tests/sewing/tol_1/I2 index a935afa850..748e75cd55 100644 --- a/tests/sewing/tol_1/I2 +++ b/tests/sewing/tol_1/I2 @@ -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 diff --git a/tests/sewing/tol_1/I3 b/tests/sewing/tol_1/I3 index 63354577b6..925fb34f4f 100644 --- a/tests/sewing/tol_1/I3 +++ b/tests/sewing/tol_1/I3 @@ -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 diff --git a/tests/sewing/tol_1/I4 b/tests/sewing/tol_1/I4 index e54ed89082..9091c4f5e9 100644 --- a/tests/sewing/tol_1/I4 +++ b/tests/sewing/tol_1/I4 @@ -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 diff --git a/tests/sewing/tol_1/I5 b/tests/sewing/tol_1/I5 index b5d654f7b9..e4f00099a3 100644 --- a/tests/sewing/tol_1/I5 +++ b/tests/sewing/tol_1/I5 @@ -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 diff --git a/tests/sewing/tol_1/I6 b/tests/sewing/tol_1/I6 index 0a41d494dc..6328f626b3 100644 --- a/tests/sewing/tol_1/I6 +++ b/tests/sewing/tol_1/I6 @@ -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 diff --git a/tests/sewing/tol_1/I7 b/tests/sewing/tol_1/I7 index 86d1193071..736a7e12b8 100644 --- a/tests/sewing/tol_1/I7 +++ b/tests/sewing/tol_1/I7 @@ -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 diff --git a/tests/sewing/tol_1/I8 b/tests/sewing/tol_1/I8 index d87079f5c3..2424ad98e1 100644 --- a/tests/sewing/tol_1/I8 +++ b/tests/sewing/tol_1/I8 @@ -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 diff --git a/tests/sewing/tol_1/I9 b/tests/sewing/tol_1/I9 index 8a87404050..d2f59de489 100644 --- a/tests/sewing/tol_1/I9 +++ b/tests/sewing/tol_1/I9 @@ -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 diff --git a/tests/sewing/tol_1/J1 b/tests/sewing/tol_1/J1 index 42943c5d9a..fb7fd35ed1 100644 --- a/tests/sewing/tol_1/J1 +++ b/tests/sewing/tol_1/J1 @@ -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 diff --git a/tests/sewing/tol_1/J2 b/tests/sewing/tol_1/J2 index 282c46c24e..49a182920f 100644 --- a/tests/sewing/tol_1/J2 +++ b/tests/sewing/tol_1/J2 @@ -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 diff --git a/tests/sewing/tol_1/J3 b/tests/sewing/tol_1/J3 index 57fb5e316b..d93c67e46d 100644 --- a/tests/sewing/tol_1/J3 +++ b/tests/sewing/tol_1/J3 @@ -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 diff --git a/tests/sewing/tol_1/J4 b/tests/sewing/tol_1/J4 index a116de0119..1b894a691e 100644 --- a/tests/sewing/tol_1/J4 +++ b/tests/sewing/tol_1/J4 @@ -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 diff --git a/tests/sewing/tol_1/J5 b/tests/sewing/tol_1/J5 index ce4c0ee002..ceb2029ef2 100644 --- a/tests/sewing/tol_1/J5 +++ b/tests/sewing/tol_1/J5 @@ -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 diff --git a/tests/sewing/tol_1/J6 b/tests/sewing/tol_1/J6 index 1bac818c04..9ef49b23bc 100644 --- a/tests/sewing/tol_1/J6 +++ b/tests/sewing/tol_1/J6 @@ -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 diff --git a/tests/sewing/tol_1/J7 b/tests/sewing/tol_1/J7 index 635748c69a..6dd4a2f5bc 100644 --- a/tests/sewing/tol_1/J7 +++ b/tests/sewing/tol_1/J7 @@ -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 diff --git a/tests/sewing/tol_1/J8 b/tests/sewing/tol_1/J8 index ac8786f6cc..17fb5005aa 100644 --- a/tests/sewing/tol_1/J8 +++ b/tests/sewing/tol_1/J8 @@ -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 diff --git a/tests/sewing/tol_1/J9 b/tests/sewing/tol_1/J9 index e24e16aed5..e445f416ce 100644 --- a/tests/sewing/tol_1/J9 +++ b/tests/sewing/tol_1/J9 @@ -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 diff --git a/tests/sewing/tol_1/K1 b/tests/sewing/tol_1/K1 index 1b0b4e9b47..1e4767377e 100644 --- a/tests/sewing/tol_1/K1 +++ b/tests/sewing/tol_1/K1 @@ -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 diff --git a/tests/sewing/tol_1/K2 b/tests/sewing/tol_1/K2 index 0597eb3020..b605b4f621 100644 --- a/tests/sewing/tol_1/K2 +++ b/tests/sewing/tol_1/K2 @@ -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 diff --git a/tests/sewing/tol_1/K3 b/tests/sewing/tol_1/K3 index 6c145024cb..a2cdc8d82b 100644 --- a/tests/sewing/tol_1/K3 +++ b/tests/sewing/tol_1/K3 @@ -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 diff --git a/tests/sewing/tol_1/K4 b/tests/sewing/tol_1/K4 index 7cf59fb014..2b062aee24 100644 --- a/tests/sewing/tol_1/K4 +++ b/tests/sewing/tol_1/K4 @@ -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 diff --git a/tests/sewing/tol_1/K5 b/tests/sewing/tol_1/K5 index 58e87940eb..74f7001f07 100644 --- a/tests/sewing/tol_1/K5 +++ b/tests/sewing/tol_1/K5 @@ -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 diff --git a/tests/sewing/tol_1/K6 b/tests/sewing/tol_1/K6 index 753f5c178b..0354a563e8 100644 --- a/tests/sewing/tol_1/K6 +++ b/tests/sewing/tol_1/K6 @@ -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 diff --git a/tests/sewing/tol_1/K7 b/tests/sewing/tol_1/K7 index 1de4c5c202..3fe13ccd73 100644 --- a/tests/sewing/tol_1/K7 +++ b/tests/sewing/tol_1/K7 @@ -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 diff --git a/tests/sewing/tol_1/K8 b/tests/sewing/tol_1/K8 index 86e3fead64..4e7491b69d 100644 --- a/tests/sewing/tol_1/K8 +++ b/tests/sewing/tol_1/K8 @@ -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 diff --git a/tests/sewing/tol_1/K9 b/tests/sewing/tol_1/K9 index 68b1e39d06..59beba387a 100644 --- a/tests/sewing/tol_1/K9 +++ b/tests/sewing/tol_1/K9 @@ -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 diff --git a/tests/sewing/tol_1/L1 b/tests/sewing/tol_1/L1 index f5f7c17f57..573ac427b9 100644 --- a/tests/sewing/tol_1/L1 +++ b/tests/sewing/tol_1/L1 @@ -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 diff --git a/tests/sewing/tol_1/L2 b/tests/sewing/tol_1/L2 index a020172687..a6888af1ba 100644 --- a/tests/sewing/tol_1/L2 +++ b/tests/sewing/tol_1/L2 @@ -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 diff --git a/tests/sewing/tol_1/L3 b/tests/sewing/tol_1/L3 index 0e030fc9fb..dd48483a0d 100644 --- a/tests/sewing/tol_1/L3 +++ b/tests/sewing/tol_1/L3 @@ -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 diff --git a/tests/sewing/tol_1/L4 b/tests/sewing/tol_1/L4 index ed86184a6c..d420657745 100644 --- a/tests/sewing/tol_1/L4 +++ b/tests/sewing/tol_1/L4 @@ -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 diff --git a/tests/sewing/tol_1/L5 b/tests/sewing/tol_1/L5 index 67f24d4158..60fc665a02 100644 --- a/tests/sewing/tol_1/L5 +++ b/tests/sewing/tol_1/L5 @@ -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 diff --git a/tests/sewing/tol_1/L6 b/tests/sewing/tol_1/L6 index 7cdf32fe03..45df324a9e 100644 --- a/tests/sewing/tol_1/L6 +++ b/tests/sewing/tol_1/L6 @@ -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 diff --git a/tests/sewing/tol_1/L7 b/tests/sewing/tol_1/L7 index b9ec119070..22b91fca31 100644 --- a/tests/sewing/tol_1/L7 +++ b/tests/sewing/tol_1/L7 @@ -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 diff --git a/tests/sewing/tol_1/L8 b/tests/sewing/tol_1/L8 index 1572ef503d..8ba87b0de4 100644 --- a/tests/sewing/tol_1/L8 +++ b/tests/sewing/tol_1/L8 @@ -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 diff --git a/tests/sewing/tol_1/L9 b/tests/sewing/tol_1/L9 index adcd86d6cb..cd6eae6dd3 100644 --- a/tests/sewing/tol_1/L9 +++ b/tests/sewing/tol_1/L9 @@ -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 diff --git a/tests/sewing/tol_1/M1 b/tests/sewing/tol_1/M1 index 4cab58f67d..553314c728 100644 --- a/tests/sewing/tol_1/M1 +++ b/tests/sewing/tol_1/M1 @@ -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 diff --git a/tests/sewing/tol_1/M2 b/tests/sewing/tol_1/M2 index b0391b12d9..e2184e4b73 100644 --- a/tests/sewing/tol_1/M2 +++ b/tests/sewing/tol_1/M2 @@ -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 diff --git a/tests/sewing/tol_1/M3 b/tests/sewing/tol_1/M3 index c6ea0fd9bd..3c475f6e5c 100644 --- a/tests/sewing/tol_1/M3 +++ b/tests/sewing/tol_1/M3 @@ -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 diff --git a/tests/sewing/tol_1/M4 b/tests/sewing/tol_1/M4 index 4ec4c13bb8..2ffe9fe1e3 100644 --- a/tests/sewing/tol_1/M4 +++ b/tests/sewing/tol_1/M4 @@ -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 diff --git a/tests/sewing/tol_1/M5 b/tests/sewing/tol_1/M5 index 216f9229e4..b3a311b0fe 100644 --- a/tests/sewing/tol_1/M5 +++ b/tests/sewing/tol_1/M5 @@ -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 diff --git a/tests/sewing/tol_1/M6 b/tests/sewing/tol_1/M6 index fd4a85e76a..d159a784d4 100644 --- a/tests/sewing/tol_1/M6 +++ b/tests/sewing/tol_1/M6 @@ -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 diff --git a/tests/sewing/tol_1/M7 b/tests/sewing/tol_1/M7 index 7a27621863..48a02e0785 100644 --- a/tests/sewing/tol_1/M7 +++ b/tests/sewing/tol_1/M7 @@ -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 diff --git a/tests/sewing/tol_1/M8 b/tests/sewing/tol_1/M8 index e5f5a54e9b..5f62e88898 100644 --- a/tests/sewing/tol_1/M8 +++ b/tests/sewing/tol_1/M8 @@ -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 diff --git a/tests/sewing/tol_1/M9 b/tests/sewing/tol_1/M9 index 5f6166c7a9..89b5294738 100644 --- a/tests/sewing/tol_1/M9 +++ b/tests/sewing/tol_1/M9 @@ -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 diff --git a/tests/sewing/tol_1/N1 b/tests/sewing/tol_1/N1 index 06c8e63d83..e3afe8fd28 100644 --- a/tests/sewing/tol_1/N1 +++ b/tests/sewing/tol_1/N1 @@ -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 diff --git a/tests/sewing/tol_1/N2 b/tests/sewing/tol_1/N2 index eb23adf61c..285698bb61 100644 --- a/tests/sewing/tol_1/N2 +++ b/tests/sewing/tol_1/N2 @@ -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 diff --git a/tests/sewing/tol_1/N3 b/tests/sewing/tol_1/N3 index 5fd74c74e3..d49068e482 100644 --- a/tests/sewing/tol_1/N3 +++ b/tests/sewing/tol_1/N3 @@ -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 diff --git a/tests/sewing/tol_1/N4 b/tests/sewing/tol_1/N4 index 44ce0d0cbc..e303addade 100644 --- a/tests/sewing/tol_1/N4 +++ b/tests/sewing/tol_1/N4 @@ -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 diff --git a/tests/sewing/tol_1/N5 b/tests/sewing/tol_1/N5 index 7951fedf06..a8b15aa0ce 100644 --- a/tests/sewing/tol_1/N5 +++ b/tests/sewing/tol_1/N5 @@ -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 diff --git a/tests/sewing/tol_1/N6 b/tests/sewing/tol_1/N6 index 1b797d004d..09a0672df2 100644 --- a/tests/sewing/tol_1/N6 +++ b/tests/sewing/tol_1/N6 @@ -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 diff --git a/tests/sewing/tol_1/N7 b/tests/sewing/tol_1/N7 index 99397914ae..affa21deec 100644 --- a/tests/sewing/tol_1/N7 +++ b/tests/sewing/tol_1/N7 @@ -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 diff --git a/tests/sewing/tol_1/N8 b/tests/sewing/tol_1/N8 index 69f72b3690..ccbe805cfb 100644 --- a/tests/sewing/tol_1/N8 +++ b/tests/sewing/tol_1/N8 @@ -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 diff --git a/tests/sewing/tol_1/N9 b/tests/sewing/tol_1/N9 index 5c12bb0771..e34e289e97 100644 --- a/tests/sewing/tol_1/N9 +++ b/tests/sewing/tol_1/N9 @@ -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 diff --git a/tests/sewing/tol_1/O1 b/tests/sewing/tol_1/O1 index 1c73c394d6..44315f175c 100644 --- a/tests/sewing/tol_1/O1 +++ b/tests/sewing/tol_1/O1 @@ -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 diff --git a/tests/sewing/tol_1/O2 b/tests/sewing/tol_1/O2 index 2984e3abfe..e0a9fa239d 100644 --- a/tests/sewing/tol_1/O2 +++ b/tests/sewing/tol_1/O2 @@ -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 diff --git a/tests/sewing/tol_1/O3 b/tests/sewing/tol_1/O3 index 17ff5b210f..ca644525fc 100644 --- a/tests/sewing/tol_1/O3 +++ b/tests/sewing/tol_1/O3 @@ -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 diff --git a/tests/sewing/tol_1/O4 b/tests/sewing/tol_1/O4 index 5b5a0f8018..9570787848 100644 --- a/tests/sewing/tol_1/O4 +++ b/tests/sewing/tol_1/O4 @@ -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 diff --git a/tests/sewing/tol_1/O5 b/tests/sewing/tol_1/O5 index 512ba3a894..a8a200867d 100644 --- a/tests/sewing/tol_1/O5 +++ b/tests/sewing/tol_1/O5 @@ -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 diff --git a/tests/sewing/tol_1/O6 b/tests/sewing/tol_1/O6 index 4852b667af..52855d0d95 100644 --- a/tests/sewing/tol_1/O6 +++ b/tests/sewing/tol_1/O6 @@ -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 diff --git a/tests/sewing/tol_1/O7 b/tests/sewing/tol_1/O7 index b367a5cefa..998627666b 100644 --- a/tests/sewing/tol_1/O7 +++ b/tests/sewing/tol_1/O7 @@ -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 diff --git a/tests/sewing/tol_1/O8 b/tests/sewing/tol_1/O8 index 376881f27a..de1e405290 100644 --- a/tests/sewing/tol_1/O8 +++ b/tests/sewing/tol_1/O8 @@ -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 diff --git a/tests/sewing/tol_1/O9 b/tests/sewing/tol_1/O9 index 9df70ec129..6f3e10b3f7 100644 --- a/tests/sewing/tol_1/O9 +++ b/tests/sewing/tol_1/O9 @@ -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 diff --git a/tests/sewing/tol_1/P1 b/tests/sewing/tol_1/P1 index 4f105bc0d5..d84a7b8b5c 100644 --- a/tests/sewing/tol_1/P1 +++ b/tests/sewing/tol_1/P1 @@ -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 diff --git a/tests/sewing/tol_1/P2 b/tests/sewing/tol_1/P2 index 675ca24771..951289bd81 100644 --- a/tests/sewing/tol_1/P2 +++ b/tests/sewing/tol_1/P2 @@ -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 diff --git a/tests/sewing/tol_1/P3 b/tests/sewing/tol_1/P3 index 1720981f44..516468f0bc 100644 --- a/tests/sewing/tol_1/P3 +++ b/tests/sewing/tol_1/P3 @@ -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 diff --git a/tests/sewing/tol_1/P4 b/tests/sewing/tol_1/P4 index 49beb5a765..ff44eefc68 100644 --- a/tests/sewing/tol_1/P4 +++ b/tests/sewing/tol_1/P4 @@ -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 diff --git a/tests/sewing/tol_1/P5 b/tests/sewing/tol_1/P5 index 1e4bb78add..cc5cc2ee3b 100644 --- a/tests/sewing/tol_1/P5 +++ b/tests/sewing/tol_1/P5 @@ -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 diff --git a/tests/sewing/tol_1/P6 b/tests/sewing/tol_1/P6 index 62806715a2..3437bd47fd 100644 --- a/tests/sewing/tol_1/P6 +++ b/tests/sewing/tol_1/P6 @@ -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 diff --git a/tests/sewing/tol_1/P7 b/tests/sewing/tol_1/P7 index 97bc5b2480..707791305b 100644 --- a/tests/sewing/tol_1/P7 +++ b/tests/sewing/tol_1/P7 @@ -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 diff --git a/tests/sewing/tol_1/P8 b/tests/sewing/tol_1/P8 index 8f74a9dfbe..60827c4391 100644 --- a/tests/sewing/tol_1/P8 +++ b/tests/sewing/tol_1/P8 @@ -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 diff --git a/tests/sewing/tol_1/P9 b/tests/sewing/tol_1/P9 index bf785fb485..db6d6a62ab 100644 --- a/tests/sewing/tol_1/P9 +++ b/tests/sewing/tol_1/P9 @@ -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 diff --git a/tests/sewing/tol_1/Q1 b/tests/sewing/tol_1/Q1 index 9d443743e7..4f831943c4 100644 --- a/tests/sewing/tol_1/Q1 +++ b/tests/sewing/tol_1/Q1 @@ -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 diff --git a/tests/sewing/tol_1/Q2 b/tests/sewing/tol_1/Q2 index ae3169b130..2d66ca848b 100644 --- a/tests/sewing/tol_1/Q2 +++ b/tests/sewing/tol_1/Q2 @@ -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 diff --git a/tests/sewing/tol_1/Q3 b/tests/sewing/tol_1/Q3 index 5921a9d5ca..545a23777a 100644 --- a/tests/sewing/tol_1/Q3 +++ b/tests/sewing/tol_1/Q3 @@ -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 diff --git a/tests/sewing/tol_1/Q4 b/tests/sewing/tol_1/Q4 index 37237ea884..47b38c10b4 100644 --- a/tests/sewing/tol_1/Q4 +++ b/tests/sewing/tol_1/Q4 @@ -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 diff --git a/tests/sewing/tol_1/Q5 b/tests/sewing/tol_1/Q5 index ac82f14fab..127e73c3ee 100644 --- a/tests/sewing/tol_1/Q5 +++ b/tests/sewing/tol_1/Q5 @@ -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 diff --git a/tests/sewing/tol_1/Q6 b/tests/sewing/tol_1/Q6 index f7acaadffd..3d59be6fe0 100644 --- a/tests/sewing/tol_1/Q6 +++ b/tests/sewing/tol_1/Q6 @@ -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 diff --git a/tests/sewing/tol_1/Q7 b/tests/sewing/tol_1/Q7 index 5e784f720b..fa82ba74e5 100644 --- a/tests/sewing/tol_1/Q7 +++ b/tests/sewing/tol_1/Q7 @@ -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 diff --git a/tests/sewing/tol_1/Q8 b/tests/sewing/tol_1/Q8 index 9b01d9c40c..c452ea0e9a 100644 --- a/tests/sewing/tol_1/Q8 +++ b/tests/sewing/tol_1/Q8 @@ -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 diff --git a/tests/sewing/tol_1/Q9 b/tests/sewing/tol_1/Q9 index bd82566652..61f6fa0b55 100644 --- a/tests/sewing/tol_1/Q9 +++ b/tests/sewing/tol_1/Q9 @@ -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 diff --git a/tests/sewing/tol_1/R1 b/tests/sewing/tol_1/R1 index 8a7dbe1ac3..7edb864137 100644 --- a/tests/sewing/tol_1/R1 +++ b/tests/sewing/tol_1/R1 @@ -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 diff --git a/tests/sewing/tol_1/R2 b/tests/sewing/tol_1/R2 index 6b31ac0441..d6ca725b21 100644 --- a/tests/sewing/tol_1/R2 +++ b/tests/sewing/tol_1/R2 @@ -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 diff --git a/tests/sewing/tol_1/R3 b/tests/sewing/tol_1/R3 index 2f8fca3d15..1e2517b8ca 100644 --- a/tests/sewing/tol_1/R3 +++ b/tests/sewing/tol_1/R3 @@ -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 diff --git a/tests/sewing/tol_1/R4 b/tests/sewing/tol_1/R4 index 96b9ec866d..ea1b46f99d 100644 --- a/tests/sewing/tol_1/R4 +++ b/tests/sewing/tol_1/R4 @@ -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 diff --git a/tests/sewing/tol_1/R5 b/tests/sewing/tol_1/R5 index fc17a7111f..6a05aca1c1 100644 --- a/tests/sewing/tol_1/R5 +++ b/tests/sewing/tol_1/R5 @@ -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 diff --git a/tests/sewing/tol_1/R6 b/tests/sewing/tol_1/R6 index 653163de17..395483c8e8 100644 --- a/tests/sewing/tol_1/R6 +++ b/tests/sewing/tol_1/R6 @@ -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 diff --git a/tests/sewing/tol_1/R7 b/tests/sewing/tol_1/R7 index cd5d2dc35b..ba57d3ec48 100644 --- a/tests/sewing/tol_1/R7 +++ b/tests/sewing/tol_1/R7 @@ -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 diff --git a/tests/sewing/tol_1/R8 b/tests/sewing/tol_1/R8 index 4a50f75178..9016972243 100644 --- a/tests/sewing/tol_1/R8 +++ b/tests/sewing/tol_1/R8 @@ -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 diff --git a/tests/sewing/tol_1/R9 b/tests/sewing/tol_1/R9 index 3fe37416fd..94c978694e 100644 --- a/tests/sewing/tol_1/R9 +++ b/tests/sewing/tol_1/R9 @@ -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 diff --git a/tests/sewing/tol_1/S1 b/tests/sewing/tol_1/S1 index 358e916f9e..90796fb6d6 100644 --- a/tests/sewing/tol_1/S1 +++ b/tests/sewing/tol_1/S1 @@ -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 diff --git a/tests/sewing/tol_1/S2 b/tests/sewing/tol_1/S2 index 9b83df0a9b..b119e3201f 100644 --- a/tests/sewing/tol_1/S2 +++ b/tests/sewing/tol_1/S2 @@ -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 diff --git a/tests/sewing/tol_1/S3 b/tests/sewing/tol_1/S3 index f72569cc39..3b2ad876ec 100644 --- a/tests/sewing/tol_1/S3 +++ b/tests/sewing/tol_1/S3 @@ -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 diff --git a/tests/sewing/tol_1/S4 b/tests/sewing/tol_1/S4 index 046ee44cf8..5c867587ec 100644 --- a/tests/sewing/tol_1/S4 +++ b/tests/sewing/tol_1/S4 @@ -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 diff --git a/tests/sewing/tol_1/S5 b/tests/sewing/tol_1/S5 index 6a46c56745..c144604d21 100755 --- a/tests/sewing/tol_1/S5 +++ b/tests/sewing/tol_1/S5 @@ -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 diff --git a/tests/sewing/tol_1/S6 b/tests/sewing/tol_1/S6 index 6e2bcd3eae..4bc5e17604 100644 --- a/tests/sewing/tol_1/S6 +++ b/tests/sewing/tol_1/S6 @@ -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 diff --git a/tests/sewing/tol_1/S7 b/tests/sewing/tol_1/S7 index c3cad99004..6f81b06e8a 100644 --- a/tests/sewing/tol_1/S7 +++ b/tests/sewing/tol_1/S7 @@ -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 diff --git a/tests/sewing/tol_1/S8 b/tests/sewing/tol_1/S8 index d916b37b65..6da91ad2a1 100644 --- a/tests/sewing/tol_1/S8 +++ b/tests/sewing/tol_1/S8 @@ -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 diff --git a/tests/sewing/tol_1/S9 b/tests/sewing/tol_1/S9 index 336eb5f7bb..39ad27022e 100644 --- a/tests/sewing/tol_1/S9 +++ b/tests/sewing/tol_1/S9 @@ -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 diff --git a/tests/sewing/tol_1/T1 b/tests/sewing/tol_1/T1 index 578857d40c..a3b146918d 100644 --- a/tests/sewing/tol_1/T1 +++ b/tests/sewing/tol_1/T1 @@ -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 diff --git a/tests/sewing/tol_1/T2 b/tests/sewing/tol_1/T2 index 955fab388e..e68c4be257 100644 --- a/tests/sewing/tol_1/T2 +++ b/tests/sewing/tol_1/T2 @@ -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 diff --git a/tests/sewing/tol_1/T3 b/tests/sewing/tol_1/T3 index 8091f1a843..a975779f30 100644 --- a/tests/sewing/tol_1/T3 +++ b/tests/sewing/tol_1/T3 @@ -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 diff --git a/tests/sewing/tol_1/T4 b/tests/sewing/tol_1/T4 index 134e3332f7..a301e95659 100644 --- a/tests/sewing/tol_1/T4 +++ b/tests/sewing/tol_1/T4 @@ -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 diff --git a/tests/sewing/tol_1/T5 b/tests/sewing/tol_1/T5 index a4482458ed..3d15fe60cc 100644 --- a/tests/sewing/tol_1/T5 +++ b/tests/sewing/tol_1/T5 @@ -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 diff --git a/tests/sewing/tol_1/T6 b/tests/sewing/tol_1/T6 index 0c7d92fbc5..e345862a79 100644 --- a/tests/sewing/tol_1/T6 +++ b/tests/sewing/tol_1/T6 @@ -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 diff --git a/tests/sewing/tol_1/T7 b/tests/sewing/tol_1/T7 index 7b30562160..1591c057fd 100644 --- a/tests/sewing/tol_1/T7 +++ b/tests/sewing/tol_1/T7 @@ -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 diff --git a/tests/sewing/tol_1/T8 b/tests/sewing/tol_1/T8 index 164d43fb37..6d4bc1149c 100644 --- a/tests/sewing/tol_1/T8 +++ b/tests/sewing/tol_1/T8 @@ -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 diff --git a/tests/sewing/tol_1/T9 b/tests/sewing/tol_1/T9 index 0eea8b8d68..9caba17d9b 100644 --- a/tests/sewing/tol_1/T9 +++ b/tests/sewing/tol_1/T9 @@ -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 diff --git a/tests/sewing/tol_1/U1 b/tests/sewing/tol_1/U1 index 33d1c04a2b..5e93fb9b4d 100644 --- a/tests/sewing/tol_1/U1 +++ b/tests/sewing/tol_1/U1 @@ -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 diff --git a/tests/sewing/tol_1/U2 b/tests/sewing/tol_1/U2 index f38a2fd32e..53b874a23b 100644 --- a/tests/sewing/tol_1/U2 +++ b/tests/sewing/tol_1/U2 @@ -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 diff --git a/tests/sewing/tol_1/U3 b/tests/sewing/tol_1/U3 index 5b85eeadcf..bd3e77f317 100644 --- a/tests/sewing/tol_1/U3 +++ b/tests/sewing/tol_1/U3 @@ -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 diff --git a/tests/sewing/tol_1/U4 b/tests/sewing/tol_1/U4 index b28dd80dee..3a955dd7f0 100644 --- a/tests/sewing/tol_1/U4 +++ b/tests/sewing/tol_1/U4 @@ -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 diff --git a/tests/sewing/tol_1/U5 b/tests/sewing/tol_1/U5 index 97944d9d37..a3bbc2a0d4 100644 --- a/tests/sewing/tol_1/U5 +++ b/tests/sewing/tol_1/U5 @@ -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 diff --git a/tests/sewing/tol_1/U6 b/tests/sewing/tol_1/U6 index b95d06ece3..93bd78cb2f 100644 --- a/tests/sewing/tol_1/U6 +++ b/tests/sewing/tol_1/U6 @@ -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 diff --git a/tests/sewing/tol_1/U7 b/tests/sewing/tol_1/U7 index 9ddd7219b9..7850f0a3b2 100644 --- a/tests/sewing/tol_1/U7 +++ b/tests/sewing/tol_1/U7 @@ -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 diff --git a/tests/sewing/tol_1/U8 b/tests/sewing/tol_1/U8 index b7d7bc1223..3b56038e38 100644 --- a/tests/sewing/tol_1/U8 +++ b/tests/sewing/tol_1/U8 @@ -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 diff --git a/tests/sewing/tol_1/U9 b/tests/sewing/tol_1/U9 index 1ed76cd78c..6e81adc8fb 100644 --- a/tests/sewing/tol_1/U9 +++ b/tests/sewing/tol_1/U9 @@ -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 diff --git a/tests/sewing/tol_1/V1 b/tests/sewing/tol_1/V1 index 0edfc995dd..94a9cde97a 100644 --- a/tests/sewing/tol_1/V1 +++ b/tests/sewing/tol_1/V1 @@ -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 diff --git a/tests/sewing/tol_1/V2 b/tests/sewing/tol_1/V2 index 47668cd975..d8da3b57a8 100644 --- a/tests/sewing/tol_1/V2 +++ b/tests/sewing/tol_1/V2 @@ -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 diff --git a/tests/sewing/tol_1/V3 b/tests/sewing/tol_1/V3 index 2de3b5fe0b..24e868e32a 100644 --- a/tests/sewing/tol_1/V3 +++ b/tests/sewing/tol_1/V3 @@ -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 diff --git a/tests/sewing/tol_1/V4 b/tests/sewing/tol_1/V4 index 89732b5c87..4e04179f77 100644 --- a/tests/sewing/tol_1/V4 +++ b/tests/sewing/tol_1/V4 @@ -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 diff --git a/tests/sewing/tol_1/V5 b/tests/sewing/tol_1/V5 index f5cc7c7f33..f5390d2e15 100644 --- a/tests/sewing/tol_1/V5 +++ b/tests/sewing/tol_1/V5 @@ -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 diff --git a/tests/sewing/tol_1/V6 b/tests/sewing/tol_1/V6 index 1067f5348f..0897b5dcdb 100644 --- a/tests/sewing/tol_1/V6 +++ b/tests/sewing/tol_1/V6 @@ -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 diff --git a/tests/sewing/tol_1/V7 b/tests/sewing/tol_1/V7 index ed09560f9e..673825c817 100644 --- a/tests/sewing/tol_1/V7 +++ b/tests/sewing/tol_1/V7 @@ -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 diff --git a/tests/sewing/tol_1/V8 b/tests/sewing/tol_1/V8 index c9683d5e4a..ef41767bed 100644 --- a/tests/sewing/tol_1/V8 +++ b/tests/sewing/tol_1/V8 @@ -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 diff --git a/tests/sewing/tol_1/V9 b/tests/sewing/tol_1/V9 index 005c8bc2d5..8b9c93e072 100644 --- a/tests/sewing/tol_1/V9 +++ b/tests/sewing/tol_1/V9 @@ -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 diff --git a/tests/sewing/tol_1/W1 b/tests/sewing/tol_1/W1 index a9acc32150..fdc7b5a3e5 100644 --- a/tests/sewing/tol_1/W1 +++ b/tests/sewing/tol_1/W1 @@ -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 diff --git a/tests/sewing/tol_1/W2 b/tests/sewing/tol_1/W2 index 3a51b85a69..bea940e356 100644 --- a/tests/sewing/tol_1/W2 +++ b/tests/sewing/tol_1/W2 @@ -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 diff --git a/tests/sewing/tol_1/W3 b/tests/sewing/tol_1/W3 index 7578e660dc..a93ae40be3 100644 --- a/tests/sewing/tol_1/W3 +++ b/tests/sewing/tol_1/W3 @@ -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 diff --git a/tests/sewing/tol_1/W4 b/tests/sewing/tol_1/W4 index 5a47d7c05b..c21389f833 100644 --- a/tests/sewing/tol_1/W4 +++ b/tests/sewing/tol_1/W4 @@ -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 diff --git a/tests/sewing/tol_1/W5 b/tests/sewing/tol_1/W5 index 3bbe42874e..32b7099b90 100644 --- a/tests/sewing/tol_1/W5 +++ b/tests/sewing/tol_1/W5 @@ -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 diff --git a/tests/sewing/tol_1/W6 b/tests/sewing/tol_1/W6 index bf5af51d04..4833bda65c 100644 --- a/tests/sewing/tol_1/W6 +++ b/tests/sewing/tol_1/W6 @@ -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 diff --git a/tests/sewing/tol_1/W7 b/tests/sewing/tol_1/W7 index ed747bc77d..86c6089bd4 100644 --- a/tests/sewing/tol_1/W7 +++ b/tests/sewing/tol_1/W7 @@ -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 diff --git a/tests/sewing/tol_1/W8 b/tests/sewing/tol_1/W8 index 667035821e..804e729e83 100644 --- a/tests/sewing/tol_1/W8 +++ b/tests/sewing/tol_1/W8 @@ -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 diff --git a/tests/sewing/tol_1/W9 b/tests/sewing/tol_1/W9 index 65fbde851f..5d80b809f1 100644 --- a/tests/sewing/tol_1/W9 +++ b/tests/sewing/tol_1/W9 @@ -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 diff --git a/tests/sewing/tol_1/X1 b/tests/sewing/tol_1/X1 index b8a073312e..71e876784e 100644 --- a/tests/sewing/tol_1/X1 +++ b/tests/sewing/tol_1/X1 @@ -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 diff --git a/tests/sewing/tol_1/X2 b/tests/sewing/tol_1/X2 index 826fd8f108..6c09b3aeca 100644 --- a/tests/sewing/tol_1/X2 +++ b/tests/sewing/tol_1/X2 @@ -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 diff --git a/tests/sewing/tol_1/X3 b/tests/sewing/tol_1/X3 index ea4242729b..87ea84a1a1 100644 --- a/tests/sewing/tol_1/X3 +++ b/tests/sewing/tol_1/X3 @@ -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 diff --git a/tests/sewing/tol_1/X4 b/tests/sewing/tol_1/X4 index 5c59055828..18f8e88a71 100644 --- a/tests/sewing/tol_1/X4 +++ b/tests/sewing/tol_1/X4 @@ -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 diff --git a/tests/sewing/tol_1/X5 b/tests/sewing/tol_1/X5 index 60bb13dce6..70fda0e0be 100644 --- a/tests/sewing/tol_1/X5 +++ b/tests/sewing/tol_1/X5 @@ -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 diff --git a/tests/sewing/tol_1/X6 b/tests/sewing/tol_1/X6 index ed05244369..d4f8b825c7 100644 --- a/tests/sewing/tol_1/X6 +++ b/tests/sewing/tol_1/X6 @@ -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 diff --git a/tests/sewing/tol_1/X7 b/tests/sewing/tol_1/X7 index 1ff14a2c31..911c185f4f 100644 --- a/tests/sewing/tol_1/X7 +++ b/tests/sewing/tol_1/X7 @@ -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 diff --git a/tests/sewing/tol_1/X8 b/tests/sewing/tol_1/X8 index 8f2624291d..fb784f167f 100644 --- a/tests/sewing/tol_1/X8 +++ b/tests/sewing/tol_1/X8 @@ -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 diff --git a/tests/sewing/tol_1/X9 b/tests/sewing/tol_1/X9 index 7dc284031b..89b3dd2a90 100644 --- a/tests/sewing/tol_1/X9 +++ b/tests/sewing/tol_1/X9 @@ -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 diff --git a/tests/sewing/tol_1/Y1 b/tests/sewing/tol_1/Y1 index ae084ef211..b8769e138b 100644 --- a/tests/sewing/tol_1/Y1 +++ b/tests/sewing/tol_1/Y1 @@ -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 diff --git a/tests/sewing/tol_1/Y2 b/tests/sewing/tol_1/Y2 index aeb98d1aba..7a175cfb1c 100644 --- a/tests/sewing/tol_1/Y2 +++ b/tests/sewing/tol_1/Y2 @@ -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 diff --git a/tests/sewing/tol_1/Y3 b/tests/sewing/tol_1/Y3 index 3d123410bb..e21e04f4e3 100644 --- a/tests/sewing/tol_1/Y3 +++ b/tests/sewing/tol_1/Y3 @@ -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 diff --git a/tests/sewing/tol_1/Y4 b/tests/sewing/tol_1/Y4 index 5e66ec9d64..9c44ce8736 100644 --- a/tests/sewing/tol_1/Y4 +++ b/tests/sewing/tol_1/Y4 @@ -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 diff --git a/tests/sewing/tol_1/Y5 b/tests/sewing/tol_1/Y5 index 22d9d8a27e..a2ae76f08e 100644 --- a/tests/sewing/tol_1/Y5 +++ b/tests/sewing/tol_1/Y5 @@ -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 diff --git a/tests/sewing/tol_1/Y6 b/tests/sewing/tol_1/Y6 index 902030212e..78d239bce9 100644 --- a/tests/sewing/tol_1/Y6 +++ b/tests/sewing/tol_1/Y6 @@ -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 diff --git a/tests/sewing/tol_1/Y7 b/tests/sewing/tol_1/Y7 index bd9526ec64..0ef3d38b5f 100644 --- a/tests/sewing/tol_1/Y7 +++ b/tests/sewing/tol_1/Y7 @@ -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 diff --git a/tests/sewing/tol_1/Y8 b/tests/sewing/tol_1/Y8 index 67282113d6..13eb638870 100644 --- a/tests/sewing/tol_1/Y8 +++ b/tests/sewing/tol_1/Y8 @@ -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 diff --git a/tests/sewing/tol_1/Y9 b/tests/sewing/tol_1/Y9 index fd864db4e3..938fbf7ef3 100644 --- a/tests/sewing/tol_1/Y9 +++ b/tests/sewing/tol_1/Y9 @@ -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 diff --git a/tests/sewing/tol_1/Z1 b/tests/sewing/tol_1/Z1 index 7dcbf888f6..57793d5ed6 100644 --- a/tests/sewing/tol_1/Z1 +++ b/tests/sewing/tol_1/Z1 @@ -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 diff --git a/tests/sewing/tol_1/Z2 b/tests/sewing/tol_1/Z2 index 0f9817a83d..479f430707 100644 --- a/tests/sewing/tol_1/Z2 +++ b/tests/sewing/tol_1/Z2 @@ -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 diff --git a/tests/sewing/tol_1/Z3 b/tests/sewing/tol_1/Z3 index 1ddad95b08..5657d6ce56 100644 --- a/tests/sewing/tol_1/Z3 +++ b/tests/sewing/tol_1/Z3 @@ -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 diff --git a/tests/sewing/tol_1/Z4 b/tests/sewing/tol_1/Z4 index d9cbf2eeca..b5205f98d8 100644 --- a/tests/sewing/tol_1/Z4 +++ b/tests/sewing/tol_1/Z4 @@ -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 diff --git a/tests/sewing/tol_1/Z5 b/tests/sewing/tol_1/Z5 index 4cd33c499a..a0d0e1fc11 100644 --- a/tests/sewing/tol_1/Z5 +++ b/tests/sewing/tol_1/Z5 @@ -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 diff --git a/tests/sewing/tol_1/Z6 b/tests/sewing/tol_1/Z6 index e84a591e9e..fbf6279758 100644 --- a/tests/sewing/tol_1/Z6 +++ b/tests/sewing/tol_1/Z6 @@ -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 diff --git a/tests/sewing/tol_1/Z7 b/tests/sewing/tol_1/Z7 index f485c0daa7..7d81235518 100644 --- a/tests/sewing/tol_1/Z7 +++ b/tests/sewing/tol_1/Z7 @@ -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 diff --git a/tests/sewing/tol_1/Z8 b/tests/sewing/tol_1/Z8 index cf78d4076a..de4aadccc6 100644 --- a/tests/sewing/tol_1/Z8 +++ b/tests/sewing/tol_1/Z8 @@ -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 diff --git a/tests/sewing/tol_1/Z9 b/tests/sewing/tol_1/Z9 index 9c4568feac..71a7f6253e 100644 --- a/tests/sewing/tol_1/Z9 +++ b/tests/sewing/tol_1/Z9 @@ -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 diff --git a/tests/sewing/tol_100/A1 b/tests/sewing/tol_100/A1 index 50241b6229..09b6cab867 100644 --- a/tests/sewing/tol_100/A1 +++ b/tests/sewing/tol_100/A1 @@ -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 diff --git a/tests/sewing/tol_100/A2 b/tests/sewing/tol_100/A2 index ae4b0f4cfc..7106b8a9a5 100644 --- a/tests/sewing/tol_100/A2 +++ b/tests/sewing/tol_100/A2 @@ -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 diff --git a/tests/sewing/tol_100/A3 b/tests/sewing/tol_100/A3 index e2559f9414..e61e0d0123 100644 --- a/tests/sewing/tol_100/A3 +++ b/tests/sewing/tol_100/A3 @@ -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 diff --git a/tests/sewing/tol_100/A4 b/tests/sewing/tol_100/A4 index 737058e252..5d13c447fe 100644 --- a/tests/sewing/tol_100/A4 +++ b/tests/sewing/tol_100/A4 @@ -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 diff --git a/tests/sewing/tol_100/A5 b/tests/sewing/tol_100/A5 index 88ff458c98..99eb3224bc 100644 --- a/tests/sewing/tol_100/A5 +++ b/tests/sewing/tol_100/A5 @@ -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 diff --git a/tests/sewing/tol_100/A6 b/tests/sewing/tol_100/A6 index d429bc1598..d1b3b186b4 100644 --- a/tests/sewing/tol_100/A6 +++ b/tests/sewing/tol_100/A6 @@ -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 diff --git a/tests/sewing/tol_100/A7 b/tests/sewing/tol_100/A7 index b2beea4f96..08cc3fba83 100644 --- a/tests/sewing/tol_100/A7 +++ b/tests/sewing/tol_100/A7 @@ -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 diff --git a/tests/sewing/tol_100/A8 b/tests/sewing/tol_100/A8 index 3891809249..cb6007cacd 100644 --- a/tests/sewing/tol_100/A8 +++ b/tests/sewing/tol_100/A8 @@ -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 diff --git a/tests/sewing/tol_100/A9 b/tests/sewing/tol_100/A9 index a4d03d77d6..1f61fb80e9 100644 --- a/tests/sewing/tol_100/A9 +++ b/tests/sewing/tol_100/A9 @@ -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 diff --git a/tests/sewing/tol_100/B1 b/tests/sewing/tol_100/B1 index a94eb28417..1c0fc2d070 100644 --- a/tests/sewing/tol_100/B1 +++ b/tests/sewing/tol_100/B1 @@ -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 diff --git a/tests/sewing/tol_100/B2 b/tests/sewing/tol_100/B2 index efb8ea30e0..9440f55bc0 100644 --- a/tests/sewing/tol_100/B2 +++ b/tests/sewing/tol_100/B2 @@ -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 diff --git a/tests/sewing/tol_100/B3 b/tests/sewing/tol_100/B3 index 32f3b34cfc..1207576497 100644 --- a/tests/sewing/tol_100/B3 +++ b/tests/sewing/tol_100/B3 @@ -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 diff --git a/tests/sewing/tol_100/B4 b/tests/sewing/tol_100/B4 index 08d87fb825..6400a088d1 100644 --- a/tests/sewing/tol_100/B4 +++ b/tests/sewing/tol_100/B4 @@ -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 diff --git a/tests/sewing/tol_100/B5 b/tests/sewing/tol_100/B5 index bf7665c302..ce10df3ba4 100644 --- a/tests/sewing/tol_100/B5 +++ b/tests/sewing/tol_100/B5 @@ -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 diff --git a/tests/sewing/tol_100/B6 b/tests/sewing/tol_100/B6 index 0b9bc3aed7..920c5e9654 100644 --- a/tests/sewing/tol_100/B6 +++ b/tests/sewing/tol_100/B6 @@ -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 diff --git a/tests/sewing/tol_100/B7 b/tests/sewing/tol_100/B7 index ba4ce7db0d..4bd0a38430 100644 --- a/tests/sewing/tol_100/B7 +++ b/tests/sewing/tol_100/B7 @@ -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 diff --git a/tests/sewing/tol_100/B8 b/tests/sewing/tol_100/B8 index e6dfd6503f..c1a490ac01 100644 --- a/tests/sewing/tol_100/B8 +++ b/tests/sewing/tol_100/B8 @@ -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 diff --git a/tests/sewing/tol_100/B9 b/tests/sewing/tol_100/B9 index e3d3c8bd07..74cd592759 100644 --- a/tests/sewing/tol_100/B9 +++ b/tests/sewing/tol_100/B9 @@ -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 diff --git a/tests/sewing/tol_100/C1 b/tests/sewing/tol_100/C1 index 0cd13678cf..1cb5dd8d87 100644 --- a/tests/sewing/tol_100/C1 +++ b/tests/sewing/tol_100/C1 @@ -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 diff --git a/tests/sewing/tol_100/C2 b/tests/sewing/tol_100/C2 index ed54d463ad..3aca84556c 100644 --- a/tests/sewing/tol_100/C2 +++ b/tests/sewing/tol_100/C2 @@ -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 diff --git a/tests/sewing/tol_100/C3 b/tests/sewing/tol_100/C3 index 156bd095c9..4a5bca1dc0 100644 --- a/tests/sewing/tol_100/C3 +++ b/tests/sewing/tol_100/C3 @@ -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 diff --git a/tests/sewing/tol_100/C4 b/tests/sewing/tol_100/C4 index fc7f57e868..551986864f 100644 --- a/tests/sewing/tol_100/C4 +++ b/tests/sewing/tol_100/C4 @@ -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 diff --git a/tests/sewing/tol_100/C5 b/tests/sewing/tol_100/C5 index 35fdd42eb8..c704236a99 100644 --- a/tests/sewing/tol_100/C5 +++ b/tests/sewing/tol_100/C5 @@ -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 diff --git a/tests/sewing/tol_100/C6 b/tests/sewing/tol_100/C6 index d02d680547..21fea249cf 100644 --- a/tests/sewing/tol_100/C6 +++ b/tests/sewing/tol_100/C6 @@ -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 diff --git a/tests/sewing/tol_100/C7 b/tests/sewing/tol_100/C7 index 6d254d6f73..4b9071fafe 100644 --- a/tests/sewing/tol_100/C7 +++ b/tests/sewing/tol_100/C7 @@ -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 diff --git a/tests/sewing/tol_100/C8 b/tests/sewing/tol_100/C8 index 1477287710..ad41c7c261 100644 --- a/tests/sewing/tol_100/C8 +++ b/tests/sewing/tol_100/C8 @@ -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 diff --git a/tests/sewing/tol_100/C9 b/tests/sewing/tol_100/C9 index 78a8f0c25e..58fc80cc8d 100644 --- a/tests/sewing/tol_100/C9 +++ b/tests/sewing/tol_100/C9 @@ -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 diff --git a/tests/sewing/tol_100/D1 b/tests/sewing/tol_100/D1 index a9dcad7948..717258a248 100644 --- a/tests/sewing/tol_100/D1 +++ b/tests/sewing/tol_100/D1 @@ -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 diff --git a/tests/sewing/tol_100/D2 b/tests/sewing/tol_100/D2 index b90000328d..a4e0bb49af 100644 --- a/tests/sewing/tol_100/D2 +++ b/tests/sewing/tol_100/D2 @@ -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 diff --git a/tests/sewing/tol_100/D3 b/tests/sewing/tol_100/D3 index 6d6cd20b17..b99c6d3ce8 100644 --- a/tests/sewing/tol_100/D3 +++ b/tests/sewing/tol_100/D3 @@ -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 diff --git a/tests/sewing/tol_100/D4 b/tests/sewing/tol_100/D4 index 0a377dcfd5..95c0054a4f 100644 --- a/tests/sewing/tol_100/D4 +++ b/tests/sewing/tol_100/D4 @@ -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 diff --git a/tests/sewing/tol_100/D5 b/tests/sewing/tol_100/D5 index 304af00819..6fcfb02f40 100644 --- a/tests/sewing/tol_100/D5 +++ b/tests/sewing/tol_100/D5 @@ -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 diff --git a/tests/sewing/tol_100/D6 b/tests/sewing/tol_100/D6 index 2bb8306fb2..c9e997bfe4 100644 --- a/tests/sewing/tol_100/D6 +++ b/tests/sewing/tol_100/D6 @@ -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 diff --git a/tests/sewing/tol_100/D7 b/tests/sewing/tol_100/D7 index a59bf03620..af76555d0a 100644 --- a/tests/sewing/tol_100/D7 +++ b/tests/sewing/tol_100/D7 @@ -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 diff --git a/tests/sewing/tol_100/D8 b/tests/sewing/tol_100/D8 index 4165e9359d..397f2b764b 100644 --- a/tests/sewing/tol_100/D8 +++ b/tests/sewing/tol_100/D8 @@ -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 diff --git a/tests/sewing/tol_100/D9 b/tests/sewing/tol_100/D9 index 746f42060e..be01199837 100644 --- a/tests/sewing/tol_100/D9 +++ b/tests/sewing/tol_100/D9 @@ -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 diff --git a/tests/sewing/tol_100/E1 b/tests/sewing/tol_100/E1 index 9566967883..e6ccff1dd1 100644 --- a/tests/sewing/tol_100/E1 +++ b/tests/sewing/tol_100/E1 @@ -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 diff --git a/tests/sewing/tol_100/E2 b/tests/sewing/tol_100/E2 index 2e3cbd673e..4a25de4f99 100644 --- a/tests/sewing/tol_100/E2 +++ b/tests/sewing/tol_100/E2 @@ -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 diff --git a/tests/sewing/tol_100/E3 b/tests/sewing/tol_100/E3 index 2327e0eb54..1f9e25e5d7 100644 --- a/tests/sewing/tol_100/E3 +++ b/tests/sewing/tol_100/E3 @@ -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 diff --git a/tests/sewing/tol_100/E4 b/tests/sewing/tol_100/E4 index 79ef081b4f..7efd3c80c8 100644 --- a/tests/sewing/tol_100/E4 +++ b/tests/sewing/tol_100/E4 @@ -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 diff --git a/tests/sewing/tol_100/E5 b/tests/sewing/tol_100/E5 index 685656db1a..43c8877953 100644 --- a/tests/sewing/tol_100/E5 +++ b/tests/sewing/tol_100/E5 @@ -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 diff --git a/tests/sewing/tol_100/E6 b/tests/sewing/tol_100/E6 index 17ea1d56cc..d2cb795519 100644 --- a/tests/sewing/tol_100/E6 +++ b/tests/sewing/tol_100/E6 @@ -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 diff --git a/tests/sewing/tol_100/E7 b/tests/sewing/tol_100/E7 index b1f05df967..c177572e05 100644 --- a/tests/sewing/tol_100/E7 +++ b/tests/sewing/tol_100/E7 @@ -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 diff --git a/tests/sewing/tol_100/E8 b/tests/sewing/tol_100/E8 index 068ec8a620..211ca6e498 100644 --- a/tests/sewing/tol_100/E8 +++ b/tests/sewing/tol_100/E8 @@ -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 diff --git a/tests/sewing/tol_100/E9 b/tests/sewing/tol_100/E9 index 0e540655fa..dd2988ab5d 100644 --- a/tests/sewing/tol_100/E9 +++ b/tests/sewing/tol_100/E9 @@ -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 diff --git a/tests/sewing/tol_100/F1 b/tests/sewing/tol_100/F1 index 04b306418d..e7f8d31b03 100644 --- a/tests/sewing/tol_100/F1 +++ b/tests/sewing/tol_100/F1 @@ -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 diff --git a/tests/sewing/tol_100/F2 b/tests/sewing/tol_100/F2 index fda5935536..65d595db45 100644 --- a/tests/sewing/tol_100/F2 +++ b/tests/sewing/tol_100/F2 @@ -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 diff --git a/tests/sewing/tol_100/F3 b/tests/sewing/tol_100/F3 index e72bd57407..173452342e 100644 --- a/tests/sewing/tol_100/F3 +++ b/tests/sewing/tol_100/F3 @@ -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 diff --git a/tests/sewing/tol_100/F4 b/tests/sewing/tol_100/F4 index 8109848c50..dc175fc788 100644 --- a/tests/sewing/tol_100/F4 +++ b/tests/sewing/tol_100/F4 @@ -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 diff --git a/tests/sewing/tol_100/F5 b/tests/sewing/tol_100/F5 index cc5f1c5c1c..d5a882e3c6 100644 --- a/tests/sewing/tol_100/F5 +++ b/tests/sewing/tol_100/F5 @@ -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 diff --git a/tests/sewing/tol_100/F6 b/tests/sewing/tol_100/F6 index 9156e992d1..ed2fcacc0f 100644 --- a/tests/sewing/tol_100/F6 +++ b/tests/sewing/tol_100/F6 @@ -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 diff --git a/tests/sewing/tol_100/F7 b/tests/sewing/tol_100/F7 index ffe427a488..7398f76d0c 100644 --- a/tests/sewing/tol_100/F7 +++ b/tests/sewing/tol_100/F7 @@ -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 diff --git a/tests/sewing/tol_100/F8 b/tests/sewing/tol_100/F8 index c207fb0e4a..9f8272287e 100644 --- a/tests/sewing/tol_100/F8 +++ b/tests/sewing/tol_100/F8 @@ -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 diff --git a/tests/sewing/tol_100/F9 b/tests/sewing/tol_100/F9 index 85d9ab1a61..8af4db138b 100644 --- a/tests/sewing/tol_100/F9 +++ b/tests/sewing/tol_100/F9 @@ -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 diff --git a/tests/sewing/tol_100/G1 b/tests/sewing/tol_100/G1 index 83be79d0aa..49e3bb3d6c 100644 --- a/tests/sewing/tol_100/G1 +++ b/tests/sewing/tol_100/G1 @@ -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 diff --git a/tests/sewing/tol_100/G2 b/tests/sewing/tol_100/G2 index 992e764c1d..0196a21788 100644 --- a/tests/sewing/tol_100/G2 +++ b/tests/sewing/tol_100/G2 @@ -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 diff --git a/tests/sewing/tol_100/G3 b/tests/sewing/tol_100/G3 index 6dfac364f8..6e9b970ce2 100644 --- a/tests/sewing/tol_100/G3 +++ b/tests/sewing/tol_100/G3 @@ -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 diff --git a/tests/sewing/tol_100/G4 b/tests/sewing/tol_100/G4 index d63cf515a0..a9c94999cb 100644 --- a/tests/sewing/tol_100/G4 +++ b/tests/sewing/tol_100/G4 @@ -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 diff --git a/tests/sewing/tol_100/G5 b/tests/sewing/tol_100/G5 index 1d20a7a901..3098f81a0a 100644 --- a/tests/sewing/tol_100/G5 +++ b/tests/sewing/tol_100/G5 @@ -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 diff --git a/tests/sewing/tol_100/G6 b/tests/sewing/tol_100/G6 index e3f82db90b..5805e41c71 100644 --- a/tests/sewing/tol_100/G6 +++ b/tests/sewing/tol_100/G6 @@ -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 diff --git a/tests/sewing/tol_100/G7 b/tests/sewing/tol_100/G7 index ce8e74913f..ab0456cbcf 100644 --- a/tests/sewing/tol_100/G7 +++ b/tests/sewing/tol_100/G7 @@ -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 diff --git a/tests/sewing/tol_100/G8 b/tests/sewing/tol_100/G8 index a087e348f1..d4b243e67b 100644 --- a/tests/sewing/tol_100/G8 +++ b/tests/sewing/tol_100/G8 @@ -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 diff --git a/tests/sewing/tol_100/G9 b/tests/sewing/tol_100/G9 index 319591406e..2424af73b4 100644 --- a/tests/sewing/tol_100/G9 +++ b/tests/sewing/tol_100/G9 @@ -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 diff --git a/tests/sewing/tol_100/H1 b/tests/sewing/tol_100/H1 index 621f5ff95b..47ca078e99 100644 --- a/tests/sewing/tol_100/H1 +++ b/tests/sewing/tol_100/H1 @@ -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 diff --git a/tests/sewing/tol_100/H2 b/tests/sewing/tol_100/H2 index 50d6c1d475..4dfc4a75fb 100644 --- a/tests/sewing/tol_100/H2 +++ b/tests/sewing/tol_100/H2 @@ -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 diff --git a/tests/sewing/tol_100/H3 b/tests/sewing/tol_100/H3 index 215ca66f7b..822c8c2a8a 100644 --- a/tests/sewing/tol_100/H3 +++ b/tests/sewing/tol_100/H3 @@ -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 diff --git a/tests/sewing/tol_100/H4 b/tests/sewing/tol_100/H4 index 52b07a77c4..2bafafbdf6 100644 --- a/tests/sewing/tol_100/H4 +++ b/tests/sewing/tol_100/H4 @@ -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 diff --git a/tests/sewing/tol_100/H5 b/tests/sewing/tol_100/H5 index f137bf494d..018ea08615 100644 --- a/tests/sewing/tol_100/H5 +++ b/tests/sewing/tol_100/H5 @@ -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 diff --git a/tests/sewing/tol_100/H6 b/tests/sewing/tol_100/H6 index 0d3cbdd70d..445900879f 100644 --- a/tests/sewing/tol_100/H6 +++ b/tests/sewing/tol_100/H6 @@ -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 diff --git a/tests/sewing/tol_100/H7 b/tests/sewing/tol_100/H7 index 2bacd07ef4..8bc1b449bd 100644 --- a/tests/sewing/tol_100/H7 +++ b/tests/sewing/tol_100/H7 @@ -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 diff --git a/tests/sewing/tol_100/H8 b/tests/sewing/tol_100/H8 index a7efdda58a..84c80d7d5d 100644 --- a/tests/sewing/tol_100/H8 +++ b/tests/sewing/tol_100/H8 @@ -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 diff --git a/tests/sewing/tol_100/H9 b/tests/sewing/tol_100/H9 index f8a0f7fb0a..8cdb752ac2 100644 --- a/tests/sewing/tol_100/H9 +++ b/tests/sewing/tol_100/H9 @@ -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 diff --git a/tests/sewing/tol_100/I1 b/tests/sewing/tol_100/I1 index fc990fefbc..31ab9bcc5d 100644 --- a/tests/sewing/tol_100/I1 +++ b/tests/sewing/tol_100/I1 @@ -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 diff --git a/tests/sewing/tol_100/I2 b/tests/sewing/tol_100/I2 index 315c49680b..ff0e13aa21 100644 --- a/tests/sewing/tol_100/I2 +++ b/tests/sewing/tol_100/I2 @@ -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 diff --git a/tests/sewing/tol_100/I3 b/tests/sewing/tol_100/I3 index a72c726bdb..108ae511e6 100644 --- a/tests/sewing/tol_100/I3 +++ b/tests/sewing/tol_100/I3 @@ -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 diff --git a/tests/sewing/tol_100/I4 b/tests/sewing/tol_100/I4 index 5fd0bcb925..1a2d049e21 100644 --- a/tests/sewing/tol_100/I4 +++ b/tests/sewing/tol_100/I4 @@ -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 diff --git a/tests/sewing/tol_100/I5 b/tests/sewing/tol_100/I5 index 0268d88562..c1dcc1351c 100755 --- a/tests/sewing/tol_100/I5 +++ b/tests/sewing/tol_100/I5 @@ -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 diff --git a/tests/sewing/tol_100/I6 b/tests/sewing/tol_100/I6 index 2b0e90824f..248a317483 100755 --- a/tests/sewing/tol_100/I6 +++ b/tests/sewing/tol_100/I6 @@ -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 diff --git a/tests/sewing/tol_100/I7 b/tests/sewing/tol_100/I7 index 7b06f9330b..bf5bcee615 100644 --- a/tests/sewing/tol_100/I7 +++ b/tests/sewing/tol_100/I7 @@ -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 diff --git a/tests/sewing/tol_100/I8 b/tests/sewing/tol_100/I8 index 9feea21c98..c073c8bd6f 100644 --- a/tests/sewing/tol_100/I8 +++ b/tests/sewing/tol_100/I8 @@ -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 diff --git a/tests/sewing/tol_100/I9 b/tests/sewing/tol_100/I9 index c5cb6dfeb1..0535062a26 100755 --- a/tests/sewing/tol_100/I9 +++ b/tests/sewing/tol_100/I9 @@ -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 diff --git a/tests/sewing/tol_100/J1 b/tests/sewing/tol_100/J1 index 63db7bb6d7..2c3cbb2b7a 100644 --- a/tests/sewing/tol_100/J1 +++ b/tests/sewing/tol_100/J1 @@ -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 diff --git a/tests/sewing/tol_100/J2 b/tests/sewing/tol_100/J2 index fbf67fab0e..fff010c7dd 100644 --- a/tests/sewing/tol_100/J2 +++ b/tests/sewing/tol_100/J2 @@ -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 diff --git a/tests/sewing/tol_100/J3 b/tests/sewing/tol_100/J3 index 2c8170d680..a2df41f444 100755 --- a/tests/sewing/tol_100/J3 +++ b/tests/sewing/tol_100/J3 @@ -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 diff --git a/tests/sewing/tol_100/J4 b/tests/sewing/tol_100/J4 index 9ddffc03d5..5175163c3d 100644 --- a/tests/sewing/tol_100/J4 +++ b/tests/sewing/tol_100/J4 @@ -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 diff --git a/tests/sewing/tol_100/J5 b/tests/sewing/tol_100/J5 index 7ec3ad7624..b99d418cd3 100644 --- a/tests/sewing/tol_100/J5 +++ b/tests/sewing/tol_100/J5 @@ -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 diff --git a/tests/sewing/tol_100/J6 b/tests/sewing/tol_100/J6 index bede0bf8fd..ce66036969 100644 --- a/tests/sewing/tol_100/J6 +++ b/tests/sewing/tol_100/J6 @@ -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 diff --git a/tests/sewing/tol_100/J7 b/tests/sewing/tol_100/J7 index c55a685dc7..fc7f8f4d28 100644 --- a/tests/sewing/tol_100/J7 +++ b/tests/sewing/tol_100/J7 @@ -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 diff --git a/tests/sewing/tol_100/J8 b/tests/sewing/tol_100/J8 index f7697fb8e4..b4f1d77a41 100644 --- a/tests/sewing/tol_100/J8 +++ b/tests/sewing/tol_100/J8 @@ -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 diff --git a/tests/sewing/tol_100/J9 b/tests/sewing/tol_100/J9 index c680766e06..d2f6ca240a 100644 --- a/tests/sewing/tol_100/J9 +++ b/tests/sewing/tol_100/J9 @@ -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 diff --git a/tests/sewing/tol_100/K1 b/tests/sewing/tol_100/K1 index 645d410b8e..a5c84e08be 100644 --- a/tests/sewing/tol_100/K1 +++ b/tests/sewing/tol_100/K1 @@ -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 diff --git a/tests/sewing/tol_100/K2 b/tests/sewing/tol_100/K2 index 14efdd42a1..0d94a30ad9 100644 --- a/tests/sewing/tol_100/K2 +++ b/tests/sewing/tol_100/K2 @@ -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 diff --git a/tests/sewing/tol_100/K3 b/tests/sewing/tol_100/K3 index a6b52d19cf..f23bc5f9e8 100644 --- a/tests/sewing/tol_100/K3 +++ b/tests/sewing/tol_100/K3 @@ -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 diff --git a/tests/sewing/tol_100/K4 b/tests/sewing/tol_100/K4 index faa601ab87..4aca1bef90 100644 --- a/tests/sewing/tol_100/K4 +++ b/tests/sewing/tol_100/K4 @@ -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 diff --git a/tests/sewing/tol_100/K5 b/tests/sewing/tol_100/K5 index 6045ac1dac..02463edefd 100644 --- a/tests/sewing/tol_100/K5 +++ b/tests/sewing/tol_100/K5 @@ -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 diff --git a/tests/sewing/tol_100/K6 b/tests/sewing/tol_100/K6 index fb762241c3..5adc0cf99e 100644 --- a/tests/sewing/tol_100/K6 +++ b/tests/sewing/tol_100/K6 @@ -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 diff --git a/tests/sewing/tol_100/K7 b/tests/sewing/tol_100/K7 index 197018747d..0ae1064966 100644 --- a/tests/sewing/tol_100/K7 +++ b/tests/sewing/tol_100/K7 @@ -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 diff --git a/tests/sewing/tol_100/K8 b/tests/sewing/tol_100/K8 index 2f934dd9b5..70cbbe683d 100644 --- a/tests/sewing/tol_100/K8 +++ b/tests/sewing/tol_100/K8 @@ -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 diff --git a/tests/sewing/tol_100/K9 b/tests/sewing/tol_100/K9 index 38d55ad695..fdf438ee67 100644 --- a/tests/sewing/tol_100/K9 +++ b/tests/sewing/tol_100/K9 @@ -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 diff --git a/tests/sewing/tol_100/L1 b/tests/sewing/tol_100/L1 index 51043e7d39..73f51b2af6 100644 --- a/tests/sewing/tol_100/L1 +++ b/tests/sewing/tol_100/L1 @@ -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 diff --git a/tests/sewing/tol_100/L2 b/tests/sewing/tol_100/L2 index 13a019e42d..9aefff3c97 100644 --- a/tests/sewing/tol_100/L2 +++ b/tests/sewing/tol_100/L2 @@ -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 diff --git a/tests/sewing/tol_100/L3 b/tests/sewing/tol_100/L3 index fac9898737..9f3e008917 100644 --- a/tests/sewing/tol_100/L3 +++ b/tests/sewing/tol_100/L3 @@ -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 diff --git a/tests/sewing/tol_100/L4 b/tests/sewing/tol_100/L4 index 5205335dc3..01d59bbbdf 100644 --- a/tests/sewing/tol_100/L4 +++ b/tests/sewing/tol_100/L4 @@ -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 diff --git a/tests/sewing/tol_100/L5 b/tests/sewing/tol_100/L5 index 26a2d5b8bd..8558ff97a0 100644 --- a/tests/sewing/tol_100/L5 +++ b/tests/sewing/tol_100/L5 @@ -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 diff --git a/tests/sewing/tol_100/L6 b/tests/sewing/tol_100/L6 index a9b5fd7458..fca2bc659f 100644 --- a/tests/sewing/tol_100/L6 +++ b/tests/sewing/tol_100/L6 @@ -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 diff --git a/tests/sewing/tol_100/L7 b/tests/sewing/tol_100/L7 index fc562dfde2..abdfbf1665 100644 --- a/tests/sewing/tol_100/L7 +++ b/tests/sewing/tol_100/L7 @@ -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 diff --git a/tests/sewing/tol_100/L8 b/tests/sewing/tol_100/L8 index 1d38e9bf92..2c998eb42a 100644 --- a/tests/sewing/tol_100/L8 +++ b/tests/sewing/tol_100/L8 @@ -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 diff --git a/tests/sewing/tol_100/L9 b/tests/sewing/tol_100/L9 index 0d926b0233..9903176ffd 100644 --- a/tests/sewing/tol_100/L9 +++ b/tests/sewing/tol_100/L9 @@ -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 diff --git a/tests/sewing/tol_100/M1 b/tests/sewing/tol_100/M1 index f024ce5209..9908fa8496 100644 --- a/tests/sewing/tol_100/M1 +++ b/tests/sewing/tol_100/M1 @@ -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 diff --git a/tests/sewing/tol_100/M2 b/tests/sewing/tol_100/M2 index 4a88b3c56c..58f4530bfc 100644 --- a/tests/sewing/tol_100/M2 +++ b/tests/sewing/tol_100/M2 @@ -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 diff --git a/tests/sewing/tol_100/M3 b/tests/sewing/tol_100/M3 index 642fb1426c..5e59b3f4b0 100644 --- a/tests/sewing/tol_100/M3 +++ b/tests/sewing/tol_100/M3 @@ -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 diff --git a/tests/sewing/tol_100/M4 b/tests/sewing/tol_100/M4 index 8603892ce4..809e7e84cb 100644 --- a/tests/sewing/tol_100/M4 +++ b/tests/sewing/tol_100/M4 @@ -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 diff --git a/tests/sewing/tol_100/M5 b/tests/sewing/tol_100/M5 index 1d7675c835..a92dce744a 100644 --- a/tests/sewing/tol_100/M5 +++ b/tests/sewing/tol_100/M5 @@ -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 diff --git a/tests/sewing/tol_100/M6 b/tests/sewing/tol_100/M6 index 5410534168..5cbd2d0434 100644 --- a/tests/sewing/tol_100/M6 +++ b/tests/sewing/tol_100/M6 @@ -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 diff --git a/tests/sewing/tol_100/M7 b/tests/sewing/tol_100/M7 index cd40455068..c8bdb1668b 100644 --- a/tests/sewing/tol_100/M7 +++ b/tests/sewing/tol_100/M7 @@ -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 diff --git a/tests/sewing/tol_100/M8 b/tests/sewing/tol_100/M8 index 6f3a0f7e3a..8d12b1d1af 100644 --- a/tests/sewing/tol_100/M8 +++ b/tests/sewing/tol_100/M8 @@ -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 diff --git a/tests/sewing/tol_100/M9 b/tests/sewing/tol_100/M9 index 9e96a05841..68e36808dd 100644 --- a/tests/sewing/tol_100/M9 +++ b/tests/sewing/tol_100/M9 @@ -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 diff --git a/tests/sewing/tol_100/N1 b/tests/sewing/tol_100/N1 index 5c94d52b0c..1676889cf8 100644 --- a/tests/sewing/tol_100/N1 +++ b/tests/sewing/tol_100/N1 @@ -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 diff --git a/tests/sewing/tol_100/N2 b/tests/sewing/tol_100/N2 index 848db90d74..29630480a8 100644 --- a/tests/sewing/tol_100/N2 +++ b/tests/sewing/tol_100/N2 @@ -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 diff --git a/tests/sewing/tol_100/N3 b/tests/sewing/tol_100/N3 index 3dd96c3fd3..449f9dabde 100644 --- a/tests/sewing/tol_100/N3 +++ b/tests/sewing/tol_100/N3 @@ -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 diff --git a/tests/sewing/tol_100/N4 b/tests/sewing/tol_100/N4 index faa59ccc8f..235b2dd59a 100644 --- a/tests/sewing/tol_100/N4 +++ b/tests/sewing/tol_100/N4 @@ -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 diff --git a/tests/sewing/tol_100/N5 b/tests/sewing/tol_100/N5 index 1112c31b62..79e57fb5a9 100644 --- a/tests/sewing/tol_100/N5 +++ b/tests/sewing/tol_100/N5 @@ -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 diff --git a/tests/sewing/tol_100/N6 b/tests/sewing/tol_100/N6 index 7354c2df0c..f89844f01a 100644 --- a/tests/sewing/tol_100/N6 +++ b/tests/sewing/tol_100/N6 @@ -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 diff --git a/tests/sewing/tol_100/N7 b/tests/sewing/tol_100/N7 index f38e093530..112723f727 100644 --- a/tests/sewing/tol_100/N7 +++ b/tests/sewing/tol_100/N7 @@ -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 diff --git a/tests/sewing/tol_100/N8 b/tests/sewing/tol_100/N8 index 007b5d583a..0cb6da912d 100644 --- a/tests/sewing/tol_100/N8 +++ b/tests/sewing/tol_100/N8 @@ -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 diff --git a/tests/sewing/tol_100/N9 b/tests/sewing/tol_100/N9 index f6729a151b..976914f9d9 100644 --- a/tests/sewing/tol_100/N9 +++ b/tests/sewing/tol_100/N9 @@ -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 diff --git a/tests/sewing/tol_100/O1 b/tests/sewing/tol_100/O1 index 6b15abce37..1f683d9c6c 100644 --- a/tests/sewing/tol_100/O1 +++ b/tests/sewing/tol_100/O1 @@ -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 diff --git a/tests/sewing/tol_100/O2 b/tests/sewing/tol_100/O2 index 4605e3d490..16747b1369 100644 --- a/tests/sewing/tol_100/O2 +++ b/tests/sewing/tol_100/O2 @@ -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 diff --git a/tests/sewing/tol_100/O3 b/tests/sewing/tol_100/O3 index 783d285e10..49cd3031f7 100644 --- a/tests/sewing/tol_100/O3 +++ b/tests/sewing/tol_100/O3 @@ -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 diff --git a/tests/sewing/tol_100/O4 b/tests/sewing/tol_100/O4 index 5bf79a2f08..c5ef92fed2 100644 --- a/tests/sewing/tol_100/O4 +++ b/tests/sewing/tol_100/O4 @@ -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 diff --git a/tests/sewing/tol_100/O5 b/tests/sewing/tol_100/O5 index 6103d5b31e..1acf3497a4 100644 --- a/tests/sewing/tol_100/O5 +++ b/tests/sewing/tol_100/O5 @@ -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 diff --git a/tests/sewing/tol_100/O6 b/tests/sewing/tol_100/O6 index e88a97739e..777b134c0e 100644 --- a/tests/sewing/tol_100/O6 +++ b/tests/sewing/tol_100/O6 @@ -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 diff --git a/tests/sewing/tol_100/O7 b/tests/sewing/tol_100/O7 index 5feca2d978..ac364def4b 100644 --- a/tests/sewing/tol_100/O7 +++ b/tests/sewing/tol_100/O7 @@ -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 diff --git a/tests/sewing/tol_100/O8 b/tests/sewing/tol_100/O8 index 6bcea89fb9..e0452497fb 100644 --- a/tests/sewing/tol_100/O8 +++ b/tests/sewing/tol_100/O8 @@ -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 diff --git a/tests/sewing/tol_100/O9 b/tests/sewing/tol_100/O9 index a0ffc56ba6..96f74e45f7 100644 --- a/tests/sewing/tol_100/O9 +++ b/tests/sewing/tol_100/O9 @@ -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 diff --git a/tests/sewing/tol_100/P1 b/tests/sewing/tol_100/P1 index b0112a8dcc..d540cccb70 100644 --- a/tests/sewing/tol_100/P1 +++ b/tests/sewing/tol_100/P1 @@ -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 diff --git a/tests/sewing/tol_100/P2 b/tests/sewing/tol_100/P2 index e3ed291c0d..2239d71e91 100644 --- a/tests/sewing/tol_100/P2 +++ b/tests/sewing/tol_100/P2 @@ -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 diff --git a/tests/sewing/tol_100/P3 b/tests/sewing/tol_100/P3 index 09fc46aef3..d8394d5ce2 100644 --- a/tests/sewing/tol_100/P3 +++ b/tests/sewing/tol_100/P3 @@ -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 diff --git a/tests/sewing/tol_100/P4 b/tests/sewing/tol_100/P4 index a345ecaa40..05aaf91df2 100644 --- a/tests/sewing/tol_100/P4 +++ b/tests/sewing/tol_100/P4 @@ -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 diff --git a/tests/sewing/tol_100/P5 b/tests/sewing/tol_100/P5 index b983873098..2753af1214 100644 --- a/tests/sewing/tol_100/P5 +++ b/tests/sewing/tol_100/P5 @@ -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 diff --git a/tests/sewing/tol_100/P6 b/tests/sewing/tol_100/P6 index 909710d59f..838156fa46 100644 --- a/tests/sewing/tol_100/P6 +++ b/tests/sewing/tol_100/P6 @@ -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 diff --git a/tests/sewing/tol_100/P7 b/tests/sewing/tol_100/P7 index 909710d59f..838156fa46 100644 --- a/tests/sewing/tol_100/P7 +++ b/tests/sewing/tol_100/P7 @@ -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 diff --git a/tests/sewing/tol_100/P8 b/tests/sewing/tol_100/P8 index 2f91317f9e..fbe2f6a202 100644 --- a/tests/sewing/tol_100/P8 +++ b/tests/sewing/tol_100/P8 @@ -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 diff --git a/tests/sewing/tol_100/P9 b/tests/sewing/tol_100/P9 index d37b70f00b..56a672e9f1 100644 --- a/tests/sewing/tol_100/P9 +++ b/tests/sewing/tol_100/P9 @@ -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 diff --git a/tests/sewing/tol_100/Q1 b/tests/sewing/tol_100/Q1 index a9d8428537..40759a2ae1 100644 --- a/tests/sewing/tol_100/Q1 +++ b/tests/sewing/tol_100/Q1 @@ -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 diff --git a/tests/sewing/tol_100/Q2 b/tests/sewing/tol_100/Q2 index feb379c333..2df0bcd0cd 100644 --- a/tests/sewing/tol_100/Q2 +++ b/tests/sewing/tol_100/Q2 @@ -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 diff --git a/tests/sewing/tol_100/Q3 b/tests/sewing/tol_100/Q3 index ff0899261e..b6dace760d 100644 --- a/tests/sewing/tol_100/Q3 +++ b/tests/sewing/tol_100/Q3 @@ -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 diff --git a/tests/sewing/tol_100/Q4 b/tests/sewing/tol_100/Q4 index 460858448b..744670dbca 100644 --- a/tests/sewing/tol_100/Q4 +++ b/tests/sewing/tol_100/Q4 @@ -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 diff --git a/tests/sewing/tol_100/Q5 b/tests/sewing/tol_100/Q5 index dc66140763..f010ce000e 100644 --- a/tests/sewing/tol_100/Q5 +++ b/tests/sewing/tol_100/Q5 @@ -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 diff --git a/tests/sewing/tol_100/Q6 b/tests/sewing/tol_100/Q6 index e732a83154..d62b351ce9 100644 --- a/tests/sewing/tol_100/Q6 +++ b/tests/sewing/tol_100/Q6 @@ -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 diff --git a/tests/sewing/tol_100/Q7 b/tests/sewing/tol_100/Q7 index 0b211a0545..9f7e8d6726 100644 --- a/tests/sewing/tol_100/Q7 +++ b/tests/sewing/tol_100/Q7 @@ -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 diff --git a/tests/sewing/tol_100/Q8 b/tests/sewing/tol_100/Q8 index 14851f4461..9636ba581a 100644 --- a/tests/sewing/tol_100/Q8 +++ b/tests/sewing/tol_100/Q8 @@ -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 diff --git a/tests/sewing/tol_100/Q9 b/tests/sewing/tol_100/Q9 index cb7d08f925..4117c268d5 100644 --- a/tests/sewing/tol_100/Q9 +++ b/tests/sewing/tol_100/Q9 @@ -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 diff --git a/tests/sewing/tol_100/R1 b/tests/sewing/tol_100/R1 index d440ca3ef0..77b5198afd 100644 --- a/tests/sewing/tol_100/R1 +++ b/tests/sewing/tol_100/R1 @@ -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 diff --git a/tests/sewing/tol_100/R2 b/tests/sewing/tol_100/R2 index 3056194537..8fa2eadd39 100644 --- a/tests/sewing/tol_100/R2 +++ b/tests/sewing/tol_100/R2 @@ -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 diff --git a/tests/sewing/tol_100/R3 b/tests/sewing/tol_100/R3 index f99a906a3e..79119ffb04 100644 --- a/tests/sewing/tol_100/R3 +++ b/tests/sewing/tol_100/R3 @@ -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 diff --git a/tests/sewing/tol_100/R4 b/tests/sewing/tol_100/R4 index 9f54ad032a..59b2cc14a5 100644 --- a/tests/sewing/tol_100/R4 +++ b/tests/sewing/tol_100/R4 @@ -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 diff --git a/tests/sewing/tol_100/R5 b/tests/sewing/tol_100/R5 index b5ad2fe179..b6800dc19a 100644 --- a/tests/sewing/tol_100/R5 +++ b/tests/sewing/tol_100/R5 @@ -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 diff --git a/tests/sewing/tol_100/R6 b/tests/sewing/tol_100/R6 index dad6a18b2d..3db0d35204 100644 --- a/tests/sewing/tol_100/R6 +++ b/tests/sewing/tol_100/R6 @@ -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 diff --git a/tests/sewing/tol_100/R7 b/tests/sewing/tol_100/R7 index a28d2fe2f0..14c406a9c0 100644 --- a/tests/sewing/tol_100/R7 +++ b/tests/sewing/tol_100/R7 @@ -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 diff --git a/tests/sewing/tol_100/R8 b/tests/sewing/tol_100/R8 index 81562218e9..ad59966a45 100644 --- a/tests/sewing/tol_100/R8 +++ b/tests/sewing/tol_100/R8 @@ -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 diff --git a/tests/sewing/tol_100/R9 b/tests/sewing/tol_100/R9 index c0c076ec54..678b657f45 100644 --- a/tests/sewing/tol_100/R9 +++ b/tests/sewing/tol_100/R9 @@ -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 diff --git a/tests/sewing/tol_100/S1 b/tests/sewing/tol_100/S1 index 3d0f25e7e3..ff80104a50 100644 --- a/tests/sewing/tol_100/S1 +++ b/tests/sewing/tol_100/S1 @@ -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 diff --git a/tests/sewing/tol_100/S2 b/tests/sewing/tol_100/S2 index 59dc0dd354..85881a863f 100644 --- a/tests/sewing/tol_100/S2 +++ b/tests/sewing/tol_100/S2 @@ -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 diff --git a/tests/sewing/tol_100/S3 b/tests/sewing/tol_100/S3 index 649acaad70..ab428b82e1 100644 --- a/tests/sewing/tol_100/S3 +++ b/tests/sewing/tol_100/S3 @@ -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 diff --git a/tests/sewing/tol_100/S4 b/tests/sewing/tol_100/S4 index 97e561d95a..d9eb6dd684 100644 --- a/tests/sewing/tol_100/S4 +++ b/tests/sewing/tol_100/S4 @@ -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 diff --git a/tests/sewing/tol_100/S5 b/tests/sewing/tol_100/S5 index 42bd00c5ae..839cf7744e 100644 --- a/tests/sewing/tol_100/S5 +++ b/tests/sewing/tol_100/S5 @@ -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 diff --git a/tests/sewing/tol_100/S6 b/tests/sewing/tol_100/S6 index 1d5c0b17cd..22a735f2d5 100644 --- a/tests/sewing/tol_100/S6 +++ b/tests/sewing/tol_100/S6 @@ -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 diff --git a/tests/sewing/tol_100/S7 b/tests/sewing/tol_100/S7 index a194904562..bcfc1a5c48 100644 --- a/tests/sewing/tol_100/S7 +++ b/tests/sewing/tol_100/S7 @@ -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 diff --git a/tests/sewing/tol_100/S8 b/tests/sewing/tol_100/S8 index d305ce3272..8438802d75 100644 --- a/tests/sewing/tol_100/S8 +++ b/tests/sewing/tol_100/S8 @@ -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 diff --git a/tests/sewing/tol_100/S9 b/tests/sewing/tol_100/S9 index 9a7c8e825f..30bb7802b3 100644 --- a/tests/sewing/tol_100/S9 +++ b/tests/sewing/tol_100/S9 @@ -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 diff --git a/tests/sewing/tol_100/T1 b/tests/sewing/tol_100/T1 index 93be84ffc8..f9712c9718 100644 --- a/tests/sewing/tol_100/T1 +++ b/tests/sewing/tol_100/T1 @@ -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 diff --git a/tests/sewing/tol_100/T2 b/tests/sewing/tol_100/T2 index 3d0b9082a3..a72e68fa52 100644 --- a/tests/sewing/tol_100/T2 +++ b/tests/sewing/tol_100/T2 @@ -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 diff --git a/tests/sewing/tol_100/T3 b/tests/sewing/tol_100/T3 index 708b15135b..f4b2adf9dd 100644 --- a/tests/sewing/tol_100/T3 +++ b/tests/sewing/tol_100/T3 @@ -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 diff --git a/tests/sewing/tol_100/T4 b/tests/sewing/tol_100/T4 index 4afa29736b..7e3a66a4a9 100644 --- a/tests/sewing/tol_100/T4 +++ b/tests/sewing/tol_100/T4 @@ -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 diff --git a/tests/sewing/tol_100/T5 b/tests/sewing/tol_100/T5 index 6140b73c95..51a9c4a865 100644 --- a/tests/sewing/tol_100/T5 +++ b/tests/sewing/tol_100/T5 @@ -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 diff --git a/tests/sewing/tol_100/T6 b/tests/sewing/tol_100/T6 index 07fa2ee927..77d488ea02 100644 --- a/tests/sewing/tol_100/T6 +++ b/tests/sewing/tol_100/T6 @@ -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 diff --git a/tests/sewing/tol_100/T7 b/tests/sewing/tol_100/T7 index 98b8bf24c4..fec0289329 100644 --- a/tests/sewing/tol_100/T7 +++ b/tests/sewing/tol_100/T7 @@ -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 diff --git a/tests/sewing/tol_100/T8 b/tests/sewing/tol_100/T8 index e8cc7af5a4..ce67bc3c72 100755 --- a/tests/sewing/tol_100/T8 +++ b/tests/sewing/tol_100/T8 @@ -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 diff --git a/tests/sewing/tol_100/T9 b/tests/sewing/tol_100/T9 index 98b8bf24c4..fec0289329 100644 --- a/tests/sewing/tol_100/T9 +++ b/tests/sewing/tol_100/T9 @@ -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 diff --git a/tests/sewing/tol_100/U1 b/tests/sewing/tol_100/U1 index 705dcda5bb..9d867a9d11 100755 --- a/tests/sewing/tol_100/U1 +++ b/tests/sewing/tol_100/U1 @@ -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 diff --git a/tests/sewing/tol_100/U2 b/tests/sewing/tol_100/U2 index 09897cb94a..a58d24902c 100644 --- a/tests/sewing/tol_100/U2 +++ b/tests/sewing/tol_100/U2 @@ -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 diff --git a/tests/sewing/tol_100/U3 b/tests/sewing/tol_100/U3 index 76b53c2ea9..19f387cddc 100644 --- a/tests/sewing/tol_100/U3 +++ b/tests/sewing/tol_100/U3 @@ -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 diff --git a/tests/sewing/tol_100/U4 b/tests/sewing/tol_100/U4 index 238b67b391..0faf1f6c25 100644 --- a/tests/sewing/tol_100/U4 +++ b/tests/sewing/tol_100/U4 @@ -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 diff --git a/tests/sewing/tol_100/U5 b/tests/sewing/tol_100/U5 index 40ed68ebaa..f5e3802acd 100644 --- a/tests/sewing/tol_100/U5 +++ b/tests/sewing/tol_100/U5 @@ -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 diff --git a/tests/sewing/tol_100/U6 b/tests/sewing/tol_100/U6 index 5720c13f4f..fdfcb89da9 100644 --- a/tests/sewing/tol_100/U6 +++ b/tests/sewing/tol_100/U6 @@ -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 diff --git a/tests/sewing/tol_100/U7 b/tests/sewing/tol_100/U7 index a2b256e26c..d70e201a8d 100644 --- a/tests/sewing/tol_100/U7 +++ b/tests/sewing/tol_100/U7 @@ -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 diff --git a/tests/sewing/tol_100/U8 b/tests/sewing/tol_100/U8 index cca73a6320..09af6418f7 100644 --- a/tests/sewing/tol_100/U8 +++ b/tests/sewing/tol_100/U8 @@ -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 diff --git a/tests/sewing/tol_100/U9 b/tests/sewing/tol_100/U9 index 483a549430..d84d7e0f59 100644 --- a/tests/sewing/tol_100/U9 +++ b/tests/sewing/tol_100/U9 @@ -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 diff --git a/tests/sewing/tol_100/V1 b/tests/sewing/tol_100/V1 index cd48353994..8f3f2fe59a 100644 --- a/tests/sewing/tol_100/V1 +++ b/tests/sewing/tol_100/V1 @@ -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 diff --git a/tests/sewing/tol_100/V2 b/tests/sewing/tol_100/V2 index 941678a126..083f3f0900 100644 --- a/tests/sewing/tol_100/V2 +++ b/tests/sewing/tol_100/V2 @@ -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 diff --git a/tests/sewing/tol_100/V3 b/tests/sewing/tol_100/V3 index 6b01ec1e44..922392952f 100644 --- a/tests/sewing/tol_100/V3 +++ b/tests/sewing/tol_100/V3 @@ -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 diff --git a/tests/sewing/tol_100/V4 b/tests/sewing/tol_100/V4 index 4af7d7073b..0c79a88f0d 100644 --- a/tests/sewing/tol_100/V4 +++ b/tests/sewing/tol_100/V4 @@ -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 diff --git a/tests/sewing/tol_100/V5 b/tests/sewing/tol_100/V5 index 9a3130dacd..86a1952540 100644 --- a/tests/sewing/tol_100/V5 +++ b/tests/sewing/tol_100/V5 @@ -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 diff --git a/tests/sewing/tol_100/V6 b/tests/sewing/tol_100/V6 index 906d1848fc..75eb069291 100644 --- a/tests/sewing/tol_100/V6 +++ b/tests/sewing/tol_100/V6 @@ -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 diff --git a/tests/sewing/tol_100/V7 b/tests/sewing/tol_100/V7 index 8d33e47159..f4d8403d21 100644 --- a/tests/sewing/tol_100/V7 +++ b/tests/sewing/tol_100/V7 @@ -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 diff --git a/tests/sewing/tol_100/V8 b/tests/sewing/tol_100/V8 index eb8ade08f1..caac9a80a0 100644 --- a/tests/sewing/tol_100/V8 +++ b/tests/sewing/tol_100/V8 @@ -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 diff --git a/tests/sewing/tol_100/V9 b/tests/sewing/tol_100/V9 index 88ad2da8f0..1f5efb8884 100644 --- a/tests/sewing/tol_100/V9 +++ b/tests/sewing/tol_100/V9 @@ -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 diff --git a/tests/sewing/tol_100/W1 b/tests/sewing/tol_100/W1 index 6844509105..e9d3b791e7 100644 --- a/tests/sewing/tol_100/W1 +++ b/tests/sewing/tol_100/W1 @@ -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 diff --git a/tests/sewing/tol_100/W2 b/tests/sewing/tol_100/W2 index 71768fda5f..23ccabba17 100644 --- a/tests/sewing/tol_100/W2 +++ b/tests/sewing/tol_100/W2 @@ -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 diff --git a/tests/sewing/tol_100/W3 b/tests/sewing/tol_100/W3 index e47c2d91da..130b7a3873 100644 --- a/tests/sewing/tol_100/W3 +++ b/tests/sewing/tol_100/W3 @@ -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 diff --git a/tests/sewing/tol_100/W4 b/tests/sewing/tol_100/W4 index 54d7fd2195..00dd214db9 100644 --- a/tests/sewing/tol_100/W4 +++ b/tests/sewing/tol_100/W4 @@ -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 diff --git a/tests/sewing/tol_100/W5 b/tests/sewing/tol_100/W5 index 7255a01182..45f4bbef5c 100644 --- a/tests/sewing/tol_100/W5 +++ b/tests/sewing/tol_100/W5 @@ -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 diff --git a/tests/sewing/tol_100/W6 b/tests/sewing/tol_100/W6 index 0a1084d364..ee7f3fcb0a 100644 --- a/tests/sewing/tol_100/W6 +++ b/tests/sewing/tol_100/W6 @@ -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 diff --git a/tests/sewing/tol_100/W7 b/tests/sewing/tol_100/W7 index 0408fa77fb..78892d734f 100644 --- a/tests/sewing/tol_100/W7 +++ b/tests/sewing/tol_100/W7 @@ -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 diff --git a/tests/sewing/tol_100/W8 b/tests/sewing/tol_100/W8 index f97b760ca4..16df30b103 100644 --- a/tests/sewing/tol_100/W8 +++ b/tests/sewing/tol_100/W8 @@ -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 diff --git a/tests/sewing/tol_100/W9 b/tests/sewing/tol_100/W9 index 17b0ee1938..a1200caa36 100644 --- a/tests/sewing/tol_100/W9 +++ b/tests/sewing/tol_100/W9 @@ -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 diff --git a/tests/sewing/tol_100/X1 b/tests/sewing/tol_100/X1 index 2fb2c2c2fa..3018edaf76 100644 --- a/tests/sewing/tol_100/X1 +++ b/tests/sewing/tol_100/X1 @@ -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 diff --git a/tests/sewing/tol_100/X2 b/tests/sewing/tol_100/X2 index b700beb2ba..5ab7d2aaf5 100644 --- a/tests/sewing/tol_100/X2 +++ b/tests/sewing/tol_100/X2 @@ -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 diff --git a/tests/sewing/tol_100/X3 b/tests/sewing/tol_100/X3 index 35ef973953..0c4792b119 100644 --- a/tests/sewing/tol_100/X3 +++ b/tests/sewing/tol_100/X3 @@ -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 diff --git a/tests/sewing/tol_100/X4 b/tests/sewing/tol_100/X4 index 2100dcb930..3ea3cee4ce 100644 --- a/tests/sewing/tol_100/X4 +++ b/tests/sewing/tol_100/X4 @@ -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 diff --git a/tests/sewing/tol_100/X5 b/tests/sewing/tol_100/X5 index af50486933..9b5372baad 100644 --- a/tests/sewing/tol_100/X5 +++ b/tests/sewing/tol_100/X5 @@ -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 diff --git a/tests/sewing/tol_100/X6 b/tests/sewing/tol_100/X6 index e0f0583d11..03fa657d3c 100644 --- a/tests/sewing/tol_100/X6 +++ b/tests/sewing/tol_100/X6 @@ -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 diff --git a/tests/sewing/tol_100/X7 b/tests/sewing/tol_100/X7 index 909710d59f..838156fa46 100644 --- a/tests/sewing/tol_100/X7 +++ b/tests/sewing/tol_100/X7 @@ -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 diff --git a/tests/sewing/tol_100/X8 b/tests/sewing/tol_100/X8 index f717fea608..12bc5803ef 100644 --- a/tests/sewing/tol_100/X8 +++ b/tests/sewing/tol_100/X8 @@ -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 diff --git a/tests/sewing/tol_100/X9 b/tests/sewing/tol_100/X9 index 762c68508e..39a4c930bf 100644 --- a/tests/sewing/tol_100/X9 +++ b/tests/sewing/tol_100/X9 @@ -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 diff --git a/tests/sewing/tol_100/Y1 b/tests/sewing/tol_100/Y1 index 34932bd251..d0010afa32 100644 --- a/tests/sewing/tol_100/Y1 +++ b/tests/sewing/tol_100/Y1 @@ -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 diff --git a/tests/sewing/tol_100/Y2 b/tests/sewing/tol_100/Y2 index fac2da4faa..4b5db85e76 100644 --- a/tests/sewing/tol_100/Y2 +++ b/tests/sewing/tol_100/Y2 @@ -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 diff --git a/tests/sewing/tol_100/Y3 b/tests/sewing/tol_100/Y3 index 8dd8d71271..947272fb3d 100644 --- a/tests/sewing/tol_100/Y3 +++ b/tests/sewing/tol_100/Y3 @@ -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 diff --git a/tests/sewing/tol_100/Y4 b/tests/sewing/tol_100/Y4 index 9ed81ef251..8912b11fe4 100644 --- a/tests/sewing/tol_100/Y4 +++ b/tests/sewing/tol_100/Y4 @@ -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 diff --git a/tests/sewing/tol_100/Y5 b/tests/sewing/tol_100/Y5 index f77564f403..ed900e329f 100644 --- a/tests/sewing/tol_100/Y5 +++ b/tests/sewing/tol_100/Y5 @@ -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 diff --git a/tests/sewing/tol_100/Y6 b/tests/sewing/tol_100/Y6 index 011704a6d7..ec7f942225 100644 --- a/tests/sewing/tol_100/Y6 +++ b/tests/sewing/tol_100/Y6 @@ -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 diff --git a/tests/sewing/tol_100/Y7 b/tests/sewing/tol_100/Y7 index b68283aa83..68b68ab4c6 100644 --- a/tests/sewing/tol_100/Y7 +++ b/tests/sewing/tol_100/Y7 @@ -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 diff --git a/tests/sewing/tol_100/Y9 b/tests/sewing/tol_100/Y9 index c251559a73..3c8a99a0e3 100644 --- a/tests/sewing/tol_100/Y9 +++ b/tests/sewing/tol_100/Y9 @@ -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 diff --git a/tests/sewing/tol_100/Z1 b/tests/sewing/tol_100/Z1 index 4015444046..b6c930d701 100644 --- a/tests/sewing/tol_100/Z1 +++ b/tests/sewing/tol_100/Z1 @@ -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 diff --git a/tests/sewing/tol_100/Z2 b/tests/sewing/tol_100/Z2 index d241f31d90..83a7c52c0f 100644 --- a/tests/sewing/tol_100/Z2 +++ b/tests/sewing/tol_100/Z2 @@ -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 diff --git a/tests/sewing/tol_100/Z3 b/tests/sewing/tol_100/Z3 index 72641e5105..6ab2f4a097 100644 --- a/tests/sewing/tol_100/Z3 +++ b/tests/sewing/tol_100/Z3 @@ -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 diff --git a/tests/sewing/tol_100/Z4 b/tests/sewing/tol_100/Z4 index beb28c84d7..527bb3aacb 100644 --- a/tests/sewing/tol_100/Z4 +++ b/tests/sewing/tol_100/Z4 @@ -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 diff --git a/tests/sewing/tol_100/Z5 b/tests/sewing/tol_100/Z5 index 4e85c8b308..a64cc825da 100644 --- a/tests/sewing/tol_100/Z5 +++ b/tests/sewing/tol_100/Z5 @@ -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 diff --git a/tests/sewing/tol_100/Z6 b/tests/sewing/tol_100/Z6 index 720721b93a..effb5f6c35 100644 --- a/tests/sewing/tol_100/Z6 +++ b/tests/sewing/tol_100/Z6 @@ -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 diff --git a/tests/sewing/tol_100/Z7 b/tests/sewing/tol_100/Z7 index f9146d1ec8..fa6605d6d0 100644 --- a/tests/sewing/tol_100/Z7 +++ b/tests/sewing/tol_100/Z7 @@ -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 diff --git a/tests/sewing/tol_100/Z8 b/tests/sewing/tol_100/Z8 index e94e74cff8..13d15188b0 100644 --- a/tests/sewing/tol_100/Z8 +++ b/tests/sewing/tol_100/Z8 @@ -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 -- 2.39.5