Skip to content

Commit 7e5dfe5

Browse files
Merge pull request #1883 from adrianVmariano/master
fix bspp size error
2 parents c528d98 + a276c15 commit 7e5dfe5

File tree

2 files changed

+20
-18
lines changed

2 files changed

+20
-18
lines changed

attachments.scad

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1264,11 +1264,11 @@ module force_tag(tag)
12641264

12651265

12661266
// Module: default_tag()
1267-
// Synopsis: Sets a default tag for all children.
1267+
// Synopsis: Conditionally set a default tag for all children.
12681268
// Topics: Attachments
12691269
// See Also: force_tag(), recolor(), hide(), show_only(), diff(), intersect()
12701270
// Usage:
1271-
// PARENT() default_tag(tag) CHILDREN;
1271+
// PARENT() default_tag(tag, [do_tag]) CHILDREN;
12721272
// Description:
12731273
// Sets a default tag for all of the children. This is intended to be used to set a tag for a whole module
12741274
// that is then used outside the module, such as setting the tag to "remove" for easy operation with {{diff()}}.
@@ -1281,7 +1281,7 @@ module force_tag(tag)
12811281
// For a step-by-step explanation of tagged attachments, see the [Attachments Tutorial](Tutorial-Attachment-Tags).
12821282
// Arguments:
12831283
// tag = tag string, which must not contain any spaces.
1284-
// do_tag = if false do not set the tag.
1284+
// do_tag = if false do not set the tag. Default: true
12851285
// Side Effects:
12861286
// Sets `$tag` to the tag you specify, possibly with a scope prefix.
12871287
// Example(3D): The module thing() is defined with {{tag()}} and the user applied tag of "keep_it" is ignored, leaving the user puzzled.

threading.scad

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,26 +1100,28 @@ module npt_threaded_rod(
11001100
// cyl(d=3/4*INCH, l=42, $fn=32);
11011101
// }
11021102
// }
1103+
11031104
bspp_dimensions = [
1104-
// Size TPI OD
1105+
// Size TPI OD
11051106
[ 1/16, [ 28, 0.3041 ]],
1106-
[ 1/8, [ 28, 0.3372 ]],
1107-
[ 1/4, [ 19, 0.4506 ]],
1108-
[ 3/8, [ 19, 0.5886 ]],
1107+
[ 1/8, [ 28, 0.3830 ]],
1108+
[ 1/4, [ 19, 0.5180 ]],
1109+
[ 3/8, [ 19, 0.6560 ]],
11091110
[ 1/2, [ 14, 0.8250 ]],
1110-
[ 5/8, [ 14, 0.8105 ]],
1111-
[ 3/4, [ 14, 0.9495 ]],
1112-
[ 7/8, [ 14, 1.0975 ]],
1111+
[ 5/8, [ 14, 0.9020 ]],
1112+
[ 3/4, [ 14, 1.0410 ]],
1113+
[ 7/8, [ 14, 1.1890 ]],
11131114
[ 1, [ 11, 1.3090 ]],
1114-
[ 1+1/8, [ 11, 1.3756 ]],
1115-
[ 1+1/4, [ 11, 1.5335 ]],
1116-
[ 1+3/8, [ 11, 1.6285 ]],
1117-
[ 1+1/2, [ 11, 1.7656 ]],
1118-
[ 1+5/8, [ 11, 1.9656 ]],
1119-
[ 1+3/4, [ 11, 1.9995 ]],
1120-
[ 1+7/8, [ 11, 2.1276 ]],
1121-
[ 2, [ 11, 2.2306 ]],
1115+
[ 1+1/8, [ 11, 1.4920 ]],
1116+
[ 1+1/4, [ 11, 1.6500 ]],
1117+
[ 1+3/8, [ 11, 1.7450 ]],
1118+
[ 1+1/2, [ 11, 1.8820 ]],
1119+
[ 1+5/8, [ 11, 2.0820 ]],
1120+
[ 1+3/4, [ 11, 2.1160 ]],
1121+
[ 1+7/8, [ 11, 2.2440 ]],
1122+
[ 2, [ 11, 2.3470 ]],
11221123
];
1124+
11231125
function bspp_threaded_rod(
11241126
size,
11251127
left_handed=false, starts=1,

0 commit comments

Comments
 (0)