0032171: Data Exchange - RWGltf_TriangulationReader doesn't copy cached bounding box
[occt.git] / tests / offset / begin
CommitLineData
8013367c 1# To prevent loops limit to 15 minutes
5805221e 2cpulimit 900
40093367 3if { [array get Draw_Groups "TOPOLOGY Feature commands"] == "" } {
5805221e 4 pload TOPTEST
420b38fd 5 setfillhistory 0
5805221e 6}
7if { [array get Draw_Groups "Shape Healing"] == "" } {
8 pload XSDRAW
40093367 9}
40093367 10if { [info exists imagedir] == 0 } {
11 set imagedir .
12}
13if { [info exists test_image ] == 0 } {
14 set test_image photo
15}
40093367 16proc OFFSETSHAPE {distance faces calcul type} {
17 global GlobFaces
18 set GlobFaces $faces
b6725456 19 if {[llength $faces] > 0} {uplevel #0 explode s f}
40093367 20 uplevel #0 offsetparameter 1e-7 $calcul $type
21 uplevel #0 offsetload s $distance $faces
22 uplevel #0 offsetperform result
23}