CAD-based Path Generation