File: bug25816

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 (17 lines) | stat: -rw-r--r-- 537 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Test issue #25816: writing edges inside compound to IGES 5.3

pload MODELING DATAEXCHANGE

# make compound containing one edge
circle c 0 0 0 0 0 1 1
mkedge e c
compound e s

# write to IGES in BREP mode
newmodel
param write.iges.brep.mode 1
brepiges s ${imagedir}/${casename}.igs

# read back and check similarity
igesbrep ${imagedir}/${casename}.igs a *
checknbshapes a -vertex 1 -edge 1 -wire 0 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 3 -t -m "Number of sub-shapes in result after saving to IGES and reading back"