From: ona Date: Mon, 14 Nov 2022 13:52:38 +0000 (+0300) Subject: 0032695: Data Exchange - Wrong cut sphere face in step export X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FCR32695;p=occt.git 0032695: Data Exchange - Wrong cut sphere face in step export - Test is added --- diff --git a/tests/bugs/step/bug32695 b/tests/bugs/step/bug32695 new file mode 100644 index 0000000000..a93fbc3f97 --- /dev/null +++ b/tests/bugs/step/bug32695 @@ -0,0 +1,23 @@ +puts "============" +puts "OCC32695" +puts "============" +puts "" +####################################################################### +# Data Exchange - Wrong cut sphere face in step export +####################################################################### + +pload XDE OCAF MODELING VISUALIZATION +psphere s 0.5 +plane p 0 0 0 1 0 0 +pcylinder c p 0.1 1.0 +bcut r s c +vinit View1 +#vdisplay -dispMode 1 r; vsetcolor r RED +vfit +set aTmpFile "$imagedir/${casename}.stp" +testwritestep "$aTmpFile" r +testreadstep "$aTmpFile" s +file delete "$aTmpFile" +vdisplay -dispMode 1 s; vsetcolor s GREEN +vfit +checkview -screenshot -3d -path ${imagedir}/${test_image}.png