kageurufu / preprocess_cancellation

Klipper Exclude Object Preprocessor for multiple slicers
GNU General Public License v3.0
148 stars 25 forks source link

Support for Simplify3D #33

Open MJ666 opened 3 months ago

MJ666 commented 3 months ago

This is based on the the idea of the "Octoprint-Cancelobject" plugin project. In Simplify3D you need to prepare your print accordingly:

https://github.com/paukstelis/Octoprint-Cancelobject/tree/master?tab=readme-ov-file#simplify3d

and add a line into the "Post Processing" script:

C:[path]\preprocess_cancellation.exe "[output_filepath]"

The line "; process ENDGCODE" in the "Ending" script is not needed.

The executable can be build with the following commands:

pip install shapely pip install pyinstaller pyinstaller -F preprocess_cancellation.py

MJ666 commented 3 months ago

Last few days i did quite some prints using the preprocessing application within Simplify3D 5.1.2. It is working as expected and fluidd on my Creality K1 Max is showing the individual objects for cancelation. Anyhow i don't had the situation to cancel a object during this testing. This will finally tested if an multiple part print will have issues.

ihatemyisp commented 2 months ago

Like @MJ666, I have been testing this with Simplify3D 5.1.2. It appears to be working as expected in Mainsail with my SV06 Plus. I also haven't done any testing to verify object cancellation works properly but it does show up.

MJ666 commented 2 months ago

Finally i also had the case that one part was failing to print and i excluded this from printing for the rest of the job successfully. Using this script all the time in my workflow.