1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-08 14:17:06 +03:00

0032864: Modeling Algorithms - Normal projection of a wire on a cylinder produces wrong result

Minor correction in method BRepAlgo_NormalProjection::Build: correct mixed up first and last parameters of the projected curve.
This commit is contained in:
jgv
2022-04-21 10:02:51 +03:00
committed by smoskvin
parent c4e1d8c918
commit 89ecea11d2
2 changed files with 22 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
puts "========================================================================="
puts "OCC32864: Normal projection of a wire on a cylinder produces wrong result"
puts "========================================================================="
puts ""
restore [locate_data_file bug32864.brep] a
explode a
nproject result a_2 a_1
checkshape result
checknbshapes result -t -edge 8 -vertex 16
set tolres [checkmaxtol result]
if { ${tolres} > 0.0001} {
puts "Error: bad tolerance of result"
}
checkprops result -l 37.1616