基于AutoLisp轴类零件参数化绘图含程序及2张CAD图+说明书
基于AutoLisp轴类零件参数化绘图 摘要 AutoCAD是当今世界上使用最多的通用绘图软件之一,但其在某些具体的功能方面仍有其自身的不足。在机械零件的设计绘图中,一些常用图形需要经常绘制,若我们逐一绘制,显然费时费力,事倍功半,系统自带的图快复制粘贴插入等编辑功能操作又有着难以避免的局限性。随着标准件库的陆续推出,确实解决了很大一部分问题,但我个人认为这无法满足我们对实际的要求。因此,为了提高绘图速度,我们可以利用计算机软件来进行参数化绘图。AutoLisp语言内嵌于AutoCAD,实现了计算与绘图的统一,我们有必要在AutoCAD平台上,利用语言进行二次开发,建立常用图形库,在绘制时调出,避免重复性劳动及绘图不规范等问题。 本的主要目的就是在对轴类零件结构分析的基础上,选择一种有代表性的图形结构,通过采用AutoLisp语言编程对AutoCAD进行二次开发,即可实现不同轴径、槽宽和槽深的轴剖面图的自动绘制及尺寸标注,提高了轴类零件的绘图效率。 关键词:轴类零件;参数化设计;二次开发;AutoLisp语言 Abstract AutoCAD is theworld’s most commo
n use of graphics software,but its specific fu
nctio
ns i
n certai
n still its ow
n shortcomi
ngs.Drawi
ng i
n the desig
n of mecha
nical parts,some commo
n graphic
needs ofte
n draw,ifwe draw o
ne by o
ne,obviosly laborious a
nd time co
nsumi
ng duplicatio
n of efforts,the system map that comeswith fast copy a
nd paste i
nto other editi
ng operatio
ns it has i
nevitable limitatio
ns.With the co
nti
nuous i
ntrodutio
n of sta
ndard parts library,a large part of the problem is i
ndeed solved,but perso
nally thi
nk thatwe ca
n
not meet the actual requireme
nts.Therefore,i
n order to improve drawi
ng speed,we ca
n use computer software to co
nduct parametric drawi
ng.AutoLisp la
nguage embedded i
n AutoCAD, calculatio
n a
nd drawi
ng to achieve a u
nified,we
need the AutoCAD platform,use the seco
nd la
nguage developme
nt,the establishme
nt of commo
n graphics library,i
n the drawwhe
n called up,to avoid repetitivework a
nd the problem of drawi
ng is
not sta
ndardized,etc. The mai
n purpose of this paper is to a
nalyze three dime
nsio
nal structure based o
n the graphic to select a represe
ntative structure,through the use of AutoLisp la
nguage programmi
ng o
n the seco
ndary of AutoCAD,you ca
n achieve differe
nt shaft diameter,groovewidth a
nd groove depth of the axial profiles of automatic drawi
ng a
nd dime
nsio
ni
ng,improve the efficie
ncy of shaft parts of the drawi
ng. Keywords:shaft parts;parameterizatio
n desig
n;seco
ndary developme
nt;AutoLisp la
nguage 目录 引言1 1 AutoCAD及其二次开发技术2 1.1第一代开发工具——AutoLISP 2 1.2第二代开发工具——ADS 2 1.3第三代开发工具——Visual LISP,ARS及基于ActiveX Automatio
n技术的VBA等3 1.3.1 Visual LISP(VLISP) 3 1.3.2 ARX 3 1.3.3基于ActiveX Automatio
n技术的VBA等开发工具4 1.4总结5 2利用AutoLisp进行参数化绘图的方案6 2.1鼠标拖动6 2.2尺寸驱动6 2.3总结7 3对话框的设计8 3.1 DCL语言的语法规8 3.2对话框设计中用到的控件和属性8 3.3对话框的程序编译9 4系统设计14 4.1轴设计的总体方案14 4.2主程序的设计14 4.2.1对话框PDB函数14 4.2.2主程序的编译16 4.3程序的运行25 5结论29 谢辞30 参考文献31
展开...
作品编号: 200304
文件大小: 6.18MB
下载积分: 800
文件统计: doc文件4个,dwg文件4个,pdf文件2个,zip文件1个
正在加载...请等待或刷新页面...

热门搜索

相关推荐

© 机械5 访问电脑版