File: bug25202_1

package info (click to toggle)
oce 0.17.2-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 297,992 kB
  • ctags: 203,291
  • sloc: cpp: 1,176,369; ansic: 67,206; sh: 11,647; tcl: 6,890; cs: 5,221; python: 2,867; java: 1,522; makefile: 338; xml: 292; perl: 37
file content (33 lines) | stat: -rw-r--r-- 699 bytes parent folder | download | duplicates (2)
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
27
28
29
30
31
32
33
puts "========"
puts "CR25202"
puts "========"
puts ""
#########################################
## Incorrect value of IsClosed flag in shapes produced by some algorithms
#########################################

pload QAcommands

box b 100 100 100
vertex v1 0 0 50
explode b v
edge ee1 b_2 v1
edge ee2 v1 b_1
explode b e
wire ww1 ee1 ee2 b_2 b_3 b_4
wire ww2 ee1 ee2 b_9 b_10 b_5
mkplane ff1 ww1
mkplane ff2 ww2
explode b f
#Replaced edge lies between b_1 and b_3 faces.

OCC25202 result b 1 ff1 3 ff2

set info [whatis result]
if { [regexp {Closed} ${info}] } {
    puts "OK : value of IsClosed flag is correct"
} else {
    puts "Error : value of IsClosed flag is not correct"
}

set 2dviewer 1