Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Arrow Script
#30
(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.

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).
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.

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.
Reply


Messages In This Thread
Arrow Script - by rich2005 - 03-01-2017, 11:04 AM
RE: Arrow Script - by dinasset - 03-01-2017, 12:35 PM
RE: Arrow Script - by StrummerG - 01-23-2019, 08:44 PM
RE: Arrow Script - by rich2005 - 01-23-2019, 08:51 PM
RE: Arrow Script - by programmer_ceds - 01-24-2019, 04:48 PM
RE: Arrow Script - by programmer_ceds - 01-24-2019, 07:41 PM
RE: Arrow Script - by rich2005 - 01-24-2019, 05:06 PM
RE: Arrow Script - by Asgeirjonsson - 03-27-2020, 10:28 AM
RE: Arrow Script - by rich2005 - 03-27-2020, 11:17 AM
RE: Arrow Script - by Asgeirjonsson - 03-27-2020, 02:07 PM
RE: Arrow Script - by Krikor - 03-27-2020, 03:19 PM
RE: Arrow Script - by rich2005 - 03-27-2020, 03:27 PM
RE: Arrow Script - by rich2005 - 03-27-2020, 04:02 PM
RE: Arrow Script - by Krikor - 03-27-2020, 04:38 PM
RE: Arrow Script - by rich2005 - 03-27-2020, 04:58 PM
RE: Arrow Script - by Krikor - 03-27-2020, 07:11 PM
RE: Arrow Script - by rich2005 - 03-27-2020, 07:34 PM
RE: Arrow Script - by Krikor - 03-27-2020, 07:49 PM
RE: Arrow Script - by denzjos - 03-28-2020, 10:23 AM
RE: Arrow Script - by Krikor - 03-31-2020, 10:11 PM
RE: Arrow Script - by rich2005 - 04-01-2020, 12:02 PM
RE: Arrow Script - by Krikor - 04-01-2020, 07:41 PM
RE: Arrow Script - by jcwjcw42 - 12-10-2020, 10:31 PM
RE: Arrow Script - by carmen - 12-10-2020, 11:42 PM
RE: Arrow Script - by jcwjcw42 - 12-11-2020, 03:51 AM
RE: Arrow Script - by Krikor - 12-11-2020, 08:51 AM
RE: Arrow Script - by rich2005 - 12-11-2020, 10:44 AM
RE: Arrow Script - by denzjos - 12-12-2020, 04:29 PM
RE: Arrow Script - by programmer_ceds - 05-06-2021, 10:26 PM
RE: Arrow Script - by programmer_ceds - 05-07-2021, 06:29 AM
RE: Arrow Script - by programmer_ceds - 05-07-2021, 05:12 PM
RE: Arrow Script - by rich2005 - 05-07-2021, 06:00 PM
RE: Arrow Script - by programmer_ceds - 05-07-2021, 09:51 PM
RE: Arrow Script - by rich2005 - 05-08-2021, 07:22 AM
RE: Arrow Script - by Krikor - 05-08-2021, 01:10 AM
RE: Arrow Script - by programmer_ceds - 05-08-2021, 09:38 AM
RE: Arrow Script - by rich2005 - 05-08-2021, 09:52 AM
RE: Arrow Script - by programmer_ceds - 05-08-2021, 10:07 AM
RE: Arrow Script - by rich2005 - 05-08-2021, 10:16 AM
RE: Arrow Script - by programmer_ceds - 05-08-2021, 04:04 PM
RE: Arrow Script - by rich2005 - 05-08-2021, 04:54 PM
RE: Arrow Script - by Histone - 07-26-2021, 11:50 AM
RE: Arrow Script - by programmer_ceds - 07-26-2021, 12:29 PM
RE: Arrow Script - by rich2005 - 07-26-2021, 12:26 PM
RE: Arrow Script - by Histone - 07-26-2021, 12:57 PM
RE: Arrow Script - by programmer_ceds - 07-26-2021, 01:21 PM
RE: Arrow Script - by Histone - 07-26-2021, 01:56 PM
RE: Arrow Script - by programmer_ceds - 07-26-2021, 05:11 PM
RE: Arrow Script - by Histone - 07-26-2021, 08:57 PM
RE: Arrow Script - by programmer_ceds - 07-26-2021, 09:31 PM
RE: Arrow Script - by Histone - 07-26-2021, 10:01 PM
RE: Arrow Script - by programmer_ceds - 07-27-2021, 04:37 PM
RE: Arrow Script - by Histone - 07-28-2021, 03:27 AM
RE: Arrow Script - by programmer_ceds - 07-28-2021, 08:46 AM
RE: Arrow Script - by programmer_ceds - 07-28-2021, 04:09 PM
RE: Arrow Script - by programmer_ceds - 07-29-2021, 09:08 AM
RE: Arrow Script - by rich2005 - 07-29-2021, 01:53 PM
RE: Arrow Script - by Histone - 08-08-2021, 08:56 PM
RE: Arrow Script - by programmer_ceds - 08-09-2021, 10:04 AM
RE: Arrow Script - by vitforlinux - 09-01-2022, 11:17 AM
RE: Arrow Script - by programmer_ceds - 09-01-2022, 12:25 PM
RE: Arrow Script - by rich2005 - 09-01-2022, 12:22 PM
RE: Arrow Script - by vitforlinux - 09-01-2022, 02:26 PM
RE: Arrow Script - by programmer_ceds - 09-01-2022, 03:48 PM
RE: Arrow Script - by programmer_ceds - 09-01-2022, 07:09 PM
RE: Arrow Script - by programmer_ceds - 09-04-2022, 03:44 PM
RE: Arrow Script - by vitforlinux - 09-05-2022, 11:16 AM
RE: Arrow Script - by BugsBunnySan - 10-07-2022, 09:42 PM
RE: Arrow Script - by programmer_ceds - 10-08-2022, 07:20 PM
RE: Arrow Script - by BugsBunnySan - 10-08-2022, 08:18 PM
RE: Arrow Script - by programmer_ceds - 10-11-2022, 04:44 PM
RE: Arrow Script - by teapot - 10-12-2022, 02:17 AM
RE: Arrow Script - by programmer_ceds - 10-12-2022, 04:46 PM
RE: Arrow Script - by BugsBunnySan - 10-12-2022, 09:11 PM
RE: Arrow Script - by teapot - 10-13-2022, 03:16 AM
RE: Arrow Script - by programmer_ceds - 10-13-2022, 07:33 AM
RE: Arrow Script - by programmer_ceds - 10-13-2022, 01:13 PM
RE: Arrow Script - by BugsBunnySan - 10-14-2022, 01:17 AM
RE: Arrow Script - by teapot - 10-13-2022, 10:54 PM
RE: Arrow Script - by programmer_ceds - 10-14-2022, 10:24 AM
RE: Arrow Script - by programmer_ceds - 10-25-2022, 04:35 PM
RE: Arrow Script - by teapot - 10-26-2022, 03:25 AM
RE: Arrow Script - by programmer_ceds - 10-26-2022, 09:58 AM
RE: Arrow Script - by teapot - 10-26-2022, 05:30 PM
RE: Arrow Script - by programmer_ceds - 10-26-2022, 09:57 PM
RE: Arrow Script - by programmer_ceds - 11-27-2022, 06:23 PM
RE: Arrow Script - by kyolim - 02-02-2023, 06:39 PM
RE: Arrow Script - by programmer_ceds - 02-02-2023, 07:37 PM
RE: Arrow Script - by kyolim - 10-24-2023, 08:02 PM
RE: Arrow Script - by rich2005 - 10-24-2023, 08:40 PM
RE: Arrow Script - by vitforlinux - 10-03-2023, 02:02 PM
RE: Arrow Script - by programmer_ceds - 10-03-2023, 04:40 PM
RE: Arrow Script - by programmer_ceds - 12-24-2023, 05:07 PM
RE: Arrow Script - by vitforlinux - 10-04-2023, 11:12 AM
RE: Arrow Script - by vitforlinux - 10-25-2023, 03:28 PM
RE: Arrow Script - by ChrisHammond56 - 01-06-2024, 12:48 PM
RE: Arrow Script - by rich2005 - 01-06-2024, 01:07 PM
RE: Arrow Script - by programmer_ceds - 01-06-2024, 06:18 PM
RE: Arrow Script - by ChrisHammond56 - 01-07-2024, 01:23 AM
RE: Arrow Script - by programmer_ceds - 02-18-2024, 05:00 PM
RE: Arrow Script - by vitforlinux - 03-01-2024, 01:15 PM
RE: Arrow Script - by programmer_ceds - 03-01-2024, 04:59 PM
RE: Arrow Script - by PixLab - 03-02-2024, 04:46 AM
RE: Arrow Script - by programmer_ceds - 03-02-2024, 10:30 AM
RE: Arrow Script - by PixLab - 03-03-2024, 06:37 AM
RE: Arrow Script - by vitforlinux - 03-05-2024, 02:49 PM
RE: Arrow Script - by vitforlinux - 07-22-2024, 12:05 PM
RE: Arrow Script - by rich2005 - 07-22-2024, 12:44 PM
RE: Arrow Script - by vitforlinux - 07-22-2024, 01:22 PM
RE: Arrow Script - by vitforlinux - 11-02-2024, 12:53 PM
RE: Arrow Script - by programmer_ceds - 11-02-2024, 05:40 PM
RE: Arrow Script - by vitforlinux - 11-03-2024, 01:16 PM
RE: Arrow Script - by programmer_ceds - 11-04-2024, 04:31 PM
RE: Arrow Script - by rich2005 - 11-16-2024, 09:58 AM
RE: Arrow Script - by vitforlinux - 11-05-2024, 12:50 PM
RE: Arrow Script - by programmer_ceds - 11-07-2024, 10:29 PM
RE: Arrow Script - by rich2005 - 11-16-2024, 01:03 PM
RE: Arrow Script - by programmer_ceds - 11-16-2024, 05:55 PM
RE: Arrow Script - by MrsP-from-C - 11-16-2024, 06:28 PM

Forum Jump: