Why the 3D model itself is the only thing that doesn't show up in a PDF file that I saved from my model-viewer page? #4179
Unanswered
gabrielgaldinomagalhaes
asked this question in
Q&A
Replies: 1 comment 4 replies
-
I don't think PDF supports 3D models? If a screenshot is good enough, I'd recommend calling our |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to create a feature where the user can download a custom .PDF with the 3D model and the settings that they choose in the model-viewer!
For example they are able to select a color to the object among a set of colours. He can also turn a light on, hide some parts and show other parts of the 3D model. And after they choose all their settings, they would be able to download a custom PDF that shows the settings they chose and should also shows the 3D model resultant.
Everything is being shown correctly in the PDF but the 3D model. The 3D just "disappears". I can see the "window" of the model-viewer being save in the PDF, and everything else. The only piece that doesn't show up is the model itself. What can it be?
I tried using html2pdf.js, tried also with pdfmake.js, jsPDF and wkhtmltopdf.
But none of them worked.
Did someone here create something like that and can help me clarify whats happening, please? 🙏
Beta Was this translation helpful? Give feedback.
All reactions