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

37 lines
968 B
Plaintext
Executable File

puts "============"
puts "OCC13211"
puts "============"
puts ""
#######################################################################
# Wrong treatment of conical faces in BOP algorithm
#######################################################################
set BugNumber OCC13211
vertex v1 136.06, 187.51, 0.0
vertex v2 136.06, 143.01, 0.0
edge e1 v1 v2
vertex v3 136.06, 143.01, 0.0
vertex v4 128.08, 143.01, 0.0
edge e2 v3 v4
vertex v5 128.08, 143.01, 0.0
vertex v6 127.88, 164.75, 0.0
edge e3 v5 v6
vertex v7 127.88, 164.75, 0.0
vertex v8 116.11, 176.00, 0.0
edge e4 v7 v8
vertex v9 116.11, 176.00, 0.0
vertex v10 136.06, 187.51, 0.0
edge e5 v9 v10
wire twire e1 e2 e3 e4 e5
mkplane tface twire
revol r1 tface 153.08, 143.01 0.0 1 0 0 360 1
revol r2 tface 136.06, 68.01, 0.0 0 1 0 360 1
bop r1 r2
bopfuse result
set square 17308.3
checknbshapes result -vertex 13 -edge 25 -wire 13 -face 12 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 66
set 2dviewer 0