PicoTreed
Posts: 47
Joined: Mon Jan 14, 2019 10:14 am

Math into Gcode Scripts or Post processing

Thu Jan 24, 2019 11:02 am

.
Last edited by PicoTreed on Wed Mar 04, 2020 2:41 am, edited 2 times in total.
R&D for 3D printers, materials & software.

greybeard
Posts: 168
Joined: Mon Mar 02, 2015 1:23 pm

Re: Math into Gcode Scripts or Post processing

Thu Jan 24, 2019 2:40 pm

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
3D Print Parts
https://www.thingiverse.com/Still_Breathing/designs

PicoTreed
Posts: 47
Joined: Mon Jan 14, 2019 10:14 am

Re: Math into Gcode Scripts or Post processing

Mon Jan 20, 2020 8:21 am

.
Last edited by PicoTreed on Wed Mar 04, 2020 2:41 am, edited 2 times in total.
R&D for 3D printers, materials & software.

XoTT@6bI4
Posts: 17
Joined: Mon May 27, 2019 4:02 am

Re: Math into Gcode Scripts or Post processing

Tue Jan 21, 2020 5:04 am

"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.

Return to “General Discussion and Tips”