File: bug26420_3

package info (click to toggle)
oce 0.18.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 301,548 kB
  • sloc: cpp: 1,190,609; ansic: 67,225; sh: 11,630; tcl: 7,954; cs: 5,221; python: 2,867; java: 1,522; makefile: 342; xml: 292; perl: 37
file content (20 lines) | stat: -rw-r--r-- 497 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
puts "========"
puts "OCC26420"
puts "========"
puts ""
######################################################
# BOPAlgo_Builder resets "Closed" flag in the result
######################################################

box bb 0 0 0 5 5 5
explode bb sh
polyline pp -1 -1 2 -1 6 2 6 6 2 6 -1 2 -1 -1 2
mkplane pl pp
baddobjects pl bb_1
bfillds
bbuild r
explode r sh
set bug_info [whatis r_1]
if {[lindex $bug_info 8] != "Closed"} {
  puts "ERROR: OCC26420 is reproduced. Flag CLOSED is not set."
}