# !!!! This file is generated automatically, do not edit manually! See end script set filename ims012.igs set ref_data { DATA : Faulties = 0 ( 0 ) Warnings = 0 ( 1 ) Summary = 0 ( 1 ) TPSTAT : Faulties = 0 ( 0 ) Warnings = 0 ( 76 ) Summary = 0 ( 76 ) CHECKSHAPE : Wires = 0 ( 0 ) Faces = 0 ( 0 ) Shells = 0 ( 0 ) Solids = 0 ( 0 ) NBSHAPES : Solid = 0 ( 0 ) Shell = 0 ( 0 ) Face = 79 ( 79 ) STATSHAPE : Solid = 0 ( 0 ) Shell = 0 ( 0 ) Face = 79 ( 79 ) FreeWire = 0 ( 0 ) TOLERANCE : MaxTol = 6.019859301e-06 ( 1e-05 ) AvgTol = 2.732866732e-07 ( 7.554593913e-06 ) LABELS : N0Labels = 79 ( 79 ) N1Labels = 0 ( 0 ) N2Labels = 0 ( 0 ) TotalLabels = 79 ( 79 ) NameLabels = 79 ( 79 ) ColorLabels = 0 ( 0 ) LayerLabels = 0 ( 0 ) PROPS : Centroid = 0 ( 0 ) Volume = 0 ( 0 ) Area = 0 ( 0 ) NCOLORS : NColors = 0 ( 0 ) COLORS : Colors = ( ) NLAYERS : NLayers = 0 ( 0 ) LAYERS : Layers = ( ) } # Due to the ambiguous interpretation of the "inner" wire on the surfaces # that have natural bound (is it the cutout in the whole surface, or it's just wrong wire orientation), # we must manually turn off the adding of the natural bound option of the shape healing for this test. set de_use_custom_scripts 1 proc de_before_script {TheFileName} { if { [info exists imagedir] == 0 } { set imagedir ../[file rootname $TheFileName] if {![file exists ${imagedir}]} { file mkdir ${imagedir} } } # remember the path to the old resource file set old_resource_path $::env(CSF_IGESDefaults) # reading old resource file set anOptions [parse_resource_file "${old_resource_path}/IGES"] # activation of ignoring the adding of natural bound dict set anOptions "FromIGES.FixShape.FixAddNaturalBoundMode" "0" # path to new resource file set new_resource_path ${imagedir} # creating resource file create_resource_file "${new_resource_path}/IGES" $anOptions # changing the path to the resource file set ::env(CSF_IGESDefaults) ${new_resource_path} puts "New path to IGES resource file is: \"${new_resource_path}\"" return ${old_resource_path} } proc de_after_script {old_resource_path} { # Restoring the path to the old resource file set ::env(CSF_IGESDefaults) ${old_resource_path} puts "Restore path to IGES resource file: \"${old_resource_path}\"" }