(2023-10-09, 14:30)Eduard Wrote: Hey @Orion Pobursky,
I would like to use the Viewer for a small university webpage for a lego lab (a lego lab made with school children, only for educational purpose).
We have a few own models (as .ldr files, converted from Lego Studio .io) and we would only need a basic simple viewer to show/zoom/rotate the 3D models as a motivation for the kids how the final model looks like.
Is there a copyright?
Or did you just used the ldraw viewer docs from ThreeJS for building it ?
Any code you would like to share (basic functionality around ldraw viewer) ?
Hi Eduard,
We are using buildinginstructions.js (which in turn is using ThreeJS) found here:
https://github.com/LasseD/buildinginstructions.js
There is some custom code involved but that's just to make things easier on the back end. Lasse's instructions can be used as is.
Our code can be found here:
https://github.com/ldraw-org/ldraworg-li...js/ldbi.js
https://github.com/ldraw-org/ldraworg-li...rgscene.js