vpype-dxf
vpype dxf loading plugin
Adds command dread (dxf-read) that reads dxf files and into the vpype pipeline.
ezdxf
Ezdxf is used as the backend of this project. The -Q/--query feed directly into the query field of the ezdxf query(), and the -g/--groupby option is directly in the groupby value. This will allow you to use any valid ezdxf properties to groupby. The defaults are * for query and color for groupby.
Examples
-
vpype <file> dread --groupby lineweight write lines.svg-- This would load the file and group the layers such that each lineweight in the dxf document is a different grouped according to their lineweight. -
vpype dread -Q 'LINE CIRCLE[color==1]' 3colors.dxf write lines-circ.svg-- This finds and processes only theLINEandCIRCLEobjects wherecolor==1and writes those to the given file. -
vpype dread -g lineweight file.dxf show --colorful-- Will group by the lineweight and show colorful layer groupings of those groups. This can work wonders for visualizing a messy file. -
vpype dread --groupby center circles.dxf stat-- Will group objects by the center of their circles.
See the ezdxf documentation on query for advanced help.
https://ezdxf.readthedocs.io/en/stable/query.html
Acknowledgement
- ezdxf author mozman did all the heavy lifting of parsing the dxf files.
- abruto's research and suggestions in issue #5 lead to rather large increase in functionality.
Metadata
Release files for vpype-dxf 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vpype-dxf-0.2.0.tar.gz | 6.6 kB | Without provenance | Details for vpype-dxf-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vpype_dxf-0.2.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for vpype_dxf-0.2.0-py2.py3-none-any.whl |
Total release size: 13.3 kB
Release files / vpype-dxf-0.2.0.tar.gz
| Download URL | vpype-dxf-0.2.0.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
912e9d0d4faf37df340edf86da238a133aaf0a4958509993de0a56038a0d5115
|
|
BLAKE2b-256 checksum How to use checksums |
810679cf7089e27a62c269fa77ba3b5b1dbe9954f57ebdbcb64417a852bac085
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
|
Release files / vpype_dxf-0.2.0-py2.py3-none-any.whl
| Download URL | vpype_dxf-0.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
523a717981727f06fb8e41243cf394411745ff8786465d6260e9216b878f53b0
|
|
BLAKE2b-256 checksum How to use checksums |
7cac07eda69439cd4e5b0ed0d835fe7d6fa4e472297896715d55dd3a732c5910
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
|
Security for vpype-dxf 0.2.0
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.