pcylinder b1 1 2
box b2 -2 -2 0 2 2 1

bop b1 b2
bopcut result

set square 19.2788
