Author Topic: New Plugin to cut fret slots for guitar fretboards  (Read 3293 times)

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 5237
  • Made in England
    • View Profile
New Plugin to cut fret slots for guitar fretboards
« on: August 15, 2021, 20:21:23 pm »
In response to this thread; https://cambamcnc.com/forum/index.php?topic=9258.msg72365#msg72365
I could not resist creating a new plugin as it's also going to help me.

Fret Slots plugin

Please download the attached "Fretslots_v1.zip" file, unzip it, unblock it, install it, restart CamBam
Once installed it appears in the "Plugins" Menu as "Fret Slots"

How to install a plugin; https://cambamcnc.com/forum/index.php?topic=5986.msg50892#msg50892

The form defaults to mm values on the first run but once changed and the "Ok" button pressed any new values are stored in Windows Registry.

1. populate the form to suit then press the "Ok" button.
2. The fret slots will be created in the Y axis, they will be Splines rotated through 90 degrees, aligned so the very top  = Z0, and spread out according to the scale length used.
The zero fret or nut position is at Y0.
All of the curves can be selected and rotated into Y if required and/or moved to a new location.
3.  "Slot over/under cut" this allows the slot to either extend beyond the sides of the fretboard (+ve value) or stop short of the sides (-ve value)
4. "Zero Fret ?" if the checkbox is checked it means, insert a  zero fret, the slot for this will be cut along with all the others.
    if the checkbox is unchecked it means, no zero fret, and a flat bottom slot will be cut using a Profile Mop to indicate the front position of the NUT.

*IMPORTANT, the Profile Mop is set to "Inside", in my tests this puts it to the headstock side of the fretboard which is correct but YOU MUST verify this before cutting by checking the created toolpaths !
5. Each time the "Ok" button is pressed a new Layer is created and a new Part, their names contain some of the parameter values for reference.
6. Under each Part a Engrave Mop is created for the fret slots, and if no zero fret is required, a Profile Mop for the nut position.
7. Number of frets can be 12 to 24

Please give it a try and feedback as necessary.

Edit: 07 December 2021

Version 2.0 attached

Added "Compound Radius" checkbox.
A compound radius is based upon a cone and uses various parameters with calculations to determine the radius at all fret positions.
If a compound radius fretboard is selected then CamBam will draw the fret slots accordingly and will also report the radius at each fret in the bottom message window for reference.

Works for inches or mm

Edit:
Version 3.0 attached
« Last Edit: December 16, 2021, 16:31:14 pm by EddyCurrent »
Filmed in Supermarionation

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7352
    • View Profile
    • Cambam V1.0 French Doc
Re: New Plugin to cut fret slots for guitar fretboards
« Reply #1 on: August 15, 2021, 23:25:11 pm »
Hello

Thanks Eddy ;)

++
David

Offline Rockaction

  • Ewok
  • *
  • Posts: 9
    • View Profile
Re: New Plugin to cut fret slots for guitar fretboards
« Reply #2 on: August 16, 2021, 06:31:51 am »
Thank you Eddy, it is really nice!!!
have a beautiful day.. well week! ;-)
Roger.

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 5237
  • Made in England
    • View Profile
Re: New Plugin to cut fret slots for guitar fretboards
« Reply #3 on: August 16, 2021, 07:37:35 am »
It would also be a good idea to use, Tools->Measure, just to verify the frets are in their correct positions along the fretboard. They should be because I used the correct formula and all the examples I made were correct.  https://www.liutaiomottola.com/formulae/fret.htm

Another important thing I forgot to mention;

The plugin sets a value for one parameter only in the Engrave and Profile MOps and that is "Target Depth", YOU MUST adjust all other parameters to your own requirements.
« Last Edit: August 16, 2021, 09:06:50 am by EddyCurrent »
Filmed in Supermarionation

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 5237
  • Made in England
    • View Profile
Re: New Plugin to cut fret slots for guitar fretboards
« Reply #4 on: December 07, 2021, 19:50:55 pm »
Version 2.0 attached to first post.

Now includes option to produce compound radius fretboards.

Please check the numbers to confirm they are what you expect before cutting the slots !

« Last Edit: December 07, 2021, 20:13:25 pm by EddyCurrent »
Filmed in Supermarionation

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 5237
  • Made in England
    • View Profile
Re: Plugin renamed to Fretboard Maker, cut fret slots + surface fretboard
« Reply #5 on: December 15, 2021, 13:22:12 pm »
Version 3.0 attached to first post in this thread.

1. New user interface Form layout
2. Added a surface to allow 3D surfacing of the board's upper surface
3. Added associated parameters for the surface
4. Added a small user guide pdf document
Filmed in Supermarionation

Offline ewidance

  • Ewok
  • *
  • Posts: 3
    • View Profile
Re: New Plugin to cut fret slots for guitar fretboards
« Reply #6 on: May 30, 2024, 08:49:35 am »
Thanks Eddy, very nice Job, and very accurate !

Do you consider sharing code of the plugin, i'd love to study it...

Sincerely
JPC

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 5237
  • Made in England
    • View Profile
Re: New Plugin to cut fret slots for guitar fretboards
« Reply #7 on: May 30, 2024, 09:46:01 am »
Thanks, I shall sort it out and attached later today.

Edit:
Visual Studio source project attached.
« Last Edit: May 30, 2024, 18:21:36 pm by EddyCurrent »
Filmed in Supermarionation