trim()
Trims all sketch geometry segments.
Returns: Trim
tip
See the guide for detailed usage examples.
Signatures
trim(): Trim
Trims all sketch geometry segments.
trim(...targets: (ISceneObject | EdgeFilterBuilder)[]): Trim
Removes the edges matching the given targets. Geometry and accessor targets remove whole edges; edge filters are matched against the sketch's split segments (geometry split at mutual intersections) and remove the matching segments.
| Parameter | Type | Description |
|---|---|---|
...targets | (ISceneObject | EdgeFilterBuilder)[] | Geometries, edge accessors (r.edge('top')), or edge filters (edge().line()) selecting the edges to remove (optional) |