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

Minimal Working Example? #1

Open
beniroquai opened this issue Oct 27, 2024 · 1 comment
Open

Minimal Working Example? #1

beniroquai opened this issue Oct 27, 2024 · 1 comment

Comments

@beniroquai
Copy link

Hey @Floppy thanks for adding this project! As stated in the @manyfold3d issue, I'm keen to give it a try for adding STP-file support. I'm not very familiar with Javascript, but I'm eager to learn. After trying some things with pure javascript, I made an attempt to get your sample working in react. at least it compiles correctly, but the model is not visible. The only thing I had to change was the export part in the main.js file. Once this works, I can have a look after the STP library. If you have time, it would be great if you can point me to some thoughts I'm missing here:

Bildschirmfoto 2024-10-27 um 12 05 53

seems like the loader works, but display fails?

Bildschirmfoto 2024-10-27 um 12 08 57

The Viewer component is here

Thanks a lot for your help!

@Floppy
Copy link
Contributor

Floppy commented Oct 27, 2024

Take a look at the threejs example for actual usage: https://threejs.org/examples/#webgl_loader_3mf

This repo is more of an example of how to package it up with npm, which isn't really what you need right now, my mistake sorry!

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