05-07-2021, 06:29 AM
(This post was last modified: 05-07-2021, 06:50 AM by programmer_ceds.)
(05-06-2021, 10:26 PM)programmer_ceds Wrote: I was just looking at arrow.scm to change the default size of the arrows and brush so looked at arrow-set-size.scm and the later arrow-set-size-samj.scm produced by Rich2005.Note that these comments apply to the arrow-set-size.scm and arrow-set-size-samj.scm scripts as posted earlier in this thread - they may have been edited since.
I think that there are errors in the changed script - the order of the options in the SF-OPTION parameters "Length of wings type" and "Brush thickness type" have been swapped to put the absolute pixel values before the ratio-metric settings but the constants FACTOR_RELATIVE_TO_PATH_LENGTH and FACTOR_IN_ABSOLUTE_PIXELS still have the original values (0 and 1 respectively) - this means that the program code will be using ratio-metric values when the UI is indicating that absolute values are being used and vice versa.
The SF-ADJUSTMENT parameters "Length of wings (LoW)" and "Brush thickness (BT)" have had their settings changed but the new values will be used as ratio-metric ones if using the default settings of the script (which I guess wasn't the intent).
The corrections needed are to restore the two SF-OPTION lines back to their original forms i.e.
Code:
SF-OPTION "Length of wings type" (list "Path length divided by LoW value" "LoW Pixels")
SF-OPTION "Brush thickness type" (list "Path length divided by BT value" "BT Pixels")
This will correct the UI display and still give you the same results.