Direct laser writing and structuring of functional polymers for electro-optical switches door