File: T1

package info (click to toggle)
opencascade 7.5.1%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 290,544 kB
  • sloc: cpp: 1,190,524; tcl: 15,703; cs: 5,173; java: 1,557; ansic: 1,174; sh: 901; xml: 699; perl: 54; makefile: 27
file content (30 lines) | stat: -rwxr-xr-x 847 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
puts "============"
puts "OCC1477"
puts "============"
puts ""
######################################################
# Problems in MakePipeShell
# (case 13)
######################################################

restore [locate_data_file OCC1477_closedPolyline.brep] s1 
restore [locate_data_file OCC1477_profile1_circle.brep] e1 
wire s2 e1

puts "###############################################################################"
puts "# (case /-/-R/-C -S/)"
puts "###############################################################################"

checkshape s1
checkshape s2

mksweep s1

addsweep s2 -R
if [catch { buildsweep result -C -S} res] {
  puts "Faulty OCC1477: buildsweep is wrong"
}

checkprops result -s 57570.1 -v 234370

checknbshapes result -vertex 23 -edge 29 -wire 6 -face 6 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 66