Robots in Architecture Forum

Robots in Architecture, Art, and Design => General Discussion => Topic started by: Wang Cong on November 01, 2019, 09:55:14 AM

Title: Drawing Tool path is not smooth
Post by: Wang Cong on November 01, 2019, 09:55:14 AM

I have some questions about the drawing, when I put the SRC files into the robot, the logic of robot drew the picture was unordered, it didn't draw smoothly and fluently. There were a lot of movement, especially a lot of point.  So it doesn't look very good. You can see it in the image below.

So I would like to konw that how can I make it go in one derection or more logically? or can I control the order of drawing?

Wang Cong
Title: Re: Tool path
Post by: Johannes @ Robots in Architecture on November 01, 2019, 10:31:58 AM

There are a few things to consider, first of all the hardware. If you are not getting straight lines, then either your tool is wobbly or your mastering is wrong.
On the software side, the C_DIS settings are crucial. You can set the $apo.cdis variable either from Display/Variable/Single (in Expert user group) or in the KUKA|prc settings.
It blends movement, the unit is mm. So if blending is enabled for a movement (default in KUKA|prc, you can change it by right-clicking the icon of e.g. a LIN movement) it will smooth movements. For drawing that means that the pen doesn't lift of vertically, but when it's x mm (the value of $apo.cdis) away from the lift-off, it will blend the movement and move diagonally up. Then again if you have $apo.cdis set to 0, or disabled the C_DIS option for a movement, the robot will stop at every position, which also isn't ideal.
For proper drawing you can try to disable C_DIS for the first and last position, and set $apo.cdis to a value that allows you to get sufficient accuracy, while also ensuring a smooth movement of the robot.
Sorting and joining of curves is something you need to implement in Grasshopper, KUKA|prc will not reorder your toolpaths by itself, as that could cause serious issues.

Title: Re: Drawing Tool path is not smooth
Post by: Wang Cong on November 01, 2019, 03:41:50 PM
Thank you very much for your detailed explanation, I learned a lot from it. The problem may be Sorting and joining of curves. Because I successfully drew another simple figure(few letters) before. And I will try again according to your advice .

Thank you again for your prompt reply and detailed explanation.

Wang Cong