My brain stopped working, I'm to tiered.
I don't see it anymore,
So, I need some math (guru) help (again) ...
For my CAM simulator i want to draw a part clamping system [1] on the CNC table. (see Image2)
I placed the 2 distance part [2+3] (see image)
I placed the user part [4] to be tooled.
Till now all ok ...
But then the clamp [5] need moving towards the user part with turning the bold [6] for clamping the user part.
How it works, when turning the bold (right) the distance shorten. (<65.19)
When I turn to the left, it widens the distance.(>65.19)
For the simulation, I need to calculate the distance in the X-axis when I turn the (Red) bold.
The red colored values are fixed distances.
Data bold:
Diameter 8 mm
Step/turn = M8 = 1.25 mm per 360 deg
Height distance center axis with rotating bold part = 55 mm fixed
Height of the axis to table = 25 mm fixed
I know that:
- The angle = ATan2 (X, Y)
- The distance 35.0 = Cos (angle) * 65.19 mm
What I need is the motion distance on de X-axis while turning the bold ...
It must be so simple, but
I'm even to tiered to think clearly ...
Thanks,
marc


