Re: [Emc-developers] Show used tools for loaded NC program?

2023-01-13 Thread Chris Morley
I have this working (tool list gcode properties) in principle. It's a small change in glcanon.py: def change_tool(self, arg): self.first_move = True try: self.tool_list.append(arg) except Exception as e: print(e) Then requires an screen that

Re: [Emc-developers] Show used tools for loaded NC program?

2023-01-13 Thread Small Shop Concepts
If i do not have a tool in my carousel i get an error stating the tool not in the carousel and the program wont start. It runs through and checks i am guessing at cycle start. I used to have an issue where if i called a tool twice with a different tool between it would error because it was not

Re: [Emc-developers] Show used tools for loaded NC program?

2023-01-13 Thread Nicklas SB Karlsson
fre 2023-01-13 klockan 22:16 + skrev andy pugh: > On Fri, 13 Jan 2023 at 21:32, Nicklas SB Karlsson wrote: > > > > Anyone else think it would be useful with possibility to show which > > tools a loaded NC file use? > > The Axis interface has G-code properties that show the file extents, >

Re: [Emc-developers] Show used tools for loaded NC program?

2023-01-13 Thread andy pugh
On Fri, 13 Jan 2023 at 21:32, Nicklas SB Karlsson wrote: > > Anyone else think it would be useful with possibility to show which > tools a loaded NC file use? The Axis interface has G-code properties that show the file extents, distance etc. It feels like it ought to be possible to track the

Re: [Emc-developers] Show used tools for loaded NC program?

2023-01-13 Thread Chris Morley
In qtdragon one can load an HTML or PDF 'setup' documents. If the document is the same name as the gcode file it loads at the same time on a separate page. Qtdragon allows writing HTML files though PDF has alluded me. Apparently come gcode making programs make the PDFs. So yes, while not

Re: [Emc-developers] Show used tools for loaded NC program?

2023-01-13 Thread Nicklas SB Karlsson
Looking into file generated by post processor I used it does not print a list of tools used. It is easy to miss one and then program in best case quit then row to insert tool is reached, not a big problem but still annoying. In best case it would also check if tool is in tool table, this check

Re: [Emc-developers] Show used tools for loaded NC program?

2023-01-13 Thread Small Shop Concepts
That can be accomplished in the post processor of most cam softwares, it writes the tool lost at the top of the gcode file. On Fri, Jan 13, 2023, 4:32 PM Nicklas SB Karlsson wrote: > Anyone else think it would be useful with possibility to show which > tools a loaded NC file use? > > Then

[Emc-developers] Show used tools for loaded NC program?

2023-01-13 Thread Nicklas SB Karlsson
Anyone else think it would be useful with possibility to show which tools a loaded NC file use? Then pressing a button list with tools needed is shown. So far I have manually read the g-code file to determine which tools must be prepared. Nicklas Karlsson

Re: [Emc-developers] Broken master 06jan23

2023-01-13 Thread gene heskett
On 1/13/23 15:16, Chris Morley wrote: the -d in this line: EMBED_TAB_COMMAND = halcmd loadusr qtvcp -d -c cam_align -x {XID} -o camnumber=1 cam_align is the debug switch - that is why qtvcp is noisy. You can remove it when all is good. I have no experience with linuxcnc over ssh so cannot

Re: [Emc-developers] Broken master 06jan23

2023-01-13 Thread Chris Morley
the -d in this line: EMBED_TAB_COMMAND = halcmd loadusr qtvcp -d -c cam_align -x {XID} -o camnumber=1 cam_align is the debug switch - that is why qtvcp is noisy. You can remove it when all is good. I have no experience with linuxcnc over ssh so cannot really help with those problems. I don't

Re: [Emc-developers] Unable to start LinuxCNC: TypeError: 'NoneType' object is not callable

2023-01-13 Thread Sebastian Kuzminsky
Does this work around the problem? https://github.com/LinuxCNC/linuxcnc/issues/2264#issuecomment-1380954324 On January 12, 2023 11:15:51 PM MST, Alec Ari via Emc-developers wrote: >Running Gentoo, just trying to get the sim axis window working again (not a >real-time kernel, just quick