npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@asposecloud/aspose-cad-cloud

v24.5.2

Published

Aspose.CAD Cloud Node.Js SDK

Downloads

458

Readme

npm (scoped) npm bundle size node-current GitHub license GitHub last commit

AutoCAD File Processing Node.js 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 Node.js SDK source code which is written in Node.js. 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 Node.js 6.x and higher.
  3. Install Aspose.CAD Cloud Node.Js SDK.

Please, add the following npm package to your project.json as a dependency.

{
  "dependencies": {
    "@asposecloud/aspose-cad-cloud": "24.5.2"
  }
}

Import the dependencies to your code as follows.

import * as cad from "@asposecloud/aspose-cad-cloud";

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 NPM 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 DWG to PNG in Node.Js

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

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

	const request: GetDrawingSaveAsRequest = new GetDrawingSaveAsRequest(
	{ 
		name: "inputDrawing.dxf", 
		outputFormat: "png", 
		folder: "InputFolder", 
		storage: "My_Storage_Name", 
		outPath: "output.png" 
	});

	await cadApi.getDrawingSaveAs(request);

Tests

Tests from this repo are intended for internal usage only.

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|