mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-11 18:32:35 +08:00
Extend permissions for expand in ShapeTool Fix processing of subshapes Fix misprints Add test cases
28 lines
608 B
Plaintext
28 lines
608 B
Plaintext
puts "=========="
|
|
puts "OCC29436"
|
|
puts "=========="
|
|
puts ""
|
|
########################################
|
|
# Extend Expand compounds functionality
|
|
########################################
|
|
pload ALL
|
|
|
|
XOpen [locate_data_file bug29436_wire.xbf] D
|
|
XExpand D 1 0:1:1:1
|
|
|
|
# check colors
|
|
set color [XGetShapeColor D 0:1:1:2 c]
|
|
if {$color != "RED"} {
|
|
puts "Error: metadata lost during expand"
|
|
}
|
|
set color [XGetShapeColor D 0:1:1:2:1]
|
|
if {$color != "RED"} {
|
|
puts "Error: metadata lost during expand"
|
|
}
|
|
set color [XGetShapeColor D 0:1:1:3:1]
|
|
if {$color != "RED"} {
|
|
puts "Error: metadata lost during expand"
|
|
}
|
|
|
|
#Close D
|