mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
Formatting tweaks for threading.scad
This commit is contained in:
parent
8cd75aaf61
commit
2161e1af61
1 changed files with 13 additions and 6 deletions
|
@ -358,9 +358,9 @@ module threaded_rod(
|
||||||
left_handed=left_handed,
|
left_handed=left_handed,
|
||||||
bevel=bevel,
|
bevel=bevel,
|
||||||
internal=internal,
|
internal=internal,
|
||||||
|
slop=slop,
|
||||||
orient=orient,
|
orient=orient,
|
||||||
anchor=anchor,
|
anchor=anchor
|
||||||
slop=slop
|
|
||||||
) children();
|
) children();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -401,7 +401,6 @@ module threaded_nut(
|
||||||
od=od, id=id, h=h,
|
od=od, id=id, h=h,
|
||||||
pitch=pitch, thread_angle=30,
|
pitch=pitch, thread_angle=30,
|
||||||
profile=profile,
|
profile=profile,
|
||||||
thread_depth=pitch*3*sqrt(3)/8,
|
|
||||||
left_handed=left_handed,
|
left_handed=left_handed,
|
||||||
bevel=bevel, slop=slop,
|
bevel=bevel, slop=slop,
|
||||||
orient=orient, anchor=anchor
|
orient=orient, anchor=anchor
|
||||||
|
@ -427,7 +426,15 @@ module threaded_nut(
|
||||||
// anchor = Alignment of the rod. Use the constants from `constants.scad`. Default: `CENTER`.
|
// anchor = Alignment of the rod. Use the constants from `constants.scad`. Default: `CENTER`.
|
||||||
// Examples:
|
// Examples:
|
||||||
// buttress_threaded_rod(d=10, l=30, pitch=1.25, left_handed=true, $fa=1, $fs=1);
|
// buttress_threaded_rod(d=10, l=30, pitch=1.25, left_handed=true, $fa=1, $fs=1);
|
||||||
module buttress_threaded_rod(d=10, l=100, pitch=2, left_handed=false, bevel=false, internal=false, slop=undef, orient=ORIENT_Z, anchor=CENTER) {
|
module buttress_threaded_rod(
|
||||||
|
d=10, l=100, pitch=2,
|
||||||
|
left_handed=false,
|
||||||
|
bevel=false,
|
||||||
|
internal=false,
|
||||||
|
slop=undef,
|
||||||
|
orient=ORIENT_Z,
|
||||||
|
anchor=CENTER
|
||||||
|
) {
|
||||||
depth = pitch * 3/4;
|
depth = pitch * 3/4;
|
||||||
profile = [
|
profile = [
|
||||||
[ -7/16, -0.75],
|
[ -7/16, -0.75],
|
||||||
|
@ -445,8 +452,8 @@ module buttress_threaded_rod(d=10, l=100, pitch=2, left_handed=false, bevel=fals
|
||||||
bevel=bevel,
|
bevel=bevel,
|
||||||
internal=internal,
|
internal=internal,
|
||||||
orient=orient,
|
orient=orient,
|
||||||
anchor=anchor,
|
slop=slop,
|
||||||
slop=slop
|
anchor=anchor
|
||||||
) children();
|
) children();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue