diff --git a/lib.scad b/lib.scad index 4b033f9..4e821c4 100644 --- a/lib.scad +++ b/lib.scad @@ -26,6 +26,7 @@ include include include +include include include include @@ -52,7 +53,6 @@ include include include include -include include include include diff --git a/libtest.scad b/libtest.scad index 8dc8a15..b9b2c21 100644 --- a/libtest.scad +++ b/libtest.scad @@ -43,6 +43,7 @@ include use use +use use use use @@ -88,7 +89,6 @@ use use use use -use use use use diff --git a/readme.md b/readme.md index 4c96b1e..58efa07 100644 --- a/readme.md +++ b/readme.md @@ -24,28 +24,28 @@ A list of changes classified as breaking, additions or fixes is maintained in [C Axials Jack Rails Box Annotation BOM Ball_bearings LDRs Ring_terminals Butt_box Bezier Clip Batteries LED_meters Rockers Cable_grommets Catenary Global - Belts LEDs Rod Camera_housing Core_xy Polyholes - Blowers Leadnuts SCS_bearing_blocks Carriers Dogbones Rounded_rectangle - Bulldogs Light_strips SK_brackets Corner_block Fillet Sphere - Buttons Linear_bearings SMDs Door_hinge Gears Teardrops - Cable_strips Magnets SSRs Door_latch Hanging_hole - Cameras Mains_sockets Screws Drag_chain Horiholes - Circlips Microswitches Sealing_strip Fan_guard Layout - Components Microview Shaft_couplings Fixing_block Maths - DIP Modules Sheets Flat_hinge Offset - D_connectors Nuts Spades Foot Quadrant - Displays O_ring Spools Handle Round - Extrusion_brackets Opengrab Springs PCB_mount Rounded_cylinder - Extrusions PCB Stepper_motors PSU_shroud Rounded_polygon - Fans PCBs Swiss_clips Pocket_handle Rounded_right_triangle - Fuseholder PSUs Toggles Press_fit Sector - Geared_steppers Panel_meters Transformers Printed_box Sweep - Green_terminals Pillars Tubings Printed_pulleys Thread - Hot_ends Pillow_blocks Variacs Ribbon_clamp Tube - Hygrometer Pin_headers Veroboard SSR_shroud - IECs Pulleys Washers Screw_knob - Inserts Wire Socket_box - Zipties Strap_handle + Bearing_blocks LEDs Rod Camera_housing Core_xy Polyholes + Belts Leadnuts SK_brackets Carriers Dogbones Rounded_rectangle + Blowers Light_strips SMDs Corner_block Fillet Sphere + Bulldogs Linear_bearings SSRs Door_hinge Gears Teardrops + Buttons Magnets Screws Door_latch Hanging_hole + Cable_strips Mains_sockets Sealing_strip Drag_chain Horiholes + Cameras Microswitches Shaft_couplings Fan_guard Layout + Circlips Microview Sheets Fixing_block Maths + Components Modules Spades Flat_hinge Offset + DIP Nuts Spools Foot Quadrant + D_connectors O_ring Springs Handle Round + Displays Opengrab Stepper_motors PCB_mount Rounded_cylinder + Extrusion_brackets PCB Swiss_clips PSU_shroud Rounded_polygon + Extrusions PCBs Toggles Pocket_handle Rounded_right_triangle + Fans PSUs Transformers Press_fit Sector + Fuseholder Panel_meters Tubings Printed_box Sweep + Geared_steppers Pillars Variacs Printed_pulleys Thread + Green_terminals Pillow_blocks Veroboard Ribbon_clamp Tube + Hot_ends Pin_headers Washers SSR_shroud + Hygrometer Pulleys Wire Screw_knob + IECs Zipties Socket_box + Inserts Strap_handle --- @@ -200,6 +200,68 @@ exposing enough information to make a battery box. | 1 | `battery(S25R18650)` | Cell Samsung 25R 18650 LION | +Top + +--- + +## Bearing_blocks +SCSnUU and SCSnLUU bearing blocks + +[vitamins/bearing_blocks.scad](vitamins/bearing_blocks.scad) Object definitions. + +[vitamins/bearing_block.scad](vitamins/bearing_block.scad) Implementation. + +[tests/bearing_blocks.scad](tests/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_circlip(type)` | Circlip used | +| `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 | +| `scs_spacer(type)` | Spacer used in long bearings | + +### 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 | + +![bearing_blocks](tests/png/bearing_blocks.png) + +### 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 --- @@ -2978,68 +3040,6 @@ For an explanation of `screw_polysink()` see Top - ---- - -## SCS_bearing_blocks -SCSnUU and SCSnLUU 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_circlip(type)` | Circlip used | -| `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 | -| `scs_spacer(type)` | Spacer used in long bearings | - -### 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 | - -![scs_bearing_blocks](tests/png/scs_bearing_blocks.png) - -### 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/bearing_blocks.png b/tests/png/bearing_blocks.png new file mode 100644 index 0000000..f47638b Binary files /dev/null and b/tests/png/bearing_blocks.png differ