Python script to compute the facet sizes when shaping a neck

Discussion in 'Tele Home Depot' started by zorgzorg2, Jul 27, 2019.

  1. zorgzorg2

    zorgzorg2 Tele-Meister

    Age:
    40
    Posts:
    241
    Joined:
    Feb 27, 2008
    Location:
    Norrköping, Sweden
    Hi guys,

    I thought I would contribute back a bit by sharing a python script (nothing to do with the animal, this is a programming language ;) ) I made to compute the facet sizes when shaping a neck, to perform the shaping as described by @guitarbuilder in his fantastic thread on how to make a neck.

    A sample output of this script:
    mid.jpg


    Here is the link to the code
    https://gist.github.com/mraspaud/4d44d6dfe26d9a87732fea0b3b4db690

    Warning: this requires a bit of computer knowledge to run, sorry.

    Basically, one just has to modify the values in the function calls at the bottom of the script to adapt to one's needs.

    Hope this is helpful to some!
     
    Potatocaster, RogerC, TimTam and 5 others like this.
  2. Guitarteach

    Guitarteach Poster Extraordinaire

    Posts:
    9,077
    Joined:
    Aug 6, 2014
    Location:
    UK
    Not to go off on a tangent, but could it have a setting for the classic 50’s Baja neck?
     
  3. zorgzorg2

    zorgzorg2 Tele-Meister

    Age:
    40
    Posts:
    241
    Joined:
    Feb 27, 2008
    Location:
    Norrköping, Sweden
    Sorry, I don't have any classic setting prewired. This is just using a half ellipse as a shape (that's probably what's called a C shape). The idea for me was that I never end up with exactly the same width or height for my necks, because a lot is done by hand and I don't have enough woodworking experience to obtain consistent results. So I needed something were I could just input the neck size parameter and get a plot of what I had to cut....

    However, I've been thinking of adding more neck shapes, but that would be for some time in the future (any help is appreciated :) )
     
  4. TelZilla

    TelZilla Friend of Leo's

    Posts:
    3,666
    Joined:
    Jan 21, 2007
    Location:
    Cleveburg, USA
    I've always preferred this Python Script:



    Sorry. But if it's right there on the tee, I've gotta swing at it.
     
    unfamous, dogmeat, Toadtele and 2 others like this.
  5. zorgzorg2

    zorgzorg2 Tele-Meister

    Age:
    40
    Posts:
    241
    Joined:
    Feb 27, 2008
    Location:
    Norrköping, Sweden
    Mind you, the Monty Python inspired the language name, there are a lot of references to the sketches everywhere in the docs for example.
     
  6. Toadtele

    Toadtele Tele-Afflicted

    Age:
    44
    Posts:
    1,061
    Joined:
    May 23, 2018
    Location:
    Idaho just the tip
    I was thinking Monty Python as well.
     
  7. dogmeat

    dogmeat Tele-Afflicted

    Age:
    69
    Posts:
    1,287
    Joined:
    Oct 12, 2017
    Location:
    Alaska
    me too
     
  8. adjason

    adjason Friend of Leo's Silver Supporter

    Posts:
    4,710
    Joined:
    Jan 9, 2010
    Location:
    virginia
    sweet I can see this being useful
     
  9. Mr_Q

    Mr_Q Tele-Meister

    Posts:
    248
    Joined:
    Dec 21, 2018
    Location:
    Iowa
    Clever. I've been drawing mine in a design tool, but this is slick. Thanks for sharing.

    I never learned Python. I stopped at Java, and never cared for that one much either. But I may be a few year older...
     
IMPORTANT: Treat everyone here with respect, no matter how difficult!
No sex, drug, political, religion or hate discussion permitted here.


  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.