0030829: BRepExtrema_ShapeProximity crashes with shape from STL/WRL
[occt.git] / tests / bugs / modalg_5 / bug24618_1
CommitLineData
362dec17 1puts "========="
2puts "OCC24618"
3puts "========="
4puts ""
5###########################################################
6# Embedding vertex in BOP depends on the order of arguments
7###########################################################
8
9# Create a cylindrical face
10cylinder c1 20
11trimv c1 c1 0 50
12mkface c1 c1
13
14# Create a vertex
15vertex v1 0 20 25
16
17# Build partition
18bclearobjects
19bcleartools
20#---------------#
21baddobjects c1 v1
22#---------------#
23bfillds
24bbuild r
25
26# Explode the result compound
27explode r
28
29# Check number of shapes
30renamevar r_1 result
31
a4eba920 32checknbshapes result -vertex 1 -edge 0 -wire 0 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 0 -shape 1
5747059b 33checkview -display result -2d -path ${imagedir}/${test_image}.png