idslk
Alibre Super User
Something to play around with...(V0.1)
It draws a guitar fretboard from scratch.
Sorry for using mm ;-)
It uses the new callback functionality of the UtilityDialog and the SetInputValue function.
The OptionsDialog window is covered in a function so it can be called again and again.
The function UpdateGBD sets the values for the UtilityWindow if it is called. This provides the last inputed values to be recovered.
The While Check ==1 does the check if the input values are all in the desired range. If not in range, the specific value will be corrected and the UtilityDialog will be called again.
The range check has an additional value Tol to compensate the float arithmetics.
There are two Lofts from Fret0 to last fred(end of board): one for the width the other for the variable fretboard radius.
Comments are wellcome
Stefan
It draws a guitar fretboard from scratch.
Sorry for using mm ;-)
It uses the new callback functionality of the UtilityDialog and the SetInputValue function.
The OptionsDialog window is covered in a function so it can be called again and again.
The function UpdateGBD sets the values for the UtilityWindow if it is called. This provides the last inputed values to be recovered.
The While Check ==1 does the check if the input values are all in the desired range. If not in range, the specific value will be corrected and the UtilityDialog will be called again.
The range check has an additional value Tol to compensate the float arithmetics.
There are two Lofts from Fret0 to last fred(end of board): one for the width the other for the variable fretboard radius.
Comments are wellcome
Stefan