0025175: avoid unsafe 3D curve usages
[occt.git] / tests / bugs / modalg_5 / bug24618_2
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_2 result
31
32set nb_v_good 3
33set nb_e_good 3
34set nb_w_good 1
35set nb_f_good 1
36set nb_sh_good 0
37set nb_sol_good 0
38set nb_compsol_good 0
39set nb_compound_good 0
40set nb_shape_good 8
41
42set 2dviewer 1