Skip to main content

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


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 details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

dxf2x-0.0.1-py3.7.egg (25.3 kB view details)

Uploaded Egg

dxf2x-0.0.1-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file dxf2x-0.0.1.tar.gz.

File metadata

  • Download URL: dxf2x-0.0.1.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for dxf2x-0.0.1.tar.gz
Algorithm Hash digest
SHA256 294575f734772529dd02b16f8c68465f36449be49ec83d3be0c1fd885986bf7c
MD5 e5e0ef18c17b9c551ca66415600ba48b
BLAKE2b-256 ab90c68a2e797c7e7ab518f5db3846c8fe181329c3c022d0046d879f84ea1ba1

See more details on using hashes here.

File details

Details for the file dxf2x-0.0.1-py3.7.egg.

File metadata

  • Download URL: dxf2x-0.0.1-py3.7.egg
  • Upload date:
  • Size: 25.3 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for dxf2x-0.0.1-py3.7.egg
Algorithm Hash digest
SHA256 5dc5ede3c6f730dc4d46cdca54f9af48e6ce694c7b2fa99d71ff26efa5ab1a69
MD5 40037f9233422b22c8a571b5b76dff77
BLAKE2b-256 a7b68fc805d4cf12e91a7588721a391de980343b24dba11a5a9e34d3dd33cd08

See more details on using hashes here.

File details

Details for the file dxf2x-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: dxf2x-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for dxf2x-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1527d70fc76e40cb20aceeed224e1875e720235a05d61d1992738c643a0aa7da
MD5 3d31e3320e1e7ea2b47a7c2e8774f725
BLAKE2b-256 601f0e6928546aeb4333130ac8e0fb0ee55a65eaaec1e0a5f91d747021ff622f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page