Macro parameters (made simple?)

  • Macro parameters have been discussed a few times before, but are not implemented yet. In my application, these would be huge. And almost everything I can think of now could be done by simple text substitution:

    M98 P"examplemacro.g 100 200 300"

    In the macro file, substitute all <P1> 's with 100, all <P2> 's with 200 and all <P3> 's with 300. You get the idea.

  • administrators

    I plan to do something similar when I complete the work on conditional GCode.

Log in to reply