Untrim

This function does the inverse operation of the trim function. It receives a trimmed surface as a parameter and removes the cutting loops from it.

Figure 1. Untrim a rectangular surface that had been bounded by a circle