# Gerber export - wrong file name and import to aisler

**URL:** <https://forum.fritzing.org/t/gerber-export-wrong-file-name-and-import-to-aisler/13650>\
**Category:** uncategorized\
**Created:** [August 15, 2021, 8:05am UTC](https://forum.fritzing.org/t/gerber-export-wrong-file-name-and-import-to-aisler/13650 "2021-08-15T08:05:08Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![spassignat](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/s/dc4da7/32.png) [@spassignat](https://forum.fritzing.org/u/spassignat)\
**Post date:** [August 15, 2021, 8:05am UTC](https://forum.fritzing.org/t/gerber-export-wrong-file-name-and-import-to-aisler/13650/1 "2021-08-15T08:05:08Z")

</div>

Hello,

I’m exporting my projects to Gerber for the manufacturing and I’m facing 2 issues on one over three projects:

- the export file name is not the name of the project (a suffix \_PCB\_857124570 is added)
- when this project is imported to aisler, the shape of the board is no longer rectangle but a trapezoid

I checked the file in Gerber viewer, they look good.  
I had a quick look at fritzing source code, and don’t see any reason for that.

I’m actually exporting using 0.9.3 version (I know it’s an old one but it uses to work well)

Does someone have an idea ?

---

<div class="post-metadata">

**Author:** ![vanepp](https://forum.fritzing.org/user_avatar/forum.fritzing.org/vanepp/32/4426_2.png) [@vanepp](https://forum.fritzing.org/u/vanepp)\
**Post date:** [August 15, 2021, 12:58pm UTC](https://forum.fritzing.org/t/gerber-export-wrong-file-name-and-import-to-aisler/13650/2 "2021-08-15T12:58:10Z")

</div>

> [@spassignat](#):
>
> the export file name is not the name of the project (a suffix \_PCB\_857124570 is added)

How are you doing the export to gerber? File-\>Order a pcb (which I have never used!) or File-\>Export-\>For production-\>Extended Gerber (which is my usual method and looks like this:

![capture](https://forum.fritzing.org/uploads/default/original/2X/7/703894ef19433ea85208adf2d605c60a5bc8e280.jpeg)

on Win10. No additions, and I can change the file names as I choose.

> [@spassignat](#):
>
> I’m actually exporting using 0.9.3 version (I know it’s an old one but it uses to work well)

It also has bugs in gerber export (although they show up in a gerber viewer usually) in gerber export. If you upload the .fzz file for one of the sketches that doesn’t work I’ll do the export in both 0.9.3 and 0.9.8 and see what I get.

Peter

---

<div class="post-metadata">

**Author:** ![spassignat](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/s/dc4da7/32.png) [@spassignat](https://forum.fritzing.org/u/spassignat)\
**Post date:** [August 16, 2021, 7:33am UTC](https://forum.fritzing.org/t/gerber-export-wrong-file-name-and-import-to-aisler/13650/3 "2021-08-16T07:33:06Z")

</div>

hello Peter, thanks for the feed back.

I use the File\>Export\>For production\> Extended Gerber (I haven’t seen the other export method).

To be clearer about the suffix, my project name ends with 5.3.1:

 ![image](https://forum.fritzing.org/uploads/default/original/2X/e/e2a85ba9a94df4075f02ea72d58aa03d039a1e6a.png)

Had you ever had it ? any idea ?

I don’t see this number in the fz… files. It’s not a unix timestamp.

---

<div class="post-metadata">

**Author:** ![vanepp](https://forum.fritzing.org/user_avatar/forum.fritzing.org/vanepp/32/4426_2.png) [@vanepp](https://forum.fritzing.org/u/vanepp)\
**Post date:** [August 16, 2021, 2:21pm UTC](https://forum.fritzing.org/t/gerber-export-wrong-file-name-and-import-to-aisler/13650/4 "2021-08-16T14:21:38Z")

</div>

The only thing I can think of is something is adding the \_857124570 to the file name. Here I made a simple sketch and saved it as resistor-test.fzz

[resistor-test.fzz](https://forum.fritzing.org/uploads/short-url/64GcJARvNvV7gch88QeaUMwbl5F.fzz) (1.9 KB)

Then I loaded resistor-test.fzz (on 0.9.3b because that is what you are using) and exported it as a gerber. As expected the file names in the export don’t have any trailing numbers just the .fzz file name:

 ![capture](https://forum.fritzing.org/uploads/default/original/2X/9/94fcbddee30dd6907b42ecb86c9ef2dc3c754e06.jpeg)

This is all on Win10.

So the trailing number must be being added to the saved .fzz file name by something, but I don’t know by what.

Peter

---

<div class="post-metadata">

**Author:** ![ConnorRampling](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/c/9de053/32.png) [@ConnorRampling](https://forum.fritzing.org/u/ConnorRampling)\
**Post date:** [August 18, 2021, 3:50pm UTC](https://forum.fritzing.org/t/gerber-export-wrong-file-name-and-import-to-aisler/13650/5 "2021-08-18T15:50:50Z")

</div>

Thx for sharing! Realy interesting information!

---

<div class="post-metadata">

**Author:** ![KjellM](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/k/a3d4f5/32.png) [@KjellM](https://forum.fritzing.org/u/KjellM)\
**Post date:** [August 18, 2021, 10:46pm UTC](https://forum.fritzing.org/t/gerber-export-wrong-file-name-and-import-to-aisler/13650/6 "2021-08-18T22:46:34Z")

</div>

Did you upload the Fritzing File (\*.fzz) to Aisler? Or did you upload the Gerber files exported with Fritzing? It is usually best to upload the \*.fzz file. Aisler knows how to read it, and they will report issues to me.

---

<div class="post-metadata">

**Author:** ![spassignat](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/s/dc4da7/32.png) [@spassignat](https://forum.fritzing.org/u/spassignat)\
**Post date:** [August 19, 2021, 8:06am UTC](https://forum.fritzing.org/t/gerber-export-wrong-file-name-and-import-to-aisler/13650/7 "2021-08-19T08:06:28Z")

</div>

Local export before zipping and upload to aisler. With other persons, we decoupled the 2 cases mentioned.

The board shape issue comes from the board design in the svg file (unclosed path + rotation).

The suffix issue is minor. It only requires to me, to rename files manually before storing them in the VCS system and zipping to Aisler in order to keep things clean (personal opinion).

---

<div class="post-metadata">

**Author:** ![spassignat](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/s/dc4da7/32.png) [@spassignat](https://forum.fritzing.org/u/spassignat)\
**Post date:** [August 20, 2021, 10:39am UTC](https://forum.fritzing.org/t/gerber-export-wrong-file-name-and-import-to-aisler/13650/8 "2021-08-20T10:39:15Z")

</div>

Fixed the export file name issue. I had 2 boards (more or less the same size) one hiding the other one. For the export I choose the visible one on top, and the export tool probably add a board “id” to the file name.  
_I discovered the second board, exporting to Gerber again and again. The file name changed but always with the same two prefixes. Then I understood the prefix changed according to the side (top/bottom) I select the board to export._

This issue can indicates a mistake to someone else.

I think the second board came from a copy/paste or an old beginner error when added board “as a part” instead of choosing its image.

@vanepp and others more involved in Fritzing code, don’t loose time thinking at the reason for multiple boards. But if you want to make possible to have multiple pcb for one single schematic, I vote for it !

---

<div class="post-metadata">

**Author:** ![vanepp](https://forum.fritzing.org/user_avatar/forum.fritzing.org/vanepp/32/4426_2.png) [@vanepp](https://forum.fritzing.org/u/vanepp)\
**Post date:** [August 20, 2021, 3:06pm UTC](https://forum.fritzing.org/t/gerber-export-wrong-file-name-and-import-to-aisler/13650/9 "2021-08-20T15:06:44Z")

</div>

> [@spassignat](#):
>
> Then I understood the prefix changed according to the side (top/bottom) I select the board to export.

How did you select a side of the board to export? I just tried by selecting bottom layer only in pcb view, but the gerber export correctly exported both sides as I expected (although this was 0.9.8 not 0.9.3b?)

Peter

---

<div class="post-metadata">

**Author:** ![spassignat](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/s/dc4da7/32.png) [@spassignat](https://forum.fritzing.org/u/spassignat)\
**Post date:** [August 23, 2021, 6:36am UTC](https://forum.fritzing.org/t/gerber-export-wrong-file-name-and-import-to-aisler/13650/10 "2021-08-23T06:36:50Z")

</div>

The easiest way to reproduce, is to duplicate the board (copy paste) and then to select one or the other. You can swap sides or just move one a little to see them both.

 ![image](https://forum.fritzing.org/uploads/default/original/2X/6/63b9a8a00f312e43a9ca5020fbcd57ac010cb74b.png)

---

<div class="post-metadata">

**Author:** ![microMerlin](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/m/76d3ee/32.png) [@microMerlin](https://forum.fritzing.org/u/microMerlin)\
**Post date:** [August 23, 2021, 8:36am UTC](https://forum.fritzing.org/t/gerber-export-wrong-file-name-and-import-to-aisler/13650/11 "2021-08-23T08:36:09Z")

</div>

> [@spassignat](#):
>
> Then I understood the prefix changed according to the side (top/bottom) I select the board to export.

> [@vanepp](#):
>
> How did you select a side of the board to export? I just tried by selecting bottom layer only in pcb view, but the gerber export correctly exported both side

I think there are different meanings of “top” here. @spassignat meant the top board in the pcb view, because there were 2 stacked on top of each other. @vanepp top versus bottom in the pcb view. The swapping sides just makes the other board come to the top, where it can be selected for export.

The implication of the symptoms, is that Fritzing modifies the export name when more than one board exists in the pcb view. Probably whether they are accidentally stacked, or are deliberately side by side. If memory serves, Fritzing can only export a single board at a time. I think though that both boards can be exported, just one at time. Select one, export it. Select the other and export that. Likely with the modified names as seen in the previous posts.

---

<div class="post-metadata">

**Author:** ![vanepp](https://forum.fritzing.org/user_avatar/forum.fritzing.org/vanepp/32/4426_2.png) [@vanepp](https://forum.fritzing.org/u/vanepp)\
**Post date:** [August 23, 2021, 2:30pm UTC](https://forum.fritzing.org/t/gerber-export-wrong-file-name-and-import-to-aisler/13650/12 "2021-08-23T14:30:23Z")

</div>

Good call @microMerlin ! That is exactly what is happening. While I knew we can panelize boards I have never done it and that is indeed what is happening here. I duplicated a simple circuit then exported first one then the other as gerbers

 ![capture5](https://forum.fritzing.org/uploads/default/original/2X/5/535d2eb49f0920409657fc2a57015af8e096068c.jpeg)

and the version numbers appear on the gerber output files. Learned something else I didn’t know before!

 ![capture6](https://forum.fritzing.org/uploads/default/original/2X/4/4f5a07fc5c02b69728dab848342ff3c85a3925ec.jpeg)

Peter
