mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-10 01:20:50 +08:00
- Adjusted faulties and warnings in tests for IGES and STEP files to reflect updated results. - Corrected tolerance values in multiple tests to ensure accuracy in shape validation. - Updated expected label counts and properties in several test cases to align with new outputs. - Modified error messages and expected results in HLR and offset tests for consistency. - Refined metadata checks in GLTF and STEP tests to match revised reference sizes and values. - Update Improvements cases with removing TODO
36 lines
830 B
Plaintext
36 lines
830 B
Plaintext
puts "========"
|
|
puts "0033183: Data Exchange - Lose texture after saving XBF file"
|
|
puts "Checking saving of textures for the previous version"
|
|
puts "========"
|
|
|
|
pload OCAF
|
|
|
|
Close D -silent
|
|
ReadGltf D [locate_data_file bug31706_launchvehicle.glb]
|
|
|
|
set ref_1 [XGetVisMaterial D 0:1:10:1]
|
|
set ref_2 [XGetVisMaterial D 0:1:10:7]
|
|
|
|
set aTmpFile ${imagedir}/result.xbf
|
|
XSave D $aTmpFile
|
|
Close D
|
|
XOpen $aTmpFile D
|
|
|
|
set cur_1 [XGetVisMaterial D 0:1:10:1]
|
|
set cur_2 [XGetVisMaterial D 0:1:10:7]
|
|
|
|
for {set i 1} {$i <= 12} {incr i} {
|
|
set ref_1_str [lindex $ref_1 $i-1]
|
|
set ref_2_str [lindex $ref_2 $i-1]
|
|
set cur_1_str [lindex $cur_1 $i-1]
|
|
set cur_2_str [lindex $cur_2 $i-1]
|
|
if { $ref_1_str != $cur_1_str ||
|
|
$ref_2_str != $cur_2_str} {
|
|
puts "Error: Data is not equal"
|
|
break
|
|
}
|
|
}
|
|
|
|
Close D
|
|
file delete -force $aTmpFile
|