ezdxf How to insert file "Importer" to achieve the following effect

48 views
Skip to first unread message

李江

unread,
Jun 12, 2020, 3:43:46 AM6/12/20
to python-ezdxf

Everybody is good!

I've come to China

English does not work, text comes to translation

  • B.png

    The second picture below is the effect of "DZDXF"

付达

unread,
Jul 1, 2020, 9:08:11 AM7/1/20
to python-ezdxf
你好,李江!
        非常高兴能在这里遇见同胞。
        我没法很清楚的了解你想提问的问题,而且也看不到你说的ezdxf处理后的图纸效果。
我猜测你是想利用importer从其他文件中导入图纸,并将图纸整齐排列,对吗?
如果是的话,我推荐你看一下这个帖子,它同样来自ezdxf论坛:
参照上述链接给出的思路,你可以尝试以下做法:

1. 先将图纸变成块(block),并调整块的位置(预先做排版)。
2. 利用importer将块导入到目标图纸文件中。具体可参照importer实例:https://ezdxf.readthedocs.io/en/stable/addons/importer.html

导入后图纸依旧是一个一个块,需要手动打散一下。
希望对你有帮助。
付达
Reply all
Reply to author
Forward
0 new messages