Bolt Factory Script

Looks like mine ( http://svn.icetempest.com/blender/thread/trunk/ls_thread.py ) with lots more of features. I’ll give it a try. :wink:

Yes, what a great script, Thank you!

Some features that could be useful would be to add acme thread (almost square), multi-lead screws (multiple parallel threads), and the ability to specify the shoulder length (length of the unthreaded portion). I’ve never scripted python but I plan to look at this.

Thanks for the feedback.

You can change the shape of the thread to acme or square by changing the Crest and Root percent values. But there is a bug that I am fixing that causes the end of the thread to look strange if the thread is any thing other than Crest 10% and Root 10%.

I may do multi-lead screws later but I want to get the basics done first.

The shoulder length (Shank) will be available in the next release.

I have just finished working on the nut model and I have some bugs to fix before the next release.

Spudmn

I have been using this since its release but forgot to post.

Great script :slight_smile:

is it possible to have the 2 system USA and metric in the same script?

wold be nice !

the shape of the threads are not quit the same

and in USA there are different sizes like UNF UNC extra fine ect…

keep up the good work

Thanks

Hi,
this script has been updated & will be included in Blender 2.49.
Much thanks to ideasman_42 for the fixes.
Congratulations to Aaron.

Cool! I like that idea!

hope we can see also the old spiral script which is quit good at spirals things

Salutations

Hi All.

Just letting you know that a new version (2.00) of Bolt Factory is available here.

I have done some bug fixes and improved the GUI.

You can now make nuts to go with the bolts.

It is now possible to create meshes in Edit Mode. This will add to the current mesh and align with the current view.

There is a preset option that lets you configure the settings to common sizes. At the moment there are only metric sizes but if anybody wants to send me the settings for UNF, UNC etc I will be happy to add them to the presets.

I hope you find it useful.

Hi All.

Just letting you know that a new version (2.00) of Bolt Factory is available here.

I have done some bug fixes and improved the GUI.

You can now make nuts to go with the bolts.

It is now possible to create meshes in Edit Mode. This will add to the current mesh and align with the current view.

There is a preset option that lets you configure the settings to common sizes. At the moment there are only metric sizes but if anybody wants to send me the settings for UNF, UNC etc I will be happy to add them to the presets.

I hope you find it useful.

Hi All.

Just letting you know that a new version (2.00) of Bolt Factory is available here.

I have done some bug fixes and improved the GUI.

You can now make nuts to go with the bolts.

It is now possible to create meshes in Edit Mode. This will add to the current mesh and align with the current view.

There is a preset option that lets you configure the settings to common sizes. At the moment there are only metric sizes but if anybody wants to send me the settings for UNF, UNC etc I will be happy to add them to the presets.

I hope you find it useful.

thanks for updating

for US might be complicated in terms of data

cause eah one contains several tables of sizes
meaning at leat 2 or 3000 lines of codes

don’t know where yoy gone put the data
i can check if i still have the acii file on it

but can you deal with a large amount of data like that?

i got it inside an old Qb bas program
but cannot open the file!
when i try to execute the old Qb.exe it’s giving an error
and ask to check the PIF file ?
don’t know what it is or how to correct that
any idea on this ?

Happy blendering

Excellent work Spudman, very comprehensive. It will be a great addition to 2.49

as i said i think i have the UNC … tables
inside an old QB dos program

now i tried to run in comptaible mode like millenium which was working on one of my
old PC

but it’s giving me this error of PIF file …

can you help to debug this thing and i’ll be able i think to give you the tables for USA bolts

but i do remember there are several tables of specs

Thanks

Hi RickyBlender

What I really need is someone to accurately set all the Bolt Factory settings for each type of new bolt. For example set the Major dia , Minor dia, pitch, head height, etc for the common sizes of a UNC or UNF bolt. Then send me the settings and I will code them in as presets.

sorry for the inconvenieces

but as i said i got all theses values inside a QB file

but i cannot run the QB.exe on vista

it’s giving and error --> PIF file …

can you help with this problem and then i’ll give you the tables

i need to run this QB to get to the data then i’ll save it onto a TXT file
where you’ll be able to use theses datas

Salutations

Hi RickyBlender
I don’t know any thing about QB.
Maybe you can run it in a virtual machine and use FreeDOS.
If you can get the file to me some how I can give it a try.
Aaron

ok i did not give all the details on how to get this data

the data is embeded inside the file
to get it out to a txt file you need to add a few lines in QB to

first open a txt file
then rerad the variables and save theses into the file
then close the file

so there is a little amount of work to get it out
don’t know if you have done some QB programmation before

it’s not complicated i did that many times before
for me i know how to do it

when you say Freedos
i never hear of this before

is this a free Qb programme ?
and where can i get it

i’ll’ check if i can find a friend who still have an old PC that can run QB

sorry for the delay

i anybody else has the info go ahead
i’ll try to get it as fast as i can but not certain when

Thanks

ok the the raw data out of a txt file
that’s all i could do for the time being

this is part of a program that i did to design with bolts
which is a lot more compicated than just drawing bolts

do you intend to go further and include some bolt desing fucntion
of let say max torque or max strenght ect…
in realtion to grade of bolts and their max stress?

PRINT TAB(25); " Bolts usage"
PRINT
PRINT
PRINT " UNC ET NC COARSE THREAD THREADS SERIE 8N D > 1 PO"
PRINT
PRINT " UTILISATION GENERALE ET FACILITE D’ASSEMBLAGE"
PRINT " GRAY IRON , SOFT METAL , PLASTICS"
PRINT
PRINT " UNF ET NF FINE THREAD THREADS SERIE 12 UN ET 12N D > 1 1/2 PO"
PRINT
PRINT " Requiring large force"
PRINT " with short shank lenght"
PRINT
PRINT " UNEF ET NEF EXTRA-FINE THREAD THREADS SERIE 16 UN ET 16N D > 2 PO"
PRINT
PRINT " High strees apilcations"
PRINT " where inside threads are required with thin wall"
PRINT
PRINT " THREADS SYMBOL AVEC UN U --> North America + Breat Britian"
PRINT " SANS U --> USA only"
LOCATE 24, 1
INPUT A$

PRINT TAB(25); " FILET class"
PRINT
PRINT " CLASSES 1A ET 1B"
PRINT " Easy fitting wiht dust or grease"
PRINT " "
PRINT
PRINT " CLASSES 2A ET 2B"
PRINT " BOLTS,NUT with plating"
PRINT " "
PRINT
PRINT " CLASSES 3 A ET 3B"
PRINT " known as USA STANDARD "
PRINT
PRINT
PRINT " Bolts IDENTIFICATION "
PRINT
PRINT " EX: 1/4"; " - 20 - UNC - 2A - LH"
PRINT
PRINT " 1/4 --> 1/4 Inche Dimaeter"
PRINT " 20 --> Threads / ich"
PRINT " UNC --> THREADS SERIE SYMBOL "
PRINT " 2A --> THREAD CLASSE SYMBOL "
PRINT " LH --> LET HAND ( NO SYMBOL FOR RIGHT HAND)"

PRINT " SAE DIAMETRE PROOF LOAD MIN TENSILE"
PRINT " GRADE BOLTS PSI PSI"
PRINT
PRINT " 0 ALL "
PRINT " 1 ALL 55,000"
PRINT " 2 UP TO 1/2 55,000 69,000"
PRINT " 1/2 TO 3/4 52,000 64,000"
PRINT " 3/4 TO 1 1/2 28,000 55,000"
PRINT " 3 UP TO 1/2 85,000 110,000"
PRINT " 1/2 TO 5/8 80,000 100,000"
PRINT " 5 UP TO 3/4 85,000 120,000"
PRINT " 3/4 TO 1 78,000 115,000"
PRINT " 1 TO 1 1/2 74,000 105,000"
PRINT " 5.1 UP TO 3/8 85,000 120,000"
PRINT " 7 UP TO 1 1/2 105,000 133,000"
PRINT " 8 UP TO 1 1/2 120,000 150,000"

’ ################ UNC
’ SIZE , DIAM OD , THREAD/PO , MINOR DIAM PO

DATA 1 , 0.073 , 64 , 0.0538
DATA 2 , 0.086 , 56 , 0.0641
DATA 3 , 0.099 , 48 , 0.0734
DATA 4 , 0.112 , 40 , 0.0813
DATA 5 , 0.125 , 40 , 0.0943
DATA 6 , 0.138 , 32 , 0.0997
DATA 8 , 0.164 , 32 , 0.1257
DATA 10 , 0.19 , 24 , 0.1389
DATA 12 , 0.216 , 24 , 0.1649
DATA 1/4 , 0 , 20 , 0.1887
DATA 5/16 , 0 , 18 , 0.2443
DATA 3/8 , 0 , 16 , 0.2983
DATA 7/16 , 0 , 14 , 0.3499
DATA 1/2 , 0 , 13 , 0.4056
DATA 1/2 , 0 , 12 , 0.3978
DATA 9/16 , 0 , 12 , 0.4603
DATA 5/8 , 0 , 11 , 0.5135
DATA 3/4 , 0 , 10 , 0.6273
DATA 7/8 , 0 , 9 , 0.7387
DATA 1 , 0 , 8 , 0.8466
DATA 1 1/8 , 0 , 7 , 0.9497
DATA 1 1/2 , 0 , 6 , 1.2955
DATA 1 3/4 , 0 , 5 , 1.5046
DATA 2 , 0 , 4.5 , 1.7274
DATA 3 , 0 , 4 , 2.6933
DATA 4 , 0 , 4 , 3.6933
N = 26

’ ############# NF

’ SIZE , DIAM OD , THREAD/PO , MINOR DIAM PO
DATA 0 , 0.060 , 80 , 0.0447
DATA 1 , 0.073 , 72 , 0.0560
DATA 2 , 0.086 , 64 , 0.0668
DATA 3 , 0.099 , 56 , 0.0771
DATA 4 , 0.112 , 48 , 0.0864
DATA 5 , 0.125 , 44 , 0.0971
DATA 6 , 0.138 , 40 , 0.1073
DATA 8 , 0.164 , 36 , 0.1299
DATA 10 , 0.19 , 32 , 0.1517
DATA 12 , 0.216 , 28 , 0.1722
DATA 1/4 , 0 , 28 , 0.2062
DATA 5/16 , 0 , 24 , 0.2614
DATA 3/8 , 0 , 24 , 0.3239
DATA 7/16 , 0 , 20 , 0.3762
DATA 1/2 , 0 , 20 , 0.4387
DATA 9/16 , 0 , 18 , 0.4943
DATA 5/8 , 0 , 18 , 0.5568
DATA 3/4 , 0 , 16 , 0.6733
DATA 7/8 , 0 , 14 , 0.7874
DATA 1 , 0 , 12 , 0.8978
DATA 1 1/8 , 0 , 12 , 1.0228
DATA 1 1/2 , 0 , 12 , 1.3978
N1 = 22

’ ############# NEF
’ SIZE , DIAM OD , THREAD/PO , MINOR DIAM PO
DATA 12 , 0.216 , 32 , 0.1777
DATA 1/4 , 0 , 32 , 0.2117
DATA 5/16 , 0 , 32 , 0.2742
DATA 3/8 , 0 , 32 , 0.3367
DATA 7/16 , 0 , 28 , 0.3937
DATA 1/2 , 0 , 28 , 0.4562
DATA 9/16 , 0 , 24 , 0.5114
DATA 5/8 , 0 , 24 , 0.5739
DATA 11/16 , 0 , 24 , 0.6364
DATA 3/4 , 0 , 20 , 0.6887
DATA 13/16 , 0 , 20 , 0.7512
DATA 7/8 , 0 , 20 , 0.8137
DATA 15/16 , 0 , 20 , 0.8762
DATA 1 , 0 , 20 , 0.9387
DATA 1 1/16 , 0 , 18 , 0.9943
DATA 1 1/8 , 0 , 18 , 1.0568
DATA 2 , 0 , 16 , 1.9233
N2 = 17

’ ############# 8N

’ SIZE , DIAM OD , THREAD/PO , MINOR DIAM PO
DATA 1 1/8 , 0 , 8 , 0.9716
DATA 1 1/4 , 0 , 8 , 1.0966
DATA 1 3/8 , 0 , 8 , 1.2216
DATA 1 1/2 , 0 , 8 , 1.3466
DATA 1 5/8 , 0 , 8 , 1.4716
DATA 1 3/4 , 0 , 8 , 1.5966
DATA 1 7/8 , 0 , 8 , 1.7216
DATA 2 , 0 , 8 , 1.8466
DATA 2 1/2 , 0 , 8 , 2.3466
DATA 3 , 0 , 8 , 2.8466
DATA 3 1/2 , 0 , 8 , 3.3466
DATA 4 , 0 , 8 , 3.8466
DATA 4 1/2 , 0 , 8 , 3.3466
DATA 5 , 0 , 8 , 4.9188
DATA 5 1/2 , 0 , 8 , 5.3466
DATA 6 , 0 , 8 , 5.8466
N3 = 16

’ ################# SERIE 12N
’ SIZE , DIAM OD , THREAD/PO , MINOR DIAM PO
DATA 1/2 , 0 , 12 , 0.3978
DATA 5/8 , 0 , 12 , 0.5228
DATA 3/4 , 0 , 12 , 0.6478
DATA 13/16 , 0 , 12 , 0.7103
DATA 7/8 , 0 , 12 , 0.7728
DATA 15/16 , 0 , 12 , 0.8353
DATA 1 1/16 , 0 , 12 , 0.9603
DATA 1 3/16, 0 , 12 , 1.0853
DATA 1 5/16 , 0 , 12 , 1.2103
DATA 1 3/4 , 0 , 12 , 1.6418
DATA 2 , 0 , 12 , 1.8978
DATA 2 1/4 , 0 , 12 , 2.1478
DATA 2 1/2 , 0 , 12 , 2.3978
DATA 3 , 0 , 12 , 2.8978
DATA 3 1/2 , 0 , 12 , 3.3978
DATA 4 , 0 , 12 , 3.8978
DATA 4 1/2 , 0 , 12 , 3.3918
DATA 5 , 0 , 12 , 4.8978
DATA 5 1/2 , 0 , 12 , 5.3978
DATA 6 , 0 , 12 , 5.8978
N4 = 20

’ ################# SERIE 16N
’ SIZE , DIAM OD , THREAD/PO , MINOR DIAM PO

DATA 13/16 , 0 , 16 , 0.7358
DATA 7/8 , 0 , 16 , 0.7983
DATA 15/16 , 0 , 16 , 0.8608
DATA 1 , 0 , 16 , 0.9233
DATA 1 1/4 , 0 , 16 , 1.1733
DATA 1 1/2 , 0 , 16 , 1.4233
DATA 1 5/8 , 0 , 16 , 1.5483
DATA 1 15/16 , 0 , 16 , 1.8608
DATA 2 1/16 , 0 , 16 , 1.9858
DATA 2 1/4 , 0 , 16 , 2.1733
DATA 2 1/2 , 0 , 16 , 2.4233
DATA 3 , 0 , 16 , 2.9233
DATA 3 1/2 , 0 , 16 , 3.4233
DATA 4 , 0 , 16 , 3.9233
DATA 4 1/2 , 0 , 16 , 3.4233
DATA 5 , 0 , 16 , 4.9233
DATA 5 1/2 , 0 , 16 , 5.4233
DATA 6 , 0 , 16 , 5.9233
N5 = 18

above that you can also have power thread - ACME threads
with very large diameters for power lifthing like screw jack ect,

and also you could have wood screw - stove bolts
lag screw ect,

hope it helps

happy blendering

Thanks Ricky

I should be able to extract the information I need from the source.

I don’t need to worry about torque or max strength.

I plan to do wood screws next.

Thanks for your help.