5 #################################################
6 # Regression: Class BRepProj_Projection gives invalid result after projection edge based on the line on the conical surface
7 #################################################
13 restore [locate_data_file bug28054_FaceProj.brep] f1
14 restore [locate_data_file bug28054_EdgeProj.brep] e1
16 set ProjList [prj r e1 f1 0 0 1]
18 if { [llength $ProjList] < 1 } {
19 puts "Error: no projections are found"
22 foreach wir $ProjList {
23 set EdgeList [explode $wir e]
24 foreach ed $EdgeList {
26 regexp {Max Distance = +([-0-9.+eE]+)} [xdistef $ed f1] full dist
28 puts "Error in projection. 3D and 2D curves of edge $ed are not same-parameter"
30 puts "OK: Max Distance is less than $Tol"