0026106: BRepMesh - revision of data model
[occt.git] / tests / bugs / vis / bug24288_2
index fa506f9..f85aca5 100644 (file)
@@ -8,6 +8,8 @@ puts ""
 #######################################################################
 pload VISUALIZATION
 
+vfont add [locate_data_file DejaVuSans.ttf] SansFont
+
 set m_pi 3,14
 set m_pi2 1,57
 vinit
@@ -17,8 +19,7 @@ vpoint radP3 100 0 0
 vcircle circle radP1 radP2 radP3 0
 vrotate 0 -$m_pi2 0
 verase radP1 radP2 radP3
-vdim -radius -name=dim -text=3d circle
-vdisplay dim
+vdimension dim -radius -text 3d -shapes circle -font SansFont
 vfit
 vmoveto 110 111
 
@@ -33,7 +34,7 @@ if { $stat != 1 } {
 # Y axis rotation
 vrotate 0 $m_pi 0
 vfit
-vmoveto 185 246
+vmoveto 159 246
 
 set x_coord 113
 set y_coord 294
@@ -43,4 +44,4 @@ if { $stat != 1 } {
   puts "Error : Highlighting of radius dimension with 3d text with flipping after y rotation is wrong."
 }
 
-set only_screen 1
+checkview -screenshot -3d -path ${imagedir}/${test_image}.png