forge-digital-twin | Autodesk Forge application demonstrating various use cases | Runtime Evironment library

 by   Autodesk-Forge JavaScript Version: Current License: MIT

kandi X-RAY | forge-digital-twin Summary

kandi X-RAY | forge-digital-twin Summary

forge-digital-twin is a JavaScript library typically used in Server, Runtime Evironment, Vue, Nodejs applications. forge-digital-twin has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Autodesk Forge application demonstrating various use cases in manufacturing, specifically in context of digital twins.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              forge-digital-twin has a low active ecosystem.
              It has 115 star(s) with 42 fork(s). There are 16 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 4 open issues and 12 have been closed. On average issues are closed in 20 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of forge-digital-twin is current.

            kandi-Quality Quality

              forge-digital-twin has 0 bugs and 0 code smells.

            kandi-Security Security

              forge-digital-twin has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              forge-digital-twin code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              forge-digital-twin is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              forge-digital-twin releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.
              forge-digital-twin saves you 2938 person hours of effort in developing the same functionality from scratch.
              It has 6343 lines of code, 0 functions and 20 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of forge-digital-twin
            Get all kandi verified functions for this library.

            forge-digital-twin Key Features

            No Key Features are available at this moment for forge-digital-twin.

            forge-digital-twin Examples and Code Snippets

            No Code Snippets are available at this moment for forge-digital-twin.

            Community Discussions

            QUESTION

            Cannot retrieve access tocken
            Asked 2021-Jan-22 at 13:51

            I am experimenting with this https://forge-digital-twin.autodesk.io/# using the gitlab code. I can display it locally (without the engine or dataflow) but I can not gain an access token.

            I am using the VSCode extension and I get the code 401 (Unauthorized) error if I try to create buckets etc (hence why I am trying to get an access code). However, when I request one using this:

            curl -i -X POST 'https://developer.api.autodesk.com/authentication/v1/authenticate' -H 'Content-Type: application/x-www-form-urlencoded' -d 'client_id=-----' -d 'client_secret= ----' -d 'grant_type=client_credentials' -d 'scope=data:write data:read bucket:create bucket:delete'

            I get this error:

            Invoke-WebRequest : Cannot bind parameter 'Headers'. Cannot convert the "Content-Type: application/x-www-form-urlencoded" value of type "System.String" to type "System.Collections.IDictionary". At line:1 char:90

            • ... ticate' -H 'Content-Type: application/x-www-form-urlencoded' -d 'cl ...
            • ...

            ANSWER

            Answered 2021-Jan-21 at 21:38

            It defaults to Invoke-WebRequest. Try to use Invoke-RestMethod like this:

            Source https://stackoverflow.com/questions/65831181

            QUESTION

            Draw Markup On object in autodesk viewer using dbids
            Asked 2020-Sep-24 at 06:49

            I need to show data(label with background frame) on objects in the autodesk viewer. I tried implementing this blog https://forge.autodesk.com/blog/placing-custom-markup-dbid and this is what I am trying to reproduce also I took reference from https://raw.githubusercontent.com/Autodesk-Forge/forge-digital-twin/master/public/scripts/extensions/issues.js

            Things which I tried. 1.Placed .js file in my folder which the code inside 2.gave reference to the file in my html 3.loaded the extension as shown in the above sample 4.have all the bootstrap cdn imported 5.jquery cdn imported

            I am able to get the half temperature icon button also extension accepts icon with db ids which I have provided and when clicked on button the icon and text both are not visible, extension executes which out any error but I am not able to see any reflection my viewer.

            can any one help me what I need to check more in order to achieve this as I feel lot of things in the autodesk are been updated and I might be missing something

            ...

            ANSWER

            Answered 2020-Sep-24 at 06:49

            The "issues" extension in the "forge-digital-twin" demo requires a specific server endpoint to get the data from, as you can see here: https://github.com/petrbroz/forge-digital-twin/blob/master/public/scripts/extensions/issues.js#L55-L57. You can replace these 3 lines of code and populate the this._issues array in any way you want. For example, you could hard-code the values directly like so:

            Source https://stackoverflow.com/questions/64034448

            QUESTION

            Translate and View Inventor Files in Forge Viewer
            Asked 2019-Dec-20 at 15:08

            I am trying to load Inventor projects into my Bucket and display them in the Forge Viewer. For this I downloaded the Inventor example project (Jet Engine Model). I want to view it in the Forge Viewer just like here (https://forge-digital-twin.autodesk.io/).

            I can upload single parts (.ipt) of the project onto my bucket without any problems. But I want to upload and view the whole project (like i do with Revit projects).

            When I save the Inventor project as "Pack and Go" and upload the .zip file I get an error message:

            ...

            ANSWER

            Answered 2019-Dec-20 at 15:08

            I'm not sure how the Inventor "Pack and Go" feature builds the zip file, but please note that when sending zip files to Model Derivative service for translation, the main design file must not be in any subfolder. The contents of the archive could look like this:

            Source https://stackoverflow.com/questions/59410983

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install forge-digital-twin

            clone this repository
            install dependencies: npm install
            run server with all the required env. variables for example, on macOS: export FORGE_CLIENT_ID=<client-id> export FORGE_CLIENT_SECRET=<client-secret> export FORGE_MODEL_URN=<model-urn> export MONGODB_URL=<mongodb-connection-string> npm start or, when using Visual Studio Code, add this configuration to your .vscode/launch.json: { "type": "node", "request": "launch", "name": "Launch Express Server", "program": "${workspaceFolder}/server.js", "env": { "FORGE_CLIENT_ID": "<client-id>", "FORGE_CLIENT_SECRET": "<client-secret>", "FORGE_MODEL_URN": "<model-urn>", "MONGODB_URL": "<mongodb-connection-string>" } }
            go to http://localhost:3000

            Support

            For support, please contact forge.help@autodesk.com.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/Autodesk-Forge/forge-digital-twin.git

          • CLI

            gh repo clone Autodesk-Forge/forge-digital-twin

          • sshUrl

            git@github.com:Autodesk-Forge/forge-digital-twin.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link