aspose3dcloud
v24.5.0
Published
Aspose.3D Cloud SDK for Node.js
Downloads
154
Readme
Aspose.3D Cloud SDK for Node.js
This repository contains Aspose.3D Cloud SDK for Node.js source code. This SDK allows you to work with Aspose.3D Cloud REST APIs in your nodejs applications quickly and easily, with zero initial cost.
Key Features
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 nmpjs distribution (recommended). For more details, please visit our documentation website.
Prerequisites
To use Aspose 3D for Cloud 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.
Required version of Node.js is 4.8.7 or higher.
Installation
Install Aspose.3D-Cloud via NPM
From the command line:
npm install aspose3dcloud --save
Convert PLY to PDF in Node.Js
const { ThreeDCloudApi,postConvertByFormatRequest} = require('aspose3dcloud');
// Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required).
const threeDCloudApi = new ThreeDCloudApi("MY_CLIENT_ID", "MY_CLIENT_SECRET");
var req = new model.postConvertByFormatRequest()
req.name = "sample.ply";
req.newformat = "pdf";
req.newfilename = "saveasformat.pdf";
req.folder = "3DTest";
req.isOverwrite = true;
req.storage = "My_Storage_Name";
return threeDCloudApi.postConvertByFormat(req)
.then((result) => {
expect(result.response.statusCode).to.equal(200);
});