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 theducdocument to PDF format before transforming it into SVG usinghayroandhayro_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.
duc format in a live environment.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.