Tool tip orientation

Started by kratzsci, May 05, 2021, 09:55:20 PM

Previous topic - Next topic

kratzsci

Good afternoon,

I'm currently trying to get my KR 3 R540 with KR C4 compact to touch multiple sides of a cube. I'm doing this with a cylindrical tool and I need the tool to be flush with the side it's trying to reach. I've been able to get it to work with a single side by changing the tool axis rotation to -90 degrees in the custom tool block. I'm not sure how I can continue changing this without creating multiple separate programs. Does anyone have any suggestions on how I can change the angle of my tool tip throughout a single program?

Thanks for the help!

Johannes @ Robots in Architecture

Hello,
Are you looking to do something like this?
The orientation of the tool depends on the orientation of the coordinate system (in Grasshopper: "Plane"). In my example, the orientation is set based on the parametrization of a NURBS surface.
Best,
Johannes

kratzsci

That is precisely what I'm trying to do! How did you make this work without setting the "Orient Point" for the "Orient Plane" block. When I try to recreate your program for my own program, I get an error when I leave the "Orient Point" blank.

Johannes @ Robots in Architecture

Hello,
If you put your mouse over the "Orient Point" input the tooltip will tell you "One locally defined value...".
I just set the point by right-clicking the input and choosing "Set one point". You then need to decide in the Rhino command line between referencing an existing point or setting a new coordinate.
You can embed referenced data in input by right-clicking and "Internalize". "Extract parameter" instead makes a separate node with your point component, in that example.
Best,
Johannes

kratzsci

Thank you so much for all your help Johannes, I greatly appreciate it!!!