mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0022820: OCCT IGES writer loses plane information
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
This commit is contained in:
30
tests/bugs/iges/bug22820
Executable file
30
tests/bugs/iges/bug22820
Executable file
@@ -0,0 +1,30 @@
|
||||
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"
|
||||
}
|
Reference in New Issue
Block a user