基于AutoLISP开发的AutoCAD三维图形的单轴缩放功能
首发时间:2010-09-28
摘要:在实际工作中,由于需要突出局部结构或者其它原因,有时需要将AutoCAD图形沿各方向进行不同比例地缩放,即实现图形的单轴缩放。AutoCAD软件的缩放命令(scale)只具备各轴统一比例缩放的功能,而采用一般方法操作繁琐、工作量大。好在AutoCAD拥有多种可供二次开发的编程语言,使用者可根据自己的需要通过编程实现一些AutoCAD不具备的功能。AutoLISP是一种嵌入AutoCAD内部的编程语言,完全针对AutoCAD进行编程,它具有语法简洁、表达能力强、控制结构灵活等特点,是开发一些简单功能的首选编程语言。本文主要介绍了基于AutoLISP程序实现的AutoCAD三维图形的单轴缩放功能及其使用方法。
关键词: 采矿工程 AutoCAD AutoLISP 二次开发 单轴缩放
For information in English, please click here
The Single Axle Scaling Function of AutoCAD Three-Dimensional Drawing Developed Based on AutoLISP
Abstract:Sometimes, we need to scale the drawings of AutoCAD in different proportions along different axles because of the demand for highlight local structure or other reasons in practical work. The scaling command of AutoCAD can only have the function that scale the drawings in one proportion. However, it always shows complex operation and heavy workload with general methods. Fortunately, AutoCAD has many programming languages for secondary development that users can use to develop some functions that autocad didn't have according to their needs. AutoLISP, which is a kind of embedded programming languages of AutoCAD and dsigned all for AutoCAD, is the first choice to develop some simple functions with these characteristics, such as simple grammar, strong expression ability and control structures flexibly. This paper mainly introduces the single axle scaling funtion of AutoCAD three-dimensional drawings that developed based on AutoLISP language and its application.
Keywords: mining engineering AutoCAD AutoLISP secondary development single axle scale
论文图表:
引用
No.4386163532831128****
同行评议
共计0人参与
勘误表
基于AutoLISP开发的AutoCAD三维图形的单轴缩放功能
评论
全部评论