Hi @Vako,
Have you tried with one of the modifiers from the HE_Mesh library ?
Possibly, HEM_Extrude()
or HEM_Shell()
combined with setThickness()
If interested, have a look at the bundled examples named Ref_HEM_Shell and Ref_HEM_Extrude inside Contributed_Libraries/HE_Mesh/hemesh/modify/…