Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Seeking suggestions for ofn-path-edits
#1
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
  • 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)
Candidates so far:
  • 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).
A question is whether a new path is generated each time or if the user will duplicate paths explicitly when needed.

Comments? Suggestions? Additions?
Reply


Messages In This Thread
Seeking suggestions for ofn-path-edits - by Ofnuts - 11-07-2016, 10:35 PM

Forum Jump: