Tool Z rotation along a curve- Printable Version +- RoboDK Forum (//m.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//m.sinclairbody.com/forum/Forum-RoboDK-EN) + - - -论坛:通用RoboDK问题(//m.sinclairbody.com/forum/Forum-General-questions-about-RoboDK) +--- Thread: Tool Z rotation along a curve (/Thread-Tool-Z-rotation-along-a-curve) |
Tool Z rotation along a curve-chris_f-04-30-2020 Jeremy, Great job on the "RoboDK - From 3D model to robot paths - Part 2" webinar! I'm excited to try out the new "modify curve" functionality. However, it seems that currently you can modify the "roll" angle along a path, but not the "yaw" -Tool Z rotation along a curve. I'm working on a liquid dispensing application and having problems using the curve follow project to to dispense on the surface shown in the attached picture while controlling a large tool's Z rotation to prevent collisions with the surface. Scenario: A path goes down hill, across a flat, and back up hill. Let's separate these into separate segments and name them: "DOWNHILL", "FLAT", and "UPHILL". For simplicity, let's call the end points to these line segments A, B, C, and D. Here's some ASCII-art; I'll try to post RoboDK screenshots and station files later. {A}- D O -{D} W L N L H I I H L P L U -{B}-FLAT-{C}- My real geometry will have more complexity, including fillet radii between the segments, but I'm trying to simplify for a general discussion. I would like to have my tool orientation at each point be as follows:
It does not seem possible to do thesegmentacross the flat{B}-FLAT-{C}with Z-rotation using acurve follow project, so I split this into three programs: "Downhill" (generated by a curve follow project), "Flat" (manual targets), and "Uphill" (generated by a different curve follow project). However, linking these for a smooth motion has proven quite difficult. Some issues:
Thanks! -Chris RE: Tool Z rotation along a curve-Albert-05-01-2020 Hi Chris, Do you have a RoboDK project you can share? It may be easier to provide tips. I would try in the following ways:
You also mentioned a non smooth transition between programs. I would recommend you to remove the first joint move of your programs (this can be done manually or using the API). You may also need to remove the first linear move instruction as it will be a duplicate from your previous move. Albert RE: Tool Z rotation along a curve-chris_f-05-01-2020 I was able to get this to work after all. Attached is a simplified station .rkd file I used to debug. Key points:
-Chris RE: Tool Z rotation along a curve-Albert-05-04-2020 Hi Chris, Excellent! I'm glad to see it worked. We just fixed the post processor you were using to filter any invalid characters for function definitions (see post processors for UR). You should not have issues if you use spaces in your functions by using this update post processors. Albert RE: Tool Z rotation along a curve-JFCh-11-27-2020 Hi Chris, My name is JF and I am also struggling to find a solution to the variable Z rotation of the tool along the path. I see that Albert suggested a method that was suggested to me by Jérémy in my post (//m.sinclairbody.com/forum/Thread-Variable-toolframe-offset-s-rotation-around-axes-in-machining-projects). Did you manage to achieve the Z rotation using a different approach ? Any help on this topic is highly appreciated. Thanks. JF |