0031087: Configuration - make FreeType dependency optional [part 2]
[occt.git] / tests / de_mesh / obj_write / as1
CommitLineData
1b6b8afc 1puts "========"
2puts "0029303: Data Exchange - add RWObj_CafWriter tool for wavefront OBJ file"
3puts "Write as1 STEP model into OBJ file"
4puts "========"
5
6pload XDE OCAF MODELING VISUALIZATION
7Close D -silent
8Close D1 -silent
9ReadStep D1 [locate_data_file as1-oc-214-mat.stp]
10XGetOneShape ss D1
11incmesh ss 1.0
12
13set aTmpObjBase "${imagedir}/${casename}_tmp"
14set aTmpObj "${aTmpObjBase}.obj"
15lappend occ_tmp_files $aTmpObj
16lappend occ_tmp_files "${aTmpObjBase}.mtl"
17lappend occ_tmp_files "${aTmpObjBase}_textures"
18
19WriteObj D1 "$aTmpObj"
20
21ReadObj D "$aTmpObj"
22XGetOneShape s D
23checknbshapes s -face 18 -compound 2
24
25vclear
26vinit View1
27XDisplay -dispMode 1 D
28vaxo
29vfit
30vdump ${imagedir}/${casename}.png