Kicad Gerber File

Hello, I am using Kicad 7.0 . The manufacturer said that I should put everything in the first qudratanten (with postive x and y coordinate).

In PCB designing I have put a origin on the lower right side. But the manufacturer still says that not everything is in the first qudratanten. According to the coordinaten on the bottom, the positive direction of the y axis is downward and positive direction of x axis to the right. So maybe i should put the origin on the
upper right side ?

Thank you :slightly_smiling_face:

By your own reasoning, since X increases going right and Y increases going down, then you should put the origin at the top left corner, no?

Yes, that is excatly what I want to say, sorry I discrible it wrongly. :sweat_smile:

Which manufacturer is this by the way? I haven’t come across one that requires positive coordinates for making boards. All the ones I know can deal with any origin. Maybe for assembly they might require positive coordinates.

I set the Y-axis direction to be positive-UP and place my drill origins at lower-left pcb corner.

No. The manufacturer is asking for Quadrant I. That’s the drill/place origin in the lower left corner.


wikipedia

Unfortunately, the Plot menu has its own configuration checkbox “Use drill/place file origin”:

1 Like

It’ the Workshop in my university, some requirements there are different to those in other manufacturer, which makes the design more complex, people there don’t have much knowledge about Kicad, Altium …

Hello, I also tried to put the origin on lower left corner. And the manufacture also mentioned that not everything is in the Quardrant I.

But the important thing is they want positive coordinates, so either top left and Y downwards, or bottom left and Y upwards.

Hmm, manufacturers usually don’t care about negative coordinates because their CAM software will adjust the coordinates of all boards to panelise on their large panels.

Doesn’t it have to be bottom left and Y upwards otherwise they will produce a mirrored PCB ?

No, the coordinates of the pads and other artefacts will be different. The files generated for the two options will not be identical. Try it yourself. Burger, er Gerber, view will show the same picture.

yes, I will first put the origin at top left and see what they would say.

Even in previous KiCad versions Y at PCB was positive downward in gerber it was always positive upward.

I don’t suppose gerber output uses KiCad Y direction setting. I think gerbers were always generated normally (y toward down is not normal).

What is the definiton of “everything” in this context? There is (can be) a difference between the coordinates used in the PCB editor, and in the gerber output.

But if you want to make everything consistent, then this combination should work:

  1. Place your whole PCB in side the paper size.
  2. PCB Editor / Place / Drill/File Origin and put it both to the left and below the PCB.
  3. PCB Editor / Preferences / Preferences / PCB Editor / Origins & Axes with:
    • Display Origin → Drill/place file origin.
    • X Axis → Increases right.
    • Y Axis → Increases up.
  4. PCB Editor / File / Fabrication Outputs / (Plot format: Gerber) / General Options / Use drill/place file origin.
  5. PCB Editor / File / Fabrication Outputs / [Generate Drill Files] / Drill Origin / Drill/place file origin (This seems to change automatically to keep in sync with the step 4.

This probably won’t work:

Have another look at the picture RRPollack posted of the quadrant numbering. You can also load a gerber file in a text editor and look at the coordinates yourself, or load it in KiCad’s gerber viewer.

Do note there are two different origins in KiCad. It has the Drill/place file origin, and the Grid Origin.

Indeed. You can try to explain that to the people in your university. Maybe this mattered some 30 years ago, but time goes on…

Edit: Typo: “right” - - > “up”. for the Y-axis.

Pretty sure I tried this and the Gerber showed the PCB outside the drawing sheet.

BTW, I think you have a typo: * Y Axis → Increases right. (Up ?)

Thanks! I have followed your instructions, and if I view the created Gerber file in Gerber viewer, the whole pcb still has a coordinate with negative y and postive x, but according to the .pos file everything has a positive x and y, which one should trust ?


You skipped this part:

  1. PCB Editor / Preferences / Preferences / PCB Editor / Origins & Axes with:
    • Display Origin → Drill/place file origin.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.