-
Notifications
You must be signed in to change notification settings - Fork 64
threading.scad
Generic Threaded Screw Rods and Nuts.
- Generic Trapezoidal Threaded Rods And Nuts
- Metric and UTS (American) Triangular Threaded Rods And Nuts
- ACME Threaded Rods And Nuts
- Standard Metric Trapezoidal Threaded Rods And Nuts
- Standard Square-Profile Threaded Rods And Nuts
Constructs a generic trapezoidal-profile threaded screw rod. This method makes
much smoother threads than the naive linear_extrude()
method.
- For metric trapezoidal threads, use
thread_angle=15
andthread_depth=pitch/2
. - For ACME trapezoidal threads, use
thread_angle=14.5
andthread_depth=pitch/2
. - For square threads, use
thread_angle=0
andthread_depth=pitch/2
. - For normal screw threads, use
thread_angle=30
andthread_depth=pitch*3*sqrt(3)/8
.
Arg | What it does |
---|---|
d | Outer diameter of threaded rod. |
l | Length of threaded rod. |
pitch | Thread pitch. |
thread_depth | Depth of threads. Default: pitch/2 |
thread_angle | Trapezoidal angle of threads. Default: 15 degrees. |
starts | The number of lead starts. Default: 1 |
left_handed | If true, create left-handed threads. Default: false |
bevel | If true, bevel the thread ends. Default: false |
center | If true (default), centers rod at origin. If false, sits it on top of the XY plane. |
Example:
trapezoidal_threaded_rod(l=25, d=10, pitch=2, thread_angle=15, starts=3, $fa=1, $fs=1);
Constructs a generic trapezoidal-profile threaded nut.
- For metric trapezoidal threads, use
thread_angle=15
andthread_depth=pitch/2
. - For ACME trapezoidal threads, use
thread_angle=14.5
andthread_depth=pitch/2
. - For square threads, use
thread_angle=0
andthread_depth=pitch/2
. - For normal screw threads, use
thread_angle=30
andthread_depth=pitch*3*sqrt(3)/8
.
Arg | What it does |
---|---|
od | Outer diameter of threaded nut. |
id | Diameter of threaded rod to make a nut for. |
h | Height/Thickness of the nut. |
pitch | Thread pitch. |
thread_depth | Depth of threads. Default = pitch/2 |
thread_angle | Trapezoidal angle of threads. Default = 15 degrees. |
left_handed | If true, create left-handed threads. Default = false |
starts | The number of lead starts. Default = 1 |
bevel | If true, bevel the threaded holes. Default: true |
slop | Slop to make the printed parts fit tightly. Default = 0.2 |
Examples:
trapezoidal_threaded_nut(od=17.4, id=10, h=10, pitch=2, thread_angle=15, starts=3, $fa=1, $fs=1);
Constructs an standard triangular threaded metric or UTS screw rod.
This method makes much smoother threads than the naive linear_extrude
method.
Arg | What it does |
---|---|
d | Outer diameter of threaded rod. |
l | Length of threaded rod. |
pitch | Thread pitch. |
left_handed | If true, create left-handed threads. Default = false |
bevel | If true, bevel the thread ends. Default: false |
Example:
threaded_rod(d=10, l=30, pitch=1.25, left_handed=true);
Constructs a standard metric or UTS (American) triangular threaded nut.
Arg | What it does |
---|---|
od | Outer diameter of threaded nut. |
id | Diameter of threaded rod to make a nut for. |
h | Height/Thickness of the nut. |
pitch | Thread pitch. |
left_handed | If true, create left-handed threads. Default = false |
bevel | If true, bevel the threaded holes. Default: false |
slop | Slop to make the printed parts fit tightly. Default = 0.2 |
Examples:
threaded_nut(od=16, id=8, l=8, pitch=1.25, left_handed=true, slop=0.2, $fa=1, $fs=1);
Constructs an acme threaded screw rod. This method makes much
smoother threads than the naive linear_extrude
method.
Arg | What it does |
---|---|
d | Outer diameter of threaded rod. |
l | Length of threaded rod. |
pitch | Thread pitch. |
thread_depth | Depth of threads. Default = pitch/2 |
thread_angle | Trapezoidal angle of threads. Default = 14.5 degrees. |
starts | The number of lead starts. Default = 1 |
left_handed | If true, create left-handed threads. Default = false |
bevel | If true, bevel the thread ends. Default: false |
Example:
acme_threaded_rod(d=10, l=40, pitch=2, starts=3, $fa=1, $fs=1);
Constructs an acme threaded nut.
Arg | What it does |
---|---|
od | Outer diameter of threaded nut. |
id | Diameter of threaded rod to make a nut for. |
h | Height/Thickness of the nut. |
pitch | Thread pitch. |
thread_depth | Depth of threads. Default = pitch/2 |
thread_angle | Trapezoidal angle of threads. Default = 14.5 degrees. |
starts | The number of lead starts. Default = 1 |
left_handed | If true, create left-handed threads. Default = false |
bevel | If true, bevel the threaded holes. Default: false |
slop | Slop to make the printed parts fit tightly. Default = 0.2 |
Examples:
acme_threaded_nut(od=16, id=10, h=10, pitch=2, starts=3, slop=0.2, $fa=1, $fs=1);
Constructs an standard metric trapezoidal threaded screw rod. This method
makes much smoother threads than the naive linear_extrude
method.
Arg | What it does |
---|---|
d | Outer diameter of threaded rod. |
l | Length of threaded rod. |
pitch | Thread pitch. |
left_handed | If true, create left-handed threads. Default = false |
bevel | If true, bevel the thread ends. Default: false |
starts | The number of lead starts. Default = 1 |
Example:
metric_trapezoidal_threaded_rod(d=10, l=30, pitch=2, left_handed=true, $fa=1, $fs=1);
Constructs a standard metric trapezoidal threaded nut.
Arg | What it does |
---|---|
od | Outer diameter of threaded nut. |
id | Diameter of threaded rod to make a nut for. |
h | Height/Thickness of the nut. |
pitch | Thread pitch. |
left_handed | If true, create left-handed threads. Default = false |
bevel | If true, bevel the threaded holes. Default: false |
starts | The number of lead starts. Default = 1 |
slop | Slop to make the printed parts fit tightly. Default = 0.2 |
Examples:
metric_trapezoidal_threaded_nut(od=16, d=10, h=10, pitch=2, left_handed=true, bevel=true, $fa=1, $fs=1);
Constructs a standard square-profile threaded screw rod. This method
makes much smoother threads than the naive linear_extrude
method.
Arg | What it does |
---|---|
d | Outer diameter of threaded rod. |
l | Length of threaded rod. |
pitch | Thread pitch. |
left_handed | If true, create left-handed threads. Default = false |
bevel | If true, bevel the thread ends. Default: false |
starts | The number of lead starts. Default = 1 |
Example:
square_threaded_rod(d=10, l=30, pitch=2, starts=2, $fn=32);
Constructs a standard square-profile threaded nut.
Arg | What it does |
---|---|
od | Outer diameter of threaded nut. |
id | Diameter of threaded rod to make a nut for. |
h | Height/Thickness of the nut. |
pitch | Thread pitch. |
left_handed | If true, create left-handed threads. Default = false |
bevel | If true, bevel the threaded holes. Default: false |
starts | The number of lead starts. Default = 1 |
slop | Slop to make the printed parts fit tightly. Default = 0.2 |
Examples:
square_threaded_nut(od=16, id=10, h=10, pitch=2, starts=2, slop=0.15, $fn=32);