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