mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
Extend permissions for expand in ShapeTool Fix processing of subshapes Fix misprints Add test cases
28 lines
606 B
Plaintext
28 lines
606 B
Plaintext
puts "=========="
|
|
puts "OCC29436"
|
|
puts "=========="
|
|
puts ""
|
|
########################################
|
|
# Extend Expand compounds functionality
|
|
########################################
|
|
pload ALL
|
|
|
|
XOpen [locate_data_file bug29436_compsolid.xbf] D
|
|
XExpand D 1 0:1:1:1
|
|
|
|
# check colors
|
|
set color [XGetShapeColor D 0:1:1:2]
|
|
if {$color != "RED"} {
|
|
puts "Error: metadata lost during expand"
|
|
}
|
|
set color [XGetShapeColor D 0:1:1:4]
|
|
if {$color != "RED"} {
|
|
puts "Error: metadata lost during expand"
|
|
}
|
|
set color [XGetShapeColor D 0:1:1:6]
|
|
if {$color != "RED"} {
|
|
puts "Error: metadata lost during expand"
|
|
}
|
|
|
|
Close D
|