I’ve encountered an issue with exporting PDF files on the ShapeDiver platform. The PDF consists of multiple pages: the first page is a drawing generated using the Make2D component, while the remaining pages contain detailed drawings as JPG files retrieved from the server and converted into PDF. The detailed drawings are working as expected, but the front view is not.
Importantly, everything works correctly on our local PCs—we tested it on two different machines, and the PDF export functions properly. However, when we upload the script to the ShapeDiver platform, the front view page (generated using Make2D ) is missing from the PDF, and we don’t receive any error messages.
Does anyone have any ideas on how we can test whether the Make2D component is the part that’s failing?
P.S. We tested the script in both Rhino 7 and Rhino 8.
If your suspicion is that the Make2D part is failing, I suggest creating a minimal definition generating a single PDF page built using Make2D. If this fails on ShapeDiver, please post the definition here so we can investigate.
Is there a reason why you are calling the standard Squid component to create a bitmap and then draw this bitmap on a PDF? Since the image you are drawing has already a high resolution, my guess is that this operation might time out or fail for some reason on the servers. You can instead directly send your drawing instructions to the SquidPDF component (except Clear, which is not compatible nor needed in this case):
Since we use JPGs from servers to merge them with this PDF, I just wanted to have all PDFs rasterized without vectors, but it is not crucial for us.
We just did it your way and tried it on ShapeDiever, and it works well. Thank you for your help!