area515 / Photonic3D

Control software for resin 3D printers
http://photonic3d.com
GNU General Public License v3.0
133 stars 112 forks source link

Add profile management functions into GUI #212

Closed kloknibor closed 7 years ago

kloknibor commented 8 years ago

Hi,

I would like to be able to add more than 1 profile with the the printer import. ALso it would be nice to delete the ones present when deleting printer to update it. (just overwriting would do also).

I do love the new function by the way! I only wonder if the ink config should be in the menu underneath slicing profile... I will hide it eventually ;)!

kloknibor commented 8 years ago

I think I will make a quick and dirty solution soon with just a clickable link to start an .sh script to empty folder and download an .zip file from the web and extract it in the folder. Will try to make it in such an way that it will only remove the files that are getting updated, this way you won't loose costum slicing profiles or different one from different printers and will try to use java.

WesGilster commented 8 years ago

From here on out, please take a look at the API before writing something new. You are already able to upload a new version of Photonic.

kloknibor commented 8 years ago

alright sorry! And I'm talking purely about the slicing profiles for different printers, not photonic itself. I'll take a look at the API ;)

WesGilster commented 8 years ago

No problem at all. I thought you were talking about new versions of Photonic.

I think it would be better to add management functions(CRUD) from within the GUI.

kloknibor commented 8 years ago

Not sure what that is but I'll find out ! (I'm an graduating mechanical engineering student, but I also like to mess around with code ;) I program PLC's currently but that's quite different than java and before I could only code some PHP,javascript,HTML,(Codesys languages ST,FL,CFC etc),python and a tiny bit of C. So it's a learning process for me! Thanks @WesGilster @ergobot and @jmkao for keeping up with me ! Your help is very appriciated!

WesGilster commented 8 years ago

Create Read Update Delete Then add those functions into the Java API for management slice profiles and machine configs. Have you taken a look at the swagger UI? If not, you really need to. I'm pretty sure you are going to love it.

WesGilster commented 7 years ago

This is long done.