mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0023921: IGES reader cannot map subshapes colors inside nested assemblies
Modification to avoid creation of redundant labels in XCAF for any shapes belonging compound even if colors are not defined for them. Fix to avoid compiler warning. Fix for regression for test case de iges_2 A6 Test case for issue CR23921
This commit is contained in:
25
tests/bugs/xde/bug23921
Normal file
25
tests/bugs/xde/bug23921
Normal file
@@ -0,0 +1,25 @@
|
||||
puts "============"
|
||||
puts "OCC23921"
|
||||
puts "============"
|
||||
puts ""
|
||||
#################################################################
|
||||
# IGES reader cannot map subshapes colors inside nested assemblies
|
||||
#################################################################
|
||||
|
||||
pload DCAF
|
||||
|
||||
NewDocument D XmlXCAF
|
||||
|
||||
ReadIges D [locate_data_file bug23921_case2.igs]
|
||||
|
||||
#XShow D
|
||||
#
|
||||
|
||||
XGetOneShape result D
|
||||
|
||||
vinit
|
||||
vsetdispmode 1
|
||||
vdisplay result
|
||||
vfit
|
||||
|
||||
set only_screen 1
|
Reference in New Issue
Block a user