File: bug25395_2

package info (click to toggle)
opencascade 7.9.2%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 301,924 kB
  • sloc: cpp: 1,523,264; tcl: 10,159; cs: 5,173; java: 1,554; sh: 1,342; ansic: 827; xml: 699; makefile: 30; javascript: 22
file content (49 lines) | stat: -rw-r--r-- 1,108 bytes parent folder | download | duplicates (5)
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
48
49
puts "TODO OCC25395 ALL: Standard_ConstructionError"
puts "TODO OCC25395 ALL:TEST INCOMPLETE"

puts "========"
puts "OCC25395"
puts "========"
puts ""
#######################################################
# SIGSEGV in BRepOffsetAPI_MakeThickSolid
#######################################################

ellipse Ellipse-curve 0 0 0 100.87 22
mkedge Ellipse-edge Ellipse-curve 0 6.28318530718
wire Ellipse-wire Ellipse-edge
mkplane Ellipse Ellipse-wire
ttranslate Ellipse 0 -27 184.5

explode Ellipse E
wire Sweep-0-spine Ellipse_1
mksweep Sweep-0-spine

setsweep -CF

circle Circle-curve 0 0 0 18
mkedge Circle-edge Circle-curve 0 0
wire Circle Circle-edge
trotate Circle 0 0 0 0 -1 0 90
ttranslate Circle 0 -70 202.5

addsweep Circle 

buildsweep Sweep -C -S

box Box001 300 90 300
ttranslate Box001 -150 -27 0

bcut Cut031 Sweep Box001

box Box002 300 100 30
ttranslate Box002 -150 -100 202.5

bcut Cut032 Cut031 Box002
explode Cut032 F

offsetparameter 1e-7 p a
offsetload Cut032 1 Cut032_3 Cut032_2 Cut032_4
offsetperform Thickness

checkview -display Thickness -2d -path ${imagedir}/${test_image}.png