0014531: Boolean Operation Algorithm fails
[occt.git] / tests / bugs / moddata_3 / bug23994
CommitLineData
afed7fd7 1puts "================"
2puts "OCC23994"
3puts "================"
4puts ""
5#######################################################################
6# GeomAPI_ExtremaCurveCurve class calculates wrong values
7#######################################################################
8
9set BugNumber CR23994
10
11pload XDE
12
13ReadStep D [locate_data_file bug23994_AirfoilRhomb_CalcDist_17_OP_Bell_Mouth_Roughing_shroud.stp]
14
15XCheckProps D
16
17XGetShape airflIntersctCrv D 0:1:1:1
18XGetShape rhombIntersctCrv D 0:1:1:2
19
20explode rhombIntersctCrv
21mkcurve rhomb rhombIntersctCrv_1
22
23explode airflIntersctCrv
24mkcurve airfl airflIntersctCrv_1
25
26extrema airfl rhomb
27
28if { [isdraw ext_1] } {
29 mkedge result ext_1
58cf74e0 30 checkprops result -l 5.14563
31 checksection result
afed7fd7 32} else {
33 puts "${BugNumber}: invalid result"
34}
35
5747059b 36checkview -display result -2d -path ${imagedir}/${test_image}.png