How to Convert 3D strings to side slopes

How to Convert 3D strings to side slopes