Robots in Architecture Forum

KUKA|prc - parametric robot control for Grasshopper => Support => Topic started by: fineconcrete on July 27, 2023, 04:10:37 PM

Title: Custom Tool Plane ABC Rotation
Post by: fineconcrete on July 27, 2023, 04:10:37 PM
I am trying to set up a tool with the custom tool plane. I have set up this script that sets the tool location and does the rotation of A B and C around world Z Y and X respectively. I have compared this set up to the custom tool component and I seem to be getting the same result. My confusion is in the construct plane component, the plane positive Z is in the negative world X which feels counter intuitive to how the tool works in the simulation moving with the robot. Although I have achieved the desired result, I do not understand why.

My plan is to log all my tool data in an excel file and load the values through this script. An alternate version would be a request an option to expose the XYZABC values for the custom tool component instead of having to load them through the dialog box.
Title: Re: Custom Tool Plane ABC Rotation
Post by: Johannes @ Robots in Architecture on July 28, 2023, 10:03:14 AM
Hello,

The tool axis direction is an ongoing issue that we will definitely address in the next "breaking" (i.e. non-compatible with the current version) release.
Of course you can use XYZABC directly, you just need to switch the input of the component via right-clicking. I've attached a screenshot!

All the best,
Johannes
Title: Re: Custom Tool Plane ABC Rotation
Post by: fineconcrete on July 28, 2023, 06:01:33 PM
I thought that must already be a feature, brilliant. Thanks Johannes.