Cura OctoPrint Connection plugin

I have to apologise to you.

I started from basics and checked each pi and the two in question did have the same network name in raspi-config. I had changed a different file based on a google post and it was wrong.

It is now working properly and I feel a bit of a plonker.

Thank you for your time and great work and sorry for not checking that first.

With best wishes,

Andrew

1 Like

Could I ask you to be more specific again? Does it now work with manually added instances, or did changing the hostnames also fix it with the automatic discovery?

That is quite unnecessary. For the record, I think the plugin should work even if a plonker like yourself ( :wink: ) has not configured unique hostnames. So I consider this a bug in the plugin. But it helps to know how I can reproduce the issue so I can fix it.

Unique hostnames on any network should be considered as something just important as unique IP addresses.

I would like to second the request to control the destination folder in OctoPrint. If the plugin could use the default folder that was selected/created in OctoPrint prior to CURA passing the file to it would be awesome!

As I said before, the hardest part here is the user interface for it.

Where would you like to select the folder? I am quite limited to the number of things I can easily add to the user interface in Cura. There are hoops I can jump through to add anything I want basically, but that makes the plugin much harder to maintain (and a new version of the plugin would have to be made for each new release of Cura).

So I am hesitant, but open to suggestions of how this feature would look. Can you draw me a picture?

I understand the possible headaches. I've attached a couple screen prints.

One screen shot shows OctoPrint starts in its root folder. Thru OctoPrint I used “Create folder” to create a folder called MakerMask.

The other screen shot, I have clicked on the MakerMask folder. Now, when I manually upload a .gcode file, it goes to the MakerMask folder. Files go to MakerMask until I hit the Back button to the root folder.

What I’m hoping is that after I manually select the “MakerMask” folder in OctoPrint, the CURA plugin would send files to the current selected folder.

Thanks for considering this!!!
OctoPrintRootFolder|690x373

I understand that you want to select a folder; what I was asking for was how you think it should look in Cura. Cura does not "know" which folder you have selected in the OctoPrint web interface.

And for the record, neither does OctoPrint's backend. Folder selection is purely frontend, and that's also not going to change. The only thing that OctoPrint knows which file might or might not be selected for printing, but not what is currently in focused in the file list.

That does present a challenge. When the "Print with OctoPrint" button is clicked, could there be an option to manually enter the folder name?

Hello fieldOfView,

I found another solution for monitoring the print for anything other than the camera feed and the temperatures (Printoid on my phone).

So at least for me it's not necessary to go over it again for a connection button.

Regards,
dtose

cant store the print job with the same name as the on that is currently printing. what do i do to fix this error

In the "Connect to OctoPrint", deselect the option to "Store G-code on the printer SD card".

Hi
I'm having problems with octoprint and cura 4.6, when I click on "Print with OctoPrint" I get an error saying "filename.ufp.gcode not found on octoprint". When I look on octoprint the file has been saved as filename.gcode
Any suggestions?

dfuk

Are you by any chance using the very latest UltimakerFormatPackage plugin? I have only just been made aware of a breaking change in that plugin:


My suggestion would be to use the official release of that plugin for now.

Hi

I’m using v0.1.6 obtained from the plugin manager of octoprint. I assume this is the official release.

Thanks

Dfuk

Are you saving to the printer SD card?

Sorry about that @fieldOfView, the file rename was done on version 0.1.6, but didn't think to let you know until I attempted to test this other PTG issue.

Ah, so the solution for dfuk is to use version 0.1.5 for now...

It looks like this plugin pushes the files to the upload folder on OctoPrint. Is that true? I'm thinking that's why it does not work with Cancel Object plugin for OctoPrint. They want uploads into the watched folder. Any chance we can specifics where files get uploaded in a future update?