1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

Compare commits

...

1 Commits

Author SHA1 Message Date
ona
343c1ac06a 0032695: Data Exchange - Wrong cut sphere face in step export
- Test is added
2022-11-15 10:36:11 +03:00

23
tests/bugs/step/bug32695 Normal file
View File

@@ -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