Browse our Products

If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.

CAD File Conversion API for Java

banner Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

Aspose.CAD for Java allows developers to export and convert CAD and BIM drawing files like DWG, DXF, DWT, DAE and others to PDF, Vector and Raster images. It is a native API and does not require AutoCAD or any other software to be installed. You can also convert the selected layers and layouts from the CAD files. The conversion to PDF and Raster images is of very high quality. Please read release notes for Aspose.CAD Java 23.11 to know what is improved on the latest version.

CAD File Processing

Read CAD Formats

AutoCAD: DWG, DWT, DWF, DWXF, IFC, PLT
MicroStation: DGN
Others: STL, IGES, CF2, DXB, SVG, CF2

Save CAD As

Fixed Layout: PDF
Raster Images: PNG, BMP, TIFF, JPEG, GIF, PSD, DICOM, WEBP
Vector Images WMF, EMF, SVG

Read & Write

CAD: DXF, DWG, DWT
The Advanced Visualizer: OBJ
Others: STP, OBJ, FBX, U3D, DWF, DWFx (Write features are partially supported.)

Supported Environments

  • Microsoft Windows: Windows Desktop & Server (x86, x64)
  • macOS: Mac OS X
  • Linux: Ubuntu, OpenSUSE, CentOS, and others
  • Java Versions: J2SE 7.0 (1.7), J2SE 8.0 (1.8)

Get Started

Aspose.CAD Java APIs are hosted at the Aspose Repository. You can easily use Aspose.CAD for Java API directly in your Maven projects with simple configurations. For the detailed instructions please visit Installing Aspose.CAD for Java from Maven Repository documentation page.

Convert DXF Drawing to PNG Format

Image image = Image.load("template.dxf");

// create an instance of CadRasterizationOptions
CadRasterizationOptions rasterizationOptions = new CadRasterizationOptions();

// set page width & height
rasterizationOptions.setPageWidth(1200);
rasterizationOptions.setPageHeight(1200);

// create an instance of PngOptions for the resultant image
ImageOptionsBase options = new PngOptions();

// set rasterization options
options.setVectorRasterizationOptions(rasterizationOptions);

// save resultant image
image.save("output.png", options);

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

 English