1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

0023651: Exception on fillet construction between NURBS and surface of revolution

Adding test cases for this fix
This commit is contained in:
jgv 2013-01-18 13:42:52 +04:00
parent cfb6776ec0
commit ea9632bc14
3 changed files with 30 additions and 1 deletions

View File

@ -538,7 +538,7 @@ Standard_Boolean ChFi3d_Builder::CompleteData
Handle(BRepBlend_AppFunc) TheFunc
= new (BRepBlend_AppFunc)(lin, Func, tolapp3d, 1.e-5);
Standard_Integer Degmax = 20, Segmax = 100;
Standard_Integer Degmax = 20, Segmax = 5000;
BRepBlend_AppSurface approx (TheFunc,
lin->Point(1).Parameter(),
lin->Point(lin->NbPoints()).Parameter(),

13
tests/bugs/modalg/bug23651_1 Executable file
View File

@ -0,0 +1,13 @@
puts "============"
puts "CR23651"
puts "============"
puts ""
###############################
## Exception on fillet construction between NURBS and surface of revolution
###############################
restore [locate_data_file bug23651_turbine_shell_one_edge.brep] s
explode s e
blend result s 1 s_4
set 3dviewer 1

16
tests/bugs/modalg/bug23651_2 Executable file
View File

@ -0,0 +1,16 @@
puts "============"
puts "CR23651"
puts "============"
puts ""
###############################
## Exception on fillet construction between NURBS and surface of revolution
###############################
restore [locate_data_file bug23651_turbine_shell_one_edge.brep ] a
explode a e
mkevol result a
updatevol a_4 0. 1.5 0.05 1 0.45 1 0.5 1.5 0.55 2 0.95 2 1. 1.5
buildevol
set 3dviewer 1