5 ##################################################
6 # Boolean operations corrupt the p-curve of the source planar face if "non-destructive" option is switched off
7 ##################################################
9 set expected [list {UMin 0.0} {UMax 1.0} {VMin -2e+100} {VMax 0.0}]
11 box mb -0.5 -0.5 -0.5 1 1 1
13 prism pryz mb_1 1 0 0 SemiInf
19 set bounds [xbounds pryz_1]
20 # check for expected result
21 for {set i 0} {$i < 4} {incr i} {
22 checkreal "[lindex $expected $i 0]" [lindex $bounds $i] [lindex $expected $i 1] 0.0 1.0e-7
25 # Make a simple Boolean operation, e.g. "bsection"
26 bsection rs ab_2 pryz_1
28 set bounds [xbounds pryz_1]
29 # check for expected result
30 for {set i 0} {$i < 4} {incr i} {
31 checkreal "[lindex $expected $i 0]" [lindex $bounds $i] [lindex $expected $i 1] 0.0 1.0e-7