ducsvg - v0.0.0-development

ducsvg


SVG Adapter for the duc 2D CAD File Format

NPM NPM ducsvg@latest release Downloads

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.

For detailed documentation, including all available types and utility functions, visit our Documentation.

  • Playground: Experiment with the duc format in a live environment.
  • Documentation: Comprehensive guides and API references.

Feel free to open an issue or contact us at Ducflair Support.

This project is licensed under the MIT License. See the LICENSE file for more details.