Aiming at reducing the difficulty of the traditional conjugate cam profile design,improving the accuracy,shortening the design cy-cle,saving the cost and realizing the parametric design of the cam mechanism,the Visual Studio. NET development tools was used to re-de-velop the Auto CAD software in Visual C#. Combined with the principle of cam design,the appropriate application was designed and parame-ters were input in the interface through the human-computer interaction,the point coordinates of the cam theory contour were obtained. Ac-cording to the offset algorithm,the corresponding coordinates of the actual contour of the cam were obtained.Using the cubic B-spline interpo-lation algorithm,the complete theoretical contour and the actual contour line were completed.Finally,an instance validation and SolidWorks motion simulation were performed. The results indicate that the method of using the Visual Studio. NET development tool to find the cam pro-file curve in the secondary development of Auto CAD can realize the parametric design of the conjugate cam mechanism under the premise of ensuring the accuracy and efficiency of the conjugate cam design.%为了降低传统设计方法中共轭凸轮轮廓设计的难度,提高凸轮机构的设计精度,缩短共轭凸轮的设计周期,节约成本,实现共轭凸轮机构的参数化设计,运用Visual Studio.NET开发工具,采用Visual C#语言对AutoCAD软件进行了二次开发.结合凸轮设计的原理,设计了合适的应用程序,在界面中通过人机交互输入参数,求出了凸轮理论轮廓线上的点坐标,根据偏移算法得到了凸轮实际轮廓线上相应点坐标,利用三次B样条插值算法,形成了完整的理论轮廓线和实际轮廓线,最后进行了实例验证和SolidWorks运动仿真分析.研究结果表明:通过运用Visual Studio.NET开发工具,对Auto CAD进行二次开发逆向求取凸轮轮廓曲线的方法,能够在保证共轭凸轮设计的精度与效率的前提下,实现共轭凸轮机构的参数化设计.
展开▼