Python AutoCAD COM automation via pywin32
Project description
pyacadcom - Pyton automation of AutoCAD
Library for simplifying writing ActiveX Automation Pyton scripts for AutoCAD
Requires:
Features:
Solves connection to Autocad COM
Simplifies work with coordinates
Simple usage example:
from pyacadcom import AutoCAD, acadPoint
acad=AutoCAD()
point1 = acadPoint(25, 50, 0)
nextpoint = (100,100,10)
point2 = acadPoint(nextpoint)
acad.ActiveDocument.ModelSpace.AddLine(point1(), point2())
point3 = point1 + point2
acad.ActiveDocument.ModelSpace.AddLine(point2(), point3())
Links
Source code and issue tracking at GitHub.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyacadcom-0.0.7.tar.gz
(9.7 kB
view hashes)
Built Distribution
pyacadcom-0.0.7-py3-none-any.whl
(10.8 kB
view hashes)
Close
Hashes for pyacadcom-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9bae4f5f7691f7a6d476dcb55a25023a65e2acc0243442a0de3d16127668c74 |
|
MD5 | 7622a5caa2181e2073a162d446983170 |
|
BLAKE2b-256 | b2e94ab5ea19d017bdb384f527e862116f25a9562d4b44b59e8fe3d79f900a05 |