摘要
阶梯轴是电机结构中的重要部件,建立阶梯轴的三维模型是电机设计时对阶梯轴进行数值分析的基础条件,如果能够通过程序自动生成阶梯轴的三维模型,可以提升设计效率,同时也为参数化设计提供了数据基础,因此本文提出了采用VBA语言编写宏代码,通过简洁的输入界面快速驱动SolidWorks软件实现自动建模,从而提高了建模效率。
The stepped shaft is an important part of electric motor,and the establishment of its three-dimensional model is the basic condition of numerical analysis of the stepped shaft in the design process of motor.If three-dimensional model of the stepped shaft can be automatically generated by program,which can improve the design efficiency and provide the data basis for the parametric design.This paper proposes the method of writing the macro code in VBA language,which can realize the automatic modeling in simple input interface by quickly driving SolidWorks software,and then improve the modeling efficiency.
作者
马文博
赵倩
Ma Wenbo;Zhao Qian(Jiamusi Electric Machine Co.,Ltd.,Jiamusi 154002,China)
出处
《防爆电机》
2022年第4期21-22,34,共3页
Explosion-proof Electric Machine
关键词
阶梯轴
模型
程序
Stepped shaft
model
program