Help needed:script for gradient hatch

hi Tom Tom,

can you please help me write a script with gradient hatch ?

Hello- what, exactly, do you need to accomplish?

-Pascal

well, I am new to rhino since two weeks, all I was wishing is an easy way to export the results from grasshopper to illustrator or any vector format. l learned about how hatching is exported as fill color but it is really slow and also the pattern hatching does not allow the choice of color per shape. I am hoping to find a work around using gradient hatching. so basically , I’d like to know how to use your original script to speed things up but with gradient hatch instead!