Printed Circuit Board Assembly & PCB Design SMT Electronics Assembly Manufacturing Forum

Printed Circuit Board Assembly & PCB Design Forum

SMT electronics assembly manufacturing forum.


Mathematical Formula

Drake

#9984

Mathematical Formula | 24 August, 1999

I rotated my PCB -90 degrees. Now what's the formula to calculate the X-Y Coordinates of my component CAD Data?

Thanks,

reply »

Brian

#9985

Re: Mathematical Formula | 24 August, 1999

| I rotated my PCB -90 degrees. Now what's the formula to calculate the X-Y Coordinates of my component CAD Data? | | Thanks, | Not very difficult

(Subscripts n = new, o = old)

Assuming the same origin:

Yn = Xo Xn = -Yo

Brian

reply »

Mika Johnsson

#9986

Re: Mathematical Formula | 26 August, 1999

| | I rotated my PCB -90 degrees. Now what's the formula to calculate the X-Y Coordinates of my component CAD Data? | | | | Thanks, | | | Not very difficult | | (Subscripts n = new, o = old) | | Assuming the same origin: | | Yn = Xo | Xn = -Yo | | Brian | Hi !

I may have misunderstood the question (or assumptions), but in our software when we e.g. transform the coordinates from design coordinates to printing (machine) coordinates, and there exist an angle difference, also the board dimensions are needed in the calculation

so:

90 clockwise

Xn = Yo Yn = Xlength - Xo

90 degrees anticlockwise

Xn = Ylength - Yo Yn = Xo

Where Xlength and Ylength are board dimensions in the initial coordinate system.

Mika

reply »

#9987

Re: Mathematical Formula | 26 August, 1999

| | | I rotated my PCB -90 degrees. Now what's the formula to calculate the X-Y Coordinates of my component CAD Data? | | | | | | Thanks, | | | | | Not very difficult | | | | (Subscripts n = new, o = old) | | | | Assuming the same origin: | | | | Yn = Xo | | Xn = -Yo | | | | Brian | | | Hi ! | | I may have misunderstood the question (or assumptions), but in our software when we e.g. transform the coordinates from design coordinates to printing (machine) coordinates, and there exist an angle difference, also the board dimensions are needed in the calculation | | so: | | 90 clockwise | | Xn = Yo | Yn = Xlength - Xo | | 90 degrees anticlockwise | | Xn = Ylength - Yo | Yn = Xo | | Where Xlength and Ylength are board dimensions in the initial coordinate system. | | Mika | Just another thought, remembering the old times generating data for the machines I did not change the data all I had to do is tell the machine in which angle the PCB was going through. So if we made more than one unit simultaniously they often were not in the same angle and you could tell the specific angle for each unit. For one unit only we set the machines in multiple-unit-mode and the number of units to one. But I don�t know if it is possible with your equipment.

maybe it�ll help

Wolfgang

reply »

Brian

#9988

Re: Mathematical Formula | 27 August, 1999

| | | I rotated my PCB -90 degrees. Now what's the formula to calculate the X-Y Coordinates of my component CAD Data? | | | | | | Thanks, | | | | | Not very difficult | | | | (Subscripts n = new, o = old) | | | | Assuming the same origin: | | | | Yn = Xo | | Xn = -Yo | | | | Brian | | | Hi ! | | I may have misunderstood the question (or assumptions), but in our software when we e.g. transform the coordinates from design coordinates to printing (machine) coordinates, and there exist an angle difference, also the board dimensions are needed in the calculation | | so: | | 90 clockwise | | Xn = Yo | Yn = Xlength - Xo | | 90 degrees anticlockwise | | Xn = Ylength - Yo | Yn = Xo | | Where Xlength and Ylength are board dimensions in the initial coordinate system. | | Mika | This changes the origin, as well, which was not suggested.

Brian

reply »

Manufacturing Software

One stop service for all SMT and PCB needs