<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-cad-cloud</artifactId>
<version>24.1</version>
</dependency>
compile(group: 'com.aspose', name: 'aspose-cad-cloud', version: '24.1')
<dependency org="com.aspose" name="aspose-cad-cloud" rev="24.1">
<artifact name="aspose-cad-cloud" ext="jar"/>
</dependency>
libraryDependencies += "com.aspose" % "aspose-cad-cloud" % "24.1"
Java SDK to Process AutoCADĀ® Drawings in the Cloud
Product Page | Documentation | Live Demo | Swagger UI | Code Samples | Blog | Free Support | Free Trial
Aspose.CAD Cloud SDK for Java helps you work with computer aided design (CAD) file formats within your cloud-based Java Apps, without installing any 3rd party software. It is a wrapper around Aspose.CAD Cloud REST APIs.
CAD Cloud Processing Features
- Get image properties of a CAD drawing
- Change the scale of an AutoCADĀ® sketch
- Ability to resize CAD images
- Flip and rotate a CAD image
- Export CAD drawings to PDF file format
- Convert CAD Drawings to BMP, PNG, JPG, JPEG, JPEG2000, TIF, TIFF, PSD, GIF and WMF
- Support for 3D Solids (Conic, Sphere, Torus, Cylinder, Box, Wedge)
- Support for DXF / DWG (Wired models, Basic view cube positions, 3D Faces)
- Support for DXF / DGN (Surfaces, Meshes).
CAD Drawing Cloud Storage Features
- Upload, download, copy, move and delete files, including versions handling (if you are using Cloud storage that supports this feature - true by default).
- Create, copy, move and delete folders.
- Copy and move files and folders accross separate storages in scope of a single operation.
- Check if certain file, folder or storage exists.
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)
Requirements
Building the API client library requires:
- Java 1.7+
- Maven
Prerequisites
To use Aspose.CAD Cloud SDK for Java you need to register an account with Aspose Cloud and lookup/create Client ID and Client Secret at Cloud Dashboard. There is free quota available. For more details, see Aspose Cloud Pricing.
Install from Maven
Add Aspose Cloud repository to your application pom.xml
<profiles>
<profile>
<repositories>
<repository>
<id>asposeJavaAPI</id>
<name>Aspose Java API</name>
<url>https://releases.aspose.cloud/java/repo/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
</repositories>
<id>repositoryProfile</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
</profiles>
Install from source
To install the API client library to your local Maven repository, simply execute:
mvn clean install
To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
mvn clean deploy
Refer to the OSSRH Guide for more information.
Maven users
Add this dependency to your project’s POM:
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-cad-cloud</artifactId>
<version>20.11</version>
</dependency>
Others
At first generate the JAR by executing:
mvn clean package
Then manually install the following JARs:
target/aspose-cad-cloud-20.11.jar
target/lib/*.jar
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);
Licensing
All Aspose.CAD Cloud SDKs, helper scripts and templates are licensed under MIT License.
Authorization & Authentication
Authentication schemes defined for the API is as follows:
JWT
- Type: OAuth
- Flow: application
- Authorization URL: https://api.aspose.cloud/connect/token
Product Page | Documentation | Live Demo | Swagger UI | Code Samples | Blog | Free Support | Free Trial
File | Classifier | Size |
---|---|---|
aspose-cad-cloud-24.1-javadoc.jar | javadoc | 1 MB |
aspose-cad-cloud-24.1.jar | 271 KB | |
aspose-cad-cloud-24.1.pom | 11 KB |
Aspose.CAD Aspose.CAD Cloud Aspose Java REST API Maven SDK Java SDK Cloud REST REST API Cloud API MIT JWT oauth Aspose.Total Cloud DWG DWT DWF DGN IGES PLT IFC STL PDF BMP PNG JPG JPEG JPEG2000 TIF TIFF PSD GIF WMF DXF CAD Design Sketch Drawing scale rotate flip convert converter conversion export exporter layout image raster versioning