I found a great function - ability to save loaded 3D model and the settings used for the slicing to the file (extension .kmz).
When .kmz file is loaded from the local storage, it imports 3D model on the “print plate” and loads the profile, that was used for the slicing.
a) Is possible to open kiri-moto with the parameter that is pointing to the local drive and loads it automatically?
b) is possible to open kiri-moto with the URL pointing to some file on FTP or http server?
Fortunately and unfortunately, Kiri:Moto runs entirely inside the browser’s privacy sandbox. It does not have access to your local hard drive without a user-initiated action. Thus the
import function once clicked can bring up a file dialog, not before. There are new browser APIs that make this more powerful, and I am looking at ways to incorporate them.
Opening a model or workspace at startup from a URL is currently only possible using internal APIs. I will explore if this is broadly possible as a public URL option (no security constraints). FTP URLs are not going to work. But HTTPS could.
Thanks for explanation. I will design class using current abilities. It may change in a future as a new functionality is available.
Is there any update regarding loading the workspace from HTTPS URL?
I am going to design class for 4-th graders using kiri:moto and such possibility allows me to design class “bullet proof”
it is possible. I will implement it in this release cycle
Is this option now implemented? If yes, how can I use it?
Sometimes I do 3d printing with kids and having the possibility to hand over just a link would be nice (and everything like printer and profile is set).
yes and no. I implemented it way back but forgot to update this thread. I just found out it will not work with newer
.kmz workspaces. so I just fixed that and will push it out in a release later today. the usage format is:
the content must be delivered over https and CORS header
Access-Control-Allow-Origin must be set to
Perfect, I’ll test that soon.
I prepared the cube.kmz and uploaded to the FTP server. To read can be used https.
notice, that cube.kmz is one of the files here. The:
And it works!!! Kiri-moto will open with the cube.stl
Thank you for a great feature. I am going to re-do my course now!
you should not have to have “
https://” after “
wrk:” since it’s implied – please confirm that opening this in a private browsing tab also works.
I tried in the private browsing - and it is not working. (without and with https://). But then I tried again in public chrome tab - and it is not working too. :(.
The access to space where is the cube.kmz saved is open to public. Can you try it too?
it’s not sufficient that the web site be public. it also has to have CORS headers enabled on the server. it will be different for each web server type.
The CORS header was enabled for
You can check the CORS header - use the “test image”
The URL for testing Kiri-Moto workspace cube.kmz is:
I am getting a response:
Do you have some CORS header example? Something has to be set differently as we did.
Ah. This is because that code path was fixed in 3.5, but not 3.4 – this complicates the initial experience by requiring the selection of version 3.5 before loading that url.
Thanks for your support. It works
This afternoon I’ll test this function in the classroom.
Btw: Why get the “/” replaced by “%2F”?
it may work with “
/” instead of the url escaped “
%2f” – the browser may be converting it