diff --git a/lib.scad b/lib.scad index 1e13eaa..daf804d 100644 --- a/lib.scad +++ b/lib.scad @@ -54,6 +54,7 @@ include include include include +include include include include diff --git a/libtest.png b/libtest.png index 004df92..4f082fd 100644 Binary files a/libtest.png and b/libtest.png differ diff --git a/libtest.scad b/libtest.scad index 53e7a41..060d1ac 100644 --- a/libtest.scad +++ b/libtest.scad @@ -85,6 +85,7 @@ use use use use +use use use use @@ -429,6 +430,9 @@ translate([x4, sk_brackets_y]) translate([x4, extrusion_brackets_y]) extrusion_brackets(); +translate([x4 + 120, extrusion_brackets_y]) + shaft_couplings(); + translate([x4, scs_bearing_blocks_y]) scs_bearing_blocks(); diff --git a/readme.md b/readme.md index ecbbce5..5eaf17b 100644 --- a/readme.md +++ b/readme.md @@ -30,20 +30,21 @@ See [usage](docs/usage.md) for requirements, installation instructions and a usa Cable_strips Linear_bearings SSRs Fan_guard Horiholes Cameras Magnets Screws Fixing_block Layout Circlips Mains_sockets Sealing_strip Flat_hinge Maths - Components Microswitches Sheets Foot Offset - DIP Microview Spades Handle Quadrant - D_connectors Modules Spools PCB_mount Round - Displays Nuts Springs PSU_shroud Rounded_cylinder - Extrusion_brackets O_ring Stepper_motors Printed_box Rounded_polygon - Extrusions Opengrab Swiss_clips Ribbon_clamp Sector - Fans PCB Toggles SSR_shroud Sweep - Fuseholder PCBs Transformers Screw_knob Thread - Geared_steppers PSUs Tubings Socket_box Tube - Green_terminals Panel_meters Variacs Strap_handle - Hot_ends Pillars Veroboard - Hygrometer Pin_headers Washers - IECs Pulleys Wire - Inserts Zipties + Components Microswitches Shaft_couplings Foot Offset + DIP Microview Sheets Handle Quadrant + D_connectors Modules Spades PCB_mount Round + Displays Nuts Spools PSU_shroud Rounded_cylinder + Extrusion_brackets O_ring Springs Printed_box Rounded_polygon + Extrusions Opengrab Stepper_motors Ribbon_clamp Sector + Fans PCB Swiss_clips SSR_shroud Sweep + Fuseholder PCBs Toggles Screw_knob Thread + Geared_steppers PSUs Transformers Socket_box Tube + Green_terminals Panel_meters Tubings Strap_handle + Hot_ends Pillars Variacs + Hygrometer Pin_headers Veroboard + IECs Pulleys Washers + Inserts Wire + Zipties --- @@ -3054,6 +3055,41 @@ Sealing strip from B&Q used to seal around the door of 3D printers. | 1 | ```sealing_strip(100)``` | Sealing strip 10mm x 4mm x 100mm | +Top + +--- + +## Shaft_couplings +Shaft couplings + + +[vitamins/shaft_couplings.scad](vitamins/shaft_couplings.scad) Object definitions. + +[vitamins/shaft_coupling.scad](vitamins/shaft_coupling.scad) Implementation. + +[tests/shaft_couplings.scad](tests/shaft_couplings.scad) Code for this example. + +### Properties +| Function | Description | +|:--- |:--- | +| ```sc_diameter(type)``` | Coupling outer diameter | +| ```sc_diameter1(type)``` | Diameter of smaller shaft | +| ```sc_diameter2(type)``` | Diameter of larger shaft | +| ```sc_length(type)``` | Coupling length | + +### Modules +| Module | Description | +|:--- |:--- | +| ```shaft_coupling(type, colour = "silver")``` | Draw the shaft coupling | + +![shaft_couplings](tests/png/shaft_couplings.png) + +### Vitamins +| Qty | Module call | BOM entry | +| ---:|:--- |:---| +| 1 | ```shaft_coupling(SC_5x8_rigid)``` | Shaft coupling SC_5x8_rigid | + + Top --- diff --git a/tests/png/shaft_couplings.png b/tests/png/shaft_couplings.png new file mode 100644 index 0000000..3cd1f9e Binary files /dev/null and b/tests/png/shaft_couplings.png differ