CAD

FREE
By stefan.skliarov
Updated 4 months ago
Business Software
-/10
Popularity Score
-
Latency
-
Success Rate

CAD API Documentation

View, edit and get manufacturing prices for CAD designs.

View API Details
POSTeditCADModel
POSTfixCADFiles
POSTgenerateThumbnailFromCADFile
POSTget3DModelPrintPrice
POSTget3DPrintingMaterials
POSTeditCADModel

Allows you to rotate, mirror, scale your model.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
yzMirrorBOOLEAN
REQUIREDMirror the mesh about YZ plane.
apiKeyCREDENTIALS
REQUIREDYour Public key.
scaleFactorSTRING
REQUIREDScale factor.
xzMirrorBOOLEAN
REQUIREDMirror the mesh about XZ plane.
xyMirrorBOOLEAN
REQUIREDMirror the mesh about XY plane.
fileUrlSTRING
REQUIREDFlle url for transform.
Optional Parameters
zRotateAngleNUMBER
OPTIONALAngle to rotate the entire mesh about the z axis by the given number of degrees.
xRotateAngleNUMBER
OPTIONALAngle to rotate the entire mesh about the x axis by the given number of degrees.
yRotateAngleNUMBER
OPTIONALAngle to rotate the entire mesh about the y axis by the given number of degrees.
Code Snippet
unirest.post("https://CADstefan-skliarovV1.p.rapidapi.com/editCADModel")
.header("X-RapidAPI-Host", "CADstefan-skliarovV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://CADstefan-skliarovV1.p.rapidapi.com/editCADModel
Request Method: POST
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://CADstefan-skliarovV1.p.rapidapi.com/editCADModel")
.header("X-RapidAPI-Host", "CADstefan-skliarovV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication