acad-extractor
A quick tool to extract block attributes and properties from AutoCAD drawings.
Usage
from acad_extractor import select_on_screen
print("Select AutoCAD blocks on screen")
names = []
attrs_list = []
props_list = []
handles = []
points = []
def callback(processed, total):
print(f"Processed {processed}/{total}")
print("-" * 70)
dt = select_on_screen(names, attrs_list, props_list, handles, callback, points)
print("-" * 70)
print(f"Processed {len(names)} at {dt} ms")
for i, name in enumerate(names):
print("-" * 70)
print(f"{name} {handles[i]} ({points[i][0]}, {points[i][1]}, {points[i][2]})")
for attr_name, attr_value in attrs_list[i]:
print(f"attr {attr_name} = {attr_value}")
for prop_name, prop_value in props_list[i]:
print(f"prop {prop_name} = {prop_value}")
Metadata
Release files for acad-extractor 1.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| acad_extractor-1.0.9-cp39-abi3-win_amd64.whl | CPython 3.9 | abi3 | Windows x86-64 | Details |
Release files / acad_extractor-1.0.9-cp39-abi3-win_amd64.whl
| Download URL | acad_extractor-1.0.9-cp39-abi3-win_amd64.whl |
|---|---|
| Size | 23.0 kB |
| Tags | CPython 3.9 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
7bcfc621f3312864c13f7b5e3ac5aab9df89e14a68e558645fcf32a85ce8a27a
|
|
BLAKE2b-256 checksum How to use checksums |
1d9fddb2befa96bcc3ccb8c3f88b50ee7d5b364b465d225122ac3a16a1b11012
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.9
|
Security for acad-extractor 1.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.