Activity for Gerber2PDF

  • Gerber2PDF Gerber2PDF updated /ReadMe.md

  • Gerber2PDF Gerber2PDF released /Archive/Version_1.9/ReadMe.md

  • Gerber2PDF Gerber2PDF updated /Gerber2pdf.exe

  • Gerber2PDF Gerber2PDF released /Archive/Version_1.9/Gerber2pdf.exe

  • John-Philip Taylor John-Philip Taylor committed [29d919] on Source

    Merge branch 'feature/IndividualPageSizes'

  • John-Philip Taylor John-Philip Taylor committed [4dcb39] on Source

    Added next_* flavours of page_size, orientation and scale_to_fit options

  • John-Philip Taylor John-Philip Taylor committed [672b9d] on Source

    Arc endpoints are now forced (in the PDF) to be what the Gerber specified

  • John-Philip Taylor John-Philip Taylor committed [130f89] on Source

    Merge branch 'bugfix/JonThe640/TearingPlanes'

  • John-Philip Taylor John-Philip Taylor committed [81cf01] on Source

    Increased the error tolerance for single-quadrant arcs

  • Gerber2PDF Gerber2PDF updated /Gerber2pdf.exe

  • John-Philip Taylor John-Philip Taylor committed [f3091f] on Source

    Changed the Makefile to explicitly link the static ZLib

  • Gerber2PDF Gerber2PDF updated /Gerber2pdf.exe

  • Gerber2PDF Gerber2PDF updated /ReadMe.md

  • Gerber2PDF Gerber2PDF released /Archive/Version_1.8/ReadMe.md

  • Gerber2PDF Gerber2PDF released /Archive/Version_1.8/Gerber2pdf.exe

  • Gerber2PDF Gerber2PDF released /Archive/Version_1.8/Gerber2pdf

  • John-Philip Taylor John-Philip Taylor committed [7a756d] on Source

    Merge branch 'feature/zlib'

  • John-Philip Taylor John-Philip Taylor committed [12df16] on Source

    Updated the Readme with the change log

  • John-Philip Taylor John-Philip Taylor committed [1859cd] on Source

    Changed JDeflate to use the ZLib library

  • John-Philip Taylor John-Philip Taylor committed [bcab3c] on Source

    Added ZLib as a submodule

  • John-Philip Taylor John-Philip Taylor posted a comment on discussion Bug Reports

    So... Any luck in getting a Gerber file to me that causes the issue so that I can investigate the problem?

  • John-Philip Taylor John-Philip Taylor posted a comment on discussion Bug Reports

    I'm struggling to reproduce the problem. All the Gerbers I've run on my Win11 PC work without problems. I really do need one of your breaking cases...

  • John-Philip Taylor John-Philip Taylor posted a comment on discussion Bug Reports

    Interesting - thank you for the report. I also run Win11 nowadays, so I'll investigate as soon as I have a moment. Can you attach a Gerber that breaks? Or maybe email it to me if you don't want it public?

  • Daraius Hathiram Daraius Hathiram posted a comment on discussion Bug Reports

    We have a few users now running Windows11 Gerber2PDF is crashing while processing gerber files. For some reason not all files. On certain ones from a set of Gerbers Have others been seeing this ? Really thankful for this utility. Hopefully this will get resolved. Thanks Daraius Daraius K. Hathiram | 512-289-6482 | TenX Precision, LLC | mailto:Daraius@tenxp.com

  • Joe Joe posted a comment on discussion General Discussion

    Oh, that sounds just great!

  • John-Philip Taylor John-Philip Taylor posted a comment on discussion General Discussion

    Hello, If you're talking about creating PDF layers (i.e. you open up die "layers" tool in the PDF viewer and then you can switch them on and off), this is an intended future feature that will most likely happen over the summer holidays (i.e. December). See this issue if you'd like to subscribe to follow the progress.

  • Joe Joe posted a comment on discussion General Discussion

    Hello John, would it be possible to add multiple Gerber files to the generated PDF as layers where each layer name shall then have its corresponding Gerber file's name? Transparency and different colors are also useful here. This way we could compare two or more versions of the same Gerber file. Cheers!

  • John-Philip Taylor John-Philip Taylor modified a comment on discussion General Discussion

    Thank you

  • jeffrey shepler jeffrey shepler posted a comment on discussion General Discussion

    <meta http-equiv="content-type" content="text/html; charset=utf-8">Thank you On Mar 13, 2023, at 3:43 PM, John-Philip Taylor <jptaylor@users.sourceforge.net> wrote:Fair warning -- you'll most likely need to do significant manual editing in InkScape and / or CAD to get it to look right... Converting PDF to Gerber Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/gerber2pdf/discussion/general/ To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/...

  • John-Philip Taylor John-Philip Taylor posted a comment on discussion General Discussion

    Fair warning -- you'll most likely need to do significant manual editing in InkScape and / or CAD to get it to look right...

  • John-Philip Taylor John-Philip Taylor posted a comment on discussion General Discussion

    Good evening, It would be possible, but it will be a lot of work. You'll essentially need to implement a PDF reader, which is not trivial. The Gerber file format is pretty straightforward, which is why going from Gerber to PDF is relatively simple. The PDF imaging model is incredibly complex. My suggestion would be to import the PDF into InkScape, set the scaling to the funny value DXF exports require, import the resulting DXF into your favourite PCB CAD tool, and then generate the Gerbers from ...

  • jeffrey shepler jeffrey shepler posted a comment on discussion General Discussion

    Hello: I just found your Gerber2PDF and I was wondering if it is at all possible to convert in the opposite direction, where you would take a PDF and convert into Gerber data. Thanks

  • John-Philip Taylor John-Philip Taylor committed [b9da63] on Source

    Added the `-orientation` option

  • Gerber2PDF Gerber2PDF updated /ReadMe.md

  • Gerber2PDF Gerber2PDF updated /Gerber2pdf.exe

  • Gerber2PDF Gerber2PDF updated /Gerber2pdf.exe

  • Gerber2PDF Gerber2PDF updated /ReadMe.md

  • John-Philip Taylor John-Philip Taylor committed [d1c4b8] on Source

    Added the `-scale_to_fit` option

  • John-Philip Taylor committed [e84985] on Source

    Increased the rounding error tolerance on arc calculations

  • John-Philip Taylor committed [6b8964] on Source

    Auto-translate page origin to bottom left

  • John-Philip Taylor committed [88627e] on Source

    Merge remote-tracking branch 'samyk/master'

  • samy kamkar committed [2c9e9d] on Source

    fix source link

  • samy kamkar committed [abc886] on Source

    macOS support added

  • Gerber2PDF Gerber2PDF updated /ReadMe.md

  • Gerber2PDF Gerber2PDF updated /Gerber2pdf.exe

  • Gerber2PDF Gerber2PDF updated /Gerber2pdf

  • Gerber2PDF Gerber2PDF updated /Gerber2pdf

  • Gerber2PDF Gerber2PDF updated /ReadMe.md

  • John-Philip Taylor John-Philip Taylor posted a comment on discussion General Discussion

    FYI -- The ticket associated with the PDF bookmark update is: GitHub Issue 5

  • Jonathan Therien Jonathan Therien posted a comment on discussion General Discussion

    i sent an email to create a new bugs subject. Its about arc. who received this email?

  • John-Philip Taylor John-Philip Taylor posted a comment on discussion General Discussion

    Yes -- that sounds right. It creates a new bookmark for every additional layer you add, but a new page for every "-combine" statement. If you have 4x "-combine" statements, you'll have 4x pages, but Nx bookmarks, depending on how many times you've added a layer. The various bookmarks simply point to the same page. I have it on the backlog to make the bookmarks hierarchical (i.e. first hierarchy the pages, and then underneath those the layers on each page), but for now I'm leaving it as a flat li...

  • Jonathan Therien Jonathan Therien posted a comment on discussion General Discussion

    its 1/4 so i have 4 page but 8 bookmarks.

  • John-Philip Taylor John-Philip Taylor posted a comment on discussion General Discussion

    Could you please include the page count in the screenshot? I mean the top of the PDF viewer that tells you the "1 / whatnot" page you're on...

  • Jonathan Therien Jonathan Therien posted a comment on discussion General Discussion

    Same things but with colors

  • John-Philip Taylor John-Philip Taylor modified a comment on discussion General Discussion

    mmm... I think I know what's happening. It is drawing one page, but it appears as if it's two pages because the 2x PDF bookmarks point to the same place...

  • John-Philip Taylor John-Philip Taylor posted a comment on discussion General Discussion

    mmm... That should work. I think I know what's happening. You're not specifying colours, so it's drawing one page, black on black. It appears as two pages because the 2x PDF bookmarks point to the same place. Try: -output=Output -combine -colour=0,128,0 gerber\frame.lgx -colour=0,0,255 NCDrill\ThruHolePlated.nc.grb

  • Jonathan Therien Jonathan Therien modified a comment on discussion General Discussion

    can you give me an example please. In my script, i use this command: -combine NCDrill\ThruHolePlated.nc.grb gerber\frame.lgx It works (2 gerbers combined) but it give me 2 identical sheet ( 1 called ThruHolePlated, 2 called frame)

  • Jonathan Therien Jonathan Therien posted a comment on discussion General Discussion

    can you give me an example please. In my script, i use this command: -combine NCDrill\ThruHolePlated.nc.grb gerber\frame.lgx It work but it give me 2 identical sheet ( 1 called ThruHolePlated, 2 called frame)

  • Jonathan Therien Jonathan Therien modified a comment on discussion General Discussion

    Hi all, why when I use -combine , the generated pdf file has 2 pages with the same combined data (1 page called ThruHolePlated and the other called frame) and . I just want 1 page that combines 2 gerbers and called the names of the first combined grb file. -combine NCDrill\ThruHolePlated.nc.grb gerber\frame.lgx Thanks!

  • John-Philip Taylor John-Philip Taylor posted a comment on discussion General Discussion

    Ah -- Every time you issue "combine" it creates a new page. Issue the command once for each page you want, followed by all the layers

  • Jonathan Therien Jonathan Therien posted a comment on discussion General Discussion

    Hi all, why when I use -combine , the generated pdf file has 2 pages with the same data. I just want 1 page that combines 2 gerbers. ex: -combine NCDrill\ThruHolePlated.nc.grb gerber\frame.lgx ^ -combine NCDrill\ThruHoleNonPlated.nc.grb gerber\frame.lgx ^ -combine NCDrill\ContourPlated.nc.grb gerber\frame.lgx ^ -combine NCDrill\ContourNonPlated.nc.grb gerber\frame.lgx

  • John-Philip Taylor John-Philip Taylor posted a comment on discussion Bug Reports

    It'll do, but I don't think it's what you actually want -- the borders are still white. That is the Gerber you provided, rendered as-is (i.e. without mirror or negative or anything). You'll get much better results if you export positive and let Gerber2pdf do the inversion.

  • chris bowman chris bowman posted a comment on discussion Bug Reports

    I think the one named positive. pdf is the one that will work for me thanks John

  • John-Philip Taylor John-Philip Taylor posted a comment on discussion Bug Reports

    You have other issues as well (see PNG attached). Anyway -- the workflow you want is: Export the Gerber from Eagle, without any specifiers. In other words, don't make it negative, and don't mirror it. Use Gerber2pdf to convert it to PDF, while at the same time mirroring and making it negative. The command-line you want is: Gerber2pdf -silentexit -output=pdf_prints -background=0,0,0 -colour=255,255,255 -mirror copper_bottom.gbr If I run the command-lines in my previous post, along with the one above,...

  • chris bowman chris bowman posted a comment on discussion Bug Reports

    Hi John, thanks for the quick reply. I am using Eagle pcb software, and when i export the gbr file in other programs to print it out it doesnt seem to change from positive to negative. here is the pdf file the project creator made,that I cant change to negative to print out.

  • John-Philip Taylor John-Philip Taylor posted a comment on discussion Bug Reports

    I'm slightly confused, because it looks as if you've exported the Gerber in negative from the CAD program already... This said, you can render it in positive or negative by means of the colour specifiers: Gerber2pdf -silentexit -output=positive copper_bottom.gbr Gerber2pdf -silentexit -output=negative -background=0,0,0 -colour=255,255,255 copper_bottom.gbr

  • chris bowman chris bowman posted a comment on discussion Bug Reports

    I need to change my gerber file from everything black is white and everything white is black , so I can print out negative transparancies in the pdf file . is this possible with your program, if so an example please. thanks

  • zahid zahid posted a comment on discussion Bug Reports

    thank you very much

  • John-Philip Taylor John-Philip Taylor committed [129387]

    Added support for G85 codes (i.e. drilled slots)

  • John-Philip Taylor John-Philip Taylor committed [f49aec]

    Added support for Repeat Hole commands

  • Gerber2PDF Gerber2PDF updated /Drill2Gerber/ReadMe.md

  • Gerber2PDF Gerber2PDF released /Drill2Gerber/Drill2Gerber.exe

  • John-Philip Taylor John-Philip Taylor posted a comment on discussion Bug Reports

    You can download the new version from the Files tab. I implemented the "hole size in the comments" feature without the command line option. It seems to be reasonably standard, so I use it if it's there, and don't if it's not.

  • John-Philip Taylor John-Philip Taylor posted a comment on discussion Bug Reports

    Your ASCII example does not specify coordinate format, and it has 10 digits, which is non-standard. What do I assume it is?

  • John-Philip Taylor John-Philip Taylor posted a comment on discussion Bug Reports

    I fixed the G85 issue (and also the infinite loop while I was at it). Now for the comment-based tool definitions... One thing I picked up though: in drillgerbtest.drl, line 4 it defines tool 2 as 0.006 inches, whereas on line 12 it redefines tool 2 as 0.9398 inches. I don't support tool redefinition, so the holes are drawn as 0.006 inches.

  • zahid zahid posted a comment on discussion Bug Reports

    ya adding header flag to cli will be good. these drill files are output of mentor pads . so ya Something like "--Header=MentoPads” will be great. On Sat, 22 Jan 2022 at 4:49 PM, John-Philip Taylor jptaylor@users.sourceforge.net wrote: Multiple projects from the same CAD program is one thing. What about different CAD packages? What I can do is add a command-line option to parse the header based on your specific CAD package... Something like "--Header=KiCAD". Would that work for your use-case? What...

  • John-Philip Taylor John-Philip Taylor posted a comment on discussion Bug Reports

    Multiple projects from the same CAD program is one thing. What about different CAD packages? What I can do is add a command-line option to parse the header based on your specific CAD package... Something like "--Header=KiCAD". Would that work for your use-case? What package are you using?

  • zahid zahid posted a comment on discussion Bug Reports

    yes in multiple projects i have found this type of drill files and their header format is same. On Sat, 22 Jan 2022 at 2:15 PM, John-Philip Taylor jptaylor@users.sourceforge.net wrote: All drill files are ASCII. What you're referring to is the comments in the header. Can you point me to a file format specification of the header? I can only parse it properly if I have a defined and specified grammar. I can of course infer it from examples, but can I be guaranteed that all header comments will follow...

  • John-Philip Taylor John-Philip Taylor posted a comment on discussion Bug Reports

    All drill files are ASCII. What you're referring to is the comments in the header. Can you point me to a file format specification of the header? I can only parse it properly if I have a defined and specified grammar. I can of course infer it from examples, but can I be guaranteed that all header comments will follow the same grammar?

  • zahid zahid posted a comment on discussion Bug Reports

    thanks , also can you add ascii drill file support , which i think will not be that difficult as holes sizes are defined on header like ; Holesize 5. = 4.400000 Tolerance = +0.050000/-0.050000 NON_PLATED MM Quantity = 2 from that we can declare aperture size in gerber header and append coordinates

  • John-Philip Taylor John-Philip Taylor posted a comment on discussion Bug Reports

    Thanks - I'll investigate

  • zahid zahid posted a comment on discussion Bug Reports

    Hi there is bug in drill 2 gerber it fail on G85 code and also went into infinite loop and not respond . here is sample thanks

  • zahid zahid posted a comment on discussion General Discussion

    thanks will check out inkscape :) seems great

  • John-Philip Taylor John-Philip Taylor modified a comment on discussion General Discussion

    Ah - that one is easy :-) You haven't specified a colour, so it defaults to black. Add a colour option before each layer (like you've done after the combine command (or simply remove the combine command if you don't want the combined version anyway).

  • John-Philip Taylor John-Philip Taylor posted a comment on discussion General Discussion

    Always a pleasure :-) I don't have any plans at the moment to output to PNG (I much prefer vectorised to raster). This said -- it is much easier to convert Gerber to raster than to PDF, so aren't there existing tools that do that? And if there isn't, you can always run the PDF through InkScape to generate PNG for you. You can do quite alot with the command-line nowadays, especially when using actions (ref InkScape Wiki), so you might even be able to script the conversion.

  • zahid zahid posted a comment on discussion General Discussion

    thanks for the amazing support , one more Question which is more like request LOL do you have any plan to make another version of this tool like Gerber2 PNG so that the outputs goes to png instead of pdf :)

  • John-Philip Taylor John-Philip Taylor posted a comment on discussion General Discussion

    Ah - that one ia easy :-) You haven't specified a colour, so it defaults to black. Add a colour option before each layer (like you've done after the combine command (or simply remove the combine command if you don't want the combined version anyway).

  • zahid zahid modified a comment on discussion General Discussion

    sorry fixed it had to supply additional colors before -combine flag Gerber2pdf.exe -silentexit -nowarnings -page_size=extents -output=topnew2 top.GTL mask.GTS paste.GTP silk.GTO -colour=6,80,63 top.GTL -colour=184,115,51 mask.GTS -colour=184,115,51 paste.GTP -colour=255,255,255 silk.GTO -combine -colour=6,80,63 top.GTL -colour=184,115,51 mask.GTS -colour=184,115,51 paste.GTP -colour=255,255,255 silk.GTO

  • zahid zahid posted a comment on discussion General Discussion

    sorry fixed it had to supply additional colors before -combine flag Gerber2pdf.exe -silentexit -nowarnings -page_size=extents -output=topnew2 top.GTL mask.GTS paste.GTP silk.GTO -colour=6,80,63 top.GTL -colour=184,115,51 mask.GTS -colour=184,115,51 paste.GTP -colour=255,255,255 silk.GTO -combine -colour=6,80,63 top.GTL -colour=184,115,51 mask.GTS -colour=184,115,51 paste.GTP -colour=255,255,255 silk.GTO

  • zahid zahid posted a comment on discussion General Discussion

    yes that-page_size=extents option is very helpful it generated the output i wanted , just one problem is that these individual layers are black and white can we have these individual layers in these respective colors as we mention in command Gerber2pdf.exe -silentexit -nowarnings -page_size=extents -output=topnew2 top.GTL mask.GTS paste.GTP silk.GTO -combine -colour=6,80,63 top.GTL -colour=184,115,51 mask.GTS -colour=184,115,51 paste.GTP -colour=255,255,255 silk.GTO output : topnew2.pdf have 5 pages...

  • John-Philip Taylor John-Philip Taylor posted a comment on discussion General Discussion

    I'm not 100% sure I understand what you mean, but I think you might be looking for the -page_size=extents command... You can place it anywhere in the string, but I generally put it just before the -output. You can also set the page size to A3, A4 or letter.

  • zahid zahid modified a comment on discussion General Discussion

    Hi hope you doing well in this tough covid times :) i have one request will be thankful if you can add it normally when we stack layers they are aligned based on the largest one layer like if we run this command Gerber2pdf.exe -silentexit -nowarnings -output=topnew top.GTL mask.GTS paste.GTP silk.GTO -combine -colour=6,80,63 top.GTL -colour=184,115,51 mask.GTS -colour=184,115,51 paste.GTP -colour=255,255,255 silk.GTO it aligned all layers and stack it up as shown in screenshot , so am wondering can...

  • zahid zahid posted a comment on discussion General Discussion

    Hi hope you doing well in this tough covid times :) i have one request will be thankful if you can add it normally when we stack layers they are aligned based on the largest one layer like if we run this command Gerber2pdf.exe -silentexit -nowarnings -output=topnew top.GTL mask.GTS paste.GTP silk.GTO -combine -colour=6,80,63 top.GTL -colour=184,115,51 mask.GTS -colour=184,115,51 paste.GTP -colour=255,255,255 silk.GTO it aligned all layers and stack it up as shown in screenshot , so am wondering can...

  • Carlos Nieves Onega Carlos Nieves Onega posted a comment on discussion Bug Reports

    Sure! I only keep it for old designs... By the way, it would be wonderful if you can keep generating a version compatible with ancient SW in future releases... Thanks a lot!!

  • John-Philip Taylor John-Philip Taylor posted a comment on discussion Bug Reports

    Excellent news! Now you can continue the journey of getting hold of modern equivalents of your ancient software ;-)

  • Carlos Nieves Onega Carlos Nieves Onega posted a comment on discussion Bug Reports

    They worked! Thanks a lot!!

  • John-Philip Taylor John-Philip Taylor committed [4c6e1a]

    Bugfix in Engine/Makefile

  • John-Philip Taylor John-Philip Taylor posted a comment on discussion Bug Reports

    I then did the same for Drill2Gerber The files are in this folder

  • Gerber2PDF Gerber2PDF released /Archive/Windows XP Version 1.7/Drill2Gerber.exe

1 >