椅子の部分形状をCSGの結合により生成します。
//**********************************************************************************
#local Long_seg =
union {
box { <-1,-Us*Ls,-1> <1,Us*3.3,1> translate -10*x }
box { <-10,-2.2,-1> <10,2.2,1> translate (Us*3.3-3.4)*y }
box { <-10,-1.2,-1> <10,1.2,1> translate (-Us*Ls+4)*y }
box { <-1,-Us*Ls,-1> <1,Us*3.3,1> translate 10*x }
rotate 30*x }
#local Short_seg =
union {
box { <-1+2,-Us*Ls,-1> <1+2,Us,1> translate -10*x }
box { <-10+2,-1.2,-1> <10-2,1.2,1> translate (-Us*Ls+4)*y }
box { <-1-2,-Us+Ls,-1> <1-2,Us,1> translate 10*x }
rotate -30*x }
//**********************************************************************************