blob: e2a67e0ef8344948cfa26d0db37b956e42dfff5b [file] [edit]
puts "========================"
puts "0033591: Modeling Algorithms - Regression: old surface is not removed after translation or rotation with geometry copying"
puts "========================"
puts ""
pload MODELING
psphere Sphere_1 80
trotate Sphere_1 0 0 0 0 1 0 90 -copy
ttranslate Sphere_1 0 0 200 -copy
catch {dump Sphere_1} dumpOutput
if {[regexp {Dump of ([0-9]+) surfaces} $dumpOutput match num]} {
set numSurfaces $num
}
if {$numSurfaces != 1} {
puts "Error: The number of surfaces must be 1"
}