mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-08-15 15:00:30 +08:00
a8fcd8d07e
added writing planes in Type 108 not like BSplines pcurves for planes not writing add parameter for choice between writing planes in BSplines and Planes 0022820: OCCT IGES writer loses plane information pcurves were prohibited also for BRep mode Adding test case for this fix
31 lines
685 B
Plaintext
Executable File
31 lines
685 B
Plaintext
Executable File
puts "================"
|
|
puts "OCC22820"
|
|
puts "================"
|
|
puts ""
|
|
#######################################################################################
|
|
# OCCT IGES writer loses plane information
|
|
######################################################################################
|
|
|
|
pload XDE
|
|
|
|
box b 1 1 1
|
|
set b_info [dump b]
|
|
if { [regexp BSplineSurface ${b_info}] } {
|
|
puts "Error in dump b"
|
|
}
|
|
|
|
brepiges b 0
|
|
igesbrep . bb *
|
|
|
|
set types_info [listtypes]
|
|
puts "types_info=${types_info}"
|
|
if { [regexp BSplineSurface ${types_info}] } {
|
|
puts "Error in listtypes"
|
|
}
|
|
|
|
igesbrep . bb *
|
|
set bb_info [dump bb]
|
|
if { [regexp BSplineSurface ${bb_info}] } {
|
|
puts "Error in dump bb"
|
|
}
|