Error in tool_offsetview.py
- MarkoPolo
- Offline
- Elite Member
- 
				  
		Less
		More
		
			
	
		- Posts: 295
- Thank you received: 79
			
	
						16 Jun 2024 20:30				#303127
		by MarkoPolo
	
	
		
			
	
	
			
			 		
													
	
				Replied by MarkoPolo on topic Error in tool_offsetview.py			
			
				I added the "Go to zero" function to "axis_tool_button.py" but it makes little sense from the user's point of view.
What do you think about adding the ability to add such functions in an easier way, maybe in an ini file?
					What do you think about adding the ability to add such functions in an easier way, maybe in an ini file?
Please Log in or Create an account to join the conversation.
- cmorley
- Away
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 7230
- Thank you received: 2106
			
	
						22 Jun 2024 19:34				#303562
		by cmorley
	
	
		
			
	
			
			 		
													
	
				Replied by cmorley on topic Error in tool_offsetview.py			
			
				I agree it seems the wrong place.
How do you propose INI button functions would work?
a list of builtin functions that can be enabled?
What functions?
					How do you propose INI button functions would work?
a list of builtin functions that can be enabled?
What functions?
Please Log in or Create an account to join the conversation.
- MarkoPolo
- Offline
- Elite Member
- 
				  
		Less
		More
		
			
	
		- Posts: 295
- Thank you received: 79
			
	
						26 Jun 2024 21:48				#303855
		by MarkoPolo
	
	
		
			
	
			
			 		
													
	
				Replied by MarkoPolo on topic Error in tool_offsetview.py			
			
				For now, I would like to have a "go to zero" function.
Could add a function to the axis_tool_button.py file, or create the possibility of adding macros to the button menu of individual axis.
I don't know what the best solution would be, but I miss the "go to zero" function for individual axes.
					Could add a function to the axis_tool_button.py file, or create the possibility of adding macros to the button menu of individual axis.
I don't know what the best solution would be, but I miss the "go to zero" function for individual axes.
Please Log in or Create an account to join the conversation.
- MennilTossFlykune
- Offline
- Senior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 42
- Thank you received: 30
			
	
						20 Jul 2024 18:23				#305716
		by MennilTossFlykune
	
	
		
			
	
			
			 		
													
	
				Replied by MennilTossFlykune on topic Error in tool_offsetview.py			
			
				If you try to reload a file that no longer exists there is a python error.
If there is no file to reload I think the button should be disabled:
self.w.btn_reload_file.setEnabled(os.path.isfile(self.last_loaded_program))
Maybe under periodic_update in the qtdragon handler file?
					If there is no file to reload I think the button should be disabled:
self.w.btn_reload_file.setEnabled(os.path.isfile(self.last_loaded_program))
Maybe under periodic_update in the qtdragon handler file?
Please Log in or Create an account to join the conversation.
- cmorley
- Away
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 7230
- Thank you received: 2106
			
	
						21 Jul 2024 04:55				#305745
		by cmorley
	
	
		
			
	
			
			 		
													
	
				Replied by cmorley on topic Error in tool_offsetview.py			
			
				What version are you using?			
					Please Log in or Create an account to join the conversation.
- MarkoPolo
- Offline
- Elite Member
- 
				  
		Less
		More
		
			
	
		- Posts: 295
- Thank you received: 79
			
	
						21 Jul 2024 12:23				#305785
		by MarkoPolo
	
	
		
			
	
	
			
			 		
													
	
				Replied by MarkoPolo on topic Error in tool_offsetview.py			
			
				I tested on 2.9.3 and master, and the error comes from gcode_graphics.py or qt5_graphics.py			
					Please Log in or Create an account to join the conversation.
- MarkoPolo
- Offline
- Elite Member
- 
				  
		Less
		More
		
			
	
		- Posts: 295
- Thank you received: 79
			
	
						28 Jul 2024 14:56				#306240
		by MarkoPolo
	
	
		
			
	
			
			 		
													
	
				Replied by MarkoPolo on topic Error in tool_offsetview.py			
			
				Hi Cmorley
I've recently noticed a problem in qtdragon with the spindle turning on after using the "touch plate". (tested on different versions of linuxcnc).
If I do e.g. M3 S1000 from MDI, then turn off the spindle using the spindle stop button, then use the touch plate, or my own tool length measurement routine, then the spindle will turn on by itself.
It seems that the spindle stop button does not execute the M5 code, because if I add M5 at the beginning of my own tool measurement routine, then there is no problem with the spindle turning on by itself.
Marek
					I've recently noticed a problem in qtdragon with the spindle turning on after using the "touch plate". (tested on different versions of linuxcnc).
If I do e.g. M3 S1000 from MDI, then turn off the spindle using the spindle stop button, then use the touch plate, or my own tool length measurement routine, then the spindle will turn on by itself.
It seems that the spindle stop button does not execute the M5 code, because if I add M5 at the beginning of my own tool measurement routine, then there is no problem with the spindle turning on by itself.
Marek
Please Log in or Create an account to join the conversation.
- andypugh
- 
				  
- Offline
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 19677
- Thank you received: 4554
			
	
						28 Jul 2024 18:07				#306254
		by andypugh
	
	
		
			
	
			
			 		
													
	
				Replied by andypugh on topic Error in tool_offsetview.py			
			
				Do you have a remap that uses M70?			
					Please Log in or Create an account to join the conversation.
- MarkoPolo
- Offline
- Elite Member
- 
				  
		Less
		More
		
			
	
		- Posts: 295
- Thank you received: 79
			
	
						28 Jul 2024 18:40				#306263
		by MarkoPolo
	
	
		
			
	
			
			 		
													
	
				Replied by MarkoPolo on topic Error in tool_offsetview.py			
			
				No, I am not using M70.
This is not a problem in my configuration, because this problem also occurs on a fresh, default qtdragon configuration.
Problem on a real machine, as well as in a virtual machine with a virtual touch plat.
					This is not a problem in my configuration, because this problem also occurs on a fresh, default qtdragon configuration.
Problem on a real machine, as well as in a virtual machine with a virtual touch plat.
Please Log in or Create an account to join the conversation.
- cmorley
- Away
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 7230
- Thank you received: 2106
			
	
						28 Jul 2024 20:56				#306277
		by cmorley
	
	
		
			
	
			
			 		
													
	
				Replied by cmorley on topic Error in tool_offsetview.py			
			
				Qtvcp's probe routines use m70 /m72- I do think that is the source of the problem.			
					Please Log in or Create an account to join the conversation.
		Moderators: cmorley	
		Time to create page: 0.270 seconds	
 
													 
	