GithubHelp home page GithubHelp logo

albisseradrian / vscode-forge-tools Goto Github PK

View Code? Open in Web Editor NEW

This project forked from petrbroz/vscode-forge-tools

1.0 1.0 0.0 13.41 MB

Visual Studio Code extension for accessing Autodesk Forge services and content.

Home Page: https://marketplace.visualstudio.com/items?itemName=petrbroz.vscode-forge-tools

TypeScript 59.66% HTML 40.34%

vscode-forge-tools's Introduction

vscode-forge-tools

Visual Studio Marketplace Version Visual Studio Marketplace Installs Visual Studio Marketplace Downloads platforms license

Visual Studio Code extension for accessing Autodesk Forge services and content.

Preview

Requirements

Getting Started

While in Visual Studio Code:

  • Switch to the Extensions sidebar (Cmd+Shift+X on macOS or Ctrl+Shift+X on Windows)
  • Search for the Autodesk Forge Tools extension and install it
  • Open User Settings (Cmd+, on macOS or Ctrl+, on Windows), and search for forge env
    • Note: switch to User or Workspace tab depending on whether you want to persist the settings globally (for all instances of vscode) or locally (for a specific workspace/folder)
  • In the Autodesk > Forge: Environments section, click Edit in settings.json and define one or more environments as explained in the Extension Settings section below
  • Switch to the new Forge sidebar and start browsing!

Extension Settings

This extension contributes the following settings:

  • autodesk.forge.environments: Array of objects representing different Forge environments; objects contain the following properties:
    • title - unique name of the environment (will be shown in status bar and when switching to other environments)
    • clientId - Forge client ID
    • clientSecret - Forge client secret
    • region - data region for storing Forge content (can be US or EMEA; US by default)

Here's an example of an environment list:

Extension Settings

Features

Forge Environments

If you have configured multiple Forge environments, you can switch between them via status bar, or using the forge.switchEnvironment command. The extension will always initialize itself based on the first environment in the list.

Switch Environments

Note: if you have configured the extension both in the User scope and in the Workspace scope, the extension will present the list of environments from the Workspace scope as it has higher precedence.

Data & Derivatives View

The Data & Derivatives view allows you to browse Forge Data Management content, create buckets, upload/download objects, translate objects using Forge Model Derivative service, and access the resulting derivatives. All derivatives are listed as children of the corresponding object in the tree. If there are no derivatives yet, or if there's been a translation issue, the tree view will provide additional information.

Create bucket and upload object

Translate object and view derivatives

Design Automation View

The Design Automation can be used for browsing Forge Design Automation entities such as app bundles and activities. It also provides a context menu that can be used to view additinal details of individual bundles or activities.

Design Automation Preview

Development

  • clone the repository
  • install and setup dependencies: yarn install
  • open the project in vscode and launch the Run Extension task; new vscode window will open
  • make sure you have at least one set of Forge credentials configured (see Getting Started and Extension Settings)
  • click on the Forge icon in the sidebar and start browsing

When debugging a webview inside vscode, you can open Chrome Dev Tools for it using the standard shortcut (Option+Command+I on macOS, Control+Shift+I on Windows)

vscode-forge-tools's People

Contributors

petrbroz avatar

Stargazers

 avatar

Watchers

 avatar

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.