Transform markups to STL

Is this what you need?