Skip to content

Minimal Working Example? #1

@beniroquai

Description

@beniroquai

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions