ohmtech-rdi / eurorack-blocks

Software to Hardware Prototyping for Eurorack using C++, Max/Gen~ or Faust
Other
317 stars 21 forks source link

Material pcb translucence support #650

Closed ohmtech-rdi closed 10 months ago

ohmtech-rdi commented 10 months ago

This PR adds a way to bring translucence to a PCB-based front panel, by removing the copper and solder mask layers on a specific shape dictated by the user.

In practice, this is done by adding a new property layer to graphic elements suck as label, line and image:

[!NOTE]
In the simulator, we assume that a LED would cover a disk of around 1cm diameter on the front panel. Also, neighboring light won't influence each others. In short, the simulation is very crude and just here to check basic mistakes.