File: bug24973

package info (click to toggle)
opencascade 7.3.0%2Bdfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 278,376 kB
  • sloc: cpp: 1,136,010; ansic: 81,569; tcl: 14,864; cs: 5,173; java: 1,522; xml: 468; sh: 375; perl: 37; makefile: 25
file content (26 lines) | stat: -rwxr-xr-x 527 bytes parent folder | download | duplicates (11)
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"
}