Robots in Architecture Forum

KUKA|prc - parametric robot control for Grasshopper => Support => Topic started by: austint28 on April 30, 2026, 10:03:49 PM

Title: Help with controlling toolpath movement
Post by: austint28 on April 30, 2026, 10:03:49 PM
Hello, I am trying to use a KR120R2500 PRO to mill a slab of CLT, and I am having trouble with the toolpaths. When I run the simulation in grasshopper/rhino the tool seems to be moving in strange ways, as it will go different directions, pickup and move to different spots seemingly at random, and it will somtimes retrace the paths back up to the top layer and then start again. I have attempted a few ways of trying to fix this but havent yet found a solution. Hoping for any insight on how to fix the toolpaths to get it to move in a consistent direction, as well as get it to move down a z level directly after finishing the previous level. Thank you!
Title: Re: Help with controlling toolpath movement
Post by: Johannes @ Robots in Architecture on May 04, 2026, 07:59:20 AM
Hello,
It seems that you created your toolpath once and then shifted it multiple times in Z to create the multiple step downs. I think that is what is causing the tool to move up and down.
I would try the following: that after the "Trim with BRep" component you take the start point of each curve, take it's Z value and then sort the curves according to that. If the order within a layer is critical, you could then sort again depending on e.g. the distance to the center of the element, so that it goes from outside to inside.
Best,
Johannes