1
0
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:
ika
2012-12-28 18:30:58 +04:00
parent 1a7dfdb719
commit a8fcd8d07e
4 changed files with 90 additions and 38 deletions

30
tests/bugs/iges/bug22820 Executable file
View 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"
}