🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

Aspose.CAD-Cloud

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package version was removed
This package version has been unpublished, mostly likely due to security reasons

Aspose.CAD-Cloud

Aspose.CAD Cloud enables your applications to perform a great range of drawing processing tasks. With Aspose.CAD you can load, save and convert drawings of the following formats: DWG, DXF, DWF, DWFX, DWT, STL, IGS, DGN, OBJ and CF2. Such drawings might be converted into variety of raster and vector formats: BMP, JPEG, J2K, JP2, GIF, PSD, PDF, WMF, SVG, PNG, TIFF. With Aspose.CAD you can modify, convert and render drawings and plots without utilizing Autodesk AutoCAD®. Aspose.CAD Cloud is well documented to help you create your solutions on different platforms. Rich Set of Features Conversions: High quality conversions to variety of raster and vector formats including PNG and PDF. Document Object Model: Programmatic access through a rich API to all drawing elements and formatting allows to modify, extract and replace drawings content. Rendering: Convert whole documents or pages to PDF, XPS or for server-side document generation. Also convert document pages to TIFF, PNG, BMP or EMF images, print or render pages to .NET Graphics. All with high fidelity - exactly like Microsoft Word® would have done it. Performance and Scalability Aspose.CAD Cloud is designed to perform great. You can literally generate thousands of drawing in minutes with Aspose.CAD Cloud and that involves opening a drawing, modifying content and populating it with data and exporting it. Even most of the complex drawings are opened and saved in fractions of a second. Free support for Aspose.CAD Cloud is provided on our support forum: https://forum.aspose.cloud/ and on StackOverflow: https://stackoverflow.com/questions/tagged/aspose.words To use this SDK, you will need App SID and App Key which can be looked up at Aspose Cloud Dashboard (https://dashboard.aspose.cloud/#/apps) (free registration in Aspose Cloud is required for this).

24.5.2
unpublished
NuGet
Version published
Maintainers
2
Created
Source

Nuget Nuget GitHub license GitHub last commit

AutoCAD File Processing .NET Cloud REST API

Aspose.CAD Cloud is a true REST API that enables you to perform a wide range of CAD and BIM drawings processing operations including manipulation, export and conversion in a cloud, with zero initial costs.

This repository contains Aspose.CAD Cloud .NET SDK source code which is written in C#. This SDK allows you to work with Aspose.CAD Cloud REST APIs in your .NET applications quickly and easily, with zero initial cost and gain all benefits of strong types and IDE highlights.

CAD Processing Features

  • Export CAD drawings to other file formats.
  • Get image properties of a CAD drawing.
  • Change the scale of an AutoCAD sketch.
  • Flip and rotate a CAD image.
  • Upload or download CAD drawings to the cloud storage.
  • Copy, move, delete CAD files from the cloud storage.

Read & Write CAD Formats

DXF (R12/2007/2010)

Save CAD As

Fixed Layout: PDF (as a vector and as a raster) Images: BMP, PNG, JPG, JPEG, JPEG2000, TIF, TIFF, PSD, GIF, WMF

Read CAD Formats

DWG (13, 14, 2000, 2004), DWG (2010, 2013, 2014), DWG (2015, 2017, 2018), DWT (13, 14, 2000, 2004), DWT (2010, 2013, 2014), DWT (2015, 2017, 2018), DWF, DGN v7, IGES (IGS), PLT, Industry Foundation Classes (IFC), STereoLithography (STL)

See API Reference for full API specification.

How to use the SDK?

The complete source code is available in this repository folder. You can either directly use it in your project via source code or get NuGet distribution (recommended). For more details, please visit our documentation website.

Prerequisites

To use Aspose CAD for Cloud .NET SDK you need to register an account with Aspose Cloud and lookup/create App Key and SID at Cloud Dashboard. There is free quota available. For more details, see Aspose Cloud Pricing.

Installation

Install Aspose.CAD-Cloud via NuGet

From the command line:

nuget install Aspose.CAD-Cloud From Package Manager:

PM> Install-Package Aspose.CAD-Cloud From within Visual Studio:

  • Open the Solution Explorer.
  • Right-click on a project within your solution.
  • Click on Manage NuGet Packages...
  • Click on the Browse tab and search for "Aspose.CAD-Cloud".
  • Click on the Aspose.CAD-Cloud package, select the appropriate version in the right-tab and click Install.

Convert DWG to PNG in C# .Net

	// Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required).
	var cadApi = new CadApi("MY_CLIENT_ID", "MY_CLIENT_SECRET");
	using (FileStream file = new FileStream(@"C:\files\drawing.dxf", FileMode.Open, System.IO.FileAccess.Read))
	{
	    var msFile = new MemoryStream();
	    await file.CopyToAsync(msFile);
	    msFile.Seek(0, System.IO.SeekOrigin.Begin);
	
	    var request = new PutDrawingBmpRequest(msFile);
	    var res = cadApi.PutDrawingBmp(request);
	    using (FileStream fileStream = new FileStream("result.bmp", FileMode.Create, FileAccess.Write))
	    {
	        res.CopyTo(fileStream);
	    }
	}

Tests contain various examples of using the SDK.

Dependencies

SDK Advanages

  • SDK is fully in sync with the API, all missing methods are added
  • Classes, methods and properties have comments and are IDE-friendly
  • Integrated security
  • Usage of Request/Response classes to represent long lists of parameters. This allows for cleaner code and easier backwards-compatibility going forward

Licensing

All Aspose.CAD for Cloud SDKs, helper scripts and templates are licensed under MIT License.

.NETJavaPHPPythonRubyNode.js
GitHubGitHubGitHubGitHubGitHubGitHub
NuGetMavenComposerPIPGEMNPM

Product Page | Documentation | API Reference | Code Samples | Blog | Free Support | Free Trial|

FAQs

Package last updated on 30 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts