# Programming

• I am programming paint robots with logic instead of 500 points. I have good logic already but I think it could still be better. Every part we spray is round, so we use circular motion. If I wanted to use the same program and be able to enter the diameter of the part as a register, based off of the starting point....How would I calculate that to be able to translate for positioning?? I feel like there has to be a way!? Any suggestions would be greatly appreciated

• AD
• Lets say the circle is on the X, Y plane and has a radius of 10 mm.

Point = (X, Y):

P1 = (0, 10)

P2 = (10, 0)

P3 = (0, -10)

P4 = (-10, 0)

Now if you want to change the starting point then just offset the points above by the starting point.

Again this assumes the circle is always in the same plane.

• I would place a UFrame in the center of the circle, and the use HawkME method,

So there is no problem even is the plan changes

## Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account
Sign up for a new account in our community. It's easy!
Sign in
Already have an account? Sign in here.