Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 

GitHub license GitHub last commit

AutoCAD File Processing Java 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 Java SDK source code which is written in Java. 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)

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!

Detailed 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 Java 1.6 or later.
  3. Add Aspose.CAD Cloud Java SDK to your project.

Add Aspose CAD Cloud repository to your pom.xml.

<profiles>
    <profile>
        <repositories>
            <repository>
                <id>asposeJavaAPI</id>
                <name>Aspose Java API</name>
                <url>https://repository.aspose.cloud/repo/</url>
                <snapshots>
                    <enabled>false</enabled>
                </snapshots>
                <releases>
                    <enabled>true</enabled>
                </releases>
            </repository>
        </repositories>
        <id>repositoryProfile</id>
        <activation>
            <activeByDefault>true</activeByDefault>
        </activation>
    </profile>
</profiles>

Add Aspose.CAD Cloud Java SDK as a dependency.

<dependencies>
    <dependency>
        <groupId>com.aspose</groupId>
        <artifactId>aspose-cad-cloud</artifactId>
        <version>20.11</version>
    </dependency>
</dependencies>

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 Maven distribution (recommended). For more details, please visit our documentation website.

Aspose.CAD Cloud-hosted service VS on-premise deployment

You can choose either to use Aspose.CAD Cloud-hosted drawings processing service (the standard way) or the Docker image from Docker Hub deployed on-premise to serve the requests - https://hub.docker.com/r/aspose/cad-cloud. The details about key differences and deployment process is described on the dedicated Docker Hub page.

Prerequisites

To use Aspose CAD for Cloud Java 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.

The solution is updated using code generator.

Convert Drawing to PDF in Java

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

	CadApi cadApi = new CadApi("MY_CLIENT_SECRET", "MY_CLIENT_ID");

	GetDrawingSaveAsRequest getSaveRequest = new GetDrawingSaveAsRequest("sample.dxf", "pdf", "InputFolder", "output.pdf", "Storage Name");

	cadApi.getDrawingSaveAs(getSaveRequest);

Tests

Tests from this repo are intended for internal usage only.

Licensing

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

Other languages

We generate our SDKs in different languages so you may check if yours is available in our repository. If you don't find your language in the list, feel free to request it from us, or use raw REST API requests as you can find it here.

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|

About

No description, website, or topics provided.

Resources

License

Releases

No releases published

Packages

No packages published