Designing a LED light pipe with Grasshopper

Just wondering if anyone has ever tried to design a LED light pipe for inicator lights on a product using grasshopper. Basically, I’m hoping to come up with a “2D” definition that will draw an ideal light pipe when supplied with a Surface to illuminate and the location of an LED on a PCB board. Planning to have a go at it, but wanted to see if anyone had tried previously. Final solution will have the ability to have multiple LEDs illuminating along a surace for LED animations (kind of like on an Amazon alexa/echo).

I’ll post here if I get anywhere with it.