Files
OCCT/tests/bugs/iges/bug25816
abv 19589673b3 0025816: IGES export - edges within compound are lost if BREP mode (IGES 5.1) is used
Enable writing wires, edges, and vertices inside compound in IGES in BREP mode.
Create IGES group for compound even if it contains single shape.
2015-02-19 14:50:56 +03:00

18 lines
460 B
Plaintext

# 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 [nbshapes s] t "Number of sub-shapes in result after saving to IGES and reading back"