Giter VIP home page Giter VIP logo

node-red-node-forge's Introduction

Autodesk Forge Node-RED Nodes

Node.js npm Platforms License

Forge API: oAuth2 OSS Data-Management Model-Derivative Design Automation

Overview

A collection of nodes for Autodesk Forge API running on Node-RED.

where you can create graph like this one

Installation

All of these nodes are available as individual npm packages. See the list below for the npm package names, or search npm.

This repository acts as an overall store for these nodes - and is not intended as a way to install them - unless you really do want to modify them.

To install - either use the manage palette option in the editor, or change to your Node-RED user directory.

    cd ~/.node-red
    npm install node-red-node-forge --save

Developer section only

For Windows - Install all the required tools and configurations using Microsoft's windows-build-tools using npm install --global --production windows-build-tools from an elevated PowerShell or CMD.exe (run as Administrator).

Then

  • Clone Node-red repo: git clone https://github.com/node-red/node-red.git
  • Clone this repo: git clone https://github.com/cyrillef/node-red-node-forge.git
  • cd node-red-node-forge
  • Install dependencies npm install
  • cd ../node-red
  • Install the Forge node in node-red npm install ../node-red-node-forge --save
  • Install dependencies npm install
  • Start Node-red NODE_ENV=development node packages/node_modules/node-red/red.js --userDir ~/my-configs/node-red

Usage

  • Open your favorite Browser and navigate to http://localhost:1880/
  • Import any of the Forge node-red examples
  • Setup the credential nodes as needed

License

This sample is licensed under the terms of the MIT License. Please see the LICENSE file for full details.

Written by

Cyrille Fauvel
Forge Partner Development
http://developer.autodesk.com/
http://around-the-corner.typepad.com

node-red-node-forge's People

Contributors

cyrillef avatar madhukarmoogala avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

node-red-node-forge's Issues

Authentication issue

Hi,
I am following the youtube video and when i run, it comes up with numerous of the messages

node: d11e45dc.f66208
msg : string[25]
"Missing Forge credentials"

and the last message is
"RangeError: Maximum call stack size exceeded"

Please help.
Thanks

Updating Developer Section For Windows

Developing node-forge extension on Windows for node-red

  • Install all the required tools and configurations using Microsoft's windows-build-tools using npm install --global --production windows-build-tools from an elevated PowerShell or CMD.exe (run as Administrator).
  • Clone node-red repo: git clone https://github.com/node-red/node-red.git
  • Clone this repo: git clone https://github.com/cyrillef/node-red-node-forge.git
  • cd node-red
  • Install the Forge node in node-red npm install ../node-red-node-forge
  • Install dependencies npm install

Access to european datacenter

The nodes seem to be hardcoded for US datacenter. Is there any way to use them with the European datacenter today?

Viewing API available?

I would like to create a generic endpoint to leverage the Autodesk viewer in the following way:

POST any file against a node-red "HTTP in" node. Do something smart. Receive back the URL of the Content in the Autodesk viewer to embed it into your application (or any kind of error page saying "this content can not be previewed").

I am following this guide:
https://forge.autodesk.com/en/docs/model-derivative/v2/tutorials/prep-file4viewer/

Any recommendations on how to do this with node-red on an http-in incoming file?

Upload from msg.payload file buffer

When trying to combine different APIs it often comes to a point where you fetch a file from one API and want to put it to another one.

As far as I understood so far, the OSS upload action does not support uploading from a file buffer from the message object.

Can you provide assistance on how to do such uploads or how to solve that problem otherwise?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.