Skip to main content

Python 2D parametric DXF rendering engine.

Project description

QSketchMetric logo

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'
input_variables = {"h": 50}

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

output_dxf.saveas('tutorial_rendered.dxf')

📷 Demo showcase

Demo 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.

🏆 Hall of fame

This project exists thanks to all the people who contribute. Thank you!

GitHub Contributors Image

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.11.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

qsketchmetric-1.6.11-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qsketchmetric-1.6.11.tar.gz
  • Upload date:
  • Size: 15.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.11.tar.gz
Algorithm Hash digest
SHA256 c1dd4c7d534712113b6401acd2e63c3c4836887fafa44b57634eba7cb18e75ab
MD5 19e8af268cff6269171f3f56071ae356
BLAKE2b-256 f22ce9b64a9d1bf3ebea019ae0031e14cf8f5577eda750b3dbbd491e954e8d7d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for qsketchmetric-1.6.11-py3-none-any.whl
Algorithm Hash digest
SHA256 2404839410f8a088c0ef2d2628f2b85a8258e069285db60e8979cbb8a53b6e34
MD5 3f4f2cef829b7078e09c688aaf81b143
BLAKE2b-256 fc693f4796e526dde986c34eaf05b597c3ef64e3cddffeaf0d927285ffb3a24f

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