论文部分内容阅读
提出一种借用AutoCAD的三维功能解决二维图形消隐问题的方法,并对其中的几个关键技术问题进行了详细的讨论,解决了任意复杂装配图的生成问题。该方法通过直接调用AutoCAD内部命令boundary 和subtract完成平面图形内外轮廓的搜索,然后将互相覆盖的图形设为不同的深度值,直接调用Hide 命令对二维图形进行覆盖消隐。实例运行表明该方法效率高、性能稳定
A method to solve the problem of two-dimensional graphic blanking by using the three-dimensional function of AutoCAD is proposed. Several key technical problems are discussed in detail, and the generation of any complicated assembly diagram is solved. The method directly calls AutoCAD interior commands boundary and subtract to search the inside and outside of the plane figure, and then sets the mutually covering figures to different depth values, and directly calls the Hide command to cover and hide the two-dimensional figure. The operation of the example shows that the method is efficient and stable in performance