Page 1 of 1

Math into Gcode Scripts or Post processing

Posted: Thu Jan 24, 2019 11:02 am
by PicoTreed
.

Re: Math into Gcode Scripts or Post processing

Posted: Thu Jan 24, 2019 2:40 pm
by greybeard
I haven’t had a need to do math in Gcode but, I found this for Slic3r

https://manual.slic3r.org/advanced/conditional-gcode

Slic3r is a great App, especially if used in conjunction with Repeteir-Host (which, basically makes it a robust app similar to Simplify).

Perhaps the info can be a starting point for your Simplify scripts

Re: Math into Gcode Scripts or Post processing

Posted: Mon Jan 20, 2020 8:21 am
by PicoTreed
.

Re: Math into Gcode Scripts or Post processing

Posted: Tue Jan 21, 2020 5:04 am
by XoTT@6bI4
"Terminal Commands for Post Processing" does not support {EVAL" "}. In {EVAL" "} called QJSEngine::evaluate::toNumber().
https://doc.qt.io/qt-5/qjsengine.html#evaluate
How to write a more advanced program in Javascript here, I can not imagine.