Foundations of 2D Drafting and 3D Parametric Modeling