How does the front end open the dwg (format of autoCad drawing software) file on the web page?

Baidu found a lot, all need to download controls to install, if you need to download controls to open, then there is no point.


if you can have a preview of dwg parsing implemented by js, autodesk will not provide one?


after two days of search and testing:
1PowerDesk does have a cloud api platform, you upload the dwg file to convert it into a format that their front-end js library can parse, and use the front-end js library they provide to parse it. (recommended scheme, but will not be adopted for fear that the uploaded blueprints will be leaked by the government.)
2Jing DWG to fbx format file, which is loaded through three's fbxloader library. There is a compatibility problem.
3 dwg to fbx,fbx and then to obj or gltf to babygn.js to load? Untested, it doesn't seem to work.

Menu