File: bug26289

package info (click to toggle)
oce 0.18.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 301,548 kB
  • sloc: cpp: 1,190,609; ansic: 67,225; sh: 11,630; tcl: 7,954; cs: 5,221; python: 2,867; java: 1,522; makefile: 342; xml: 292; perl: 37
file content (28 lines) | stat: -rw-r--r-- 681 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
puts "============"
puts "OCC26289"
puts "============"
puts ""
#######################################################################
# STEP import/export produces an empty shape
#######################################################################

restore [locate_data_file bug26289_solid_3.brep] a1

set aFile ${imagedir}/bug26289.stp
catch { file delete ${aFile} }

stepwrite a a1 ${aFile}

stepread ${aFile} b *

checknbshapes b_1 -vertex 338 -edge 673 -wire 337 -face 337 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 1687 -m "Shape"

vinit View1
vdisplay a1
vfit
vdump ${imagedir}/${casename}_1.png

vinit View2
vdisplay b_1
vfit
vdump ${imagedir}/${casename}_2.png