viewer-react-express-headless | Headless viewer : Creates a custom Viewer GUI using react | Frontend Framework library

 by   Autodesk-Forge JavaScript Version: Current License: MIT

kandi X-RAY | viewer-react-express-headless Summary

kandi X-RAY | viewer-react-express-headless Summary

viewer-react-express-headless is a JavaScript library typically used in User Interface, Frontend Framework, React applications. viewer-react-express-headless has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Using Forge Viewer, you have the option of a Headless one, the option to add your own logo and get rid of extension that interact with the viewer is possible. I created a demonstration of this scenario using React on the Front End, Redux to handle states for Properties metadata access and NodeJS (Express) together with React-Scripts to handle the authentication and access to the use of the Forge services. The available Extensions once in Full Screen mode are.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              viewer-react-express-headless has a low active ecosystem.
              It has 93 star(s) with 51 fork(s). There are 15 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 9 open issues and 9 have been closed. On average issues are closed in 27 days. There are 19 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of viewer-react-express-headless is current.

            kandi-Quality Quality

              viewer-react-express-headless has 0 bugs and 0 code smells.

            kandi-Security Security

              viewer-react-express-headless has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              viewer-react-express-headless code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              viewer-react-express-headless 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

              viewer-react-express-headless releases are not available. You will need to build from source code and install.
              Installation instructions are available. Examples and code snippets are not available.
              It has 366 lines of code, 0 functions and 27 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed viewer-react-express-headless and discovered the below as its top functions. This is intended to give you an instant insight into viewer-react-express-headless implemented functionality, and help decide if they suit your requirements.
            • Returns model data
            • Reload model state
            • Loads a document .
            • Launch viewer .
            • Expansion animation .
            • Rotates the move move .
            • toggle the expansion
            • Retrieve access token .
            • Toggle a rotation .
            • Triggered when scene node is loaded .
            Get all kandi verified functions for this library.

            viewer-react-express-headless Key Features

            No Key Features are available at this moment for viewer-react-express-headless.

            viewer-react-express-headless Examples and Code Snippets

            No Code Snippets are available at this moment for viewer-react-express-headless.

            Community Discussions

            Trending Discussions on viewer-react-express-headless

            QUESTION

            Forge Viewer fails to display edges
            Asked 2019-Feb-28 at 21:49

            I used https://github.com/Autodesk-Forge/viewer-react-express-headless as a starting point for my Forge React application and I modified viewer = new Autodesk.Viewing.Viewer3D(viewerElement, {}); to viewer = new Autodesk.Viewing.Private.GuiViewer3D(viewerElement, {}); to change it back from a headless to a classic viewer.

            I can load my model but it appears without edges and when I go to Settings -> Performance -> Display edges it is off by default, and when I try to set it back the edges stay invisible.

            From my non wokring viewer:

            When I try the same operation with the same model loaded on Autodesk Viewer it works as expected and I can toggle the visibility of the edges.

            From the Autodesk Viewer

            I found another seemingly related question on stackoverflow, but I tried viewer.js?v=v4.2, viewer.js?v=v5.0 and viewer.js?v=v6.3.1 and I still have the invisible edges issue.

            I also posted a Github Issue

            Thank you for your help.

            Alexis

            ...

            ANSWER

            Answered 2019-Feb-28 at 21:49

            ok, if you are creating the viewer instance via Autodesk.Viewing.Private.GuiViewer3D directly, rather than the Autodesk.Viewing.ViewingApplication, then there is a magic configuration parameter that you will need to apply when initializing the Forge viewer, so that the lines will appear...

            To fix it, an extra option isAEC: true must be passed into the modelOptions in your code, see below:

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

            QUESTION

            GitHub: Viewer-react-express-headless
            Asked 2017-Jul-31 at 10:20

            I forked my own viewer-react-express-headless (https://github.com/Autodesk-Forge/viewer-react-express-headless) and edited the credentials.js and Deployed to Heroku.

            Here is my result: https://limitless-wave-headless.herokuapp.com/

            It doesnt seem like it's quite working. Neither of the models loads. I did try to change the URN for one of the six existing models here: https://github.com/Autodesk-Forge/viewer-react-express-headless/blob/master/src/components/Gallery/Gallery.js - but none of them still loads. What could be the problems?

            Kind regards.

            ...

            ANSWER

            Answered 2017-Jul-31 at 10:20

            It seems like Heroku can not generate CLIENT_ID with default config "generator": "public".

            I switched key value from "value": "secret" to "value": "client" - now my model loads.

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install viewer-react-express-headless

            The 6 models will need to translated and hosted on your own bucket. This will change the URN values that will need to be subtitued here. URN Gallery JSON. Feel free to use your own models in the Gallery.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            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/viewer-react-express-headless.git

          • CLI

            gh repo clone Autodesk-Forge/viewer-react-express-headless

          • sshUrl

            git@github.com:Autodesk-Forge/viewer-react-express-headless.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