From 4e0311752a8ae86026b6038fdc9b5c6df2a15f5e Mon Sep 17 00:00:00 2001 From: mkv Date: Fri, 30 Jan 2015 13:51:43 +0300 Subject: [PATCH] 0025632: IGES writer looses face orientation Update new tensing cases for issue --- tests/bugs/iges/{bug25632 => bug25632_1} | 0 tests/bugs/iges/bug25632_2 | 32 ++++++++++++++++++++++++ 2 files changed, 32 insertions(+) rename tests/bugs/iges/{bug25632 => bug25632_1} (100%) mode change 100755 => 100644 create mode 100644 tests/bugs/iges/bug25632_2 diff --git a/tests/bugs/iges/bug25632 b/tests/bugs/iges/bug25632_1 old mode 100755 new mode 100644 similarity index 100% rename from tests/bugs/iges/bug25632 rename to tests/bugs/iges/bug25632_1 diff --git a/tests/bugs/iges/bug25632_2 b/tests/bugs/iges/bug25632_2 new file mode 100644 index 0000000000..13375f304f --- /dev/null +++ b/tests/bugs/iges/bug25632_2 @@ -0,0 +1,32 @@ +puts "============" +puts "OCC25632" +puts "============" +puts "" +####################################################################### +# IGES writer looses face orientation +####################################################################### + +plane p 0 0 0 0 0 1 1 0 0 +mkface face p 0 100 0 100 + +smallview +donly face + +nurbsconvert r face +mksurface s r + +mkface f s 10 20 30 40 + +treverse f +normals f 100 + +xwd ${imagedir}/${test_image}_1.png + +testwriteiges ${imagedir}/f_2.igs f +testreadiges ${imagedir}/f_2.igs ff + +donly ff + +normals ff 100 + +xwd ${imagedir}/${test_image}_2.png