Integrate DXF viewer into WebApp
Hello,
I can download DXF files from the Solar Energy CAD software I use.
I now want to show these to clients inside of our Web application.
Can someone explain how I would set this up, given the following requirements :
Works on mainstream browers
Users do not need to install any software on their side
Thank you !
Assuming you are a developer or have a team of developers at your disposal…
You’ll need to find a library that supports DXF rendering/processing.
The most common is from the Open Design Alliance – they have support for native apps (macOS, Windows, Linux) and WebApps.
If you’re looking for an open-source alternative you could search GitHub for a DXF Viewer. For example ‘Simple DXF Viewer by Yangosoft’ . I have no idea if that’s any good. It’s just the first I found.
(Note: make sure you check the license permits what you require.)
Finally, you could write it yourself. It’s the free option and will ensure that you don’t have any license issues but it’s obviously going to take a long time. You can find Scan2CAD’s description of the DXF File Specification.
I understand you’d want to open up any DXF files on your own website. But if you’re interested, Autodesk has a free browser-based CAD viewer that can easily handle DXF files – https://viewer.autodesk.com/
It’s a good suggestion from Ascent.
Consider whether you really need to invest the cost and time to have your own viewer. Could you simply link users to another online viewer? The best being Autodesk’s
The most common is from the Open – they have support for native apps (macOS, Windows, Linux) and WebApps.
If you’re looking for an open-source alternative you could search GitHub for a DXF Viewer. For example ‘Simple DXF Viewer by Yangosoft’ . I have no idea if that’s any good. It’s just the first I found.
https://designsdxf.com/