make chairs smaller
This commit is contained in:
parent
cec6d8b93a
commit
8f6468cc71
|
@ -13,4 +13,4 @@ real back_thickness = width*0.2;
|
||||||
real cushion_thickness = height*0.06;
|
real cushion_thickness = height*0.06;
|
||||||
pair cushion_edge_smoothing = width*0.2*dir(55);
|
pair cushion_edge_smoothing = width*0.2*dir(55);
|
||||||
|
|
||||||
path[] chair = { (width/2, 0)--(width/2+back_top_offset,back_height)--(width/2+back_top_offset-back_thickness, back_height)--(width/2-back_thickness, 0)..(0,cushion_thickness)..(-width/2 + cushion_edge_smoothing.x, 0)..(-width/2, -cushion_edge_smoothing.y)---(-width/2,-seat_thickness)--(front_leg_top-leg_thickness/2, -seat_thickness)--(front_leg_bottom-leg_thickness/2,-seat_thickness-leg_height)--(front_leg_bottom+leg_thickness/2,-seat_thickness-leg_height)--(front_leg_top+leg_thickness/2, -seat_thickness)--(back_leg_top-leg_thickness/2, -seat_thickness)--(back_leg_bottom-leg_thickness/2,-seat_thickness-leg_height)--(back_leg_bottom+leg_thickness/2,-seat_thickness-leg_height)--(back_leg_top+leg_thickness/2, -seat_thickness)--(width/2,-seat_thickness)--cycle };
|
path[] chair = { scale(0.8)*((width/2, 0)--(width/2+back_top_offset,back_height)--(width/2+back_top_offset-back_thickness, back_height)--(width/2-back_thickness, 0)..(0,cushion_thickness)..(-width/2 + cushion_edge_smoothing.x, 0)..(-width/2, -cushion_edge_smoothing.y)---(-width/2,-seat_thickness)--(front_leg_top-leg_thickness/2, -seat_thickness)--(front_leg_bottom-leg_thickness/2,-seat_thickness-leg_height)--(front_leg_bottom+leg_thickness/2,-seat_thickness-leg_height)--(front_leg_top+leg_thickness/2, -seat_thickness)--(back_leg_top-leg_thickness/2, -seat_thickness)--(back_leg_bottom-leg_thickness/2,-seat_thickness-leg_height)--(back_leg_bottom+leg_thickness/2,-seat_thickness-leg_height)--(back_leg_top+leg_thickness/2, -seat_thickness)--(width/2,-seat_thickness)--cycle) };
|
||||||
|
|
Loading…
Reference in a new issue