aspose-cad / Aspose.CAD-for-.NET

Aspose.CAD for .NET examples, plugins and showcases
https://www.aspose.com/products/cad/net
MIT License
44 stars 33 forks source link

Nuget Nuget GitHub

CAD File Conversion API for .NET

Aspose.CAD for .NET is a standalone class library to enhance ASP.NET & Windows applications to process & render CAD drawings without requiring AutoCAD or any other rendering workflow. The CAD Class Library allows high quality conversion of DWG, DWF, DWT and DXF files, layouts and layers to PDF & raster image formats.

Directory Description
Demos Source code for the live demos hosted at https://products.aspose.app/cad/family.
Examples A collection of .NET examples that help you learn and explore the API features.

CAD File Processing Features

Read CAD Formats

AutoCAD: DWG, DWT, DWF, DWXF, IFC, PLT\ MicroStation: DGN\ The Advanced Visualizer: OBJ\ Other: STL, IGES, CFF2

Save CAD As

Fixed Layout: PDF\ Raster Images: PNG, BMP, TIFF, JPEG, GIF

Read & Write

CAD: DXF\ (Write features is partially supported.)

Platform Independence

Aspose.CAD for .NET supports .NET framework (ASP.NET applications & Windows applications) as well as .NET Core. It supports any 32-bit or 64-bit operating system where .NET or Mono framework is installed, this includes but is not limited to, Microsoft Windows desktop (XP, Vista, 7, 8, 10), Microsoft Windows Server (2003, 2008, 2012), Microsoft Azure, Linux (Ubuntu, OpenSUSE, CentOS and others), and Mac OS X.

Get Started with Aspose.CAD for .NET

Are you ready to give Aspose.CAD for .NET a try? Simply execute Install-Package Aspose.CAD from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.CAD for .NET and want to upgrade the version, please execute Update-Package Aspose.CAD to get the latest version.

Export 3D AutoCAD Drawings to PDF using .NET

using (var cadImage = Aspose.CAD.Image.Load("template.dxf"))
{
    var rasterizationOptions = new Aspose.CAD.ImageOptions.CadRasterizationOptions();
    rasterizationOptions.PageWidth = 500;
    rasterizationOptions.PageHeight = 500;

    rasterizationOptions.Layouts = new string[] { "Model" };
    var pdfOptions = new PdfOptions();
    pdfOptions.VectorRasterizationOptions = rasterizationOptions;
    cadImage.Save("output.pdf", pdfOptions);
}

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