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 3D view of CAD model on the landing page #15

Open
AnuragMaurya-PreD opened this issue Jan 1, 2023 · 5 comments
Open

Add 3D view of CAD model on the landing page #15

AnuragMaurya-PreD opened this issue Jan 1, 2023 · 5 comments
Assignees

Comments

@AnuragMaurya-PreD
Copy link
Member

No description provided.

@aksy2512
Copy link
Contributor

aksy2512 commented Jan 8, 2023

Hi , I want to work on this issue. Can you please add more details about the issue

@AnuragMaurya-PreD
Copy link
Member Author

What is expected :
Somewhat like https://sketchfab.com/tags/robot
Functions: Zoom in, zoom out and view the robot around in 3D
Resources to get started with:
https://medium.com/samsung-internet-dev/adding-3d-models-to-your-website-d374a8cbbadd
CAD files:
Will upload soon after generating in appropriate format. The format of the file will be .STL so look for ways to display the STL files only.

Let me know if you need some help

@aksy2512
Copy link
Contributor

aksy2512 commented Jan 9, 2023

Hi!
I tried implementing it using a demo website and a demo model which was in.STL format itself. I browsed around the internet to look out for some ways to do it and found out that the only way to do it was with the three.js package and webGL but the complexity was a little high and the location of the necessary scripts for rendering STL files was changed or damaged.

I looked for some other ways and found a simple way of doing this so, I changed the file format to a .glb file and used the model-viewer to render it. The short video below shows the demo of a cube being rendered :)

Untitled.mp4

@AnuragMaurya-PreD
Copy link
Member Author

Since the rover is an assembly of components, I need to see if the assembly can be exported in the said format. Will update you as soon as possible.

@AnuragMaurya-PreD
Copy link
Member Author

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

No branches or pull requests

2 participants