mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0032243: Tests - unexpected file artifact s.stl at the root of repository
Several test cases have been corrected to avoid creation of temporary files s.stl, comp_nonmanifold.step, bug31301_1.stp at unexpected location.
This commit is contained in:
parent
0d828ac838
commit
6387996871
@ -1,5 +1,7 @@
|
||||
testreadstep [locate_data_file bug31301.stp] s
|
||||
testwritestep bug31301_1.stp s
|
||||
testreadstep bug31301_1.stp s1
|
||||
set aTmpFile "$imagedir/${casename}.stp"
|
||||
testwritestep "$aTmpFile" s
|
||||
testreadstep "$aTmpFile" s1
|
||||
file delete "$aTmpFile"
|
||||
checkshape s1 f
|
||||
checkmaxtol s1 -ref 0.0078
|
||||
checkmaxtol s1 -ref 0.0078
|
||||
|
@ -1,5 +1,7 @@
|
||||
restore [locate_data_file bug31301_2.brep] s
|
||||
testwritestep bug31301_1.stp s
|
||||
testreadstep bug31301_1.stp s1
|
||||
set aTmpFile "$imagedir/${casename}.stp"
|
||||
testwritestep "$aTmpFile" s
|
||||
testreadstep "$aTmpFile" s1
|
||||
file delete "$aTmpFile"
|
||||
checkshape s1 f
|
||||
checkmaxtol s1 -ref 0.000247
|
||||
checkmaxtol s1 -ref 0.000247
|
||||
|
@ -7,9 +7,10 @@ brestore [locate_data_file bug31485.brep] a
|
||||
|
||||
param write.step.nonmanifold 1
|
||||
|
||||
testwritestep comp_nonmanifold.step a
|
||||
testreadstep comp_nonmanifold.step result
|
||||
set aTmpFile "$imagedir/${casename}.step"
|
||||
testwritestep "$aTmpFile" a
|
||||
testreadstep "$aTmpFile" result
|
||||
file delete "$aTmpFile"
|
||||
|
||||
checkshape result
|
||||
|
||||
checknbshapes result -face 3
|
||||
|
@ -7,9 +7,10 @@ brestore [locate_data_file bug31617.brep] a
|
||||
|
||||
param write.step.nonmanifold 1
|
||||
|
||||
testwritestep comp_nonmanifold.step a
|
||||
testreadstep comp_nonmanifold.step result
|
||||
set aTmpFile "$imagedir/${casename}.step"
|
||||
testwritestep "$aTmpFile" a
|
||||
testreadstep "$aTmpFile" result
|
||||
file delete "$aTmpFile"
|
||||
|
||||
checkshape result
|
||||
|
||||
checknbshapes result -ref [lrange [nbshapes a] 11 16]
|
||||
|
@ -1,7 +1,9 @@
|
||||
sphere s 10
|
||||
tessellate result s 100 100
|
||||
XProgress +t
|
||||
set out [writestl result s.stl]
|
||||
set aTmpFile "$imagedir/${casename}.stl"
|
||||
set out [writestl result "$aTmpFile"]
|
||||
file delete "$aTmpFile"
|
||||
|
||||
set expected {
|
||||
{Progress: 0%}
|
||||
|
Loading…
x
Reference in New Issue
Block a user