blob: 807b479dffcaeb7fa4ba404f5beb44bf3ad0c791 [file] [edit]
puts "===================================================================="
puts "OCC28828: New functionalities of BRepFilletAPI_MakeChamfer algorithm"
puts "===================================================================="
puts ""
#non-KPart: cylinder + plane (intersection is line), symmetrical throat
pcylinder a1 10 50
box a2 -20 -20 -20 25 40 40
bfuse b a1 a2
savehistory hh
explode a1 f
modified ff hh a1_1
generated ee hh a1_1
explode ee
donly b ee_3
chamf_throat result b ee_3 2.
checkshape result
checknbshapes result -solid 1 -shell 1 -face 10 -wire 10 -edge 26 -vertex 18 -shape 67
set tolres [checkmaxtol result]
if { ${tolres} > 0.0001} {
puts "Error: bad tolerance of result"
}
checkprops result -v 50822.7 -deps 1.e-7
checkview -display result -2d -path ${imagedir}/${test_image}.png