TRIM splits elements and deletes overshooting ends of geometry, where they intersect with other elements, or at a specified position, in one operation.
--->(TRIM)------>-------+ | +----------<----------+ | v +--------<------------------------------------------------<---------+ | | | +--+--(:ONE_ELEMENT)--|element|----------+ | | | | | +------------<------------+ ^ | | | | v +--------------------<-----------------+ | | | | | | | +-----------+--(:AT_ELEMENT)--|element|------>-----+----+--> | | | | | +--(:AT_POS)----|point|-------->-------+ ^ | | | +---------------------<-----------------------+ | | | | | +--(:TWO_ELEMENTS)--+--|1st element at pos|-|2nd element at pos|--+-+ | | | +------------------------<---------------------------+ | | | | | +--(:MIDDLE)-+-|middle section of element to be trimmed|--->--+ | | | | | | | +--|1st element to trim with|---------<---------+ | | | | | | | +--|2nd element to trim with|------------>----------+-+ | | | +-----------------------<------------------+ | | | | | +--(:CONTOUR)--+--|elements for contour trimming|---------+---->----+
The trimming operation uses the element selection mechanisms, to specify which end or part of the selected element is kept, and which is modified.
TRIM :MIDDLE [specify middle section of horizontal line] [specify 1st vertical line] [specify 2nd vertical line]