Ubuntu – Preview of CAD files in format .dwg

cadconversionpdfpreviewssoftware-recommendation

I'm looking for a utility or a program for Ubuntu, and possibly even for Windows that is able to convert a CAD file format .DWG to PDF.

My need is to provide a preview of CAD files, and I thought that the easiest way is to convert them into PDF format, but I'm open to suggestions, even if there is only the possibility to convert them to JPG image file type or PNG would be fine.

What interests me is only to find some solution, no matter if it is commercial or free

Best Answer

You can use QCAD, an open source AutoCAD replacement or the community fork LibreCAD made to work using the newer Qt4 framework. You can install LibreCAD from the Ubuntu Software Center. Using one of these two programs you import DWG files, edit the drawing and export it to PDF.

LibreCAD screenshot

QCad offered a command line tool to convert DWG to PDF directly - I'm guessing it's also available in LibreCAD.

./dwg2pdf.sh drawing.dwg