Made screw() example 7 clearer.

This commit is contained in:
Revar Desmera 2020-05-25 17:31:29 -07:00
parent 5c485018f3
commit a53e1f3915
2 changed files with 6 additions and 4 deletions

View file

@ -964,11 +964,13 @@ module screw_head(screw_info,details=false) {
// mark(2) nut("1/4-20", thickness=8, diameter=0.5*inch,tolerance="2B");
// mark(3) nut("1/4-20", thickness=8, diameter=0.5*inch,tolerance="3B");
// }
// Example: This example shows the gap between nut and bolt at the loosest tolerance for UTS. This gap is what enables the parts to mesh without binding and is part of the definition for standard metal hardware.
// Example(2D): This example shows the gap between nut and bolt at the loosest tolerance for UTS. This gap is what enables the parts to mesh without binding and is part of the definition for standard metal hardware.
// $fn=32;
// inch=25.4;
// color("red") render() back_half() screw("1/4-20,1/4", head="hex",orient=UP,anchor=BOTTOM,tolerance="1A");
// render() back_half() down(inch*1/20*.325+inch/20*3) nut("1/4-20", thickness=8, diameter=0.5*inch,tolerance="1B");
// projection(cut=true) xrot(-90) {
// color("red") render() back_half() zrot(-90) screw("1/4-20,1/4", head="button",orient=UP,anchor=BOTTOM,tolerance="1A");
// render() back_half() down(inch*1/20*.325+inch/20*3) nut("1/4-20", thickness=8, diameter=0.5*inch,tolerance="1B");
// }
module screw(name, head, thread="coarse", drive, drive_size, oversize=0, spec, length, shank=0, tolerance=undef, details=true, anchor=undef,anchor_head=undef,spin=0, orient=UP)
{

View file

@ -8,7 +8,7 @@
//////////////////////////////////////////////////////////////////////
BOSL_VERSION = [2,0,329];
BOSL_VERSION = [2,0,330];
// Section: BOSL Library Version Functions