- Posts: 2580
- Thank you received: 0
Material Settings Glitch
- snowgoer540
- Topic Author
- Offline
- Platinum Member
-
Only one thing I did notice:
When you call the material that is already selected in the panel, it waits the full 2 seconds for some reason. I checked and double checked this, if I start with a material other than what will be called selected, it starts and cuts right away. If I select the material that is going to get called, it waits the full amount of time.
Please Log in to join the conversation.
Maybe the system should check if the current tool is loaded before accessing the materials dict and return the OK signal straight away.
Please Log in to join the conversation.
I used a materials file with 500 materials and ran a gcode file with 20 material changes.
I will check tomorrow to make sure the changes don't break current configs/gcode and hopefully post them.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
- snowgoer540
- Topic Author
- Offline
- Platinum Member
-
- Posts: 2580
- Thank you received: 0
phillc54 wrote: Well you can leave it at 2-3 seconds then. If M66 doesn't see a change then it waits for the timeout specified as Greg has discovered.
Makes sense about not seeing a change (because one isnt necessary).
What I dont understand is why the line numbers caused this to go bezerk in the first place? lol
Please Log in to join the conversation.
snowgoer540 wrote:
phillc54 wrote: Well you can leave it at 2-3 seconds then. If M66 doesn't see a change then it waits for the timeout specified as Greg has discovered.
Makes sense about not seeing a change (because one isnt necessary).
What I dont understand is why the line numbers caused this to go bezerk in the first place? lol
A couple of different issues, I guess one alerted you to the other because of all your testing of material changes.
I just pushed a fix for the delay, I had a couple of bits of inefficient code plus it now does a phantom material change if the material is already loaded. So you can either do either M66 P3 L0 or M66 P3 L3 Qn if you feel more secure with that. With 500 materials the maximum time to change was 0.16 seconds and both the M66 codes worked 100%.
Please Log in to join the conversation.
- snowgoer540
- Topic Author
- Offline
- Platinum Member
-
- Posts: 2580
- Thank you received: 0
phillc54 wrote:
snowgoer540 wrote:
phillc54 wrote: Well you can leave it at 2-3 seconds then. If M66 doesn't see a change then it waits for the timeout specified as Greg has discovered.
Makes sense about not seeing a change (because one isnt necessary).
What I dont understand is why the line numbers caused this to go bezerk in the first place? lol
A couple of different issues, I guess one alerted you to the other because of all your testing of material changes.
I just pushed a fix for the delay, I had a couple of bits of inefficient code plus it now does a phantom material change if the material is already loaded. So you can either do either M66 P3 L0 or M66 P3 L3 Qn if you feel more secure with that. With 500 materials the maximum time to change was 0.16 seconds and both the M66 codes worked 100%.
Good deal, thanks for the work. I updated my Plasmac, but I can't currently test. My machine is down due to a sheared bolt. I need to pin the rails so it doesn't shear again. Unforeseen upgrade?
Please Log in to join the conversation.
- snowgoer540
- Topic Author
- Offline
- Platinum Member
-
- Posts: 2580
- Thank you received: 0
Video Evidence For Investigative Purposes
I cant permanently turn THC back on, ohmic off, etc.
Please Log in to join the conversation.
The way it works is:snowgoer540 wrote: the save materials glitch seems to have reared its ugly head again:
Video Evidence For Investigative Purposes
I cant permanently turn THC back on, ohmic off, etc.
If you display the default material when you press save all the settings on the run panel including the material will be saved.
When you have another material displayed then press save only the material parameters are saved and all other parameters are reloaded.
Please Log in to join the conversation.
