File: bug12213

package info (click to toggle)
oce 0.18.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 301,548 kB
  • sloc: cpp: 1,190,609; ansic: 67,225; sh: 11,630; tcl: 7,954; cs: 5,221; python: 2,867; java: 1,522; makefile: 342; xml: 292; perl: 37
file content (47 lines) | stat: -rw-r--r-- 864 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
puts "============"
puts "OCC12213"
puts "============"
puts ""
#######################################################################
# Invalid sweep was created by command "buildsweep" in DRAW in case circular path
#######################################################################

set BugNumber OCC12213

circle c1 0 0 0 100
trim cc1 c1 0 3.14
mkedge e2 cc1
wire w2 e2

box a 95 -10 -5 10 10 10
explode a w
explode a_4 e
wire w21 a_4_1 a_4_2 a_4_3 a_4_4

box b -110 -10 -5 20 10 10
explode b w
explode b_4 e
wire w22 b_4_1 b_4_2 b_4_3 b_4_4

explode w2 v

mksweep w2
addsweep w21 w2_1
addsweep w22 w2_2
buildsweep result

set square 15708.8

# Analysis of "nbshapes res"
set nb_v_good 8
set nb_e_good 12
set nb_w_good 4
set nb_f_good 4
set nb_sh_good 1
set nb_sol_good 0
set nb_compsol_good 0
set nb_compound_good 0
set nb_shape_good 29

set 2dviewer 1