杨小李 李嘉成 刘莲



摘 要: 为了实现多管相交时切割线的参数化设计,采用几何法和三维坐标变换的思想,对每一根管表面展开的给出了与其他管相交的展开及相贯线算法的参数公式和开发步骤,开发出了多通管件立体图及圆柱表面展开图的绘图命令;该命令由基于参数化绘图方法的Lisp程序和基本尺寸参数输入实现,同时列出了需要输入的基本尺寸参数。
关键词: 参数化;坐标变换;相贯曲线;算法;多通管件
中图分类号: TP391.41 文献标识码: A DOI:10.3969/j.issn.1003-6970.2020.08.029
本文著录格式:杨小李,李嘉成,刘莲,等. 多管相交的参数化设计[J]. 软件,2020,41(08):103-106
【Abstract】: In order to realize the parametric design of the cutting line when multiple tubes intersect, the parameter formula and development steps of the expansion and intersection line algorithm that intersect with other tubes are given on the surface of each tube, and three views of multi-pass pipe fittings are developed The drawing command of the expanded drawing of the sheet metal on the cylindrical surface; this command is realized by the Lisp program based on the parametric drawing method and the basic size parameter input dialog box. At the same time, the input conditions and parameters of the basic size parameter are listed.
【Key words】: Parametric; Intersection curve; Algorithm; Multiple tubes
0 引言
在生产和生活的各个领域中,以圆柱形表面为构成元素的各种零、部件是应用最多的工业品。在有关的工程设计和钣金设计中,绘制其轴测图和展开图是必不可少的。但在尺规绘图[1]或者二维CAD绘制相交圆柱体图样的过程中,因为圆柱体直径和交角等参数不同,获得的轴测图和圆柱表面展开图也会发生相应的变化,要一一绘制出基于不同直径和交角的相交圆柱体轴测图和表面展开图样就变得比较繁琐和困难,同时又做了许多重复性工作,使得工作效率低、花费时间长。本文介绍一个利用AutoCAD的Lisp集成开发环境和手段开发的AutoCAD参数化绘图命令,它针对多个圆柱体相交,根据输入不同的直径、交角以及底面圆心距离,自动绘制出相对应的轴测图及多个圆柱体表面展开图,避免了上述设计绘图的缺点,对圆柱体相交的零件和展开图设计提供了一个十分高效准确的绘图手段[2]。……