使用python的pyautocad库,对CAD进行自动化操作,并将程序编译为exe,无需安装python即可直接使用!
使用python对CAD进行二次开发,实现根据数据在CAD软件自动批量绘画图形以及根据现有CAD图形进行批量扫描图形信息的功能!
在建模的过程中,可能出现排水管线方向错误导致出错问题,所以在前期进行管线方向检查可以避免后期的错误出现,但是如果一个个点击操作,则效率低下,故采用python根据CAD写出的pl线数据进行计算,生成箭头多段线文本使用CAD插件画回图纸,可以直观查看管线方向是否错误。
一个文本切片小工具,功能为对txt文件进行切片分割,生成多个txt文本,切片方式分为按每个txt文件包含段数进行切割或者根据最终输出个数来进行切割。
在学习python的过程中,学会如何使用各种第三方库是提高效率的极佳方式,本文记录了解过的python第三方库。