first implementation of trim complete - needs further testing
implemented DXF export of arcs