]> OCCT Git - occt.git/commitdiff
0032695: Data Exchange - Wrong cut sphere face in step export CR32695
authorona <olga.nikonova@opencascade.com>
Mon, 14 Nov 2022 13:52:38 +0000 (16:52 +0300)
committerona <olga.nikonova@opencascade.com>
Tue, 15 Nov 2022 07:36:11 +0000 (10:36 +0300)
- Test is added

tests/bugs/step/bug32695 [new file with mode: 0644]

diff --git a/tests/bugs/step/bug32695 b/tests/bugs/step/bug32695
new file mode 100644 (file)
index 0000000..a93fbc3
--- /dev/null
@@ -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