2 # save the initial shape to STEP
3 stepwrite a S "${imagedir}/${casename}.stp"
5 # read saved STEP into an OCAF document
6 ReadStep D "${imagedir}/${casename}.stp"
8 # get document model as a single shape
11 # check tessellation metrics of the shape restored from STEP
12 checktrinfo S1 -face ${nb_faces} -nod ${nb_nodes} -tri ${nb_triangles}
16 XDisplay -dispMode 1 D -explore
20 vrenderparams -shadingModel PHONG
21 vlight -change 0 -intensity 2.5
22 vlight -change 1 -intensity 0.3
24 vdump ${imagedir}/${casename}.png
31 # restore reading/writing tessellated STEP geometry default parameters
32 param read.step.tessellated On
33 param write.step.tessellated OnNoBRep