Spanni26 / ChituCodeWriter

Adds addon code for chitu board (e.g. tronxy) into the code written from cura
GNU General Public License v3.0
10 stars 2 forks source link

Adaptation to PrusaSlicer #2

Open b978888 opened 4 years ago

b978888 commented 4 years ago

Hello Sir,

would it be possible to adapt it to PrusaSlicer please ?

I use it with a tronxy xy-2 pro (+ stock firmware).

I don't know if you know this software but it's easier to use than Cura. Here are some highlights https://www.youtube.com/watch?v=wy3u4DNh_XQ , but basically it's mainly more convenient because

A route to embed your script to Slic3r (over which is based PrusaSlicer) : https://manual.slic3r.org/advanced/post-processing I prefer not to risk myself on this work, as I saw some import from UM.

Spanni26 commented 4 years ago

Hi,

I don't think that it is possible. The Prusa Slicer is a complete different programming language. Perl is used here. Sorry :(

Regards

Daniel

szetyi commented 3 years ago

Hi!

I found this line on the slic3r manual https://manual.slic3r.org/advanced/post-processing

Note: post-processing scripts can be written in any language (Perl, Python, Ruby, Bash etc.). They just need to be executable and to accept the path to the G-code file as the only argument.

That tells me we can write a Python script that goes over the final G-code manipulating it and that will be the end result. I would do this myself, but I can't find any documentation on what chitu preview and timer gcode looks like. Could you share your knowledge with me please? I'd like to try writing this script myself.