4th axis toolpath display

More
24 Jul 2019 13:05 #140427 by Vmax549
I noticed that PathPilot does not do 4th axis toolpath display. Does any LinuxCNC version do it ??

Just a thought, (;-) TP

Please Log in or Create an account to join the conversation.

More
24 Jul 2019 16:11 #140435 by Dinuka_Shehan
Yes,It does

Please Log in or Create an account to join the conversation.

More
24 Jul 2019 17:38 #140442 by pl7i92
Replied by pl7i92 on topic 4th axis toolpath display
ofcause it displays the Axis as they are in g-code

Please Log in or Create an account to join the conversation.

More
24 Jul 2019 21:17 #140476 by Vmax549
Replied by Vmax549 on topic 4th axis toolpath display
Could you upload that Gcode file so I can test it here . From what I am seeing PathPilot does not rotate teh 4th axis as wrapped around X.

It displays teh XY component and then rotates teh Toolpoint indicator as a rod (not a cone) IF you turn off teh 4th axis display it converts teh rod into a cone.

I tested a simple 4th axis program that I KNOW what it is suppose to look like as a 4th axis display.

Just a thought(;-) TP

Please Log in or Create an account to join the conversation.

More
28 Jul 2019 17:34 #140821 by andypugh
Replied by andypugh on topic 4th axis toolpath display
The Axis display uses the GEOMETRY INI entry.

AXYZ or XYZA will display differently.

The PP display may not use this, though.

Please Log in or Create an account to join the conversation.

More
28 Jul 2019 18:47 #140831 by smgvbest
Replied by smgvbest on topic 4th axis toolpath display
pp seems to handle that in the tormach_mill_ui.py file
def enable_fourth_axis_toolpath_display(self, widget):
        self.ui.redis.hset('machine_prefs', 'enable_fourth_axis_toolpath', 'True')
        self.set_geometry('AXYZ')
        self.ui.gremlin_options.update_a_axis(True)

    def disable_fourth_axis_toolpath_display(self, widget):
        self.ui.redis.hset('machine_prefs', 'enable_fourth_axis_toolpath', 'False')
        self.set_geometry('XYZ')
        self.ui.gremlin_options.update_a_axis(False)

Please Log in or Create an account to join the conversation.

More
28 Jul 2019 19:14 #140832 by Vmax549
Replied by Vmax549 on topic 4th axis toolpath display
Yes I had seen that entry in teh UI section BUT turning it on of off does NOT change teh display.

Now changing teh AXYZ to XYZA does change teh display to look correct BUT it still does not rotate with teh 4th axis motion.

(;-) TP

Please Log in or Create an account to join the conversation.

More
28 Jul 2019 21:09 #140838 by smgvbest
Replied by smgvbest on topic 4th axis toolpath display
the question in my mind is does this work correctly on a Tormach Machine?
I realize you may not know anyone with a tormach to find out but if it works there but not here then my assumption would be in converting to a non-tormach machine did we miss something

i've been running the mill ui thru the debugger and not seen anything yet that might be it.

Please Log in or Create an account to join the conversation.

More
29 Jul 2019 00:00 #140851 by Vmax549
Replied by Vmax549 on topic 4th axis toolpath display
Teh problem is 2 fold teh Display order was wrong AXYZ when it needed to be XYZA as Andy pointed out. The 2nd part is that teh A axis rotations are being tied to teh toolpoint icon (Cone) instead of teh A axis toolpath. I have NOT found where that part is controlled yet.

Just a thought, (;-) TP

Please Log in or Create an account to join the conversation.

More
29 Jul 2019 00:07 #140852 by smgvbest
Replied by smgvbest on topic 4th axis toolpath display
Get that that, but doesn't change my question of does this work correctly on a genuine tormach machine?

that spot above does change the some point as the GEOMETRY Andy mentioned.
in this case I believe a better understand on how LinuxCNC does this would help then you could program that behavior into PP

in this part
def enable_fourth_axis_toolpath_display(self, widget):
self.ui.redis.hset('machine_prefs', 'enable_fourth_axis_toolpath', 'True')
self.set_geometry('AXYZ')
self.ui.gremlin_options.update_a_axis(True)

did you change AXYZ to XYZA and save the file?
also you must exit PP and restart to pick up this change since it's in the main UI file.

Please Log in or Create an account to join the conversation.

Moderators: cncbasher
Time to create page: 0.104 seconds
Powered by Kunena Forum