- Posts: 2580
- Thank you received: 0
Swapping Max Velocity for Max Rapid
- snowgoer540
- Topic Author
- Offline
- Platinum Member
-
At any rate, if there is anyone who can walk me through how to make this change, I would greatly appreciate it!
Thanks!
Please Log in to join the conversation.
the assumption is code already exist for max rapid.
if it does then it would be as simple as editing the .glade file and changing the call back to the max rapid function.
if one did not exist you would first have to write the new function then change the .glade to call that new function.
the other thing would be to change the max velocity graphic in the .glade file as well for appearance sake
so basically every function that in the PP gui is a call back routine when an action happens in the gui. the gui is defined by the *.glade files. the *.py files contain the actual code.
that's the very high level of what needs to be done
Please Log in to join the conversation.
- snowgoer540
- Topic Author
- Offline
- Platinum Member
-
- Posts: 2580
- Thank you received: 0
smgvbest wrote: without looking into code and making an assumption.
the assumption is code already exist for max rapid.
if it does then it would be as simple as editing the .glade file and changing the call back to the max rapid function.
if one did not exist you would first have to write the new function then change the .glade to call that new function.
the other thing would be to change the max velocity graphic in the .glade file as well for appearance sake
so basically every function that in the PP gui is a call back routine when an action happens in the gui. the gui is defined by the *.glade files. the *.py files contain the actual code.
that's the very high level of what needs to be done
Ok, that makes sense. How would I figure out whether or not they trashed the max rapid function? I would have to imagine if it's not there, I could pretty easily grab it from a config like gmoccapy, correct?
Please Log in to join the conversation.
then locate the max velocity code in PP and add the max rapid code just after it.
look at both and compare, you may have to change parameter names to match what PP uses.
once that's done make the change to the .glade file
keep in mind. once you make this type of change whenever you do a update in PP you code and glade changes will be lost and must be replaced
one way around that is to create a private github with the PP code and glade files.
then do a compare on what Tormach changes and merge their changes into yours.
Please Log in to join the conversation.
