File: M1

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 (26 lines) | stat: -rw-r--r-- 497 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
#jap60271
puts "JAP60271"
puts "Can not create a CompSolid using exploded faces of 2 solids in contact."
puts ""

box b1 10 10 10
box b2 5 5 5 
ttranslate b2 2 2 10

explode b1 F 
explode b2 F  

bcut res b1_6 b2_6

explode res F 
sewing se b1_1 b1_2 b1_3 b1_4 b1_5 b2_6 res_1 
explode se Sh 
shape Solid1 So 
add se_1 Solid1 

shape result CS 
add b2 result
add Solid1 result

checkprops result -s 750
checkview -display result -2d -s -otherwise { b1_6 b2_6 } -path ${imagedir}/${test_image}.png