mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0013175: XCAF document with one vertex is exported to an incorrect STEP file
Added non-regression test case
This commit is contained in:
parent
da6b95a075
commit
7ed6e985e2
15
tests/bugs/xde/bug13175
Normal file
15
tests/bugs/xde/bug13175
Normal file
@ -0,0 +1,15 @@
|
||||
puts "============"
|
||||
puts "0013175: XCAF document with one vertex is exported to an incorrect STEP file"
|
||||
puts "============"
|
||||
puts ""
|
||||
|
||||
vertex v 10 10 10
|
||||
XNewDoc D1
|
||||
XAddShape D1 v
|
||||
XGetShape r1 D1 0:1:1:1
|
||||
checknbshapes r1 -vertex 1
|
||||
|
||||
WriteStep D1 ${imagedir}/${casename}.step
|
||||
ReadStep D2 ${imagedir}/${casename}.step
|
||||
XGetShape r2 D2 0:1:1:1
|
||||
checknbshapes r2 -vertex 1
|
Loading…
x
Reference in New Issue
Block a user