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