Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Autodesk Viewer integration #160

Merged
merged 44 commits into from
Mar 19, 2024
Merged

Add Autodesk Viewer integration #160

merged 44 commits into from
Mar 19, 2024

Conversation

jp524
Copy link
Contributor

@jp524 jp524 commented Mar 11, 2024

Authors can now add 3D files to their repositories (see README for custom syntax). The files will be displayed within the articles using the Autodesk Viewer API.

The Build process was updated to check if any Autodesk files are referenced within articles, then update the files.

When a user views an article, the autodesk-viewer stimulus controller calls the Viewer API with the location of the 3D file on the Autodesk server (URN).

Every request to the Autodesk API needs to be identified with the use of a token. Since the token could not be defined in the stimulus controller (for security reasons), a proxy that takes the request from the stimulus controller and passes it to the Rails back-end was implemented.

Screenshot 2024-03-11 at 14 45 32 Screenshot 2024-03-11 at 14 45 38

@jp524 jp524 requested a review from hpyhacking March 11, 2024 18:46
@jp524 jp524 merged commit 0f2894b into main Mar 19, 2024
2 checks passed
@jp524 jp524 deleted the add-autodesk-viewer branch March 19, 2024 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant