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

0022614: Scaling fails with linear (p-)curves

Test cases for issue CR22614
This commit is contained in:
mkv 2014-10-08 19:46:03 +04:00 committed by bugmaster
parent fb4b684a95
commit 6e24232219
3 changed files with 89 additions and 0 deletions

View File

@ -0,0 +1,30 @@
puts "========================"
puts "OCC22614"
puts "========================"
puts ""
#######################################################################
# Scaling fails with linear (p-)curves
#######################################################################
pcylinder p 10 50
explode p f
# p_1 is a cylindrical face
tscale p_1 0 0 0 0.001
renamevar p_1 result
set square 0.00314159
set nb_v_good 2
set nb_e_good 3
set nb_w_good 1
set nb_f_good 1
set nb_sh_good 0
set nb_sol_good 0
set nb_compsol_good 0
set nb_compound_good 0
set nb_shape_good 7
set 2dviewer 1

View File

@ -0,0 +1,30 @@
puts "========================"
puts "OCC22614"
puts "========================"
puts ""
#######################################################################
# Scaling fails with linear (p-)curves
#######################################################################
pcylinder p 10 50
explode p f
# p_2 is top planar face
tscale p_2 0 0 0 0.001
renamevar p_2 result
set square 0.000314159
set nb_v_good 1
set nb_e_good 1
set nb_w_good 1
set nb_f_good 1
set nb_sh_good 0
set nb_sol_good 0
set nb_compsol_good 0
set nb_compound_good 0
set nb_shape_good 4
set 2dviewer 1

View File

@ -0,0 +1,29 @@
puts "========================"
puts "OCC22614"
puts "========================"
puts ""
#######################################################################
# Scaling fails with linear (p-)curves
#######################################################################
cylinder c 50
mkface f c 0 5 0 10
tscale f 0 0 0 0.001
renamevar f result
set square 0.0025
set nb_v_good 4
set nb_e_good 4
set nb_w_good 1
set nb_f_good 1
set nb_sh_good 0
set nb_sol_good 0
set nb_compsol_good 0
set nb_compound_good 0
set nb_shape_good 10
set 2dviewer 1