This repository has been deprecated and is no longer maintained. We apologize for any inconvenience this may cause. We have moved the project to a new repository at https://github.com/CADViewer/NextCloud. Please update your bookmarks and references to the new repository. The new repository contains the latest updates and bug fixes. Thank you for your understanding.
To enable viewing of DWG, DXF, DWF and DGN CAD files using CADViewer, please proceed as follows:
-
Copy the content of this cadviewer install folder and put it in the /apps/ folder of your nextcloud installation under /apps/cadviewer/.
-
In the NextCloud /apps/ folder-structure, navigate to /apps/cadviewer/converter/converters/ax2023/linux/. In this folder the executable, ax2023_L64_xx_yy_zz needs to have chmod 777 permission for read, write and exe rights.
-
In the NextCloud /apps/ folder-structure, the following folders needs to have full read/write/exe permissions (777):
/apps/cadviewer/converter/converters/ax2023/linux/
/apps/cadviewer/converter/converters/files/
/apps/cadviewer/converter/converters/files/merge/
/apps/cadviewer/converter/converters/files/print/
/apps/cadviewer/converter/converters/files/pdf/
/apps/cadviewer/converter/content/redlines/
/apps/cadviewer/converter/content/redlines/v7/
-
The file /apps/cadviewer/converter/php/call-Api_Conversion_log.txt needs read write permissions for everyone (777).
-
Go to the applications menu of NextCloud and accept to use CADViewer as an untested application.
-
Activate the NextCloud application
-
Success! You can now visualize your AutoCAD DWG/DXF/DWF and MicroStation DGN files with a simple click in NextCloud!
-
Please try out the CADViewer features including print, measurements, layer handling and the Redline annotation interface.
-
[Optional] If you are on Windows you will have to modify the file cadviewer/converter/php/CADViewer_config.php to adapt the configuration to Windows (change executeable name and folders). You will also have to install the Windows back-end CAD converters. Pull the /converters/ax2023/windows/ tree from cadviewer-script-library and replace into the /apps/cadviewer/converter/converters/ tree. In cadviewer/converter/php/CADViewer_config.php, update $platform and $ax2023_executable.