0031485: Data Exchange - Export STEP in nonmanifold mode looses all faces except one
[occt.git] / tests / bugs / step / bug23379
CommitLineData
66d6976f 1puts "================"
2puts "OCC23379"
3puts "================"
4puts ""
5#################################
6# Exporting single point into STEP produces a compound with two points
7#################################
8
9pload XDE
10
11set filedir ${imagedir}
12
13set Name bug23379_point
14set brepFileName ${Name}.brep
15set stepFileName ${imagedir}/${Name}.step
16
17restore [locate_data_file ${brepFileName}] point
18
19stepwrite 0 point ${stepFileName}
20stepread ${stepFileName} a *
21set L [llength [explode a_1]]
22puts "L=$L"
23
24if { ${L} == 1} {
25 puts "OK : Number of points is good"
26} else {
27 puts "Error : Number of points is bad"
28}
29
30catch {exec rm -f ${stepFileName}}