Convert between DXF, TSV, SVG, PXF(Protobuf) formats.
Project description
dxf2x
Convert between DXF, TSV, SVG, PXF(Protobuf) formats.
install
$ pip3 install dxf2x
$ dxf2x --version
dxf2x 0.0.1
Usage
dxf2x [-h] [-s FORMAT] -t FORMAT [-d DIR] [-q] [-v] FILE [FILE ...]
positional arguments:
- FILE: All the files are read and converted in turn.
optional arguments:
-s FORMAT
,--source FORMAT
: specifies the format of the input. Determined by FILE by default.-t FORMAT
,--target FORMAT
: specifies the format of the output.-d DIR
,--dir DIR
: specifies the directory for output files.-q
,--quiet
: disable the progress.-h
,--help
: show this help message and exit.-v
,--version
: show program's version number and exit.
Choose FORMAT
from 'dxf', 'tsv', 'svg', 'pxf'.
Examples
Convert each dxf files to a svg files
dxf2x -t svg *.dxf
Convert each tsv files to a protobuf files into patterns folder.
mkdir patterns
dxf2x -t pxf -d patterns *.tsv
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dxf2x-0.0.1.tar.gz
(9.8 kB
view hashes)
Built Distributions
dxf2x-0.0.1-py3.7.egg
(25.3 kB
view hashes)
dxf2x-0.0.1-py3-none-any.whl
(12.2 kB
view hashes)