STL Drawings

Exporting STL Format To PNG

Aspose.CAD for Javascript in Angular allows developers to export an STL file to PNG format. STL to PNG conversion approach works as follows:

  1. Load STL drawing file using the Image.load method.
  2. Call Image.save while passing an object of PngOptions as the second parameter.

Sample Code

The code below shows how to achieve the same goal using Aspose.CAD for JavaScript