1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/tests/bugs/modalg/bug427_6
apn f1aa2b6272 Adding new testing cases for chl grid
Adding procedures checkcolor and checkpoint.
Modified test cases which are used QAGetPixelColor or QAAISGetPixelColor2d
Allow using command QAAISGetPixelColor2d on WNT
Rename test case tests/bugs/vis/bug19619 to pro19619
Added test cases to modalg and moddata
2012-12-14 16:56:11 +04:00

31 lines
617 B
Plaintext
Executable File

puts "========================"
puts " OCC427 "
puts "(case 6)"
puts "========================"
puts ""
cpulimit 1200
proc OFFSETSHAPE {distance faces calcul type} {
uplevel #0 explode s f
uplevel #0 offsetparameter 1e-7 $calcul $type
uplevel #0 offsetload s $distance $faces
uplevel #0 offsetperform result
}
#Shell no rough and rounded mode
set calcul "c"
set type "i"
circle w -20 0 0 20
mkedge w w 0 pi*2/5
wire w w
polyline profile 0 0 0 10 0 0 5 0 5 0 0 0
mkplane profile profile
pipe s w profile
OFFSETSHAPE 1 {s_4 s_5} $calcul $type
set square 808.448
set 2dviewer 0