pcylinder b1 1 2
dset r sqrt(3)/2
box b2 -r -1 0 2*r 2 1
trotate b2 0 0 0 0 0 1 30

bop b1 b2
bopcommon result

checkprops result -s 12.1096
checkview -display result -2d -otherwise { b1 b2 } -s -path ${imagedir}/${test_image}.png
