Convert CAD
About CAD File Format
CAD stands for Computer Aided Design. The term CADD (for Computer Aided Design and Drafting) is also used. It is used for a 3D graphics file format and may contain 2D or 3D designs. CAD file is a digital file format of an object generated and used by CAD software. A CAD file contains a technical drawing, blueprint, schematic, or 3D rendering of an object. There may be other CAD tools that can be used to create, open, edit and export these .cad files to more widely used CAD drawing file formats. Below we are going to discuss about the most popular CAD File Formats and the most recommended software that can open, modify and convert it other popular formats.
Convert from CAD
With GroupDocs.Conversion you can easily convert your CAD document into another file format.
For example DWG to PDF conversion code snippet will look like this:
// Load the source DWG file
using (Converter converter = new Converter("sample.dwg"))
{
// Set the convert options for PDF format
PdfConvertOptions options = new PdfConvertOptions();
// Convert to PDF format
converter.Convert("converted.pdf", options);
}
Put it simply - you just load a CAD file into Converter
, select desired output format and all the rest will be done by GroupDocs.Conversion.
Convert to other CAD format
On the other hand, converting your CAD files to another CAD format is also quite simple and natural. The following code sample demonstrates how to convert DWG document to STL in C# using GroupDocs.Conversion.
// Load the source DWG file
using (Converter converter = new Converter("sample.dwg"))
{
// Set the convert options for STL format
var options = new CadConvertOptions {
Format = CadFileType.Stl;
};
// Convert to VDW format
converter.Convert("converted.stl", options);
}