1 puts "================"
3 puts "================"
5 #######################################################################################
6 # Regression in the method RWStl::WriteAscii
7 #######################################################################################
9 puts "================"
11 puts "================"
13 #######################################################################################
14 # Now it is not possible to mesh a shape in parallel mode during the export in STL
15 #######################################################################################
18 set BugNumber OCC22670
20 set filepath [locate_data_file OMF6391_box.stl]
21 if { [catch { readstl res_mesh $filepath } catch_result] } {
22 puts "Faulty ${BugNumber}: here is reading problem"
24 set aFile $imagedir/${test_image}.stl
25 catch {exec rm -f ${aFile}}
30 writestl res_mesh ${aFile} ${anASCIImode}
31 catch {exec chmod 777 ${aFile}}
33 readstl result ${aFile}
35 checknbshapes result -vertex 8 -edge 18 -wire 12 -face 12 -shell 1 -solid 0 -compsolid 0 -compound 0 -shape 51
37 checkprops result -s 600
39 checkview -display result -3d -path ${imagedir}/${test_image}.png