Hi,
I am using “ShapeDiver File Input” to load geometry into the viewer. Suddenly it does not work anymore on your servers. It is still working in rhino6 on my pc, but not working anymore for all of my models online at shapediver. Did you update something in your viewer and server so in broke?
Checkout Configurator | Indimise | Your individual Phone-Case
If you change parameters like “pattern size” the model will be updated and the phone model frame will not be loaded anymore through “ShapeDiver File Input”.
The same error happens with all older models in my SD library as well.
Thanks in advance for your help.
Bests,
Sebastian
I just tested the configurator and it seems to work fine. However, I might be missing something. Where does the configurator have a possibility to upload a file?
Thank you for your quick reply @snabela !
The configurator does not have the option for the user to upload a file. But “ShapeDiver File Input” is used internally in the GH script to import the individual frames of the phone models from my server. So not all data has to be internalized directly into the GH script.
The error occurs when you start to adjust the pattern (e.g. change pattern size, move the gradient, …). Then the outer frame of the phone cover disappears because the file seems to be not loaded via “ShapeDiver File Input”. During initialization, it is loaded in a different way.
It seems the problem happens because the server that hosts your obj files responds with a redirection. It redirects from https://indimise.com/...
to https://www.indimise.com/...
. It’s unclear whether the behavior on our side has changed. We will investigate this. However, this will take some days. For a quick solution, please change the download links in your model to avoid the redirection.
I changed the download links as suggested, but it did not solve the issue. If it had been the error reason, the entire configurator would no longer have worked, as I load other data (ShapeDiverTextfileInput) with those links that are the basis for the whole GH script. Both “ShapeDiver File Input” (ShapediverGeometryInput and ShapeDiverTextfileInput) display a warning “1. Charset not defined, defaulting to ASCII encoding.”. But this has been always displayed. As I did not change anything in the SD configurator since June 2022, some behavior change on your side could be the reason.
We will investigate this further.
You uploaded a new version of your model after changing the links, correct?
Thank you.
I uploaded a new version with changed links for testing to SD as " 2024-02-04-indimise_master_www" but did not publish it.
Debugging this showed that the problem popped up because the server indimise.com
does not report a Content-Type
header for the files served. We recently had to update the HTTP client library used by our plugin, which broke the behavior on our send in case of a missing Content-Type
header. This has been fixed and deployed now, please test whether your configurator is working again as expected.
It is working again! Thanks!