Skip to main content

Dxf2svg - dxf to svg converter

Dxf2svg is a dxf to svg format converter.

Changelog

dxf2svg 0.1.4

  • python 2 support dropped

  • POLYLINE support added

dxf2svg 0.1.1

  • first public release (alfa stage)

  • LINE, CIRCE, TEXT dxf entity supported

  • all entities go to one linetype, color and weight

Requirements

  1. svgwrite (https://pypi.python.org/pypi/svgwrite)

  2. ezdxf (https://pypi.python.org/pypi/ezdxf)

How to install

Dxf2svg is available through PyPI and can be install with pip command. To install dxf2svg and needed requirements use pip by typing

pip install svgwrite

Using dxf2svg

In the most simple case, set the current directory to the location of your drawing.dxf and execute:

python -m dxf2svg drawing.dxf.dxf

You can also specify output svg size you want, for example

python -m dxf2svg drawing.dxf.dxf 300

After that you will get output svg files in the same directory where your drawing.dxf is. Please check project website for more information.

Limitation

At the moment not all dxf entitie types are supported during converting. It convert LINE, CIRCE, TEXT, POLYLINE and all those entities go to one linetype, color and weight in produced SVG.

Licence

Dxf2svg is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Copyright (C) 2018 - 2022 Lukasz Laba <lukaszlaba@gmail.com>

Contributions

If you want to help out, create a pull request or write email.

More information

Project website: https://bitbucket.org/lukaszlaba/dxf2svg/wiki

Code repository: https://bitbucket.org/lukaszlaba/dxf2svg

PyPI package: https://pypi.python.org/pypi/dxf2svg

Contact: Lukasz Laba <lukaszlaba@gmail.com>

Metadata

Release files for dxf2svg 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dxf2svg 0.1.4
File Size Uploaded Provenance Actions
dxf2svg-0.1.4.tar.gz 17.6 kB Without provenance Details for dxf2svg-0.1.4.tar.gz

Release files / dxf2svg-0.1.4.tar.gz

Download URL dxf2svg-0.1.4.tar.gz
Size 17.6 kB
Tags Source
SHA-256 checksum
How to use checksums
fc570619d08cabd0bb7e8c7b4dcd91c05ece1be861a9747f3ee5a6a83de3aea5
BLAKE2b-256 checksum
How to use checksums
10ef94daad7d999a5ad3f398e392322a0fdee9072fb6c7863c231be7db1ff6e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.1

Security for dxf2svg 0.1.4

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page