diff --git a/README.rst b/README.rst index 6b5aaec..c63455e 100644 --- a/README.rst +++ b/README.rst @@ -671,6 +671,9 @@ Gallery .. image:: pics/sample3.jpg :width: 400px +For a demonstration of ``gerbolyze convert``, check out the `Gerbolyze Protoboard Index`_, where you can download gerber +files for over 7.000 SMD and THT protoboard layouts. + Licensing --------- @@ -689,4 +692,5 @@ avoid that so the default license is still AGPL. .. _pcb-tools-extension: https://github.com/opiopan/pcb-tools-extension .. _GIMP: https://gimp.org/ .. _gerbonara: https://gitlab.com/gerbolyze/gerbonara +.. _`Gerbolyze Protoboard Index`: https://dyna.kokoroyukuma.de/protos/ diff --git a/generate_protoboards.py b/generate_protoboards.py index 2183bca..ae56b60 100644 --- a/generate_protoboards.py +++ b/generate_protoboards.py @@ -90,19 +90,20 @@ def write_index(index, outdir): tht_pitches = lambda patterns: [ p.pitch for p in patterns if isinstance(p, THTProtoAreaCircles) ] smd_pitches = lambda patterns: [ min(p.pitch_x, p.pitch_y) for p in patterns if isinstance(p, SMDProtoAreaRectangles) ] has_ground_plane = lambda patterns: any(isinstance(p, EmptyProtoArea) and p.copper for p in patterns) - format_pitches = lambda pitches: ', '.join(f'{p:.2f} mm' for p in sorted(pitches)) + format_pitches = lambda pitches: ', '.join(f'{p:.2f}' for p in sorted(pitches)) format_length = lambda length_or_none, default='': default if length_or_none is None else f'{length_or_none:.2f} mm' + area_count = lambda patterns: len(set(p for p in patterns if not isinstance(p, EmptyProtoArea))) table_rows = [ ('
+ This page contains gerbers for many different types of prototype circuit boards. Everything from different pitches + of THT hole patterns to SMD pad patterns is included in many different sizes and with several mounting hole options. +
+ ++ All downloads on this page are licensed under the Unlicense. This means you can + download what you like and do with it whatever you want. Just note that everything here is provided without any + warranty, so if you send files you find here to a pcb board house and what you get back from them is all wrong, + that's your problem. +
+ ++ All files on this page have been generated automatically from a number of templates using + gerbolyze + (github mirror). If you have any suggestions for additional layouts + or layout options, please feel free to file an issue on + Gerbolyze's issue tracker on github. +
| Download | -Preview | -Source SVG | -Width | -Height | -Has Mounting Holes? | -Mounting Hole Diameter | -Number of Areas | -Symmetric Top and Bottom? | -Ground Plane? | -THT Pitches | -SMD Pitches | +Download | +Preview | +Source SVG | +Width [mm] | +Height [mm] | +Has Mounting Holes? | +Mounting Hole Diameter [mm] | +Number of Areas | +Symmetric Top and Bottom? | +Ground Plane? | +THT Pitches [mm] | +SMD Pitches [mm] |
|---|