Page 1 of 1

Maybe a Bug: Can't update operation new code snippet

Posted: Tue Feb 27, 2024 11:05 pm
by jazzkramer
Hi,
maybe it's me, maybe it's a bug: (version 7.1.35 linux, registered)

1) I added a G4 P10 (wait 10 seconds - for linuxCNC QTPlasmaC) before my usual code tool for Center Spot in the relative center_spot code snippet.
2) I Checked the T99 (my center spot tool) to verify that "Use Led In Settings" was checked and that the "Use Code Snippet" contains the "center_spot" code.
3) I saved the default tools
4) I reopened the job file (previously done with old center spot code) containig the job I need to modify (various nested parts)
5) I reloaded the default tools
6) I deleted the first center spot (drill) operation
7) I re-did the drill center spot operation (to the correct layer)
8) I run post processor

=> The G4 P10 is not added to the Gcode.

I tried this many times and tried closing and reopening the software, deleted gcode file, resaved job file... no way.
I think the old snipped code remains somewhere... or... I don't know.
I checked the snippet code, it's ok, it contains the G4 P10...

Is it a Bug?

Is there a way to update all my center spot operations (even re-doing the operations)...
at the moment I will edit manually, it's a simple modify but...

Thanks, Alberto

Re: Maybe a Bug: Can't update operation new code snippet

Posted: Wed Feb 28, 2024 12:37 pm
by Les Newell
Could you send me an example job file demonstrating the issue.

Re: Maybe a Bug: Can't update operation new code snippet

Posted: Wed Feb 28, 2024 1:29 pm
by jazzkramer
Yes of course

Re: Maybe a Bug: Can't update operation new code snippet

Posted: Wed Feb 28, 2024 1:32 pm
by jazzkramer
And here the toolset if needed,
thanks.

(..and "Keep parts together" was selected in "Job options").

Re: Maybe a Bug: Can't update operation new code snippet

Posted: Sat Mar 02, 2024 12:18 pm
by jazzkramer
Solved: it was in the postprocessor.
The postprocessor has a "drill part" in which the drill code.... So I don't know if the "snipped center_spot" code is needed anymore, but... ok, I modified the postprocessor and now it works. :)