pcylinder b1 4 8
psphere b2 6
ttranslate b2 0 0 8
trotate b2 0 0 8 0 0 1 270

bop b1 b2
bopcommon result

set square 220.262