05-08-2021, 10:55 PM
(05-08-2021, 07:16 PM)Ofnuts Wrote:(05-08-2021, 06:32 PM)Krikor Wrote: It took me a while to understand how to choose values
for Strokes or Spacing (px) depending on the brush and path used. (the brush stroke at the origin of the stroke?).
But now that I am familiar with it, it seems quite satisfactory.
Depends what you want to do (what is called the "use case" in software development jargon). If you want to create dial marks, you likely want a known number of these. If you create rivets on the skin of an airplane, you likely know an approximate spacing and the script's main purpose is to compute the exact spacing required to have regularly space rivets.
My difficulty was with both cases of "use case" (I liked that term!); find the number of strokes and/or the number of spacing (py) to inform the plug-in.
Fortunately, with the use of ofn-path-edits.py (Path summary) and knowing the width of the brush I intend to use, I was able to obtain satisfactory results both to choose the number of strokes and the space (py).
But if the condition "the brush stroke at the origin of the stroke" is changed, I don't know if my method could still be working properly.
But it would just be a matter of readaptation.