diff --git a/readme.md b/readme.md
index a9e3221..3cedee0 100644
--- a/readme.md
+++ b/readme.md
@@ -31,23 +31,23 @@ See [usage](docs/usage.md) for requirements, installation instructions and a usa
Extrusions | Rockers | Foot | Rounded_cylinder | |
Fans | Rod | Handle | Rounded_polygon | |
Fuseholder | Screws | Pcb_mount | Sector | |
- Geared_steppers | Sealing_strip | Psu_shroud | Sweep | |
- Green_terminals | Sheets | Ribbon_clamp | Thread | |
- Hot_ends | Sk_brackets | Screw_knob | Tube | |
- Hygrometer | Spades | Socket_box | | |
- Iecs | Spools | Ssr_shroud | | |
- Inserts | Springs | Strap_handle | | |
- Jack | Ssrs | | | |
- Ldrs | Stepper_motors | | | |
- Leadnuts | Toggles | | | |
- Leds | Transformers | | | |
- Light_strips | Tubings | | | |
- Linear_bearings | Variacs | | | |
- Mains_sockets | Veroboard | | | |
- Meter | Washers | | | |
- Microswitches | Wire | | | |
- Microview | Zipties | | | |
- Modules | | | | |
+ Geared_steppers | Scs_bearing_blocks | Psu_shroud | Sweep | |
+ Green_terminals | Sealing_strip | Ribbon_clamp | Thread | |
+ Hot_ends | Sheets | Screw_knob | Tube | |
+ Hygrometer | Sk_brackets | Socket_box | | |
+ Iecs | Spades | Ssr_shroud | | |
+ Inserts | Spools | Strap_handle | | |
+ Jack | Springs | | | |
+ Ldrs | Ssrs | | | |
+ Leadnuts | Stepper_motors | | | |
+ Leds | Toggles | | | |
+ Light_strips | Transformers | | | |
+ Linear_bearings | Tubings | | | |
+ Mains_sockets | Variacs | | | |
+ Meter | Veroboard | | | |
+ Microswitches | Washers | | | |
+ Microview | Wire | | | |
+ Modules | Zipties | | | |
---
@@ -2408,6 +2408,64 @@ Machine screws and wood screws with various head styles.
| 1 | ```screw(No6_screw, 30)``` | Screw No6 pan wood x 30mm |
+Top
+
+---
+
+## Scs_bearing_blocks
+[vitamins/scs_bearing_blocks.scad](vitamins/scs_bearing_blocks.scad) Object definitions.
+
+[vitamins/scs_bearing_block.scad](vitamins/scs_bearing_block.scad) Implementation.
+
+[tests/scs_bearing_blocks.scad](tests/scs_bearing_blocks.scad) Code for this example.
+
+### Properties
+| Function | Description |
+|:--- |:--- |
+| ```scs_bearing(type)``` | Linear bearing used |
+| ```scs_block_center_height(type)``` | Height of the center of the block |
+| ```scs_block_side_height(type)``` | Height of the side of the block, this determines the minimum screw length |
+| ```scs_hole_offset(type)``` | Offset of bearing hole from base of block |
+| ```scs_screw(type)``` | Screw type |
+| ```scs_screw_separation_x(type)``` | Screw separation in X direction |
+| ```scs_screw_separation_z(type)``` | Screw separation in Z direction |
+
+### Functions
+| Function | Description |
+|:--- |:--- |
+| ```scs_size(type)``` | Size of scs bracket bounding block |
+
+### Modules
+| Module | Description |
+|:--- |:--- |
+| ```scs_bearing_block(type)``` | Draw the specified SCS bearing block |
+| ```scs_bearing_block_assembly(type, part_thickness, screw_type, nut_type)``` | Assembly with screws and nuts in place |
+| ```scs_bearing_block_hole_positions(type)``` | Place children at hole positions |
+
+
+
+### Vitamins
+| Qty | Module call | BOM entry |
+| ---:|:--- |:---|
+| 12 | ```nut(M4_nut)``` | Nut M4 x 3.2mm |
+| 24 | ```nut(M5_nut)``` | Nut M5 x 4mm |
+| 1 | ```scs_bearing_block(SCS10LUU)``` | SCS10LUU bearing block |
+| 1 | ```scs_bearing_block(SCS10UU)``` | SCS10UU bearing block |
+| 1 | ```scs_bearing_block(SCS12LUU)``` | SCS12LUU bearing block |
+| 1 | ```scs_bearing_block(SCS12UU)``` | SCS12UU bearing block |
+| 1 | ```scs_bearing_block(SCS16LUU)``` | SCS16LUU bearing block |
+| 1 | ```scs_bearing_block(SCS16UU)``` | SCS16UU bearing block |
+| 1 | ```scs_bearing_block(SCS6UU)``` | SCS6UU bearing block |
+| 1 | ```scs_bearing_block(SCS8LUU)``` | SCS8LUU bearing block |
+| 1 | ```scs_bearing_block(SCS8UU)``` | SCS8UU bearing block |
+| 4 | ```screw(M4_cap_screw, 25)``` | Screw M4 cap x 25mm |
+| 8 | ```screw(M4_cap_screw, 30)``` | Screw M4 cap x 30mm |
+| 16 | ```screw(M5_cap_screw, 35)``` | Screw M5 cap x 35mm |
+| 8 | ```screw(M5_cap_screw, 45)``` | Screw M5 cap x 45mm |
+| 12 | ```washer(M4_washer)``` | Washer M4 x 9mm x 0.8mm |
+| 24 | ```washer(M5_washer)``` | Washer M5 x 10mm x 1mm |
+
+
Top
---
diff --git a/tests/png/scs_bearing_blocks.png b/tests/png/scs_bearing_blocks.png
new file mode 100644
index 0000000..ee5342d
Binary files /dev/null and b/tests/png/scs_bearing_blocks.png differ
diff --git a/tests/scs_bearing_blocks.scad b/tests/scs_bearing_blocks.scad
index 78d6500..deb4864 100644
--- a/tests/scs_bearing_blocks.scad
+++ b/tests/scs_bearing_blocks.scad
@@ -1,5 +1,5 @@
//
-// NopSCADlib Copyright Chris Palmer 2018
+// NopSCADlib Copyright Chris Palmer 2020
// nop.head@gmail.com
// hydraraptor.blogspot.com
//
@@ -32,6 +32,4 @@ module scs_bearing_blocks()
}
if($preview)
- let($show_threads = true)
- scs_bearing_blocks();
-
+ scs_bearing_blocks();
diff --git a/vitamins/scs_bearing_block.scad b/vitamins/scs_bearing_block.scad
index bcf3b38..0f70f47 100644
--- a/vitamins/scs_bearing_block.scad
+++ b/vitamins/scs_bearing_block.scad
@@ -1,5 +1,5 @@
//
-// NopSCADlib Copyright Chris Palmer 2018
+// NopSCADlib Copyright Chris Palmer 2020
// nop.head@gmail.com
// hydraraptor.blogspot.com
//
@@ -154,4 +154,3 @@ module scs_bearing_block_assembly(type, part_thickness, screw_type, nut_type) {
washer(washer_type);
}
}
-
diff --git a/vitamins/scs_bearing_blocks.scad b/vitamins/scs_bearing_blocks.scad
index ad01589..72d22ad 100644
--- a/vitamins/scs_bearing_blocks.scad
+++ b/vitamins/scs_bearing_blocks.scad
@@ -1,5 +1,5 @@
//
-// NopSCADlib Copyright Chris Palmer 2018
+// NopSCADlib Copyright Chris Palmer 2020
// nop.head@gmail.com
// hydraraptor.blogspot.com
//
@@ -42,4 +42,3 @@ scs_bearing_blocks = [SCS6UU, SCS8UU, SCS10UU, SCS12UU, SCS16UU];
scs_bearing_blocks_long = [SCS8LUU, SCS10LUU, SCS12LUU, SCS16LUU];
use
-