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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Python 3

Supported by

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