Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
gcode to 3w script ---- slic3r
#1
I wrote a script in php to convert gcode to 3w.
it creates the header, including layers and filament length so you get an accurate readout.

save the attached txt file as a .php file.


to run, you have to install php and enable the CLI (command line interface).
add the php folder to the path for convenience. https://forum.voltivo.com/images/Gcode2X...-08-05.txt
Reply
#2
Hello David If you dont mind can you walk me thru the process of using your script in php. Download php generator from website. install generator folder in path where my Slic3r file is generated. Where does CLI come in? import gcode file into CLI? I was reading the php manual but can't make it how to execute the script. Any help would be appreciated! Thanks Hector
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)