共轭凸轮机构是纺织机械中常用的一种机构,凸轮轮廓线需要根据不同工作要求而改变。针对通用三维软件SolidWorks存在专业建模程度不高以及使用效率低的问题,指出了对其进行二次开发的必要性,并采用其自带的VBA进行了共轭凸轮参数化建模程序的开发。简要介绍了其所使用的API接口函数的功能、含义及用法,并结合凸轮实例验证了该开发程序的正确性。使用时,将选定的合理参数和运动规律输入后,即可生成共轭凸轮构件;然后,建立了机构装配体的三维模型;最后,运用其Motion模块对该机构进行了运动仿真。仿真实例结果表明,其主、副摆臂相应的运动曲线与设计研究采用的运动规律基本吻合,从而可判断所设计的轮廓线满足工作要求;该结果也为其他复杂的专业零件参数化设计提供参考。
Conjugated cam is a common mechanism used in textile machinery, and cam contour line changes as the requirements change. Aiming at the low professional modeling degree and low efficiency of 3D software SolidWorks, the necessity of secondary development was pointed out and conjugate cam parametric modeling program was developed using the VBA. The function meaning and usage of API function were introduced briefly and the correctness of program was verified by the cam example. Conjugated cam was completed when the reasonable parameters and motion principle were input and debugged,then 3D model of mechanism assembly was built,the cam was simulated using the Motion at last. The resuhs of simulation example indicate that the motion curves of main and vice pendulum rods meet the theoretical design principle basically, which judges the design of the contour line meet the requirements, and also provides reference for other complex professional part parametric design at the same time.