Skip to main content

Python 2D parametric DXF rendering engine.

Project description

QSketchMetric

CI Documentation Status codecov License: MIT PyPI Python 3 Checked with mypy

QSketchMetric is a Python 2D parametric DXF rendering engine. Parametrization is done using QCAD Professional software

⚡️ Quickstart

from qsketchmetric.renderer import Renderer
from ezdxf import new

output_dxf = new()
input_parametric_dxf_path = 'tutorial.dxf'
variables = {"h": 50}

renderer = Renderer(input_parametric_dxf_path, output_dxf,
                    extra_variables=variables)
renderer.render()

output_dxf.saveas('tutorial_rendered.dxf')

📷 Demo showcase

Example GIF

⚙️ Installation

The most common case is the installation by pip package manager:

  pip install qsketchmetric

🎯 Features

  • Parametric DXF rendering
  • Easy dxf files parametrization using QCAD Professional software
  • Support for LINE,CIRCLE,ARC and POINT entities
  • Open source and daily maintained

📚 Documentation

Documentation is available at QSketchMetric docs

📈 Roadmap

Support for more entities is planned in the future. If you have any suggestions, please create an issue. If you want to contribute, see How to contribute section in the documentation. I am open to any suggestions and waiting for your pull requests!

⚠️ License

QSketchMetric is licensed under the MIT license. When using the QSketchMetric in your open-source project I would be grateful for a reference to the repository.

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

qsketchmetric-1.6.9.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

qsketchmetric-1.6.9-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file qsketchmetric-1.6.9.tar.gz.

File metadata

  • Download URL: qsketchmetric-1.6.9.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for qsketchmetric-1.6.9.tar.gz
Algorithm Hash digest
SHA256 13791df03b969c44f2cb2d78154d393079e2f79fb0039ddfcdfa3910ea874562
MD5 49012145ca5cc9a8fc4f8b5edead9bd5
BLAKE2b-256 5666e603e4ff4daf55129956300f3410f8e43948384a9c9f1cb027db21d69a5d

See more details on using hashes here.

File details

Details for the file qsketchmetric-1.6.9-py3-none-any.whl.

File metadata

File hashes

Hashes for qsketchmetric-1.6.9-py3-none-any.whl
Algorithm Hash digest
SHA256 5cc9e2debd88d1ab8b69b43a9970213cd18ce2d33350bf71b0d6e1f8a73df88f
MD5 6a6e8324ede3d04f767a56fdf14c4d46
BLAKE2b-256 b9d9a7e57558f5506143dc321915843e41bb382c4f7046d7bad5761ba402d8bf

See more details on using hashes here.

Supported by

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