Trim Entity
entity_trimTrim a line segment against a cutting line, preserving the side containing a specified point.
Instructions
Trim target against cutter, keeping the segment containing (keep_x, keep_y).
V1 supports LINE+LINE only. Cutter is treated as an infinite ray (AutoCAD's default 'implied extend' trim mode). Raises if the lines are parallel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keep_x | Yes | X of a point on the side of the target to KEEP | |
| keep_y | Yes | Y of a point on the side of the target to KEEP | |
| cutter_handle | Yes | Handle of the cutting line | |
| target_handle | Yes | Handle of the line being trimmed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||