File: W4

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 (31 lines) | stat: -rwxr-xr-x 862 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
puts "============"
puts "OCC1477"
puts "============"
puts ""
######################################################
# Problems in MakePipeShell
# (case 13)
######################################################

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

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

checkshape s1
checkshape s2

mksweep s1

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

checkprops result -s 51164.1 -v 159660

checknbshapes result -vertex 30 -edge 60 -wire 30 -face 30 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 152