File: bug25385

package info (click to toggle)
opencascade 7.9.2%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 301,924 kB
  • sloc: cpp: 1,523,264; tcl: 10,159; cs: 5,173; java: 1,554; sh: 1,342; ansic: 827; xml: 699; makefile: 30; javascript: 22
file content (24 lines) | stat: -rw-r--r-- 672 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
puts "============"
puts "OCC25385"
puts "============"
puts ""
#######################################################################
# steep increase in tolerance by intersection
#######################################################################

restore [locate_data_file bug25385_shell2.brep] s

regexp {Tolerance +MAX=([-0-9.+eE]+)} [tolerance s] full MaxTol_s_1

plane p 28.5 0 0 1 0 0 0 1 0
mkface f p
bop s f
bopsection r

regexp {Tolerance +MAX=([-0-9.+eE]+)} [tolerance s] full MaxTol_s_2

set tol_abs_MaxTol 0.0001
set tol_rel_MaxTol 0.0001
checkreal "MaxTolerance " ${MaxTol_s_2} ${MaxTol_s_1} ${tol_abs_MaxTol} ${tol_rel_MaxTol}

checkprops r -l 36.2401