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:
21
tests/bugs/modalg_8/bug32864
Normal file
21
tests/bugs/modalg_8/bug32864
Normal 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
|
Reference in New Issue
Block a user