Python 2D parametric DXF rendering engine.
Project description
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
from ezdxf import units
output_dxf = new()
output_dxf.units = units.MM
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
⚙️ 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
- Explicit support for parametrization of
LINE
,CIRCLE
,ARC
,POINT
entities - Support for parametrization of
LWPOLYLINE
,POLYLINE
,SPLINE
,ELLIPSE
,MTEXT
,TEXT
etc. entities usingINSERT
entity. - Open source and daily maintained
📚 Documentation
Documentation is available at QSketchMetric docs
📈 Roadmap
Explicit 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!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for qsketchmetric-1.6.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0a2dd096250a63136f7be49e293318c0ab44c0ece4063eaef63043fbb9c8b42 |
|
MD5 | 1bb2e72468b5261e82f47d564e0471b6 |
|
BLAKE2b-256 | 46863adffac269c61b1183e626d3b54b69ee7ba696fc9ac838af4cedc964d4f6 |