Python Conversion APIs for CAD and BIM files
Convert DXF, DWG, DWT, DGN, IFC, DWF, DWFX, STL, IGES, CF2, Collada(DAE), PLT, OBJ, SVG, DXB, FBX, U3D, 3DS, STP documents to raster and vector image formats including PDF without any CAD software.Download Free Trial
Aspose.CAD for Python is an advanced CAD and BIM drawings conversion API without any software dependencies. It allows developers the mpdification, conversion and export of DXF, DWG, DWT, DGN, IFC, DWF, DWFX, STL, IGES, CF2, Collada(DAE), PLT, OBJ, SVG, DXB, FBX, U3D, 3DS, STP files to vector and raster image formats. During the conversion process, developers can choose and convert specific layers and layouts as well as keep track of the file conversion process.
At a Glance
An overview of the main conversion and rendering capabilities of API.
- Complete Drawing
- Specific Layout
- Customize Conversion
- Track Conversion Process
Aspose.CAD for Python supports the Python version 3.9 and above.
- Python 3.9
Supported File Formats
API supported file formats are listed below.
- DWG Release 11, 12, 13, 14
- DWG 2000/2000i/2002
- DWG 2004/2005/2006
- DWG 2010/2011/2012
- DWG 2013/2014/2015/2016
- AutoCAD DXF
- Autodesk DWF
- Industry Foundation Classes (IFC)
- STereoLithography (STL)
- Fixed Layout: PDF
- Raster Images: PNG, BMP, TIFF, JPEG, GIF
Advanced Python CAD Library Features
Current versions of DXF and DWG documents supported
AutoCAD documents conversion to PDF
AutoCAD files rendering to Raster images
Choose and convert specific layouts
Choose and convert specific layers
Track the document conversion process
DXF/DWG to PDF Format Conversion
Aspose.CAD for Python API supports converting CAD drawings to PDF. Developers can easily adjust drawing options like draw color, background color, page size, scale mode and so on before conversion.
Save CAD in PDF format - Python
// load CAD for conversion Image image = Image.load(dir + "template.dwg"); // create instance & set resultant page size CadRasterizationOptions rasterizationOptions = new CadRasterizationOptions(); rasterizationOptions.setPageSize(new SizeF(1200, 1200)); // save PDF PdfOptions pdfOptions = new PdfOptions(); pdfOptions.setVectorRasterizationOptions(rasterizationOptions); image.save(dir + "output.pdf", pdfOptions);
Render CAD Drawings in Raster Image Formats
Having a high fidelity rendering engine at its core, API can convert CAD and BIM drawings to various raster images including BMP, GIF, TIFF, PNG & JPEG without the need for any other software or library.
Support and Learning Resources
- Learning Resources
- Source Code
- API References
- Tutorial Videos
- Product Support
- Free Support
- Paid Support
- Release Notes
- Why Aspose.CAD for Java?
- Customers List
- Success Stories
Aspose.CAD offers individual native APIs for other popular development environments as listed below: