mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-15 05:28:47 +08:00
Enable writing wires, edges, and vertices inside compound in IGES in BREP mode. Create IGES group for compound even if it contains single shape.
18 lines
460 B
Plaintext
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"
|