Robots in Architecture Forum

KUKA|prc - parametric robot control for Grasshopper => Support => Topic started by: STurner on October 28, 2025, 05:50:39 AM

Title: Secondary Tool Rotation
Post by: STurner on October 28, 2025, 05:50:39 AM
Hi Everyone,

I've created a custom tool for my robot and set a tool rotation to orient my tool into a vertical position. But, once it reaches it's first point I want a second rotation for the blade on the XY plane.

I'm coming to an issue where even if I copy my initial rotation and apply a second rotation it's not rotating to an angle I want before reaching the second point. In the attached photo the red arrow shows what's currently happening and the green arrow shows what I want to do.

Could you look at my Rhino + GH. I've already tried Orient Point and that hasn't really worked.

Thank you!

1st Tool Rotation.jpgTool Rotation_02.jpg
CustomTool_2Rotations_10-27.3dm
CustomTool_2Rotations_10-27.gh 
Title: Re: Secondary Tool Rotation
Post by: Johannes @ Robots in Architecture on October 29, 2025, 03:13:56 PM
Hello,

I'm not 100% if I understood it correctly, but what you are doing is rotating around the Z-axis of your tool - see the video attached.
If you want to rotate around the global Z-axis, then you need to modify your cluster. Currently you are taking the Z-axis if your target plane. Just use Unit-Z instead and select a suitable center point for your rotation.

Also: Your tool mesh has got 500k vertices. Performance will improve a LOT if you use ReduceMesh and get it down to 10k vertices or so.

Best,
Johannes