11-07-2016, 10:35 PM
I'm considering repackaging together a bunch of small scripts that perform rather simple operations on paths: delete strokes, decompose the path, splice strokes, etc... to make a simple path edition toolbox.
The goal is to include simple editing steps
Comments? Suggestions? Additions?
The goal is to include simple editing steps
- that don't require dialog input
- that perform tasks that are either impossible to do by hand and that can do them significantly faster (cut-off point would be 3-4 clicks without a script)
- delete strokes: delete strokes with an end in the selection.
- extract strokes: keep strokes with an end in the selection.
- reverse strokes: swap stroke end to end (no visible result but often useful).
- splice strokes: connect together strokes with end points sufficiently close.
- cut strokes: cut strokes on the anchor point in selection (this is the opposite of the "splice" above, a stroke with thee anchors will produce two strokes of two anchors, where two anchors will coincide)
- intersect strokes: cut and splice two strokes where they intersect. The $64K question is to have a good criterion to determine which of the 4 angles to keep.
- decompose strokes: decomposes a path into its individual strokes. Unlike the rest this one would create additional paths.
- summary: show a summary of the path information (to check that what you got is actually what you see).
Comments? Suggestions? Additions?