Integrate DXF viewer into WebApp
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.