Secondary development of CAD drawing software based on LISP language
Zhai Yutao
地面区域治理技术已广泛用于煤层底板岩溶承压水害治理工程,地面区域治理以地面定向钻探技术为核心技术,其关键是曲线轨迹的定向钻孔设计,在实际工作中一般利用CAD设计制图软件来实现,但在设计过程中存在大量重复性工作。本文在常用CAD软件的基础上,使用LISP语言进行二次开发,解决曲线上任意点的位置查询、曲率查询、钻孔曲线轨迹的自动绘制、曲线轨迹剖面图的自动生成以及自动获取图形数据等诸多辅助设计难题,降低区域治理工程设计难度,减少设计绘图工作的繁琐环节,缩短设计周期,提高工作效率和设计准确率。
Ground regional control technology has been widely used in coal seam floor karst confined water disaster control project. Ground regional control takes ground directional drilling technology as the core technology, and the key is the directional drilling design of curve trajectory, which is generally realized by use of CAD design drawing software in practical work. But there is a lot of repetitive work in the design process. Based on the commonly used CAD software, this paper used LISP language for secondary development to solve many auxiliary design problems such as position query, curvature query, automatic drawing of drilling curve trajectory, automatic generation of curve trajectory profile and automatic acquisition of graphic data on any point on the curve. The study reduced the difficulty of regional control engineering design, reduced the cumbersome links of design and drawing work, shortened the design cycle, and improved work efficiency and design accuracy.
directional drilling hole design;CAD;LISP language;secondary development;drawing software;automatic mapping
主办单位:煤炭科学研究总院有限公司 中国煤炭学会学术期刊工作委员会