Thanks everyone for the input, this is exactly what i'm after, wellswood calculator seem very handy and i have bookmarked. but what tony has said is what i have been trying to achieve and i have just put it into sketch up and it looks good.
i want to do this mostly for effect as the bookcase...