1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
puts "============"
puts "OCC24973"
puts "============"
puts ""
######################################################
# Incorrect PCurve construction
######################################################
restore [locate_data_file bug24973_Face.brep] f
pcurve f
explode f e
tcopy f_9 e
bhaspc e f do
mk2dcurve c e f
to3d c3d c
mkedge e c3d
set info [bopargcheck e #F]
if { [regexp "to be valid for BOP" ${info}] == 1 } {
puts "OK : Created curve is correct"
} else {
puts "Error : Created curve is not correct"
}
|