Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
puts "========"
puts "OCC23706"
puts "========"
puts ""
####################################
## Cannot project point on curve
####################################
set x 5.0
set y 8.0
set z -2.0
set pp_ch1 1.0371228345434986
set pp_ch2 0.99999999851019361
restore [locate_data_file bug23706_c08.draw] c
set info [proj c $x $y $z]
regexp {parameter 1 += +([-0-9.+eE]+)} $info full pp1
regexp {parameter 2 += +([-0-9.+eE]+)} $info full pp2
if { $pp1 != $pp_ch1 || $pp2 != $pp_ch2 } {
puts "Error : Projection is not correct"
} else {
puts "OK: Projection is correct"
}
3d097a032This file is pinned to the selected release. Download the original to open it in your design tool.