From Point Cloud to Shape Grammar to Grammatical Transformations