area515 / Photonic3D

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

how to add slicing and ink profiles #294

Closed kloknibor closed 7 years ago

kloknibor commented 7 years ago

Hi,

Is there any easy way to add (and than also remove) slicing and ink profiles? an API for such would be great :)

Kind regards

WesGilster commented 7 years ago

Done. I didn't realize I didn't have those... I added backend CRUD RESTful methods for slicing profiles and machine configs into the MachineService. Also added a test for these new methods.

On the other hand, many InkConfigs can already be contained and are specific to a single SlicingProfile and can be manipulated completely on the GUI side. That is the same way CW organized it's file structure, and that setup actually seems to make sense. Let me know if there are any RESTful changes required in that area as I really don't see it.

kloknibor commented 7 years ago

Thanks Wes!

You are awesome :)! I agree with you only the slicingprofiles will be fine and swagger looked nice ;)!

thanks a lot!

kloknibor commented 7 years ago

you might have created some errors with your latest release ;)! :

image

WesGilster commented 7 years ago

Ouch didn't see that. New build running.