Alfresco Addon to enable preview of Autocad files within Alfresco Share
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Autocad_server_repo first commit Nov 29, 2017
install_amps first commit Nov 29, 2017
LICENSE Create LICENSE Nov 30, 2017
README.md

README.md

Previewing Autocad files (.dwg) files in Alfresco Share

This addon works with Alfresco 5.1 and 5.2. Please follow instructions below.

For installer > 5.1 apply Autocad_server_repo.amp . and follow these steps

  1. Install the given trial package of qcad. Any version higer than this will show watermark on the document. It will get installed on /home/{user}/opt/qcad-3.17.3-trial-linux-x86_64

This correct version can be downloaded from:

Linux:

https://storage.googleapis.com/eisenvault-downloads/qcad-3.17.3-trial-linux-x86_64.run

Windows:

https://storage.googleapis.com/eisenvault-downloads/qcad-3.2.2-win-installer.exe

  1. Update the alfresco-global.properties file by adding.
dwg2pdf.root=/home/{user}//opt/qcad-3.17.3-trial-linux-x86_64
content.transformer.dwg2pdf.priority=50
content.transformer.dwg2pdf.extensions.dwg.pdf.supported=true
content.transformer.dwg2pdf.extensions.dwg.pdf.priority=50
content.transformer.dxf2pdf.priority=50
content.transformer.dxf2pdf.extensions.dxf.pdf.supported=true
content.transformer.dxf2pdf.extensions.dxf.pdf.priority=50

Authors & Attribution

Written by Tushar Khanka of EisenVault (www.eisenvault.com).

Write to us at: engineering@eisenvault.com

Code based on instructions written by Soft29 at: http://soft29.info/blog/entry/alfresco-cad-dxf-dwg-preview

Relies on QCAD community edition, itself released under GPL v3.0 (https://qcad.org/en/qcad-downloads-trial)

Note

This will take minimum 15 seconds to generate the preview, because of restrictions in QCAD's community edition.