keeping the tool oriantation constant

Started by OXIDO, July 10, 2025, 12:51:57 PM

Previous topic - Next topic

OXIDO

Hello,
I'm having trouble keeping the tool in one position. The tool starts working on +x and then, between 0.4 and 0.5 (Simulator Slider), it rotates and orients to -x. This movement is causing visual defects in the piece. Does anyone have a solution for this?

0 to 0.4


0.5 to 1


Regards,
Ojas

Johannes @ Robots in Architecture

Hello,
First of all, thank you for the excellent preparation of the file, with nicely internalized planes and without tons of external plugins.
Fortunately the error was easy to spot, at the very beginning you decompose the planes to calculate the angle for the rotation. In your file, you calculate the angle between the Z-axis of the target plane and the global X-axis. Because the Z-axis changes in tilt, you get the change in orientation.
Using the Y-axis instead makes it consistent, in my testing.
Best,
Johannes