Page 1 of 1

Ability to feed the code view from a marco

PostPosted: Sat Nov 20, 2021 6:08 pm
by cseyler
I would like to get a way to inject a gcode content in the code view from a macro instead of passing by a "temporary file".

It will help to implement CAM feature inside UCCNC like CAM wizard, ... and visualize the result in the toolpath viewer, and see the resulting gcode before starting the process

Re: Ability to feed the code view from a marco

PostPosted: Mon Jan 17, 2022 1:05 am
by cncdrive
This is a good idea, so I have just imlemented it.
You can inject a List of strings as parameter of the function with the g-code lines and the UCCNC will load it like if it was a g-code file.