#maker #parse

bin+lib maker-panel

Generator for modular mechanical panels

15 releases (9 breaking)

0.13.0 Aug 10, 2022
0.12.4 Aug 4, 2021
0.12.3 May 11, 2021
0.9.1 Feb 13, 2021

#1491 in Text processing

Download history 35/week @ 2023-05-31 5/week @ 2023-06-07 4/week @ 2023-06-14 22/week @ 2023-06-21 37/week @ 2023-06-28 10/week @ 2023-07-05 9/week @ 2023-07-12 9/week @ 2023-07-19 5/week @ 2023-07-26 3/week @ 2023-08-02 4/week @ 2023-08-09 19/week @ 2023-08-16 18/week @ 2023-08-23 2/week @ 2023-08-30 37/week @ 2023-09-06 4/week @ 2023-09-13

61 downloads per month

MIT license

190KB
5K SLoC

maker-panel

Crates.io Docs License

Make simple parts by combining shapes together. Order them as cheap PCBs.

Language reference

Examples

This (using maker-panel expressions):

wrap (column center {
    [12] R<7.5>(h)
    [ 9] R<7.5>(h)
    [12] R<7.5>(h)
}) with {
  left => C<11.25>(h5),
  right => C<11.25>(h5),
}

A center-aligned column of holes, spaced 15mm (7.5 * 2) apart, with circles positioned about each end such to round out the edges of the rectangle with semi-circles.

Makes this:

Example 2

To generate the gerbers for you, you can run:

cargo run -- --hull -f examples/ex2.spec gen -f zip > ex2_r1.zip

which will give you ex2_r1.zip which you can upload to your fabhouse of choice.

License

MIT License. Raster font is from http://uzebox.org/, itself licensed under CC BY-SA 3.0.

Dependencies

~14–19MB
~347K SLoC