ducsvg
SVG Adapter for the duc 2D CAD File Format
ducsvg is a lightweight adapter for rendering duc CAD documents to SVG. It’s built on top of ducjs and focuses on accurate, standards-compliant SVG output you can embed in browsers or export from Node.js.
This library leverages the stable renderer from ducpdf, first converting the duc document to PDF format before transforming it into SVG using hayro and hayro_svg. This approach ensures high fidelity in the SVG output by utilizing the robust rendering capabilities of the PDF format.
Documentation
For detailed documentation, including all available types and utility functions, visit our Documentation.
Tools
- Playground: Experiment with the
duc format in a live environment.
- Documentation: Comprehensive guides and API references.
Contributing
At the moment we are not accepting contributions to this package. However, we welcome feedback and suggestions for future improvements. Feel free to open an issue or contact us at Ducflair Support.
License
This project is licensed under the MIT License. See the LICENSE file for more details.
Commit Message Guidelines
To ensure smooth releases with semantic-release, please follow these guidelines.
The duc format and libraries are constantly evolving, aiming to set new standards in the 2D CAD industry. Be a part of this transformation and help shape the future of design technology!