From 3977d18aca2b748950aa8668dc05844ce7bdff76 Mon Sep 17 00:00:00 2001 From: jgv Date: Tue, 18 Dec 2018 16:57:32 +0300 Subject: [PATCH] 0030286: Cover polygonal HLR algorithm by regression tests New folder "hlr" with subfolders "exact_hlr" and "poly_hlr" has been created. Draw command "vcomputehlr" has been corrected. QA command "OCC27341" has been deleted as "vcomputehlr" does its job. --- src/QABugs/QABugs_20.cxx | 87 -------------------- src/ViewerTest/ViewerTest_ObjectCommands.cxx | 30 +++---- tests/bugs/modalg_6/bug25813_1 | 19 ----- tests/bugs/modalg_6/bug25813_2 | 17 ---- tests/bugs/modalg_6/bug25813_3 | 16 ---- tests/bugs/modalg_6/bug25813_4 | 17 ---- tests/bugs/modalg_6/bug25813_5 | 17 ---- tests/bugs/modalg_6/bug27341 | 17 ---- tests/bugs/modalg_6/bug27341_101 | 26 ------ tests/bugs/modalg_6/bug27341_102 | 26 ------ tests/bugs/modalg_6/bug27341_103 | 26 ------ tests/bugs/modalg_6/bug27341_104 | 26 ------ tests/bugs/modalg_6/bug27341_105 | 26 ------ tests/bugs/modalg_6/bug27341_106 | 25 ------ tests/bugs/modalg_6/bug27341_107 | 25 ------ tests/bugs/modalg_6/bug27341_201 | 26 ------ tests/bugs/modalg_6/bug27341_202 | 26 ------ tests/bugs/modalg_6/bug27341_203 | 26 ------ tests/bugs/modalg_6/bug27341_204 | 26 ------ tests/bugs/modalg_6/bug27341_205 | 26 ------ tests/bugs/modalg_6/bug27341_206 | 26 ------ tests/bugs/modalg_6/bug27341_207 | 26 ------ tests/bugs/modalg_6/bug27341_301 | 27 ------ tests/bugs/modalg_6/bug27341_302 | 27 ------ tests/bugs/modalg_6/bug27341_303 | 27 ------ tests/bugs/modalg_6/bug27341_304 | 27 ------ tests/bugs/modalg_6/bug27341_305 | 27 ------ tests/bugs/modalg_6/bug27341_306 | 27 ------ tests/bugs/modalg_6/bug27341_307 | 27 ------ tests/bugs/modalg_6/bug27341_308 | 27 ------ tests/bugs/modalg_6/bug27341_309 | 27 ------ tests/bugs/modalg_6/bug27341_310 | 27 ------ tests/bugs/modalg_6/bug27341_311 | 27 ------ tests/bugs/modalg_6/bug27341_312 | 27 ------ tests/bugs/modalg_6/bug27341_313 | 27 ------ tests/bugs/modalg_6/bug27341_314 | 27 ------ tests/bugs/modalg_6/bug27341_315 | 27 ------ tests/bugs/modalg_6/bug27341_316 | 27 ------ tests/bugs/modalg_6/bug27341_317 | 27 ------ tests/bugs/modalg_6/bug27341_318 | 26 ------ tests/bugs/modalg_6/bug27341_319 | 27 ------ tests/bugs/modalg_6/bug27341_320 | 27 ------ tests/bugs/modalg_6/bug27341_321 | 27 ------ tests/bugs/modalg_6/bug27341_322 | 27 ------ tests/bugs/modalg_6/bug27341_323 | 27 ------ tests/bugs/modalg_6/bug27341_324 | 27 ------ tests/bugs/modalg_6/bug27341_325 | 27 ------ tests/bugs/modalg_6/bug27341_326 | 27 ------ tests/bugs/modalg_6/bug27341_327 | 27 ------ tests/bugs/modalg_6/bug27341_328 | 27 ------ tests/bugs/modalg_6/bug27341_329 | 27 ------ tests/bugs/modalg_6/bug27719_101 | 26 ------ tests/bugs/modalg_6/bug27719_102 | 26 ------ tests/bugs/modalg_6/bug27719_103 | 26 ------ tests/bugs/modalg_6/bug27719_104 | 26 ------ tests/bugs/modalg_6/bug27719_105 | 26 ------ tests/bugs/modalg_6/bug27719_201 | 26 ------ tests/bugs/modalg_6/bug27719_202 | 26 ------ tests/bugs/modalg_6/bug27719_203 | 26 ------ tests/bugs/modalg_6/bug27719_204 | 26 ------ tests/bugs/modalg_6/bug27719_205 | 26 ------ tests/bugs/modalg_6/bug27720_1 | 26 ------ tests/bugs/modalg_6/bug27720_2 | 26 ------ tests/bugs/modalg_6/bug27720_3 | 26 ------ tests/bugs/modalg_6/bug27720_4 | 26 ------ tests/bugs/modalg_6/bug27720_5 | 26 ------ tests/bugs/modalg_7/bug29956 | 14 ---- tests/bugs/modalg_7/bug30243 | 14 ---- tests/hlr/begin | 22 +++++ tests/hlr/end | 6 ++ tests/hlr/exact_hlr/A1 | 10 +++ tests/hlr/exact_hlr/A2 | 10 +++ tests/hlr/exact_hlr/A3 | 10 +++ tests/hlr/exact_hlr/A4 | 10 +++ tests/hlr/exact_hlr/A5 | 10 +++ tests/hlr/exact_hlr/A6 | 10 +++ tests/hlr/exact_hlr/A7 | 10 +++ tests/hlr/exact_hlr/B1 | 10 +++ tests/hlr/exact_hlr/B2 | 10 +++ tests/hlr/exact_hlr/B3 | 10 +++ tests/hlr/exact_hlr/B4 | 10 +++ tests/hlr/exact_hlr/B5 | 10 +++ tests/hlr/exact_hlr/B6 | 10 +++ tests/hlr/exact_hlr/B7 | 10 +++ tests/hlr/exact_hlr/C1 | 5 ++ tests/hlr/exact_hlr/C10 | 5 ++ tests/hlr/exact_hlr/C11 | 5 ++ tests/hlr/exact_hlr/C12 | 5 ++ tests/hlr/exact_hlr/C13 | 7 ++ tests/hlr/exact_hlr/C14 | 5 ++ tests/hlr/exact_hlr/C15 | 5 ++ tests/hlr/exact_hlr/C16 | 5 ++ tests/hlr/exact_hlr/C17 | 5 ++ tests/hlr/exact_hlr/C18 | 7 ++ tests/hlr/exact_hlr/C19 | 5 ++ tests/hlr/exact_hlr/C2 | 7 ++ tests/hlr/exact_hlr/C20 | 7 ++ tests/hlr/exact_hlr/C21 | 5 ++ tests/hlr/exact_hlr/C22 | 5 ++ tests/hlr/exact_hlr/C23 | 5 ++ tests/hlr/exact_hlr/C24 | 5 ++ tests/hlr/exact_hlr/C25 | 7 ++ tests/hlr/exact_hlr/C26 | 5 ++ tests/hlr/exact_hlr/C27 | 5 ++ tests/hlr/exact_hlr/C28 | 5 ++ tests/hlr/exact_hlr/C29 | 5 ++ tests/hlr/exact_hlr/C3 | 7 ++ tests/hlr/exact_hlr/C4 | 7 ++ tests/hlr/exact_hlr/C5 | 5 ++ tests/hlr/exact_hlr/C6 | 5 ++ tests/hlr/exact_hlr/C7 | 5 ++ tests/hlr/exact_hlr/C8 | 7 ++ tests/hlr/exact_hlr/C9 | 5 ++ tests/hlr/exact_hlr/D1 | 10 +++ tests/hlr/exact_hlr/D2 | 10 +++ tests/hlr/exact_hlr/D3 | 10 +++ tests/hlr/exact_hlr/D4 | 10 +++ tests/hlr/exact_hlr/D5 | 10 +++ tests/hlr/exact_hlr/D6 | 10 +++ tests/hlr/exact_hlr/D7 | 10 +++ tests/hlr/exact_hlr/Plate | 20 +++++ tests/hlr/exact_hlr/begin | 1 + tests/hlr/exact_hlr/bug25813_1 | 14 ++++ tests/hlr/exact_hlr/bug25813_2 | 10 +++ tests/hlr/exact_hlr/bug25813_3 | 11 +++ tests/hlr/exact_hlr/bug25813_4 | 10 +++ tests/hlr/exact_hlr/bug25813_5 | 10 +++ tests/hlr/exact_hlr/bug27719_101 | 10 +++ tests/hlr/exact_hlr/bug27719_102 | 10 +++ tests/hlr/exact_hlr/bug27719_103 | 10 +++ tests/hlr/exact_hlr/bug27719_104 | 10 +++ tests/hlr/exact_hlr/bug27719_105 | 10 +++ tests/hlr/exact_hlr/bug27719_201 | 10 +++ tests/hlr/exact_hlr/bug27719_202 | 10 +++ tests/hlr/exact_hlr/bug27719_203 | 10 +++ tests/hlr/exact_hlr/bug27719_204 | 10 +++ tests/hlr/exact_hlr/bug27719_205 | 10 +++ tests/hlr/exact_hlr/bug27720_1 | 10 +++ tests/hlr/exact_hlr/bug27720_2 | 10 +++ tests/hlr/exact_hlr/bug27720_3 | 10 +++ tests/hlr/exact_hlr/bug27720_4 | 10 +++ tests/hlr/exact_hlr/bug27720_5 | 10 +++ tests/hlr/exact_hlr/bug27979_1 | 12 +++ tests/hlr/exact_hlr/bug27979_2 | 12 +++ tests/hlr/exact_hlr/bug27979_3 | 12 +++ tests/hlr/exact_hlr/bug27979_4 | 12 +++ tests/hlr/exact_hlr/bug27979_5 | 12 +++ tests/hlr/exact_hlr/bug27979_6 | 12 +++ tests/hlr/exact_hlr/bug27979_7 | 12 +++ tests/hlr/exact_hlr/bug29956 | 10 +++ tests/hlr/exact_hlr/bug30243 | 10 +++ tests/hlr/exact_hlr/bug7691 | 12 +++ tests/hlr/grids.list | 2 + tests/hlr/poly_hlr/A1 | 10 +++ tests/hlr/poly_hlr/A2 | 12 +++ tests/hlr/poly_hlr/A3 | 10 +++ tests/hlr/poly_hlr/A4 | 12 +++ tests/hlr/poly_hlr/A5 | 12 +++ tests/hlr/poly_hlr/A6 | 10 +++ tests/hlr/poly_hlr/A7 | 10 +++ tests/hlr/poly_hlr/B1 | 10 +++ tests/hlr/poly_hlr/B2 | 10 +++ tests/hlr/poly_hlr/B3 | 10 +++ tests/hlr/poly_hlr/B4 | 10 +++ tests/hlr/poly_hlr/B5 | 10 +++ tests/hlr/poly_hlr/B6 | 10 +++ tests/hlr/poly_hlr/B7 | 10 +++ tests/hlr/poly_hlr/C1 | 7 ++ tests/hlr/poly_hlr/C10 | 5 ++ tests/hlr/poly_hlr/C11 | 5 ++ tests/hlr/poly_hlr/C12 | 5 ++ tests/hlr/poly_hlr/C13 | 5 ++ tests/hlr/poly_hlr/C14 | 7 ++ tests/hlr/poly_hlr/C15 | 5 ++ tests/hlr/poly_hlr/C16 | 5 ++ tests/hlr/poly_hlr/C17 | 5 ++ tests/hlr/poly_hlr/C18 | 7 ++ tests/hlr/poly_hlr/C19 | 5 ++ tests/hlr/poly_hlr/C2 | 5 ++ tests/hlr/poly_hlr/C20 | 5 ++ tests/hlr/poly_hlr/C21 | 5 ++ tests/hlr/poly_hlr/C22 | 5 ++ tests/hlr/poly_hlr/C23 | 5 ++ tests/hlr/poly_hlr/C24 | 5 ++ tests/hlr/poly_hlr/C25 | 5 ++ tests/hlr/poly_hlr/C26 | 5 ++ tests/hlr/poly_hlr/C27 | 5 ++ tests/hlr/poly_hlr/C28 | 5 ++ tests/hlr/poly_hlr/C29 | 5 ++ tests/hlr/poly_hlr/C3 | 5 ++ tests/hlr/poly_hlr/C4 | 7 ++ tests/hlr/poly_hlr/C5 | 5 ++ tests/hlr/poly_hlr/C6 | 5 ++ tests/hlr/poly_hlr/C7 | 5 ++ tests/hlr/poly_hlr/C8 | 5 ++ tests/hlr/poly_hlr/C9 | 7 ++ tests/hlr/poly_hlr/D1 | 10 +++ tests/hlr/poly_hlr/D2 | 10 +++ tests/hlr/poly_hlr/D3 | 10 +++ tests/hlr/poly_hlr/D4 | 10 +++ tests/hlr/poly_hlr/D5 | 10 +++ tests/hlr/poly_hlr/D6 | 10 +++ tests/hlr/poly_hlr/D7 | 10 +++ tests/hlr/poly_hlr/Plate | 21 +++++ tests/hlr/poly_hlr/begin | 1 + tests/hlr/poly_hlr/bug23625_1 | 10 +++ tests/hlr/poly_hlr/bug23625_2 | 10 +++ tests/hlr/poly_hlr/bug23625_3 | 10 +++ tests/hlr/poly_hlr/bug23625_4 | 10 +++ tests/hlr/poly_hlr/bug23625_5 | 10 +++ tests/hlr/poly_hlr/bug25813_1 | 14 ++++ tests/hlr/poly_hlr/bug25813_2 | 12 +++ tests/hlr/poly_hlr/bug25813_3 | 13 +++ tests/hlr/poly_hlr/bug25813_4 | 10 +++ tests/hlr/poly_hlr/bug25813_5 | 10 +++ tests/hlr/poly_hlr/bug27719_101 | 10 +++ tests/hlr/poly_hlr/bug27719_102 | 10 +++ tests/hlr/poly_hlr/bug27719_103 | 10 +++ tests/hlr/poly_hlr/bug27719_104 | 10 +++ tests/hlr/poly_hlr/bug27719_105 | 10 +++ tests/hlr/poly_hlr/bug27719_201 | 10 +++ tests/hlr/poly_hlr/bug27719_202 | 10 +++ tests/hlr/poly_hlr/bug27719_203 | 10 +++ tests/hlr/poly_hlr/bug27719_204 | 10 +++ tests/hlr/poly_hlr/bug27719_205 | 10 +++ tests/hlr/poly_hlr/bug27720_1 | 10 +++ tests/hlr/poly_hlr/bug27720_2 | 10 +++ tests/hlr/poly_hlr/bug27720_3 | 10 +++ tests/hlr/poly_hlr/bug27720_4 | 12 +++ tests/hlr/poly_hlr/bug27720_5 | 12 +++ tests/hlr/poly_hlr/bug27979_1 | 12 +++ tests/hlr/poly_hlr/bug27979_2 | 12 +++ tests/hlr/poly_hlr/bug27979_3 | 12 +++ tests/hlr/poly_hlr/bug27979_4 | 12 +++ tests/hlr/poly_hlr/bug27979_5 | 12 +++ tests/hlr/poly_hlr/bug27979_6 | 12 +++ tests/hlr/poly_hlr/bug27979_7 | 12 +++ tests/hlr/poly_hlr/bug29956 | 10 +++ tests/hlr/poly_hlr/bug30243 | 10 +++ tests/hlr/poly_hlr/bug7691 | 12 +++ 240 files changed, 1530 insertions(+), 1767 deletions(-) delete mode 100644 tests/bugs/modalg_6/bug25813_1 delete mode 100644 tests/bugs/modalg_6/bug25813_2 delete mode 100644 tests/bugs/modalg_6/bug25813_3 delete mode 100644 tests/bugs/modalg_6/bug25813_4 delete mode 100644 tests/bugs/modalg_6/bug25813_5 delete mode 100644 tests/bugs/modalg_6/bug27341 delete mode 100644 tests/bugs/modalg_6/bug27341_101 delete mode 100644 tests/bugs/modalg_6/bug27341_102 delete mode 100644 tests/bugs/modalg_6/bug27341_103 delete mode 100644 tests/bugs/modalg_6/bug27341_104 delete mode 100644 tests/bugs/modalg_6/bug27341_105 delete mode 100644 tests/bugs/modalg_6/bug27341_106 delete mode 100644 tests/bugs/modalg_6/bug27341_107 delete mode 100644 tests/bugs/modalg_6/bug27341_201 delete mode 100644 tests/bugs/modalg_6/bug27341_202 delete mode 100644 tests/bugs/modalg_6/bug27341_203 delete mode 100644 tests/bugs/modalg_6/bug27341_204 delete mode 100644 tests/bugs/modalg_6/bug27341_205 delete mode 100644 tests/bugs/modalg_6/bug27341_206 delete mode 100644 tests/bugs/modalg_6/bug27341_207 delete mode 100644 tests/bugs/modalg_6/bug27341_301 delete mode 100644 tests/bugs/modalg_6/bug27341_302 delete mode 100644 tests/bugs/modalg_6/bug27341_303 delete mode 100644 tests/bugs/modalg_6/bug27341_304 delete mode 100644 tests/bugs/modalg_6/bug27341_305 delete mode 100644 tests/bugs/modalg_6/bug27341_306 delete mode 100644 tests/bugs/modalg_6/bug27341_307 delete mode 100644 tests/bugs/modalg_6/bug27341_308 delete mode 100644 tests/bugs/modalg_6/bug27341_309 delete mode 100644 tests/bugs/modalg_6/bug27341_310 delete mode 100644 tests/bugs/modalg_6/bug27341_311 delete mode 100644 tests/bugs/modalg_6/bug27341_312 delete mode 100644 tests/bugs/modalg_6/bug27341_313 delete mode 100644 tests/bugs/modalg_6/bug27341_314 delete mode 100644 tests/bugs/modalg_6/bug27341_315 delete mode 100644 tests/bugs/modalg_6/bug27341_316 delete mode 100644 tests/bugs/modalg_6/bug27341_317 delete mode 100644 tests/bugs/modalg_6/bug27341_318 delete mode 100644 tests/bugs/modalg_6/bug27341_319 delete mode 100644 tests/bugs/modalg_6/bug27341_320 delete mode 100644 tests/bugs/modalg_6/bug27341_321 delete mode 100644 tests/bugs/modalg_6/bug27341_322 delete mode 100644 tests/bugs/modalg_6/bug27341_323 delete mode 100644 tests/bugs/modalg_6/bug27341_324 delete mode 100644 tests/bugs/modalg_6/bug27341_325 delete mode 100644 tests/bugs/modalg_6/bug27341_326 delete mode 100644 tests/bugs/modalg_6/bug27341_327 delete mode 100644 tests/bugs/modalg_6/bug27341_328 delete mode 100644 tests/bugs/modalg_6/bug27341_329 delete mode 100644 tests/bugs/modalg_6/bug27719_101 delete mode 100644 tests/bugs/modalg_6/bug27719_102 delete mode 100644 tests/bugs/modalg_6/bug27719_103 delete mode 100644 tests/bugs/modalg_6/bug27719_104 delete mode 100644 tests/bugs/modalg_6/bug27719_105 delete mode 100644 tests/bugs/modalg_6/bug27719_201 delete mode 100644 tests/bugs/modalg_6/bug27719_202 delete mode 100644 tests/bugs/modalg_6/bug27719_203 delete mode 100644 tests/bugs/modalg_6/bug27719_204 delete mode 100644 tests/bugs/modalg_6/bug27719_205 delete mode 100644 tests/bugs/modalg_6/bug27720_1 delete mode 100644 tests/bugs/modalg_6/bug27720_2 delete mode 100644 tests/bugs/modalg_6/bug27720_3 delete mode 100644 tests/bugs/modalg_6/bug27720_4 delete mode 100644 tests/bugs/modalg_6/bug27720_5 delete mode 100644 tests/bugs/modalg_7/bug29956 delete mode 100644 tests/bugs/modalg_7/bug30243 create mode 100644 tests/hlr/begin create mode 100644 tests/hlr/end create mode 100644 tests/hlr/exact_hlr/A1 create mode 100644 tests/hlr/exact_hlr/A2 create mode 100644 tests/hlr/exact_hlr/A3 create mode 100644 tests/hlr/exact_hlr/A4 create mode 100644 tests/hlr/exact_hlr/A5 create mode 100644 tests/hlr/exact_hlr/A6 create mode 100644 tests/hlr/exact_hlr/A7 create mode 100644 tests/hlr/exact_hlr/B1 create mode 100644 tests/hlr/exact_hlr/B2 create mode 100644 tests/hlr/exact_hlr/B3 create mode 100644 tests/hlr/exact_hlr/B4 create mode 100644 tests/hlr/exact_hlr/B5 create mode 100644 tests/hlr/exact_hlr/B6 create mode 100644 tests/hlr/exact_hlr/B7 create mode 100644 tests/hlr/exact_hlr/C1 create mode 100644 tests/hlr/exact_hlr/C10 create mode 100644 tests/hlr/exact_hlr/C11 create mode 100644 tests/hlr/exact_hlr/C12 create mode 100644 tests/hlr/exact_hlr/C13 create mode 100644 tests/hlr/exact_hlr/C14 create mode 100644 tests/hlr/exact_hlr/C15 create mode 100644 tests/hlr/exact_hlr/C16 create mode 100644 tests/hlr/exact_hlr/C17 create mode 100644 tests/hlr/exact_hlr/C18 create mode 100644 tests/hlr/exact_hlr/C19 create mode 100644 tests/hlr/exact_hlr/C2 create mode 100644 tests/hlr/exact_hlr/C20 create mode 100644 tests/hlr/exact_hlr/C21 create mode 100644 tests/hlr/exact_hlr/C22 create mode 100644 tests/hlr/exact_hlr/C23 create mode 100644 tests/hlr/exact_hlr/C24 create mode 100644 tests/hlr/exact_hlr/C25 create mode 100644 tests/hlr/exact_hlr/C26 create mode 100644 tests/hlr/exact_hlr/C27 create mode 100644 tests/hlr/exact_hlr/C28 create mode 100644 tests/hlr/exact_hlr/C29 create mode 100644 tests/hlr/exact_hlr/C3 create mode 100644 tests/hlr/exact_hlr/C4 create mode 100644 tests/hlr/exact_hlr/C5 create mode 100644 tests/hlr/exact_hlr/C6 create mode 100644 tests/hlr/exact_hlr/C7 create mode 100644 tests/hlr/exact_hlr/C8 create mode 100644 tests/hlr/exact_hlr/C9 create mode 100644 tests/hlr/exact_hlr/D1 create mode 100644 tests/hlr/exact_hlr/D2 create mode 100644 tests/hlr/exact_hlr/D3 create mode 100644 tests/hlr/exact_hlr/D4 create mode 100644 tests/hlr/exact_hlr/D5 create mode 100644 tests/hlr/exact_hlr/D6 create mode 100644 tests/hlr/exact_hlr/D7 create mode 100644 tests/hlr/exact_hlr/Plate create mode 100644 tests/hlr/exact_hlr/begin create mode 100644 tests/hlr/exact_hlr/bug25813_1 create mode 100644 tests/hlr/exact_hlr/bug25813_2 create mode 100644 tests/hlr/exact_hlr/bug25813_3 create mode 100644 tests/hlr/exact_hlr/bug25813_4 create mode 100644 tests/hlr/exact_hlr/bug25813_5 create mode 100644 tests/hlr/exact_hlr/bug27719_101 create mode 100644 tests/hlr/exact_hlr/bug27719_102 create mode 100644 tests/hlr/exact_hlr/bug27719_103 create mode 100644 tests/hlr/exact_hlr/bug27719_104 create mode 100644 tests/hlr/exact_hlr/bug27719_105 create mode 100644 tests/hlr/exact_hlr/bug27719_201 create mode 100644 tests/hlr/exact_hlr/bug27719_202 create mode 100644 tests/hlr/exact_hlr/bug27719_203 create mode 100644 tests/hlr/exact_hlr/bug27719_204 create mode 100644 tests/hlr/exact_hlr/bug27719_205 create mode 100644 tests/hlr/exact_hlr/bug27720_1 create mode 100644 tests/hlr/exact_hlr/bug27720_2 create mode 100644 tests/hlr/exact_hlr/bug27720_3 create mode 100644 tests/hlr/exact_hlr/bug27720_4 create mode 100644 tests/hlr/exact_hlr/bug27720_5 create mode 100644 tests/hlr/exact_hlr/bug27979_1 create mode 100644 tests/hlr/exact_hlr/bug27979_2 create mode 100644 tests/hlr/exact_hlr/bug27979_3 create mode 100644 tests/hlr/exact_hlr/bug27979_4 create mode 100644 tests/hlr/exact_hlr/bug27979_5 create mode 100644 tests/hlr/exact_hlr/bug27979_6 create mode 100644 tests/hlr/exact_hlr/bug27979_7 create mode 100644 tests/hlr/exact_hlr/bug29956 create mode 100644 tests/hlr/exact_hlr/bug30243 create mode 100644 tests/hlr/exact_hlr/bug7691 create mode 100644 tests/hlr/grids.list create mode 100644 tests/hlr/poly_hlr/A1 create mode 100644 tests/hlr/poly_hlr/A2 create mode 100644 tests/hlr/poly_hlr/A3 create mode 100644 tests/hlr/poly_hlr/A4 create mode 100644 tests/hlr/poly_hlr/A5 create mode 100644 tests/hlr/poly_hlr/A6 create mode 100644 tests/hlr/poly_hlr/A7 create mode 100644 tests/hlr/poly_hlr/B1 create mode 100644 tests/hlr/poly_hlr/B2 create mode 100644 tests/hlr/poly_hlr/B3 create mode 100644 tests/hlr/poly_hlr/B4 create mode 100644 tests/hlr/poly_hlr/B5 create mode 100644 tests/hlr/poly_hlr/B6 create mode 100644 tests/hlr/poly_hlr/B7 create mode 100644 tests/hlr/poly_hlr/C1 create mode 100644 tests/hlr/poly_hlr/C10 create mode 100644 tests/hlr/poly_hlr/C11 create mode 100644 tests/hlr/poly_hlr/C12 create mode 100644 tests/hlr/poly_hlr/C13 create mode 100644 tests/hlr/poly_hlr/C14 create mode 100644 tests/hlr/poly_hlr/C15 create mode 100644 tests/hlr/poly_hlr/C16 create mode 100644 tests/hlr/poly_hlr/C17 create mode 100644 tests/hlr/poly_hlr/C18 create mode 100644 tests/hlr/poly_hlr/C19 create mode 100644 tests/hlr/poly_hlr/C2 create mode 100644 tests/hlr/poly_hlr/C20 create mode 100644 tests/hlr/poly_hlr/C21 create mode 100644 tests/hlr/poly_hlr/C22 create mode 100644 tests/hlr/poly_hlr/C23 create mode 100644 tests/hlr/poly_hlr/C24 create mode 100644 tests/hlr/poly_hlr/C25 create mode 100644 tests/hlr/poly_hlr/C26 create mode 100644 tests/hlr/poly_hlr/C27 create mode 100644 tests/hlr/poly_hlr/C28 create mode 100644 tests/hlr/poly_hlr/C29 create mode 100644 tests/hlr/poly_hlr/C3 create mode 100644 tests/hlr/poly_hlr/C4 create mode 100644 tests/hlr/poly_hlr/C5 create mode 100644 tests/hlr/poly_hlr/C6 create mode 100644 tests/hlr/poly_hlr/C7 create mode 100644 tests/hlr/poly_hlr/C8 create mode 100644 tests/hlr/poly_hlr/C9 create mode 100644 tests/hlr/poly_hlr/D1 create mode 100644 tests/hlr/poly_hlr/D2 create mode 100644 tests/hlr/poly_hlr/D3 create mode 100644 tests/hlr/poly_hlr/D4 create mode 100644 tests/hlr/poly_hlr/D5 create mode 100644 tests/hlr/poly_hlr/D6 create mode 100644 tests/hlr/poly_hlr/D7 create mode 100644 tests/hlr/poly_hlr/Plate create mode 100644 tests/hlr/poly_hlr/begin create mode 100644 tests/hlr/poly_hlr/bug23625_1 create mode 100644 tests/hlr/poly_hlr/bug23625_2 create mode 100644 tests/hlr/poly_hlr/bug23625_3 create mode 100644 tests/hlr/poly_hlr/bug23625_4 create mode 100644 tests/hlr/poly_hlr/bug23625_5 create mode 100644 tests/hlr/poly_hlr/bug25813_1 create mode 100644 tests/hlr/poly_hlr/bug25813_2 create mode 100644 tests/hlr/poly_hlr/bug25813_3 create mode 100644 tests/hlr/poly_hlr/bug25813_4 create mode 100644 tests/hlr/poly_hlr/bug25813_5 create mode 100644 tests/hlr/poly_hlr/bug27719_101 create mode 100644 tests/hlr/poly_hlr/bug27719_102 create mode 100644 tests/hlr/poly_hlr/bug27719_103 create mode 100644 tests/hlr/poly_hlr/bug27719_104 create mode 100644 tests/hlr/poly_hlr/bug27719_105 create mode 100644 tests/hlr/poly_hlr/bug27719_201 create mode 100644 tests/hlr/poly_hlr/bug27719_202 create mode 100644 tests/hlr/poly_hlr/bug27719_203 create mode 100644 tests/hlr/poly_hlr/bug27719_204 create mode 100644 tests/hlr/poly_hlr/bug27719_205 create mode 100644 tests/hlr/poly_hlr/bug27720_1 create mode 100644 tests/hlr/poly_hlr/bug27720_2 create mode 100644 tests/hlr/poly_hlr/bug27720_3 create mode 100644 tests/hlr/poly_hlr/bug27720_4 create mode 100644 tests/hlr/poly_hlr/bug27720_5 create mode 100644 tests/hlr/poly_hlr/bug27979_1 create mode 100644 tests/hlr/poly_hlr/bug27979_2 create mode 100644 tests/hlr/poly_hlr/bug27979_3 create mode 100644 tests/hlr/poly_hlr/bug27979_4 create mode 100644 tests/hlr/poly_hlr/bug27979_5 create mode 100644 tests/hlr/poly_hlr/bug27979_6 create mode 100644 tests/hlr/poly_hlr/bug27979_7 create mode 100644 tests/hlr/poly_hlr/bug29956 create mode 100644 tests/hlr/poly_hlr/bug30243 create mode 100644 tests/hlr/poly_hlr/bug7691 diff --git a/src/QABugs/QABugs_20.cxx b/src/QABugs/QABugs_20.cxx index 9d9ff6ed78..4641055a07 100644 --- a/src/QABugs/QABugs_20.cxx +++ b/src/QABugs/QABugs_20.cxx @@ -1589,90 +1589,6 @@ static Standard_Integer OCC26930(Draw_Interpretor& theDI, return 0; } -//======================================================================= -//function : OCC27341 -//purpose : check exact HLR algorighm's work -//======================================================================= -static Standard_Integer OCC27341 (Draw_Interpretor& , Standard_Integer n, const char** a) -{ - if (n != 4) - { - cout << "Use: OCC27341 res shape axo/top/bottom/front/back/left/right" << endl; - return 1; - } - - TopoDS_Shape aShape = DBRep::Get(a[2]); - if (aShape.IsNull()) - return 1; - - gp_Pnt anOrigin(0.,0.,0.); - gp_Dir aNormal(0.57735026918962573, -0.57735026918962573, 0.57735026918962573); - gp_Ax2 anAxes(anOrigin, aNormal); - gp_Dir aDX = anAxes.XDirection(); - - HLRAppli_ReflectLines Reflector(aShape); - - if (strcmp(a[3],"axo") == 0) - { - aNormal.SetCoord(0.57735026918962573, -0.57735026918962573, 0.57735026918962573); - aDX.SetCoord(-0.40824829046386307, 0.40824829046386307, 0.81649658092772615); - } - else if (strcmp(a[3],"top") == 0) - { - aNormal.SetCoord(0,0,1); - aDX.SetCoord(0,1,0); - } - else if (strcmp(a[3],"bottom") == 0) - { - aNormal.SetCoord(0,0,-1); - aDX.SetCoord(0,-1,0); - } - else if (strcmp(a[3],"front") == 0) - { - aNormal.SetCoord(0,-1,0); - aDX.SetCoord(0,0,1); - } - else if (strcmp(a[3],"back") == 0) - { - aNormal.SetCoord(0,1,0); - aDX.SetCoord(0,0,1); - } - else if (strcmp(a[3],"left") == 0) - { - aNormal.SetCoord(-1,0,0); - aDX.SetCoord(0,0,1); - } - else if (strcmp(a[3],"right") == 0) - { - aNormal.SetCoord(1,0,0); - aDX.SetCoord(0,0,1); - } - - Reflector.SetAxes(aNormal.X(), aNormal.Y(), aNormal.Z(), - anOrigin.X(), anOrigin.Y(), anOrigin.Z(), - aDX.X(), aDX.Y(), aDX.Z()); - - Reflector.Perform(); - - TopoDS_Compound Result; - BRep_Builder BB; - BB.MakeCompound(Result); - - TopoDS_Shape SharpEdges = Reflector.GetCompoundOf3dEdges(HLRBRep_Sharp, Standard_True, Standard_False); - if (!SharpEdges.IsNull()) - BB.Add(Result, SharpEdges); - TopoDS_Shape OutLines = Reflector.GetCompoundOf3dEdges(HLRBRep_OutLine, Standard_True, Standard_False); - if (!OutLines.IsNull()) - BB.Add(Result, OutLines); - TopoDS_Shape SmoothEdges = Reflector.GetCompoundOf3dEdges(HLRBRep_Rg1Line, Standard_True, Standard_False); - if (!SmoothEdges.IsNull()) - BB.Add(Result, SmoothEdges); - - DBRep::Set(a[1], Result); - - return 0; -} - //======================================================================= //function : OCC27466 //purpose : @@ -3332,9 +3248,6 @@ void QABugs::Commands_20(Draw_Interpretor& theCommands) { theCommands.Add("OCC27235", "OCC27235", __FILE__, OCC27235, group); theCommands.Add("OCC26930", "OCC26930", __FILE__, OCC26930, group); theCommands.Add("OCC27466", "OCC27466", __FILE__, OCC27466, group); - theCommands.Add("OCC27341", - "OCC27341 res shape axo/top/bottom/front/back/left/right", - __FILE__, OCC27341, group); theCommands.Add ("OCC26747_1", "OCC26747_1 result", __FILE__, OCC26747_1, group); theCommands.Add ("OCC26747_2", "OCC26747_2 result", __FILE__, OCC26747_2, group); theCommands.Add ("OCC26747_3", "OCC26747_3 result", __FILE__, OCC26747_3, group); diff --git a/src/ViewerTest/ViewerTest_ObjectCommands.cxx b/src/ViewerTest/ViewerTest_ObjectCommands.cxx index f5067f01fe..5c26580be0 100644 --- a/src/ViewerTest/ViewerTest_ObjectCommands.cxx +++ b/src/ViewerTest/ViewerTest_ObjectCommands.cxx @@ -3083,7 +3083,7 @@ static int VComputeHLR (Draw_Interpretor& , gp_Ax2 aProjAx; bool hasViewDirArg = false; Prs3d_TypeOfHLR anAlgoType = Prs3d_TOH_PolyAlgo; - bool toShowTangentEdges = false, toShowHiddenEdges = false; + bool toShowCNEdges = false, toShowHiddenEdges = false; int aNbIsolines = 0; if (Handle(V3d_Viewer) aViewer = ViewerTest::GetViewerFromContext()) { @@ -3148,9 +3148,9 @@ static int VComputeHLR (Draw_Interpretor& , || anArgCase == "-tangentedges" || anArgCase == "-tangent") { - toShowTangentEdges = true; + toShowCNEdges = true; if (anArgIter + 1 < theArgNb - && ViewerTest::ParseOnOff (theArgVec[anArgIter + 1], toShowTangentEdges)) + && ViewerTest::ParseOnOff (theArgVec[anArgIter + 1], toShowCNEdges)) { ++anArgIter; } @@ -3222,19 +3222,19 @@ static int VComputeHLR (Draw_Interpretor& , aVisible[HLRBRep_Sharp] = aHLRToShape.VCompound(); aVisible[HLRBRep_OutLine] = aHLRToShape.OutLineVCompound(); // extract visible outlines - aVisible[HLRBRep_RgNLine] = aHLRToShape.RgNLineVCompound(); - if (toShowTangentEdges) + aVisible[HLRBRep_Rg1Line] = aHLRToShape.Rg1LineVCompound(); + if (toShowCNEdges) { - aVisible[HLRBRep_Rg1Line] = aHLRToShape.Rg1LineVCompound(); + aVisible[HLRBRep_RgNLine] = aHLRToShape.RgNLineVCompound(); } if (toShowHiddenEdges) { aHidden[HLRBRep_Sharp] = aHLRToShape.HCompound(); aHidden[HLRBRep_OutLine] = aHLRToShape.OutLineHCompound(); - aHidden[HLRBRep_RgNLine] = aHLRToShape.RgNLineHCompound(); - if (toShowTangentEdges) + aHidden[HLRBRep_Rg1Line] = aHLRToShape.Rg1LineHCompound(); + if (toShowCNEdges) { - aHidden[HLRBRep_Rg1Line] = aHLRToShape.Rg1LineHCompound(); + aHidden[HLRBRep_RgNLine] = aHLRToShape.RgNLineHCompound(); } } } @@ -3249,10 +3249,10 @@ static int VComputeHLR (Draw_Interpretor& , HLRBRep_HLRToShape aHLRToShape (aHlrAlgo); aVisible[HLRBRep_Sharp] = aHLRToShape.VCompound(); aVisible[HLRBRep_OutLine] = aHLRToShape.OutLineVCompound(); - aVisible[HLRBRep_RgNLine] = aHLRToShape.RgNLineVCompound(); - if (toShowTangentEdges) + aVisible[HLRBRep_Rg1Line] = aHLRToShape.Rg1LineVCompound(); + if (toShowCNEdges) { - aVisible[HLRBRep_Rg1Line] = aHLRToShape.Rg1LineVCompound(); + aVisible[HLRBRep_RgNLine] = aHLRToShape.RgNLineVCompound(); } aVisible[HLRBRep_IsoLine] = aHLRToShape.IsoLineVCompound(); @@ -3260,10 +3260,10 @@ static int VComputeHLR (Draw_Interpretor& , { aHidden[HLRBRep_Sharp] = aHLRToShape.HCompound(); aHidden[HLRBRep_OutLine] = aHLRToShape.OutLineHCompound(); - aHidden[HLRBRep_RgNLine] = aHLRToShape.RgNLineHCompound(); - if (toShowTangentEdges) + aHidden[HLRBRep_Rg1Line] = aHLRToShape.Rg1LineHCompound(); + if (toShowCNEdges) { - aHidden[HLRBRep_Rg1Line] = aHLRToShape.Rg1LineHCompound(); + aHidden[HLRBRep_RgNLine] = aHLRToShape.RgNLineHCompound(); } aHidden[HLRBRep_IsoLine] = aHLRToShape.IsoLineHCompound(); } diff --git a/tests/bugs/modalg_6/bug25813_1 b/tests/bugs/modalg_6/bug25813_1 deleted file mode 100644 index c54c618b32..0000000000 --- a/tests/bugs/modalg_6/bug25813_1 +++ /dev/null @@ -1,19 +0,0 @@ -puts "============" -puts "OCC25813" -puts "============" -puts "" -###################################################### -# regression in Hidden Line Removal -###################################################### - -pcylinder cc 10 30 -pcylinder cc2 8 50 -ttranslate cc2 0 0 2 -bfuse result cc cc2 -vinit -vdisplay result -vfit -vhlr on -vhlrtype algo result - -checkview -screenshot -3d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug25813_2 b/tests/bugs/modalg_6/bug25813_2 deleted file mode 100644 index 31a6a01e33..0000000000 --- a/tests/bugs/modalg_6/bug25813_2 +++ /dev/null @@ -1,17 +0,0 @@ -puts "============" -puts "OCC25813" -puts "============" -puts "" -###################################################### -# regression in Hidden Line Removal -###################################################### - -restore [locate_data_file bug25813_hlr-bus1-draw-Fusion001.brep] result - -vinit -vdisplay result -vfit -vhlr on -vhlrtype algo result - -checkview -screenshot -3d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug25813_3 b/tests/bugs/modalg_6/bug25813_3 deleted file mode 100644 index bb4dffeddd..0000000000 --- a/tests/bugs/modalg_6/bug25813_3 +++ /dev/null @@ -1,16 +0,0 @@ -puts "============" -puts "OCC25813" -puts "============" -puts "" -###################################################### -# regression in Hidden Line Removal -###################################################### - -ptorus result 30 10 -vinit -vdisplay result -vfit -vhlr on -vhlrtype algo result - -checkview -screenshot -3d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug25813_4 b/tests/bugs/modalg_6/bug25813_4 deleted file mode 100644 index 1aeafe2bdd..0000000000 --- a/tests/bugs/modalg_6/bug25813_4 +++ /dev/null @@ -1,17 +0,0 @@ -puts "============" -puts "OCC25813" -puts "============" -puts "" -###################################################### -# regression in Hidden Line Removal -###################################################### - -restore [locate_data_file bug25813_hlr-test_normandc1m1-draw-Cut001.brep] result - -vinit -vdisplay result -vfit -vhlr on -vhlrtype algo result - -checkview -screenshot -3d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug25813_5 b/tests/bugs/modalg_6/bug25813_5 deleted file mode 100644 index cfb007482d..0000000000 --- a/tests/bugs/modalg_6/bug25813_5 +++ /dev/null @@ -1,17 +0,0 @@ -puts "============" -puts "OCC25813" -puts "============" -puts "" -###################################################### -# regression in Hidden Line Removal -###################################################### - -restore [locate_data_file bug25813_hlr-fillet2-tcl-f.brep] result - -vinit -vdisplay result -vfit -vhlr on -vhlrtype algo result - -checkview -screenshot -3d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341 b/tests/bugs/modalg_6/bug27341 deleted file mode 100644 index e105f3722c..0000000000 --- a/tests/bugs/modalg_6/bug27341 +++ /dev/null @@ -1,17 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -restore [locate_data_file bug27341_hlrsave.brep] result - -vinit -vdisplay result -vfit -vhlr on -vhlrtype algo result - -checkview -screenshot -3d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_101 b/tests/bugs/modalg_6/bug27341_101 deleted file mode 100644 index 263b1b68b0..0000000000 --- a/tests/bugs/modalg_6/bug27341_101 +++ /dev/null @@ -1,26 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload QAcommands - -restore [locate_data_file bug27341_save.brep] a - -set viewname "axo" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 319.505 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_102 b/tests/bugs/modalg_6/bug27341_102 deleted file mode 100644 index 1a4d537f33..0000000000 --- a/tests/bugs/modalg_6/bug27341_102 +++ /dev/null @@ -1,26 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload QAcommands - -restore [locate_data_file bug27341_save.brep] a - -set viewname "top" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 291.117 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_103 b/tests/bugs/modalg_6/bug27341_103 deleted file mode 100644 index 3ba9406fbb..0000000000 --- a/tests/bugs/modalg_6/bug27341_103 +++ /dev/null @@ -1,26 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload QAcommands - -restore [locate_data_file bug27341_save.brep] a - -set viewname "bottom" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 334.113 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_104 b/tests/bugs/modalg_6/bug27341_104 deleted file mode 100644 index 7a75358d8a..0000000000 --- a/tests/bugs/modalg_6/bug27341_104 +++ /dev/null @@ -1,26 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload QAcommands - -restore [locate_data_file bug27341_save.brep] a - -set viewname "front" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 361.806 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_105 b/tests/bugs/modalg_6/bug27341_105 deleted file mode 100644 index 7d94f4e2a7..0000000000 --- a/tests/bugs/modalg_6/bug27341_105 +++ /dev/null @@ -1,26 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload QAcommands - -restore [locate_data_file bug27341_save.brep] a - -set viewname "back" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 430.307 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_106 b/tests/bugs/modalg_6/bug27341_106 deleted file mode 100644 index a6bb9564c9..0000000000 --- a/tests/bugs/modalg_6/bug27341_106 +++ /dev/null @@ -1,25 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload QAcommands - -restore [locate_data_file bug27341_save.brep] a - -set viewname "left" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 278.784 -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_107 b/tests/bugs/modalg_6/bug27341_107 deleted file mode 100644 index f8288a7be5..0000000000 --- a/tests/bugs/modalg_6/bug27341_107 +++ /dev/null @@ -1,25 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload QAcommands - -restore [locate_data_file bug27341_save.brep] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 337.535 -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_201 b/tests/bugs/modalg_6/bug27341_201 deleted file mode 100644 index f01e070440..0000000000 --- a/tests/bugs/modalg_6/bug27341_201 +++ /dev/null @@ -1,26 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload QAcommands - -restore [locate_data_file bug27341_hlrsave.brep] a - -set viewname "axo" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 6.34998 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_202 b/tests/bugs/modalg_6/bug27341_202 deleted file mode 100644 index 662e41d923..0000000000 --- a/tests/bugs/modalg_6/bug27341_202 +++ /dev/null @@ -1,26 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload QAcommands - -restore [locate_data_file bug27341_hlrsave.brep] a - -set viewname "top" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 8.05281 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_203 b/tests/bugs/modalg_6/bug27341_203 deleted file mode 100644 index 39b06610c8..0000000000 --- a/tests/bugs/modalg_6/bug27341_203 +++ /dev/null @@ -1,26 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload QAcommands - -restore [locate_data_file bug27341_hlrsave.brep] a - -set viewname "bottom" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 8.40409 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_204 b/tests/bugs/modalg_6/bug27341_204 deleted file mode 100644 index 7e1f0cf792..0000000000 --- a/tests/bugs/modalg_6/bug27341_204 +++ /dev/null @@ -1,26 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload QAcommands - -restore [locate_data_file bug27341_hlrsave.brep] a - -set viewname "front" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 7.39488 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_205 b/tests/bugs/modalg_6/bug27341_205 deleted file mode 100644 index 4a79f13a5c..0000000000 --- a/tests/bugs/modalg_6/bug27341_205 +++ /dev/null @@ -1,26 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload QAcommands - -restore [locate_data_file bug27341_hlrsave.brep] a - -set viewname "back" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 9.47163 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_206 b/tests/bugs/modalg_6/bug27341_206 deleted file mode 100644 index dbad2caa03..0000000000 --- a/tests/bugs/modalg_6/bug27341_206 +++ /dev/null @@ -1,26 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload QAcommands - -restore [locate_data_file bug27341_hlrsave.brep] a - -set viewname "left" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 7.42565 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_207 b/tests/bugs/modalg_6/bug27341_207 deleted file mode 100644 index 1f97fa4a58..0000000000 --- a/tests/bugs/modalg_6/bug27341_207 +++ /dev/null @@ -1,26 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload QAcommands - -restore [locate_data_file bug27341_hlrsave.brep] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 8.92009 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_301 b/tests/bugs/modalg_6/bug27341_301 deleted file mode 100644 index 687651302f..0000000000 --- a/tests/bugs/modalg_6/bug27341_301 +++ /dev/null @@ -1,27 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload XDE -pload QAcommands - -testreadstep [locate_data_file bug27341_15.3020_16B1_B3=90.stp] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 1030.62 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_302 b/tests/bugs/modalg_6/bug27341_302 deleted file mode 100644 index 6f8b330145..0000000000 --- a/tests/bugs/modalg_6/bug27341_302 +++ /dev/null @@ -1,27 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload XDE -pload QAcommands - -testreadstep [locate_data_file bug27341_211808_PCLNL12K8-15x32.stp] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 414.732 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_303 b/tests/bugs/modalg_6/bug27341_303 deleted file mode 100644 index 499859e15b..0000000000 --- a/tests/bugs/modalg_6/bug27341_303 +++ /dev/null @@ -1,27 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload XDE -pload QAcommands - -testreadstep [locate_data_file bug27341_570-DWLNL-40-08-L_131LANG_16VERSATZ_DIN.stp] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 3249.9 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_304 b/tests/bugs/modalg_6/bug27341_304 deleted file mode 100644 index 8eee09d087..0000000000 --- a/tests/bugs/modalg_6/bug27341_304 +++ /dev/null @@ -1,27 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload XDE -pload QAcommands - -testreadstep [locate_data_file bug27341_82-01_Solid_End_Mill_Radius_with_Shrink_Fit_and_extension_HeavyModel.stp] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 2867.9 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_305 b/tests/bugs/modalg_6/bug27341_305 deleted file mode 100644 index f29eda33cd..0000000000 --- a/tests/bugs/modalg_6/bug27341_305 +++ /dev/null @@ -1,27 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload XDE -pload QAcommands - -testreadstep [locate_data_file bug27341_ABS_Adapter_CAD.stp] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 1760.66 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_306 b/tests/bugs/modalg_6/bug27341_306 deleted file mode 100644 index 3a0795053b..0000000000 --- a/tests/bugs/modalg_6/bug27341_306 +++ /dev/null @@ -1,27 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload XDE -pload QAcommands - -testreadstep [locate_data_file bug27341_ABS_Grundhalter_CAD.stp] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 2893.98 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_307 b/tests/bugs/modalg_6/bug27341_307 deleted file mode 100644 index 03a12d15a5..0000000000 --- a/tests/bugs/modalg_6/bug27341_307 +++ /dev/null @@ -1,27 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload XDE -pload QAcommands - -testreadstep [locate_data_file bug27341_AIF_Grundhalter_GR1_CAD.stp] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 2282.11 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_308 b/tests/bugs/modalg_6/bug27341_308 deleted file mode 100644 index 36148b45ef..0000000000 --- a/tests/bugs/modalg_6/bug27341_308 +++ /dev/null @@ -1,27 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload XDE -pload QAcommands - -testreadstep [locate_data_file bug27341_AWN_Adapter_CAD.stp] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 1170.46 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_309 b/tests/bugs/modalg_6/bug27341_309 deleted file mode 100644 index 40ab15794d..0000000000 --- a/tests/bugs/modalg_6/bug27341_309 +++ /dev/null @@ -1,27 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload XDE -pload QAcommands - -testreadstep [locate_data_file bug27341_Adapter_MKG_SWS_CGS_CAD.stp] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 2010.95 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_310 b/tests/bugs/modalg_6/bug27341_310 deleted file mode 100644 index 109f518c5a..0000000000 --- a/tests/bugs/modalg_6/bug27341_310 +++ /dev/null @@ -1,27 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload XDE -pload QAcommands - -testreadstep [locate_data_file bug27341_Adapter_VDI_MKG_CAD.stp] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 778.117 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_311 b/tests/bugs/modalg_6/bug27341_311 deleted file mode 100644 index df8c7ae661..0000000000 --- a/tests/bugs/modalg_6/bug27341_311 +++ /dev/null @@ -1,27 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload XDE -pload QAcommands - -testreadstep [locate_data_file bug27341_Adapter_VLS_CAD.stp] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 1095.44 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_312 b/tests/bugs/modalg_6/bug27341_312 deleted file mode 100644 index c1b1a451af..0000000000 --- a/tests/bugs/modalg_6/bug27341_312 +++ /dev/null @@ -1,27 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload XDE -pload QAcommands - -testreadstep [locate_data_file bug27341_Adapter_Zylinder_2_CAD.stp] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 534.882 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_313 b/tests/bugs/modalg_6/bug27341_313 deleted file mode 100644 index 6e8504a8ed..0000000000 --- a/tests/bugs/modalg_6/bug27341_313 +++ /dev/null @@ -1,27 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload XDE -pload QAcommands - -testreadstep [locate_data_file bug27341_Assembly_ABS_1_CAD.stp] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 9662.5 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_314 b/tests/bugs/modalg_6/bug27341_314 deleted file mode 100644 index 15db7c54e0..0000000000 --- a/tests/bugs/modalg_6/bug27341_314 +++ /dev/null @@ -1,27 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload XDE -pload QAcommands - -testreadstep [locate_data_file bug27341_Assembly_BILZ_WFL2_1_CAD.stp] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 5934.34 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_315 b/tests/bugs/modalg_6/bug27341_315 deleted file mode 100644 index ed28044afc..0000000000 --- a/tests/bugs/modalg_6/bug27341_315 +++ /dev/null @@ -1,27 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload XDE -pload QAcommands - -testreadstep [locate_data_file bug27341_Assembly_GMS_Kurz_CAD.stp] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 5282.13 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_316 b/tests/bugs/modalg_6/bug27341_316 deleted file mode 100644 index 4bd81e317d..0000000000 --- a/tests/bugs/modalg_6/bug27341_316 +++ /dev/null @@ -1,27 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload XDE -pload QAcommands - -testreadstep [locate_data_file bug27341_CCS_Adapter_CAD.stp] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 1794.57 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_317 b/tests/bugs/modalg_6/bug27341_317 deleted file mode 100644 index ed1f3e80ce..0000000000 --- a/tests/bugs/modalg_6/bug27341_317 +++ /dev/null @@ -1,27 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload XDE -pload QAcommands - -testreadstep [locate_data_file bug27341_CCT_PMK_32_L_o_CAD.stp] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 2704.1 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_318 b/tests/bugs/modalg_6/bug27341_318 deleted file mode 100644 index 81090220e1..0000000000 --- a/tests/bugs/modalg_6/bug27341_318 +++ /dev/null @@ -1,26 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload XDE -pload QAcommands - -testreadstep [locate_data_file bug27341_CDI_Grundhalter_CAD.stp] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 2429.7 -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_319 b/tests/bugs/modalg_6/bug27341_319 deleted file mode 100644 index 80116e68bd..0000000000 --- a/tests/bugs/modalg_6/bug27341_319 +++ /dev/null @@ -1,27 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload XDE -pload QAcommands - -testreadstep [locate_data_file bug27341_CKB_Adapter_CAD.stp] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 755.552 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_320 b/tests/bugs/modalg_6/bug27341_320 deleted file mode 100644 index a5ca00361d..0000000000 --- a/tests/bugs/modalg_6/bug27341_320 +++ /dev/null @@ -1,27 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload XDE -pload QAcommands - -testreadstep [locate_data_file bug27341_Drehkopf_HSK_Gewinde_R_CAD.stp] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 1726.77 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_321 b/tests/bugs/modalg_6/bug27341_321 deleted file mode 100644 index 89bf58b2af..0000000000 --- a/tests/bugs/modalg_6/bug27341_321 +++ /dev/null @@ -1,27 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload XDE -pload QAcommands - -testreadstep [locate_data_file bug27341_Einsatz_BILZ_SEK_BFA_CAD.stp] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 949.574 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_322 b/tests/bugs/modalg_6/bug27341_322 deleted file mode 100644 index 928a6f98c7..0000000000 --- a/tests/bugs/modalg_6/bug27341_322 +++ /dev/null @@ -1,27 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload XDE -pload QAcommands - -testreadstep [locate_data_file bug27341_HEE_Grundhalter_CAD.stp] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 6584.94 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_323 b/tests/bugs/modalg_6/bug27341_323 deleted file mode 100644 index fa9359e43b..0000000000 --- a/tests/bugs/modalg_6/bug27341_323 +++ /dev/null @@ -1,27 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload XDE -pload QAcommands - -testreadstep [locate_data_file bug27341_KMM_Adapter_CAD.stp] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 813.531 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_324 b/tests/bugs/modalg_6/bug27341_324 deleted file mode 100644 index 1b67e22aca..0000000000 --- a/tests/bugs/modalg_6/bug27341_324 +++ /dev/null @@ -1,27 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload XDE -pload QAcommands - -testreadstep [locate_data_file bug27341_MZX_01_1_CAD.stp] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 211.007 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_325 b/tests/bugs/modalg_6/bug27341_325 deleted file mode 100644 index ed36b6e31d..0000000000 --- a/tests/bugs/modalg_6/bug27341_325 +++ /dev/null @@ -1,27 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload XDE -pload QAcommands - -testreadstep [locate_data_file bug27341_Rundrohrverteiler.stp] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 6115.27 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_326 b/tests/bugs/modalg_6/bug27341_326 deleted file mode 100644 index 548456981e..0000000000 --- a/tests/bugs/modalg_6/bug27341_326 +++ /dev/null @@ -1,27 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload XDE -pload QAcommands - -testreadstep [locate_data_file bug27341_SKJ_07_CAD.stp] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 521.037 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_327 b/tests/bugs/modalg_6/bug27341_327 deleted file mode 100644 index 6970b04c09..0000000000 --- a/tests/bugs/modalg_6/bug27341_327 +++ /dev/null @@ -1,27 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload XDE -pload QAcommands - -testreadstep [locate_data_file bug27341_conboom.stp] a - -set viewname "back" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 48596.2 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_328 b/tests/bugs/modalg_6/bug27341_328 deleted file mode 100644 index cdad56d987..0000000000 --- a/tests/bugs/modalg_6/bug27341_328 +++ /dev/null @@ -1,27 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload XDE -pload QAcommands - -testreadstep [locate_data_file bug27341_rhombisch_Form_V_IC_476_L_CAD.stp] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 40.3211 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27341_329 b/tests/bugs/modalg_6/bug27341_329 deleted file mode 100644 index 9254d692ce..0000000000 --- a/tests/bugs/modalg_6/bug27341_329 +++ /dev/null @@ -1,27 +0,0 @@ -puts "============" -puts "OCC27341" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload XDE -pload QAcommands - -testreadstep [locate_data_file bug27341_stp_ML_MN5260-18-K.stp] a - -set viewname "right" - -smallview -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 1126.76 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27719_101 b/tests/bugs/modalg_6/bug27719_101 deleted file mode 100644 index adce67af17..0000000000 --- a/tests/bugs/modalg_6/bug27719_101 +++ /dev/null @@ -1,26 +0,0 @@ -puts "============" -puts "OCC27719" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload QAcommands - -restore [locate_data_file bug27719_Extruded.brep] a - -set viewname "axo" - -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 4.04214 -checknbshapes result -vertex 16 -edge 8 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27719_102 b/tests/bugs/modalg_6/bug27719_102 deleted file mode 100644 index 2e06c7090b..0000000000 --- a/tests/bugs/modalg_6/bug27719_102 +++ /dev/null @@ -1,26 +0,0 @@ -puts "============" -puts "OCC27719" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload QAcommands - -restore [locate_data_file bug27719_Extruded.brep] a - -set viewname "top" - -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 5.79737 -checknbshapes result -vertex 22 -edge 11 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27719_103 b/tests/bugs/modalg_6/bug27719_103 deleted file mode 100644 index 1605872c26..0000000000 --- a/tests/bugs/modalg_6/bug27719_103 +++ /dev/null @@ -1,26 +0,0 @@ -puts "============" -puts "OCC27719" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload QAcommands - -restore [locate_data_file bug27719_Extruded.brep] a - -set viewname "bottom" - -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 6.15279 -checknbshapes result -vertex 22 -edge 11 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27719_104 b/tests/bugs/modalg_6/bug27719_104 deleted file mode 100644 index f7cab1b4dd..0000000000 --- a/tests/bugs/modalg_6/bug27719_104 +++ /dev/null @@ -1,26 +0,0 @@ -puts "============" -puts "OCC27719" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload QAcommands - -restore [locate_data_file bug27719_Extruded.brep] a - -set viewname "front" - -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 7.45731 -checknbshapes result -vertex 24 -edge 12 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27719_105 b/tests/bugs/modalg_6/bug27719_105 deleted file mode 100644 index 7f6237c5bf..0000000000 --- a/tests/bugs/modalg_6/bug27719_105 +++ /dev/null @@ -1,26 +0,0 @@ -puts "============" -puts "OCC27719" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload QAcommands - -restore [locate_data_file bug27719_Extruded.brep] a - -set viewname "back" - -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 7.48768 -checknbshapes result -vertex 22 -edge 11 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27719_201 b/tests/bugs/modalg_6/bug27719_201 deleted file mode 100644 index 4040e2eae6..0000000000 --- a/tests/bugs/modalg_6/bug27719_201 +++ /dev/null @@ -1,26 +0,0 @@ -puts "============" -puts "OCC27719" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload QAcommands - -restore [locate_data_file bug27719_Extruded2.brep] a - -set viewname "axo" - -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 4.53263 -checknbshapes result -vertex 14 -edge 7 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27719_202 b/tests/bugs/modalg_6/bug27719_202 deleted file mode 100644 index 4f625ad0c7..0000000000 --- a/tests/bugs/modalg_6/bug27719_202 +++ /dev/null @@ -1,26 +0,0 @@ -puts "============" -puts "OCC27719" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload QAcommands - -restore [locate_data_file bug27719_Extruded2.brep] a - -set viewname "top" - -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 4.79563 -checknbshapes result -vertex 16 -edge 8 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27719_203 b/tests/bugs/modalg_6/bug27719_203 deleted file mode 100644 index dc56153149..0000000000 --- a/tests/bugs/modalg_6/bug27719_203 +++ /dev/null @@ -1,26 +0,0 @@ -puts "============" -puts "OCC27719" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload QAcommands - -restore [locate_data_file bug27719_Extruded2.brep] a - -set viewname "bottom" - -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 4.64864 -checknbshapes result -vertex 16 -edge 8 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27719_204 b/tests/bugs/modalg_6/bug27719_204 deleted file mode 100644 index 59fc854d78..0000000000 --- a/tests/bugs/modalg_6/bug27719_204 +++ /dev/null @@ -1,26 +0,0 @@ -puts "============" -puts "OCC27719" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload QAcommands - -restore [locate_data_file bug27719_Extruded2.brep] a - -set viewname "front" - -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 5.96312 -checknbshapes result -vertex 16 -edge 8 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27719_205 b/tests/bugs/modalg_6/bug27719_205 deleted file mode 100644 index 8a9b983a28..0000000000 --- a/tests/bugs/modalg_6/bug27719_205 +++ /dev/null @@ -1,26 +0,0 @@ -puts "============" -puts "OCC27719" -puts "============" -puts "" -###################################################### -# Incorrect exact HLR results -###################################################### - -pload QAcommands - -restore [locate_data_file bug27719_Extruded2.brep] a - -set viewname "back" - -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 5.61843 -checknbshapes result -vertex 16 -edge 8 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27720_1 b/tests/bugs/modalg_6/bug27720_1 deleted file mode 100644 index 2174d9324d..0000000000 --- a/tests/bugs/modalg_6/bug27720_1 +++ /dev/null @@ -1,26 +0,0 @@ -puts "============" -puts "OCC27720" -puts "============" -puts "" -###################################################### -# HLRBrep_Algo BSpline missing edges -###################################################### - -pload QAcommands - -restore [locate_data_file bug27720_BSpline.brep] a - -set viewname "axo" - -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 0.883462 -checknbshapes result -vertex 84 -edge 42 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27720_2 b/tests/bugs/modalg_6/bug27720_2 deleted file mode 100644 index cf5eb73a64..0000000000 --- a/tests/bugs/modalg_6/bug27720_2 +++ /dev/null @@ -1,26 +0,0 @@ -puts "============" -puts "OCC27720" -puts "============" -puts "" -###################################################### -# HLRBrep_Algo BSpline missing edges -###################################################### - -pload QAcommands - -restore [locate_data_file bug27720_BSpline.brep] a - -set viewname "top" - -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 0.980943 -checknbshapes result -vertex 60 -edge 30 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27720_3 b/tests/bugs/modalg_6/bug27720_3 deleted file mode 100644 index 2c4702119d..0000000000 --- a/tests/bugs/modalg_6/bug27720_3 +++ /dev/null @@ -1,26 +0,0 @@ -puts "============" -puts "OCC27720" -puts "============" -puts "" -###################################################### -# HLRBrep_Algo BSpline missing edges -###################################################### - -pload QAcommands - -restore [locate_data_file bug27720_BSpline.brep] a - -set viewname "bottom" - -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 0.958458 -checknbshapes result -vertex 54 -edge 27 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27720_4 b/tests/bugs/modalg_6/bug27720_4 deleted file mode 100644 index da1b3e3b34..0000000000 --- a/tests/bugs/modalg_6/bug27720_4 +++ /dev/null @@ -1,26 +0,0 @@ -puts "============" -puts "OCC27720" -puts "============" -puts "" -###################################################### -# HLRBrep_Algo BSpline missing edges -###################################################### - -pload QAcommands - -restore [locate_data_file bug27720_BSpline.brep] a - -set viewname "left" - -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 0.820309 -checknbshapes result -vertex 70 -edge 35 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_6/bug27720_5 b/tests/bugs/modalg_6/bug27720_5 deleted file mode 100644 index 167ba2a564..0000000000 --- a/tests/bugs/modalg_6/bug27720_5 +++ /dev/null @@ -1,26 +0,0 @@ -puts "============" -puts "OCC27720" -puts "============" -puts "" -###################################################### -# HLRBrep_Algo BSpline missing edges -###################################################### - -pload QAcommands - -restore [locate_data_file bug27720_BSpline.brep] a - -set viewname "right" - -top -clear - -OCC27341 result a ${viewname} -build3d result - -fit - -checkprops result -l 0.841499 -checknbshapes result -vertex 92 -edge 46 - -checkview -screenshot -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/modalg_7/bug29956 b/tests/bugs/modalg_7/bug29956 deleted file mode 100644 index f7cdcb4d3e..0000000000 --- a/tests/bugs/modalg_7/bug29956 +++ /dev/null @@ -1,14 +0,0 @@ -puts "========" -puts "0029956: HLR polygonal algorithm: regression in 7.1 relative to 7.0" -puts "========" -puts "" - -pload XSDRAW -testreadstep [locate_data_file example_auto_tooling_01.stp] s -vinit -vdisplay s -vfit -vhlrtype polyAlgo s -vhlr on - -vdump ${imagedir}/${casename}.png diff --git a/tests/bugs/modalg_7/bug30243 b/tests/bugs/modalg_7/bug30243 deleted file mode 100644 index 8dc14239e1..0000000000 --- a/tests/bugs/modalg_7/bug30243 +++ /dev/null @@ -1,14 +0,0 @@ -puts "========" -puts "0030243: Regression in HLR PolyAlgo in OCCT 7.1.0" -puts "========" -puts "" - -pload XSDRAW -testreadstep [locate_data_file BFC_10000.stp] s -vinit -vdisplay s -vfit -vhlrtype polyAlgo s -vhlr on - -vdump ${imagedir}/${casename}.png diff --git a/tests/hlr/begin b/tests/hlr/begin new file mode 100644 index 0000000000..c06d28ab84 --- /dev/null +++ b/tests/hlr/begin @@ -0,0 +1,22 @@ +pload TOPTEST +pload XDE +pload VISUALIZATION + +if { [info exists imagedir] == 0 } { + set imagedir . +} + +set depsilon 1.e-7 + +proc COMPUTE_HLR {viewname algotype} { + uplevel #0 top + uplevel #0 clear + uplevel #0 vinit + uplevel #0 vdisplay a + uplevel #0 $viewname + uplevel #0 vcomputehlr a result -algoType $algotype + uplevel #0 fit + if { [string compare $algotype "algo"] == 0 } { + uplevel #0 build3d result + } +} \ No newline at end of file diff --git a/tests/hlr/end b/tests/hlr/end new file mode 100644 index 0000000000..c285324237 --- /dev/null +++ b/tests/hlr/end @@ -0,0 +1,6 @@ +checkprops result -l ${length} -deps ${depsilon} + +checkview -screenshot -2d -path ${imagedir}/${test_image}.png + +# to end a test script +puts "TEST COMPLETED" diff --git a/tests/hlr/exact_hlr/A1 b/tests/hlr/exact_hlr/A1 new file mode 100644 index 0000000000..f3f8d3c64e --- /dev/null +++ b/tests/hlr/exact_hlr/A1 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27341: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "" +set length 6.34984 + +restore [locate_data_file bug27341_hlrsave.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/A2 b/tests/hlr/exact_hlr/A2 new file mode 100644 index 0000000000..10ee423db7 --- /dev/null +++ b/tests/hlr/exact_hlr/A2 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27341: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vtop" +set length 8.05281 + +restore [locate_data_file bug27341_hlrsave.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/A3 b/tests/hlr/exact_hlr/A3 new file mode 100644 index 0000000000..75441c8cff --- /dev/null +++ b/tests/hlr/exact_hlr/A3 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27341: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vbottom" +set length 8.40404 + +restore [locate_data_file bug27341_hlrsave.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/A4 b/tests/hlr/exact_hlr/A4 new file mode 100644 index 0000000000..38c471be13 --- /dev/null +++ b/tests/hlr/exact_hlr/A4 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27341: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vfront" +set length 7.39488 + +restore [locate_data_file bug27341_hlrsave.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/A5 b/tests/hlr/exact_hlr/A5 new file mode 100644 index 0000000000..1c06c45e44 --- /dev/null +++ b/tests/hlr/exact_hlr/A5 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27341: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vback" +set length 9.47163 + +restore [locate_data_file bug27341_hlrsave.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/A6 b/tests/hlr/exact_hlr/A6 new file mode 100644 index 0000000000..302ffd04ae --- /dev/null +++ b/tests/hlr/exact_hlr/A6 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27341: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vleft" +set length 7.42565 + +restore [locate_data_file bug27341_hlrsave.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/A7 b/tests/hlr/exact_hlr/A7 new file mode 100644 index 0000000000..6d604e637d --- /dev/null +++ b/tests/hlr/exact_hlr/A7 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27341: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vright" +set length 8.92009 + +restore [locate_data_file bug27341_hlrsave.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/B1 b/tests/hlr/exact_hlr/B1 new file mode 100644 index 0000000000..5c8958ca65 --- /dev/null +++ b/tests/hlr/exact_hlr/B1 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27341: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "" +set length 319.505 + +restore [locate_data_file bug27341_save.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/B2 b/tests/hlr/exact_hlr/B2 new file mode 100644 index 0000000000..607c7fc8e3 --- /dev/null +++ b/tests/hlr/exact_hlr/B2 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27341: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vtop" +set length 291.123 + +restore [locate_data_file bug27341_save.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/B3 b/tests/hlr/exact_hlr/B3 new file mode 100644 index 0000000000..8ddfef3593 --- /dev/null +++ b/tests/hlr/exact_hlr/B3 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27341: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vbottom" +set length 334.113 + +restore [locate_data_file bug27341_save.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/B4 b/tests/hlr/exact_hlr/B4 new file mode 100644 index 0000000000..83783a935d --- /dev/null +++ b/tests/hlr/exact_hlr/B4 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27341: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vfront" +set length 361.806 + +restore [locate_data_file bug27341_save.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/B5 b/tests/hlr/exact_hlr/B5 new file mode 100644 index 0000000000..c0ba999fd3 --- /dev/null +++ b/tests/hlr/exact_hlr/B5 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27341: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vback" +set length 430.307 + +restore [locate_data_file bug27341_save.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/B6 b/tests/hlr/exact_hlr/B6 new file mode 100644 index 0000000000..0b0d86a569 --- /dev/null +++ b/tests/hlr/exact_hlr/B6 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27341: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vleft" +set length 278.789 + +restore [locate_data_file bug27341_save.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/B7 b/tests/hlr/exact_hlr/B7 new file mode 100644 index 0000000000..ec3775f621 --- /dev/null +++ b/tests/hlr/exact_hlr/B7 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27341: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vright" +set length 337.54 + +restore [locate_data_file bug27341_save.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C1 b/tests/hlr/exact_hlr/C1 new file mode 100644 index 0000000000..e4a55a7752 --- /dev/null +++ b/tests/hlr/exact_hlr/C1 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 1038.62 + +testreadstep [locate_data_file bug27341_15.3020_16B1_B3=90.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C10 b/tests/hlr/exact_hlr/C10 new file mode 100644 index 0000000000..574cb1089d --- /dev/null +++ b/tests/hlr/exact_hlr/C10 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 778.091 + +testreadstep [locate_data_file bug27341_Adapter_VDI_MKG_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C11 b/tests/hlr/exact_hlr/C11 new file mode 100644 index 0000000000..77d493ff45 --- /dev/null +++ b/tests/hlr/exact_hlr/C11 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 1095.44 + +testreadstep [locate_data_file bug27341_Adapter_VLS_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C12 b/tests/hlr/exact_hlr/C12 new file mode 100644 index 0000000000..85bb589aa0 --- /dev/null +++ b/tests/hlr/exact_hlr/C12 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 533.738 + +testreadstep [locate_data_file bug27341_Adapter_Zylinder_2_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C13 b/tests/hlr/exact_hlr/C13 new file mode 100644 index 0000000000..6f702cdfd2 --- /dev/null +++ b/tests/hlr/exact_hlr/C13 @@ -0,0 +1,7 @@ +puts "TODO OCC30286 ALL: Error : The length of result shape is 9589.21, expected 9547.11" + +set viewname "vright" +set length 9547.11 + +testreadstep [locate_data_file bug27341_Assembly_ABS_1_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C14 b/tests/hlr/exact_hlr/C14 new file mode 100644 index 0000000000..d76f362c2a --- /dev/null +++ b/tests/hlr/exact_hlr/C14 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 5934.34 + +testreadstep [locate_data_file bug27341_Assembly_BILZ_WFL2_1_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C15 b/tests/hlr/exact_hlr/C15 new file mode 100644 index 0000000000..bd4c2ad700 --- /dev/null +++ b/tests/hlr/exact_hlr/C15 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 5282.13 + +testreadstep [locate_data_file bug27341_Assembly_GMS_Kurz_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C16 b/tests/hlr/exact_hlr/C16 new file mode 100644 index 0000000000..646a182ae2 --- /dev/null +++ b/tests/hlr/exact_hlr/C16 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 1794.57 + +testreadstep [locate_data_file bug27341_CCS_Adapter_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C17 b/tests/hlr/exact_hlr/C17 new file mode 100644 index 0000000000..cbc5089e8c --- /dev/null +++ b/tests/hlr/exact_hlr/C17 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 2704.1 + +testreadstep [locate_data_file bug27341_CCT_PMK_32_L_o_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C18 b/tests/hlr/exact_hlr/C18 new file mode 100644 index 0000000000..1c84701c76 --- /dev/null +++ b/tests/hlr/exact_hlr/C18 @@ -0,0 +1,7 @@ +puts "TODO OCC30286 Windows: Error : The length of result shape is 2409.86, expected 2418.08" + +set viewname "vright" +set length 2418.08 + +testreadstep [locate_data_file bug27341_CDI_Grundhalter_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C19 b/tests/hlr/exact_hlr/C19 new file mode 100644 index 0000000000..9ccc39a408 --- /dev/null +++ b/tests/hlr/exact_hlr/C19 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 753.392 + +testreadstep [locate_data_file bug27341_CKB_Adapter_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C2 b/tests/hlr/exact_hlr/C2 new file mode 100644 index 0000000000..686bdb88a9 --- /dev/null +++ b/tests/hlr/exact_hlr/C2 @@ -0,0 +1,7 @@ +puts "TODO OCC30286 ALL: Error : The length of result shape is 414.732, expected 443.438" + +set viewname "vright" +set length 443.438 + +testreadstep [locate_data_file bug27341_211808_PCLNL12K8-15x32.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C20 b/tests/hlr/exact_hlr/C20 new file mode 100644 index 0000000000..741d9a04e6 --- /dev/null +++ b/tests/hlr/exact_hlr/C20 @@ -0,0 +1,7 @@ +puts "TODO OCC30286 ALL: Error : The length of result shape is 1736.91, expected 1704.87" + +set viewname "vright" +set length 1704.87 + +testreadstep [locate_data_file bug27341_Drehkopf_HSK_Gewinde_R_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C21 b/tests/hlr/exact_hlr/C21 new file mode 100644 index 0000000000..c2f56c04b1 --- /dev/null +++ b/tests/hlr/exact_hlr/C21 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 949.573 + +testreadstep [locate_data_file bug27341_Einsatz_BILZ_SEK_BFA_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C22 b/tests/hlr/exact_hlr/C22 new file mode 100644 index 0000000000..dca720f085 --- /dev/null +++ b/tests/hlr/exact_hlr/C22 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 6601.8 + +testreadstep [locate_data_file bug27341_HEE_Grundhalter_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C23 b/tests/hlr/exact_hlr/C23 new file mode 100644 index 0000000000..7d07a385a2 --- /dev/null +++ b/tests/hlr/exact_hlr/C23 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 813.531 + +testreadstep [locate_data_file bug27341_KMM_Adapter_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C24 b/tests/hlr/exact_hlr/C24 new file mode 100644 index 0000000000..8dd3fe7b7b --- /dev/null +++ b/tests/hlr/exact_hlr/C24 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 211.007 + +testreadstep [locate_data_file bug27341_MZX_01_1_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C25 b/tests/hlr/exact_hlr/C25 new file mode 100644 index 0000000000..8346759033 --- /dev/null +++ b/tests/hlr/exact_hlr/C25 @@ -0,0 +1,7 @@ +puts "TODO OCC30286 ALL: Error : The length of result shape is 6115.27, expected 6040.95" + +set viewname "vright" +set length 6040.95 + +testreadstep [locate_data_file bug27341_Rundrohrverteiler.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C26 b/tests/hlr/exact_hlr/C26 new file mode 100644 index 0000000000..2604aaa70b --- /dev/null +++ b/tests/hlr/exact_hlr/C26 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 521.037 + +testreadstep [locate_data_file bug27341_SKJ_07_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C27 b/tests/hlr/exact_hlr/C27 new file mode 100644 index 0000000000..bae10a503f --- /dev/null +++ b/tests/hlr/exact_hlr/C27 @@ -0,0 +1,5 @@ +set viewname "vback" +set length 48596.2 + +testreadstep [locate_data_file bug27341_conboom.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C28 b/tests/hlr/exact_hlr/C28 new file mode 100644 index 0000000000..0ac9ec8dc3 --- /dev/null +++ b/tests/hlr/exact_hlr/C28 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 40.3211 + +testreadstep [locate_data_file bug27341_rhombisch_Form_V_IC_476_L_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C29 b/tests/hlr/exact_hlr/C29 new file mode 100644 index 0000000000..8e21038008 --- /dev/null +++ b/tests/hlr/exact_hlr/C29 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 1130.88 + +testreadstep [locate_data_file bug27341_stp_ML_MN5260-18-K.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C3 b/tests/hlr/exact_hlr/C3 new file mode 100644 index 0000000000..5211d9ca17 --- /dev/null +++ b/tests/hlr/exact_hlr/C3 @@ -0,0 +1,7 @@ +puts "TODO OCC30286 Linux: Error : The length of result shape is 3249.9, expected 3234.6" + +set viewname "vright" +set length 3234.6 + +testreadstep [locate_data_file bug27341_570-DWLNL-40-08-L_131LANG_16VERSATZ_DIN.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C4 b/tests/hlr/exact_hlr/C4 new file mode 100644 index 0000000000..fbb6a45ea4 --- /dev/null +++ b/tests/hlr/exact_hlr/C4 @@ -0,0 +1,7 @@ +puts "TODO OCC30286 ALL: Error : The length of result shape is 2894.57, expected 2765.47" + +set viewname "vright" +set length 2765.47 + +testreadstep [locate_data_file bug27341_82-01_Solid_End_Mill_Radius_with_Shrink_Fit_and_extension_HeavyModel.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C5 b/tests/hlr/exact_hlr/C5 new file mode 100644 index 0000000000..298995c09e --- /dev/null +++ b/tests/hlr/exact_hlr/C5 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 1750.87 + +testreadstep [locate_data_file bug27341_ABS_Adapter_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C6 b/tests/hlr/exact_hlr/C6 new file mode 100644 index 0000000000..5e9efd8b78 --- /dev/null +++ b/tests/hlr/exact_hlr/C6 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 2874.5 + +testreadstep [locate_data_file bug27341_ABS_Grundhalter_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C7 b/tests/hlr/exact_hlr/C7 new file mode 100644 index 0000000000..00082a5d4a --- /dev/null +++ b/tests/hlr/exact_hlr/C7 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 2282.64 + +testreadstep [locate_data_file bug27341_AIF_Grundhalter_GR1_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C8 b/tests/hlr/exact_hlr/C8 new file mode 100644 index 0000000000..2f79eeb767 --- /dev/null +++ b/tests/hlr/exact_hlr/C8 @@ -0,0 +1,7 @@ +puts "TODO OCC30286 ALL: Error : The length of result shape is 1170.46, expected 1154.09" + +set viewname "vright" +set length 1154.09 + +testreadstep [locate_data_file bug27341_AWN_Adapter_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C9 b/tests/hlr/exact_hlr/C9 new file mode 100644 index 0000000000..58328a270f --- /dev/null +++ b/tests/hlr/exact_hlr/C9 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 2010.95 + +testreadstep [locate_data_file bug27341_Adapter_MKG_SWS_CGS_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/D1 b/tests/hlr/exact_hlr/D1 new file mode 100644 index 0000000000..5888b5dea6 --- /dev/null +++ b/tests/hlr/exact_hlr/D1 @@ -0,0 +1,10 @@ +puts "============" +puts "OCC25908" +puts "============" +puts "" + +set viewname "" +set length 1051.33 + +restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/D2 b/tests/hlr/exact_hlr/D2 new file mode 100644 index 0000000000..e3e412e0d3 --- /dev/null +++ b/tests/hlr/exact_hlr/D2 @@ -0,0 +1,10 @@ +puts "============" +puts "OCC25908" +puts "============" +puts "" + +set viewname "vtop" +set length 385.563 + +restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/D3 b/tests/hlr/exact_hlr/D3 new file mode 100644 index 0000000000..5a831d889e --- /dev/null +++ b/tests/hlr/exact_hlr/D3 @@ -0,0 +1,10 @@ +puts "============" +puts "OCC25908" +puts "============" +puts "" + +set viewname "vbottom" +set length 193.345 + +restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/D4 b/tests/hlr/exact_hlr/D4 new file mode 100644 index 0000000000..e76af23e10 --- /dev/null +++ b/tests/hlr/exact_hlr/D4 @@ -0,0 +1,10 @@ +puts "============" +puts "OCC25908" +puts "============" +puts "" + +set viewname "vfront" +set length 484.485 + +restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/D5 b/tests/hlr/exact_hlr/D5 new file mode 100644 index 0000000000..072138288b --- /dev/null +++ b/tests/hlr/exact_hlr/D5 @@ -0,0 +1,10 @@ +puts "============" +puts "OCC25908" +puts "============" +puts "" + +set viewname "vback" +set length 544.616 + +restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/D6 b/tests/hlr/exact_hlr/D6 new file mode 100644 index 0000000000..be39da063a --- /dev/null +++ b/tests/hlr/exact_hlr/D6 @@ -0,0 +1,10 @@ +puts "============" +puts "OCC25908" +puts "============" +puts "" + +set viewname "vleft" +set length 577.935 + +restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/D7 b/tests/hlr/exact_hlr/D7 new file mode 100644 index 0000000000..d1e93323b9 --- /dev/null +++ b/tests/hlr/exact_hlr/D7 @@ -0,0 +1,10 @@ +puts "============" +puts "OCC25908" +puts "============" +puts "" + +set viewname "vright" +set length 554.265 + +restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/Plate b/tests/hlr/exact_hlr/Plate new file mode 100644 index 0000000000..7275c5623c --- /dev/null +++ b/tests/hlr/exact_hlr/Plate @@ -0,0 +1,20 @@ +polyline f1 0 0 0 0 -10 0 100 -10 0 100 0 0 0 0 0 +polyline f2 100 0 0 110 0 0 110 100 0 100 100 0 100 0 0 +polyline f3 100 100 0 100 110 0 0 110 0 0 100 0 100 100 0 +polyline f4 0 100 0 -10 100 0 -10 0 0 0 0 0 0 100 0 +mkplane f1 f1 +mkplane f2 f2 +mkplane f3 f3 +mkplane f4 f4 +explode f1 e +explode f2 e +explode f3 e +explode f4 e +point pp 50 50 100 +filling a 4 0 1 f1_4 f1 1 f2_4 f2 1 f3_4 f3 1 f4_4 f4 1 pp 0 + +set viewname "" +set length 404.283 +set depsilon 1.e-2 + +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/begin b/tests/hlr/exact_hlr/begin new file mode 100644 index 0000000000..75efe8d56c --- /dev/null +++ b/tests/hlr/exact_hlr/begin @@ -0,0 +1 @@ +set algotype "algo" \ No newline at end of file diff --git a/tests/hlr/exact_hlr/bug25813_1 b/tests/hlr/exact_hlr/bug25813_1 new file mode 100644 index 0000000000..b8780a3c39 --- /dev/null +++ b/tests/hlr/exact_hlr/bug25813_1 @@ -0,0 +1,14 @@ +puts "===========================================" +puts "OCC25813: regression in Hidden Line Removal" +puts "===========================================" +puts "" + +set viewname "" +set length 204.19 + +pcylinder cc 10 30 +pcylinder cc2 8 50 +ttranslate cc2 0 0 2 +bfuse a cc cc2 + +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug25813_2 b/tests/hlr/exact_hlr/bug25813_2 new file mode 100644 index 0000000000..862608f4b9 --- /dev/null +++ b/tests/hlr/exact_hlr/bug25813_2 @@ -0,0 +1,10 @@ +puts "===========================================" +puts "OCC25813: regression in Hidden Line Removal" +puts "===========================================" +puts "" + +set viewname "" +set length 3053.49 + +restore [locate_data_file bug25813_hlr-bus1-draw-Fusion001.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug25813_3 b/tests/hlr/exact_hlr/bug25813_3 new file mode 100644 index 0000000000..68de3056e9 --- /dev/null +++ b/tests/hlr/exact_hlr/bug25813_3 @@ -0,0 +1,11 @@ +puts "===========================================" +puts "OCC25813: regression in Hidden Line Removal" +puts "===========================================" +puts "" + +set viewname "" +set length 302.685 + +ptorus a 30 10 + +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug25813_4 b/tests/hlr/exact_hlr/bug25813_4 new file mode 100644 index 0000000000..503d37b818 --- /dev/null +++ b/tests/hlr/exact_hlr/bug25813_4 @@ -0,0 +1,10 @@ +puts "===========================================" +puts "OCC25813: regression in Hidden Line Removal" +puts "===========================================" +puts "" + +set viewname "" +set length 1197.37 + +restore [locate_data_file bug25813_hlr-test_normandc1m1-draw-Cut001.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug25813_5 b/tests/hlr/exact_hlr/bug25813_5 new file mode 100644 index 0000000000..868e072aaf --- /dev/null +++ b/tests/hlr/exact_hlr/bug25813_5 @@ -0,0 +1,10 @@ +puts "===========================================" +puts "OCC25813: regression in Hidden Line Removal" +puts "===========================================" +puts "" + +set viewname "" +set length 1284.73 + +restore [locate_data_file bug25813_hlr-fillet2-tcl-f.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27719_101 b/tests/hlr/exact_hlr/bug27719_101 new file mode 100644 index 0000000000..281727e19c --- /dev/null +++ b/tests/hlr/exact_hlr/bug27719_101 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27719: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "" +set length 4.04214 + +restore [locate_data_file bug27719_Extruded.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27719_102 b/tests/hlr/exact_hlr/bug27719_102 new file mode 100644 index 0000000000..7c0f22ad6e --- /dev/null +++ b/tests/hlr/exact_hlr/bug27719_102 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27719: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vtop" +set length 5.79737 + +restore [locate_data_file bug27719_Extruded.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27719_103 b/tests/hlr/exact_hlr/bug27719_103 new file mode 100644 index 0000000000..a68f9ebd0b --- /dev/null +++ b/tests/hlr/exact_hlr/bug27719_103 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27719: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vbottom" +set length 6.15279 + +restore [locate_data_file bug27719_Extruded.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27719_104 b/tests/hlr/exact_hlr/bug27719_104 new file mode 100644 index 0000000000..838d26a63a --- /dev/null +++ b/tests/hlr/exact_hlr/bug27719_104 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27719: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vfront" +set length 7.45731 + +restore [locate_data_file bug27719_Extruded.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27719_105 b/tests/hlr/exact_hlr/bug27719_105 new file mode 100644 index 0000000000..821932aedf --- /dev/null +++ b/tests/hlr/exact_hlr/bug27719_105 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27719: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vback" +set length 7.48768 + +restore [locate_data_file bug27719_Extruded.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27719_201 b/tests/hlr/exact_hlr/bug27719_201 new file mode 100644 index 0000000000..16d29271b6 --- /dev/null +++ b/tests/hlr/exact_hlr/bug27719_201 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27719: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "" +set length 4.53263 + +restore [locate_data_file bug27719_Extruded2.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27719_202 b/tests/hlr/exact_hlr/bug27719_202 new file mode 100644 index 0000000000..97fdf8f336 --- /dev/null +++ b/tests/hlr/exact_hlr/bug27719_202 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27719: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vtop" +set length 4.79563 + +restore [locate_data_file bug27719_Extruded2.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27719_203 b/tests/hlr/exact_hlr/bug27719_203 new file mode 100644 index 0000000000..3f1b4fc688 --- /dev/null +++ b/tests/hlr/exact_hlr/bug27719_203 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27719: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vbottom" +set length 4.64864 + +restore [locate_data_file bug27719_Extruded2.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27719_204 b/tests/hlr/exact_hlr/bug27719_204 new file mode 100644 index 0000000000..103c0b2da5 --- /dev/null +++ b/tests/hlr/exact_hlr/bug27719_204 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27719: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vfront" +set length 5.96312 + +restore [locate_data_file bug27719_Extruded2.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27719_205 b/tests/hlr/exact_hlr/bug27719_205 new file mode 100644 index 0000000000..8f5eb73e64 --- /dev/null +++ b/tests/hlr/exact_hlr/bug27719_205 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27719: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vback" +set length 5.61843 + +restore [locate_data_file bug27719_Extruded2.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27720_1 b/tests/hlr/exact_hlr/bug27720_1 new file mode 100644 index 0000000000..a05f26d6f6 --- /dev/null +++ b/tests/hlr/exact_hlr/bug27720_1 @@ -0,0 +1,10 @@ +puts "============================================" +puts "OCC27720: HLRBrep_Algo BSpline missing edges" +puts "============================================" +puts "" + +set viewname "" +set length 0.883462 + +restore [locate_data_file bug27720_BSpline.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27720_2 b/tests/hlr/exact_hlr/bug27720_2 new file mode 100644 index 0000000000..9124e5debc --- /dev/null +++ b/tests/hlr/exact_hlr/bug27720_2 @@ -0,0 +1,10 @@ +puts "============================================" +puts "OCC27720: HLRBrep_Algo BSpline missing edges" +puts "============================================" +puts "" + +set viewname "vtop" +set length 0.980943 + +restore [locate_data_file bug27720_BSpline.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27720_3 b/tests/hlr/exact_hlr/bug27720_3 new file mode 100644 index 0000000000..9bdf1189a1 --- /dev/null +++ b/tests/hlr/exact_hlr/bug27720_3 @@ -0,0 +1,10 @@ +puts "============================================" +puts "OCC27720: HLRBrep_Algo BSpline missing edges" +puts "============================================" +puts "" + +set viewname "vbottom" +set length 0.958458 + +restore [locate_data_file bug27720_BSpline.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27720_4 b/tests/hlr/exact_hlr/bug27720_4 new file mode 100644 index 0000000000..8cbfb5b2ed --- /dev/null +++ b/tests/hlr/exact_hlr/bug27720_4 @@ -0,0 +1,10 @@ +puts "============================================" +puts "OCC27720: HLRBrep_Algo BSpline missing edges" +puts "============================================" +puts "" + +set viewname "vleft" +set length 0.81982 + +restore [locate_data_file bug27720_BSpline.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27720_5 b/tests/hlr/exact_hlr/bug27720_5 new file mode 100644 index 0000000000..a95ffe624d --- /dev/null +++ b/tests/hlr/exact_hlr/bug27720_5 @@ -0,0 +1,10 @@ +puts "============================================" +puts "OCC27720: HLRBrep_Algo BSpline missing edges" +puts "============================================" +puts "" + +set viewname "vright" +set length 0.841234 + +restore [locate_data_file bug27720_BSpline.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27979_1 b/tests/hlr/exact_hlr/bug27979_1 new file mode 100644 index 0000000000..5e14cdf67f --- /dev/null +++ b/tests/hlr/exact_hlr/bug27979_1 @@ -0,0 +1,12 @@ +puts "TODO OCC30286 ALL: Error : The length of result shape is 181.598, expected 3." + +puts "========================================================================" +puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo" +puts "========================================================================" +puts "" + +set viewname "" +set length 3. + +restore [locate_data_file bug27979_parsed.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27979_2 b/tests/hlr/exact_hlr/bug27979_2 new file mode 100644 index 0000000000..1ac57711c2 --- /dev/null +++ b/tests/hlr/exact_hlr/bug27979_2 @@ -0,0 +1,12 @@ +puts "TODO OCC30286 ALL: Error : The length of result shape is 321.825, expected 12." + +puts "========================================================================" +puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo" +puts "========================================================================" +puts "" + +set viewname "vtop" +set length 12. + +restore [locate_data_file bug27979_parsed.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27979_3 b/tests/hlr/exact_hlr/bug27979_3 new file mode 100644 index 0000000000..3a23feae00 --- /dev/null +++ b/tests/hlr/exact_hlr/bug27979_3 @@ -0,0 +1,12 @@ +puts "TODO OCC30286 ALL: Error : The length of result shape is 312.099, expected 4." + +puts "========================================================================" +puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo" +puts "========================================================================" +puts "" + +set viewname "vbottom" +set length 4. + +restore [locate_data_file bug27979_parsed.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27979_4 b/tests/hlr/exact_hlr/bug27979_4 new file mode 100644 index 0000000000..ef69971800 --- /dev/null +++ b/tests/hlr/exact_hlr/bug27979_4 @@ -0,0 +1,12 @@ +puts "TODO OCC30286 ALL: Error : The length of result shape is 30.4915, expected 11." + +puts "========================================================================" +puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo" +puts "========================================================================" +puts "" + +set viewname "vfront" +set length 11. + +restore [locate_data_file bug27979_parsed.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27979_5 b/tests/hlr/exact_hlr/bug27979_5 new file mode 100644 index 0000000000..47505cd04d --- /dev/null +++ b/tests/hlr/exact_hlr/bug27979_5 @@ -0,0 +1,12 @@ +puts "TODO OCC30286 ALL: Error : The length of result shape is 746.103, expected 4." + +puts "========================================================================" +puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo" +puts "========================================================================" +puts "" + +set viewname "vback" +set length 4. + +restore [locate_data_file bug27979_parsed.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27979_6 b/tests/hlr/exact_hlr/bug27979_6 new file mode 100644 index 0000000000..c758e0c073 --- /dev/null +++ b/tests/hlr/exact_hlr/bug27979_6 @@ -0,0 +1,12 @@ +puts "TODO OCC30286 ALL: Error : The length of result shape is 227257, expected 11." + +puts "========================================================================" +puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo" +puts "========================================================================" +puts "" + +set viewname "vleft" +set length 11. + +restore [locate_data_file bug27979_parsed.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27979_7 b/tests/hlr/exact_hlr/bug27979_7 new file mode 100644 index 0000000000..68f397463b --- /dev/null +++ b/tests/hlr/exact_hlr/bug27979_7 @@ -0,0 +1,12 @@ +puts "TODO OCC30286 ALL: Error : The length of result shape is 227122, expected 3." + +puts "========================================================================" +puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo" +puts "========================================================================" +puts "" + +set viewname "vright" +set length 3. + +restore [locate_data_file bug27979_parsed.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug29956 b/tests/hlr/exact_hlr/bug29956 new file mode 100644 index 0000000000..980832815e --- /dev/null +++ b/tests/hlr/exact_hlr/bug29956 @@ -0,0 +1,10 @@ +puts "========" +puts "0029956: HLR polygonal algorithm: regression in 7.1 relative to 7.0" +puts "========" +puts "" + +set viewname "" +set length 4197.49 + +testreadstep [locate_data_file example_auto_tooling_01.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug30243 b/tests/hlr/exact_hlr/bug30243 new file mode 100644 index 0000000000..2c12215b7a --- /dev/null +++ b/tests/hlr/exact_hlr/bug30243 @@ -0,0 +1,10 @@ +puts "========" +puts "0030243: Regression in HLR PolyAlgo in OCCT 7.1.0" +puts "========" +puts "" + +set viewname "" +set length 2695.41 + +testreadstep [locate_data_file BFC_10000.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug7691 b/tests/hlr/exact_hlr/bug7691 new file mode 100644 index 0000000000..7bacaa3114 --- /dev/null +++ b/tests/hlr/exact_hlr/bug7691 @@ -0,0 +1,12 @@ +puts "===========================" +puts "OCC7691: Wrong hidden lines" +puts "===========================" +puts "" + +set viewname "vtop" +set length 659.892 + +# load shape +restore [locate_data_file OCC7691-bottle.brep] a +trotate a 0 0 0 1 0 0 -90 +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/grids.list b/tests/hlr/grids.list new file mode 100644 index 0000000000..a876ced6b4 --- /dev/null +++ b/tests/hlr/grids.list @@ -0,0 +1,2 @@ +001 exact_hlr +002 poly_hlr \ No newline at end of file diff --git a/tests/hlr/poly_hlr/A1 b/tests/hlr/poly_hlr/A1 new file mode 100644 index 0000000000..1b6e75a3cc --- /dev/null +++ b/tests/hlr/poly_hlr/A1 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27341: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "" +set length 6.30238 + +restore [locate_data_file bug27341_hlrsave.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/A2 b/tests/hlr/poly_hlr/A2 new file mode 100644 index 0000000000..c116d9dec9 --- /dev/null +++ b/tests/hlr/poly_hlr/A2 @@ -0,0 +1,12 @@ +puts "TODO OCC30286 ALL: Error : The length of result shape is 8.06872, expected 8.05281" + +puts "=====================================" +puts "OCC27341: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vtop" +set length 8.05281 + +restore [locate_data_file bug27341_hlrsave.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/A3 b/tests/hlr/poly_hlr/A3 new file mode 100644 index 0000000000..3e71edfe30 --- /dev/null +++ b/tests/hlr/poly_hlr/A3 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27341: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vbottom" +set length 8.39744 + +restore [locate_data_file bug27341_hlrsave.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/A4 b/tests/hlr/poly_hlr/A4 new file mode 100644 index 0000000000..72303a8910 --- /dev/null +++ b/tests/hlr/poly_hlr/A4 @@ -0,0 +1,12 @@ +puts "TODO OCC30286 ALL: Error : The length of result shape is 7.44464, expected 7.39488" + +puts "=====================================" +puts "OCC27341: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vfront" +set length 7.39488 + +restore [locate_data_file bug27341_hlrsave.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/A5 b/tests/hlr/poly_hlr/A5 new file mode 100644 index 0000000000..f276fd4c4d --- /dev/null +++ b/tests/hlr/poly_hlr/A5 @@ -0,0 +1,12 @@ +puts "TODO OCC30286 ALL: Error : The length of result shape is 9.10542, expected 9.47163" + +puts "=====================================" +puts "OCC27341: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vback" +set length 9.47163 + +restore [locate_data_file bug27341_hlrsave.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/A6 b/tests/hlr/poly_hlr/A6 new file mode 100644 index 0000000000..f85f2d0066 --- /dev/null +++ b/tests/hlr/poly_hlr/A6 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27341: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vleft" +set length 7.64599 + +restore [locate_data_file bug27341_hlrsave.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/A7 b/tests/hlr/poly_hlr/A7 new file mode 100644 index 0000000000..dc38a1c33e --- /dev/null +++ b/tests/hlr/poly_hlr/A7 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27341: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vright" +set length 9.30381 + +restore [locate_data_file bug27341_hlrsave.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/B1 b/tests/hlr/poly_hlr/B1 new file mode 100644 index 0000000000..6148d6a6a5 --- /dev/null +++ b/tests/hlr/poly_hlr/B1 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27341: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "" +set length 318.62 + +restore [locate_data_file bug27341_save.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/B2 b/tests/hlr/poly_hlr/B2 new file mode 100644 index 0000000000..a8d67f1efd --- /dev/null +++ b/tests/hlr/poly_hlr/B2 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27341: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vtop" +set length 291.004 + +restore [locate_data_file bug27341_save.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/B3 b/tests/hlr/poly_hlr/B3 new file mode 100644 index 0000000000..17738b8488 --- /dev/null +++ b/tests/hlr/poly_hlr/B3 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27341: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vbottom" +set length 333.957 + +restore [locate_data_file bug27341_save.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/B4 b/tests/hlr/poly_hlr/B4 new file mode 100644 index 0000000000..dbeb4d7fe4 --- /dev/null +++ b/tests/hlr/poly_hlr/B4 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27341: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vfront" +set length 361.581 + +restore [locate_data_file bug27341_save.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/B5 b/tests/hlr/poly_hlr/B5 new file mode 100644 index 0000000000..92d6717309 --- /dev/null +++ b/tests/hlr/poly_hlr/B5 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27341: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vback" +set length 430.037 + +restore [locate_data_file bug27341_save.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/B6 b/tests/hlr/poly_hlr/B6 new file mode 100644 index 0000000000..1f821c8c86 --- /dev/null +++ b/tests/hlr/poly_hlr/B6 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27341: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vleft" +set length 278.723 + +restore [locate_data_file bug27341_save.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/B7 b/tests/hlr/poly_hlr/B7 new file mode 100644 index 0000000000..f77ac3c11f --- /dev/null +++ b/tests/hlr/poly_hlr/B7 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27341: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vright" +set length 337.361 + +restore [locate_data_file bug27341_save.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C1 b/tests/hlr/poly_hlr/C1 new file mode 100644 index 0000000000..2952d87b19 --- /dev/null +++ b/tests/hlr/poly_hlr/C1 @@ -0,0 +1,7 @@ +puts "TODO OCC30286 Linux: Error : The length of result shape is 1021.54, expected 1021.47" + +set viewname "vright" +set length 1021.47 + +testreadstep [locate_data_file bug27341_15.3020_16B1_B3=90.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C10 b/tests/hlr/poly_hlr/C10 new file mode 100644 index 0000000000..a79357e5db --- /dev/null +++ b/tests/hlr/poly_hlr/C10 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 792.107 + +testreadstep [locate_data_file bug27341_Adapter_VDI_MKG_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C11 b/tests/hlr/poly_hlr/C11 new file mode 100644 index 0000000000..4bb077bc14 --- /dev/null +++ b/tests/hlr/poly_hlr/C11 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 1096.4 + +testreadstep [locate_data_file bug27341_Adapter_VLS_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C12 b/tests/hlr/poly_hlr/C12 new file mode 100644 index 0000000000..3495b2dafc --- /dev/null +++ b/tests/hlr/poly_hlr/C12 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 514.884 + +testreadstep [locate_data_file bug27341_Adapter_Zylinder_2_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C13 b/tests/hlr/poly_hlr/C13 new file mode 100644 index 0000000000..255ff26e64 --- /dev/null +++ b/tests/hlr/poly_hlr/C13 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 9547.11 + +testreadstep [locate_data_file bug27341_Assembly_ABS_1_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C14 b/tests/hlr/poly_hlr/C14 new file mode 100644 index 0000000000..857e487132 --- /dev/null +++ b/tests/hlr/poly_hlr/C14 @@ -0,0 +1,7 @@ +puts "TODO OCC30286 ALL: Error : The length of result shape is 5496.05, expected 5934.34" + +set viewname "vright" +set length 5934.34 + +testreadstep [locate_data_file bug27341_Assembly_BILZ_WFL2_1_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C15 b/tests/hlr/poly_hlr/C15 new file mode 100644 index 0000000000..08111c4f08 --- /dev/null +++ b/tests/hlr/poly_hlr/C15 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 5117.25 + +testreadstep [locate_data_file bug27341_Assembly_GMS_Kurz_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C16 b/tests/hlr/poly_hlr/C16 new file mode 100644 index 0000000000..150eb5258f --- /dev/null +++ b/tests/hlr/poly_hlr/C16 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 1664.48 + +testreadstep [locate_data_file bug27341_CCS_Adapter_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C17 b/tests/hlr/poly_hlr/C17 new file mode 100644 index 0000000000..92f75c1b13 --- /dev/null +++ b/tests/hlr/poly_hlr/C17 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 2234.46 + +testreadstep [locate_data_file bug27341_CCT_PMK_32_L_o_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C18 b/tests/hlr/poly_hlr/C18 new file mode 100644 index 0000000000..4d4f8b299d --- /dev/null +++ b/tests/hlr/poly_hlr/C18 @@ -0,0 +1,7 @@ +puts "TODO OCC30286 ALL: Error : The length of result shape is 2517, expected 2418.08" + +set viewname "vright" +set length 2418.08 + +testreadstep [locate_data_file bug27341_CDI_Grundhalter_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C19 b/tests/hlr/poly_hlr/C19 new file mode 100644 index 0000000000..40a7f0851f --- /dev/null +++ b/tests/hlr/poly_hlr/C19 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 784.752 + +testreadstep [locate_data_file bug27341_CKB_Adapter_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C2 b/tests/hlr/poly_hlr/C2 new file mode 100644 index 0000000000..1ba640aabe --- /dev/null +++ b/tests/hlr/poly_hlr/C2 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 443.438 + +testreadstep [locate_data_file bug27341_211808_PCLNL12K8-15x32.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C20 b/tests/hlr/poly_hlr/C20 new file mode 100644 index 0000000000..aa685c0767 --- /dev/null +++ b/tests/hlr/poly_hlr/C20 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 1704.87 + +testreadstep [locate_data_file bug27341_Drehkopf_HSK_Gewinde_R_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C21 b/tests/hlr/poly_hlr/C21 new file mode 100644 index 0000000000..86da278502 --- /dev/null +++ b/tests/hlr/poly_hlr/C21 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 949.199 + +testreadstep [locate_data_file bug27341_Einsatz_BILZ_SEK_BFA_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C22 b/tests/hlr/poly_hlr/C22 new file mode 100644 index 0000000000..58f4f5b579 --- /dev/null +++ b/tests/hlr/poly_hlr/C22 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 6443.08 + +testreadstep [locate_data_file bug27341_HEE_Grundhalter_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C23 b/tests/hlr/poly_hlr/C23 new file mode 100644 index 0000000000..c1c2ed6118 --- /dev/null +++ b/tests/hlr/poly_hlr/C23 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 826.794 + +testreadstep [locate_data_file bug27341_KMM_Adapter_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C24 b/tests/hlr/poly_hlr/C24 new file mode 100644 index 0000000000..46a0173c34 --- /dev/null +++ b/tests/hlr/poly_hlr/C24 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 217.803 + +testreadstep [locate_data_file bug27341_MZX_01_1_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C25 b/tests/hlr/poly_hlr/C25 new file mode 100644 index 0000000000..f48ddda6e9 --- /dev/null +++ b/tests/hlr/poly_hlr/C25 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 6040.95 + +testreadstep [locate_data_file bug27341_Rundrohrverteiler.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C26 b/tests/hlr/poly_hlr/C26 new file mode 100644 index 0000000000..659a8354ef --- /dev/null +++ b/tests/hlr/poly_hlr/C26 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 532.03 + +testreadstep [locate_data_file bug27341_SKJ_07_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C27 b/tests/hlr/poly_hlr/C27 new file mode 100644 index 0000000000..b66959caac --- /dev/null +++ b/tests/hlr/poly_hlr/C27 @@ -0,0 +1,5 @@ +set viewname "vback" +set length 50818.3 + +testreadstep [locate_data_file bug27341_conboom.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C28 b/tests/hlr/poly_hlr/C28 new file mode 100644 index 0000000000..dd80471476 --- /dev/null +++ b/tests/hlr/poly_hlr/C28 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 39.6744 + +testreadstep [locate_data_file bug27341_rhombisch_Form_V_IC_476_L_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C29 b/tests/hlr/poly_hlr/C29 new file mode 100644 index 0000000000..a674a26ebf --- /dev/null +++ b/tests/hlr/poly_hlr/C29 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 1126.41 + +testreadstep [locate_data_file bug27341_stp_ML_MN5260-18-K.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C3 b/tests/hlr/poly_hlr/C3 new file mode 100644 index 0000000000..9c0397e884 --- /dev/null +++ b/tests/hlr/poly_hlr/C3 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 3060.33 + +testreadstep [locate_data_file bug27341_570-DWLNL-40-08-L_131LANG_16VERSATZ_DIN.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C4 b/tests/hlr/poly_hlr/C4 new file mode 100644 index 0000000000..47ab7b1449 --- /dev/null +++ b/tests/hlr/poly_hlr/C4 @@ -0,0 +1,7 @@ +puts "TODO OCC30286 ALL: Error : The length of result shape is 2707.46, expected 2765.47" + +set viewname "vright" +set length 2765.47 + +testreadstep [locate_data_file bug27341_82-01_Solid_End_Mill_Radius_with_Shrink_Fit_and_extension_HeavyModel.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C5 b/tests/hlr/poly_hlr/C5 new file mode 100644 index 0000000000..c44b715691 --- /dev/null +++ b/tests/hlr/poly_hlr/C5 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 1721.69 + +testreadstep [locate_data_file bug27341_ABS_Adapter_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C6 b/tests/hlr/poly_hlr/C6 new file mode 100644 index 0000000000..e149469bd2 --- /dev/null +++ b/tests/hlr/poly_hlr/C6 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 2832.69 + +testreadstep [locate_data_file bug27341_ABS_Grundhalter_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C7 b/tests/hlr/poly_hlr/C7 new file mode 100644 index 0000000000..74ed18c563 --- /dev/null +++ b/tests/hlr/poly_hlr/C7 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 2257 + +testreadstep [locate_data_file bug27341_AIF_Grundhalter_GR1_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C8 b/tests/hlr/poly_hlr/C8 new file mode 100644 index 0000000000..0a1185bbfd --- /dev/null +++ b/tests/hlr/poly_hlr/C8 @@ -0,0 +1,5 @@ +set viewname "vright" +set length 1154.09 + +testreadstep [locate_data_file bug27341_AWN_Adapter_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C9 b/tests/hlr/poly_hlr/C9 new file mode 100644 index 0000000000..48c52b5f8f --- /dev/null +++ b/tests/hlr/poly_hlr/C9 @@ -0,0 +1,7 @@ +puts "TODO OCC30286 Linux: Error : The length of result shape is 2025.74, expected 2026.13" + +set viewname "vright" +set length 2026.13 + +testreadstep [locate_data_file bug27341_Adapter_MKG_SWS_CGS_CAD.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/D1 b/tests/hlr/poly_hlr/D1 new file mode 100644 index 0000000000..606ee9a3b1 --- /dev/null +++ b/tests/hlr/poly_hlr/D1 @@ -0,0 +1,10 @@ +puts "============" +puts "OCC25908" +puts "============" +puts "" + +set viewname "" +set length 1032.95 + +restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/D2 b/tests/hlr/poly_hlr/D2 new file mode 100644 index 0000000000..101377759f --- /dev/null +++ b/tests/hlr/poly_hlr/D2 @@ -0,0 +1,10 @@ +puts "============" +puts "OCC25908" +puts "============" +puts "" + +set viewname "vtop" +set length 402.413 + +restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/D3 b/tests/hlr/poly_hlr/D3 new file mode 100644 index 0000000000..4911487eb9 --- /dev/null +++ b/tests/hlr/poly_hlr/D3 @@ -0,0 +1,10 @@ +puts "============" +puts "OCC25908" +puts "============" +puts "" + +set viewname "vbottom" +set length 210.378 + +restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/D4 b/tests/hlr/poly_hlr/D4 new file mode 100644 index 0000000000..1e2bf6e025 --- /dev/null +++ b/tests/hlr/poly_hlr/D4 @@ -0,0 +1,10 @@ +puts "============" +puts "OCC25908" +puts "============" +puts "" + +set viewname "vfront" +set length 453.641 + +restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/D5 b/tests/hlr/poly_hlr/D5 new file mode 100644 index 0000000000..764009f583 --- /dev/null +++ b/tests/hlr/poly_hlr/D5 @@ -0,0 +1,10 @@ +puts "============" +puts "OCC25908" +puts "============" +puts "" + +set viewname "vback" +set length 475.129 + +restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/D6 b/tests/hlr/poly_hlr/D6 new file mode 100644 index 0000000000..f27ce6a483 --- /dev/null +++ b/tests/hlr/poly_hlr/D6 @@ -0,0 +1,10 @@ +puts "============" +puts "OCC25908" +puts "============" +puts "" + +set viewname "vleft" +set length 548.613 + +restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/D7 b/tests/hlr/poly_hlr/D7 new file mode 100644 index 0000000000..599bafdb48 --- /dev/null +++ b/tests/hlr/poly_hlr/D7 @@ -0,0 +1,10 @@ +puts "============" +puts "OCC25908" +puts "============" +puts "" + +set viewname "vright" +set length 468.174 + +restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/Plate b/tests/hlr/poly_hlr/Plate new file mode 100644 index 0000000000..b2be509335 --- /dev/null +++ b/tests/hlr/poly_hlr/Plate @@ -0,0 +1,21 @@ +puts "TODO OCC30286 Windows: Error : The length of result shape is 404.004, expected 404.386" + +polyline f1 0 0 0 0 -10 0 100 -10 0 100 0 0 0 0 0 +polyline f2 100 0 0 110 0 0 110 100 0 100 100 0 100 0 0 +polyline f3 100 100 0 100 110 0 0 110 0 0 100 0 100 100 0 +polyline f4 0 100 0 -10 100 0 -10 0 0 0 0 0 0 100 0 +mkplane f1 f1 +mkplane f2 f2 +mkplane f3 f3 +mkplane f4 f4 +explode f1 e +explode f2 e +explode f3 e +explode f4 e +point pp 50 50 100 +filling a 4 0 1 f1_4 f1 1 f2_4 f2 1 f3_4 f3 1 f4_4 f4 1 pp 0 + +set viewname "" +set length 404.386 + +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/begin b/tests/hlr/poly_hlr/begin new file mode 100644 index 0000000000..ed27035d7c --- /dev/null +++ b/tests/hlr/poly_hlr/begin @@ -0,0 +1 @@ +set algotype "polyAlgo" \ No newline at end of file diff --git a/tests/hlr/poly_hlr/bug23625_1 b/tests/hlr/poly_hlr/bug23625_1 new file mode 100644 index 0000000000..8f6ac38245 --- /dev/null +++ b/tests/hlr/poly_hlr/bug23625_1 @@ -0,0 +1,10 @@ +puts "============" +puts "OCC23625" +puts "============" +puts "" + +set viewname "vfront" +set length 28094.3 + +restore [locate_data_file bug23625_a1.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug23625_2 b/tests/hlr/poly_hlr/bug23625_2 new file mode 100644 index 0000000000..c72fbd5b41 --- /dev/null +++ b/tests/hlr/poly_hlr/bug23625_2 @@ -0,0 +1,10 @@ +puts "============" +puts "OCC23625" +puts "============" +puts "" + +set viewname "vfront" +set length 28988.5 + +restore [locate_data_file bug23625_a2.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug23625_3 b/tests/hlr/poly_hlr/bug23625_3 new file mode 100644 index 0000000000..697e06a396 --- /dev/null +++ b/tests/hlr/poly_hlr/bug23625_3 @@ -0,0 +1,10 @@ +puts "============" +puts "OCC23625" +puts "============" +puts "" + +set viewname "vtop" +set length 19620.9 + +restore [locate_data_file bug23625_a3.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug23625_4 b/tests/hlr/poly_hlr/bug23625_4 new file mode 100644 index 0000000000..241fac022c --- /dev/null +++ b/tests/hlr/poly_hlr/bug23625_4 @@ -0,0 +1,10 @@ +puts "============" +puts "OCC23625" +puts "============" +puts "" + +set viewname "vright" +set length 39816.2 + +restore [locate_data_file bug23625_a4.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug23625_5 b/tests/hlr/poly_hlr/bug23625_5 new file mode 100644 index 0000000000..6e4b09cedb --- /dev/null +++ b/tests/hlr/poly_hlr/bug23625_5 @@ -0,0 +1,10 @@ +puts "============" +puts "OCC23625" +puts "============" +puts "" + +set viewname "vtop" +set length 27444.6 + +restore [locate_data_file bug23625_a4.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug25813_1 b/tests/hlr/poly_hlr/bug25813_1 new file mode 100644 index 0000000000..448d427eee --- /dev/null +++ b/tests/hlr/poly_hlr/bug25813_1 @@ -0,0 +1,14 @@ +puts "===========================================" +puts "OCC25813: regression in Hidden Line Removal" +puts "===========================================" +puts "" + +set viewname "" +set length 204.02 + +pcylinder cc 10 30 +pcylinder cc2 8 50 +ttranslate cc2 0 0 2 +bfuse a cc cc2 + +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug25813_2 b/tests/hlr/poly_hlr/bug25813_2 new file mode 100644 index 0000000000..38478c883b --- /dev/null +++ b/tests/hlr/poly_hlr/bug25813_2 @@ -0,0 +1,12 @@ +puts "TODO OCC30286 Linux: Error : The length of result shape is 3025.48, expected 3025.49" + +puts "===========================================" +puts "OCC25813: regression in Hidden Line Removal" +puts "===========================================" +puts "" + +set viewname "" +set length 3025.49 + +restore [locate_data_file bug25813_hlr-bus1-draw-Fusion001.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug25813_3 b/tests/hlr/poly_hlr/bug25813_3 new file mode 100644 index 0000000000..9f874b1c1c --- /dev/null +++ b/tests/hlr/poly_hlr/bug25813_3 @@ -0,0 +1,13 @@ +puts "TODO OCC30286 Linux: Error : The length of result shape is 302.441, expected 301.998" + +puts "===========================================" +puts "OCC25813: regression in Hidden Line Removal" +puts "===========================================" +puts "" + +set viewname "" +set length 301.998 + +ptorus a 30 10 + +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug25813_4 b/tests/hlr/poly_hlr/bug25813_4 new file mode 100644 index 0000000000..4dcd33347f --- /dev/null +++ b/tests/hlr/poly_hlr/bug25813_4 @@ -0,0 +1,10 @@ +puts "===========================================" +puts "OCC25813: regression in Hidden Line Removal" +puts "===========================================" +puts "" + +set viewname "" +set length 1196.29 + +restore [locate_data_file bug25813_hlr-test_normandc1m1-draw-Cut001.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug25813_5 b/tests/hlr/poly_hlr/bug25813_5 new file mode 100644 index 0000000000..dcc7b33036 --- /dev/null +++ b/tests/hlr/poly_hlr/bug25813_5 @@ -0,0 +1,10 @@ +puts "===========================================" +puts "OCC25813: regression in Hidden Line Removal" +puts "===========================================" +puts "" + +set viewname "" +set length 1271.98 + +restore [locate_data_file bug25813_hlr-fillet2-tcl-f.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27719_101 b/tests/hlr/poly_hlr/bug27719_101 new file mode 100644 index 0000000000..d63479dbbb --- /dev/null +++ b/tests/hlr/poly_hlr/bug27719_101 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27719: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "" +set length 4.0416 + +restore [locate_data_file bug27719_Extruded.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27719_102 b/tests/hlr/poly_hlr/bug27719_102 new file mode 100644 index 0000000000..6c3dd212bc --- /dev/null +++ b/tests/hlr/poly_hlr/bug27719_102 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27719: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vtop" +set length 5.7955 + +restore [locate_data_file bug27719_Extruded.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27719_103 b/tests/hlr/poly_hlr/bug27719_103 new file mode 100644 index 0000000000..1487c3285f --- /dev/null +++ b/tests/hlr/poly_hlr/bug27719_103 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27719: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vbottom" +set length 6.14978 + +restore [locate_data_file bug27719_Extruded.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27719_104 b/tests/hlr/poly_hlr/bug27719_104 new file mode 100644 index 0000000000..20d2811270 --- /dev/null +++ b/tests/hlr/poly_hlr/bug27719_104 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27719: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vfront" +set length 7.4551 + +restore [locate_data_file bug27719_Extruded.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27719_105 b/tests/hlr/poly_hlr/bug27719_105 new file mode 100644 index 0000000000..ffdd518e82 --- /dev/null +++ b/tests/hlr/poly_hlr/bug27719_105 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27719: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vback" +set length 7.48367 + +restore [locate_data_file bug27719_Extruded.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27719_201 b/tests/hlr/poly_hlr/bug27719_201 new file mode 100644 index 0000000000..359e274216 --- /dev/null +++ b/tests/hlr/poly_hlr/bug27719_201 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27719: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "" +set length 4.52975 + +restore [locate_data_file bug27719_Extruded2.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27719_202 b/tests/hlr/poly_hlr/bug27719_202 new file mode 100644 index 0000000000..55f851bf23 --- /dev/null +++ b/tests/hlr/poly_hlr/bug27719_202 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27719: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vtop" +set length 4.78946 + +restore [locate_data_file bug27719_Extruded2.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27719_203 b/tests/hlr/poly_hlr/bug27719_203 new file mode 100644 index 0000000000..18c65b7fdf --- /dev/null +++ b/tests/hlr/poly_hlr/bug27719_203 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27719: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vbottom" +set length 4.64744 + +restore [locate_data_file bug27719_Extruded2.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27719_204 b/tests/hlr/poly_hlr/bug27719_204 new file mode 100644 index 0000000000..37ef9134a9 --- /dev/null +++ b/tests/hlr/poly_hlr/bug27719_204 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27719: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vfront" +set length 5.95411 + +restore [locate_data_file bug27719_Extruded2.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27719_205 b/tests/hlr/poly_hlr/bug27719_205 new file mode 100644 index 0000000000..4258a5e23d --- /dev/null +++ b/tests/hlr/poly_hlr/bug27719_205 @@ -0,0 +1,10 @@ +puts "=====================================" +puts "OCC27719: Incorrect exact HLR results" +puts "=====================================" +puts "" + +set viewname "vback" +set length 5.61937 + +restore [locate_data_file bug27719_Extruded2.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27720_1 b/tests/hlr/poly_hlr/bug27720_1 new file mode 100644 index 0000000000..6193faf4b9 --- /dev/null +++ b/tests/hlr/poly_hlr/bug27720_1 @@ -0,0 +1,10 @@ +puts "============================================" +puts "OCC27720: HLRBrep_Algo BSpline missing edges" +puts "============================================" +puts "" + +set viewname "" +set length 0.880713 + +restore [locate_data_file bug27720_BSpline.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27720_2 b/tests/hlr/poly_hlr/bug27720_2 new file mode 100644 index 0000000000..4f7f7b9f48 --- /dev/null +++ b/tests/hlr/poly_hlr/bug27720_2 @@ -0,0 +1,10 @@ +puts "============================================" +puts "OCC27720: HLRBrep_Algo BSpline missing edges" +puts "============================================" +puts "" + +set viewname "vtop" +set length 0.980432 + +restore [locate_data_file bug27720_BSpline.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27720_3 b/tests/hlr/poly_hlr/bug27720_3 new file mode 100644 index 0000000000..3a617afc10 --- /dev/null +++ b/tests/hlr/poly_hlr/bug27720_3 @@ -0,0 +1,10 @@ +puts "============================================" +puts "OCC27720: HLRBrep_Algo BSpline missing edges" +puts "============================================" +puts "" + +set viewname "vbottom" +set length 0.958275 + +restore [locate_data_file bug27720_BSpline.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27720_4 b/tests/hlr/poly_hlr/bug27720_4 new file mode 100644 index 0000000000..af80c98211 --- /dev/null +++ b/tests/hlr/poly_hlr/bug27720_4 @@ -0,0 +1,12 @@ +puts "TODO OCC30286 ALL: Error : The length of result shape is 0.798972, expected 0.81982" + +puts "============================================" +puts "OCC27720: HLRBrep_Algo BSpline missing edges" +puts "============================================" +puts "" + +set viewname "vleft" +set length 0.81982 + +restore [locate_data_file bug27720_BSpline.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27720_5 b/tests/hlr/poly_hlr/bug27720_5 new file mode 100644 index 0000000000..3f53eb9d92 --- /dev/null +++ b/tests/hlr/poly_hlr/bug27720_5 @@ -0,0 +1,12 @@ +puts "TODO OCC30286 ALL: Error : The length of result shape is 0.836937, expected 0.841234" + +puts "============================================" +puts "OCC27720: HLRBrep_Algo BSpline missing edges" +puts "============================================" +puts "" + +set viewname "vright" +set length 0.841234 + +restore [locate_data_file bug27720_BSpline.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27979_1 b/tests/hlr/poly_hlr/bug27979_1 new file mode 100644 index 0000000000..e97e89ac6a --- /dev/null +++ b/tests/hlr/poly_hlr/bug27979_1 @@ -0,0 +1,12 @@ +puts "TODO OCC30286 ALL: Error : The length of result shape is 3.5348, expected 3." + +puts "========================================================================" +puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo" +puts "========================================================================" +puts "" + +set viewname "" +set length 3. + +restore [locate_data_file bug27979_parsed.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27979_2 b/tests/hlr/poly_hlr/bug27979_2 new file mode 100644 index 0000000000..578d43e4e6 --- /dev/null +++ b/tests/hlr/poly_hlr/bug27979_2 @@ -0,0 +1,12 @@ +puts "TODO OCC30286 ALL: Error : The length of result shape is 12.4882, expected 12." + +puts "========================================================================" +puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo" +puts "========================================================================" +puts "" + +set viewname "vtop" +set length 12. + +restore [locate_data_file bug27979_parsed.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27979_3 b/tests/hlr/poly_hlr/bug27979_3 new file mode 100644 index 0000000000..022d82b732 --- /dev/null +++ b/tests/hlr/poly_hlr/bug27979_3 @@ -0,0 +1,12 @@ +puts "TODO OCC30286 ALL: Error : The length of result shape is 4.6692, expected 4." + +puts "========================================================================" +puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo" +puts "========================================================================" +puts "" + +set viewname "vbottom" +set length 4. + +restore [locate_data_file bug27979_parsed.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27979_4 b/tests/hlr/poly_hlr/bug27979_4 new file mode 100644 index 0000000000..97f5331630 --- /dev/null +++ b/tests/hlr/poly_hlr/bug27979_4 @@ -0,0 +1,12 @@ +puts "TODO OCC30286 ALL: Error : The length of result shape is 11.4456, expected 11." + +puts "========================================================================" +puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo" +puts "========================================================================" +puts "" + +set viewname "vfront" +set length 11. + +restore [locate_data_file bug27979_parsed.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27979_5 b/tests/hlr/poly_hlr/bug27979_5 new file mode 100644 index 0000000000..052c5adc78 --- /dev/null +++ b/tests/hlr/poly_hlr/bug27979_5 @@ -0,0 +1,12 @@ +puts "TODO OCC30286 ALL: Error : The length of result shape is 4.15911, expected 4." + +puts "========================================================================" +puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo" +puts "========================================================================" +puts "" + +set viewname "vback" +set length 4. + +restore [locate_data_file bug27979_parsed.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27979_6 b/tests/hlr/poly_hlr/bug27979_6 new file mode 100644 index 0000000000..3181bf3889 --- /dev/null +++ b/tests/hlr/poly_hlr/bug27979_6 @@ -0,0 +1,12 @@ +puts "TODO OCC30286 ALL: Error : The length of result shape is 11.2106, expected 11." + +puts "========================================================================" +puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo" +puts "========================================================================" +puts "" + +set viewname "vleft" +set length 11. + +restore [locate_data_file bug27979_parsed.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27979_7 b/tests/hlr/poly_hlr/bug27979_7 new file mode 100644 index 0000000000..a59e3a80cd --- /dev/null +++ b/tests/hlr/poly_hlr/bug27979_7 @@ -0,0 +1,12 @@ +puts "TODO OCC30286 ALL: Error : The length of result shape is 3.2349, expected 3." + +puts "========================================================================" +puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo" +puts "========================================================================" +puts "" + +set viewname "vright" +set length 3. + +restore [locate_data_file bug27979_parsed.brep] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug29956 b/tests/hlr/poly_hlr/bug29956 new file mode 100644 index 0000000000..e755c193bd --- /dev/null +++ b/tests/hlr/poly_hlr/bug29956 @@ -0,0 +1,10 @@ +puts "========" +puts "0029956: HLR polygonal algorithm: regression in 7.1 relative to 7.0" +puts "========" +puts "" + +set viewname "" +set length 4196.7 + +testreadstep [locate_data_file example_auto_tooling_01.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug30243 b/tests/hlr/poly_hlr/bug30243 new file mode 100644 index 0000000000..ed7a03f5b5 --- /dev/null +++ b/tests/hlr/poly_hlr/bug30243 @@ -0,0 +1,10 @@ +puts "========" +puts "0030243: Regression in HLR PolyAlgo in OCCT 7.1.0" +puts "========" +puts "" + +set viewname "" +set length 2693.34 + +testreadstep [locate_data_file BFC_10000.stp] a +COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug7691 b/tests/hlr/poly_hlr/bug7691 new file mode 100644 index 0000000000..a1e6d8f102 --- /dev/null +++ b/tests/hlr/poly_hlr/bug7691 @@ -0,0 +1,12 @@ +puts "===========================" +puts "OCC7691: Wrong hidden lines" +puts "===========================" +puts "" + +set viewname "vtop" +set length 611.18 + +# load shape +restore [locate_data_file OCC7691-bottle.brep] a +trotate a 0 0 0 1 0 0 -90 +COMPUTE_HLR $viewname $algotype