minecraft block creation question

well i have planar snaping meshes in my project… it was a sh…load of brainwork i got things going… wish i had paid more attention in math class back then =)

i could give you some infos on how get you started