Alfresco
Alfresco is a widely used Document Management System across the manufacturing and EPC (Engineer, Procurement, Construction) industry. One of the key document types in this segment is 2D and 3D CAD files which are generated through AutoCAD and other such CAD software. Alfresco default document previewer doesn’t support these files, so the users can’t view the documents within Alfresco. However, we can integrate QCAD software with Alfresco to enable users to view these CAD files within Alfresco document viewer.
In this blog, we have provided QCAD – Alfresco integration steps in the Linux environment for the developers.
Install QCAD using the following steps. (Linux)
1. Download following file
https://www.dropbox.com/s/kwwolj6kzckysvf/qcad-3.17.3-trial-linux-x86_64.run
2. Install QCAD using the following command
Go to the path where the above file is copied.
./qcad-3.17.3-trial-linux-x86_64.run press enter
3. Copy and paste the following lines at the starting of alfresco.sh file located at /opt/alfresco-community/
(These are the environment variables which are need to be set before starting QCAD)
export QT_STYLE_OVERRIDE=””
export QT_QPA_PLATFORM=offscreen
export DISPLAY=””
export QT_QPA_FONTDIR=”/usr/local/share/fonts/type1″
4. Place the following files at alfresco-community/tomcat/shared/classes/alfresco/extension/
https://www.dropbox.com/s/vhvp4ka1doym675/dwg2swf-transform-context.xml
https://www.dropbox.com/s/ns2rdh8vpl1nmhb/dxf2swf-transform-context.xml
https://www.dropbox.com/s/xaeiag05898z5pc/web-preview.get.config.xml
5. Add following in alfresco-community/tomcat/shared/classes/alfresco/extension/mimetype/mimetyps-extension-map.xml
dxf
.dxf
6. Add the following at alfresco-global.properties file
# QCAD Configuration Properties # transformer.strict.mimetype.check=false dwg2pdf.root=/root/opt/qcad-3.17.3-trial-linux-x86_64 dwg2pdf.root=C:/Program Files/QCAD 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
7. Restart the server
8. To test the QCAD
Upload the .dxf or .dwg file, they should be previewed in Alfresco.
QCAD integration will support popular file extensions such as DWG, DXF, PDF, PNG, JPEG, TIF, GIF, BMP, WRL, TIF, PSD in 2D and OBJ, 3DS, STL, WRL in 3D.
As an Alfresco ECM & BPM expert, Tridhya Tech team has been associated with several clients where Alfresco was deployed to store, govern and retrieve the CAD files. It is not essential to do the Alfresco AutoCAD integration, but the previewer would suffice. The rest of the functionality would be leveraged from the Alfresco Enterprise Content Management platform.
The technology has been a pioneer in speeding up the data analysis of customers for enterprises.
17 Jul 2024
Learn about Alfresco development and its benefits for businesses. Discover how leveraging Alfresco can enhance efficiency and collaboration.
17 Jul 2024
Mastering Alfresco Development: Essential Tips for Success in ECM Solutions” provides crucial insights and strategies for developers to excel in…
17 Jul 2024
401, One World West, Nr. Ambli T-Junction 200, S P Ring Road, Bopal, Ahmedabad, Gujarat 380058
Kemp House 160 City Road, London, United Kingdom EC1V 2NX
Nürnberger Str. 46 90579 Langenzenn Deutschland
Level 36 Riparian Plaza, 71 Eagle Street, Brisbane, QLD 4000
4411 Suwanee Dam road, Bld. 300 Ste. 350 Suwanee GA, 30024
Cube Work Space, 24 Hans Strijdom Avenue, Cape Town
B 503 Sama Tower, Sheikh Zayed Road, United Arab Emirates
34 Applegrove Ct. Brampton ON L6R 2Y8
We use cookies to improve your browsing experience.
OKAYThis website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.