mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
49 lines
888 B
Plaintext
Executable File
49 lines
888 B
Plaintext
Executable File
puts "================"
|
|
puts "OCC22818"
|
|
puts "================"
|
|
puts ""
|
|
#######################################################################################
|
|
# Wrong triangulation of Revolution surface with slice angle <= 180 degree
|
|
######################################################################################
|
|
|
|
set BugNumber OCC22818
|
|
|
|
vertex v1 0 10 0
|
|
vertex v2 0 10 10
|
|
vertex v3 0 5 5
|
|
vertex v4 0 0 -10
|
|
edge e1 v1 v2
|
|
edge e2 v2 v3
|
|
edge e3 v3 v1
|
|
wire w1 e1 e2 e3
|
|
plane pln 0 5 5 1 0 0
|
|
mkface f1 pln
|
|
add w1 f1
|
|
don f1
|
|
revol result f1 0 10 0 0 0 1 180
|
|
checkshape result
|
|
|
|
set square 161.072
|
|
|
|
set nb_v_good 3
|
|
set nb_e_good 8
|
|
set nb_w_good 4
|
|
set nb_f_good 4
|
|
set nb_sh_good 1
|
|
set nb_sol_good 1
|
|
set nb_compsol_good 0
|
|
set nb_compound_good 0
|
|
set nb_shape_good 21
|
|
|
|
vinit
|
|
vdisplay result
|
|
vsetdispmode 1
|
|
vfit
|
|
vzfit
|
|
|
|
# relative tolerance (%)
|
|
set rel_tol 1
|
|
set area_eps 0
|
|
|
|
set only_screen 1
|