The construction:
3 Shoji elements paravent as macro:
The unification of the outer frame and the inner grid with a paperwall
forms a single shoji element, here named "Frame".
#macro Frame(Wide_X,Wide_Y,Frame_XY,Frame_Z,X_Nr,Y_Nr)
union{
object{Shoji(Wide_X-2*Frame_XY,Wide_Y-2*Frame_XY,X_Nr,Y_Nr)
translate<Frame_XY,Frame_XY,Frame_Z*3/4>}
object{Window1(Wide_X,Wide_Y,Frame_XY,Frame_Z) }
}
#end //--------------------------------------------------------
3 Shoji elements are now added together with according preceding elements
using the angles "angle1" and "angle2".
#macro Paravent_3( Wide_x, Wide_y, Frame_xy, Frame_z,
X_n, Y_n, Angle1, Angle2)
#local Win_D = Frame_z/2;
union{
object{ Frame (Wide_x, Wide_y, Frame_xy, Frame_z, X_n, Y_n)}
union{ object{ Frame (Wide_x,Wide_y,Frame_xy,Frame_z,X_n,Y_n)}
object{ Frame (Wide_x,Wide_y,Frame_xy,Frame_z,X_n,Y_n)
translate<Win_D,0,0>
rotate<0,Angle1,0>
translate<Wide_x+Win_D,0,0>}
translate<Win_D,0,0>
rotate<0,Angle2,0>
translate<Wide_x+Win_D,0,0>
}
}
#end //---------------------------------------------------------
|