Skip to main content

Aspose.CAD Cloud Python SDK

Project description

PyPI PyPI - Format PyPI - Downloads PyPI - Python Version GitHub license GitHub last commit

Aspose.CAD Cloud Python SDK

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, editing, export and conversion in a cloud, with zero initial costs.

This repository contains Aspose.CAD Cloud Python SDK source code which is written in Python. This SDK allows you to work with Aspose.CAD Cloud REST APIs in your Node.js 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) Look at API Reference for full API specification.

For the complete list of use-cases, please refer to the format support document to see what you can achieve!

Detalied official documentation can be found at the following link.

Getting Started

  1. Sign Up. Before you begin, you need to sign up for an account on our Dashboard and retrieve your credentials.
  2. Minimum requirements. This SDK requires Python 2.7 or later.
  3. Install Aspose.CAD Cloud Python SDK.

Please, add the following PyPi package to your requirements.txt.

aspose-cad-cloud>=24.1.0

Or install it using command line.

pip install aspose-cad-cloud

Import the dependencies to your code as follows.

import aspose-cad-cloud
  1. Using the SDK. The best way to become familiar with how to use the SDK is to read the Developer Guide. The Getting Started Guide will help you to become familiar with the common concepts.

Convert Drawing to Image(PNG) in Python

	# Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required).

	cad_api = CadApi('MY_CLIENT_SECRET', 'MY_CLIENT_ID')

	request = requests.GetDrawingSaveAsRequest("sample.dwg", "png", "original_data_folder", "my_output_path", "my_storage_name")
	return cad_api.get_drawing_save_as(request)

Content

You may check our full API endpoints list or models available in the SDK.

Dependencies

Licensing

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

Aspose.CAD Cloud SDKs in Popular Languages

.NET Java PHP Python Ruby Node.js
GitHub GitHub GitHub GitHub GitHub GitHub
NuGet Maven Composer PIP GEM NPM

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

aspose_cad_cloud-24.1.0-py3-none-any.whl (293.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page