diff --git a/libtest.png b/libtest.png index 2261106..788a0df 100644 Binary files a/libtest.png and b/libtest.png differ diff --git a/readme.md b/readme.md index 79486bb..3f3929a 100644 --- a/readme.md +++ b/readme.md @@ -28,24 +28,25 @@ See [usage](docs/usage.md) for requirements, installation instructions and a usa Components Pulleys Fan_guard Offset D_connectors Rails Fixing_block Quadrant Displays Ring_terminals Flat_hinge Round - Fans Rockers Foot Rounded_cylinder - Fuseholder Rod Handle Rounded_polygon - Geared_steppers Screws Pcb_mount Sector - Green_terminals Sealing_strip Psu_shroud Sweep - Hot_ends Sheets Ribbon_clamp Tube - Hygrometer Spades Screw_knob - Iecs Spools Socket_box - Inserts Springs Ssr_shroud - Jack Ssrs Strap_handle - Ldrs Stepper_motors - Leadnuts Toggles - Leds Transformers - Light_strips Tubings - Linear_bearings Variacs - Mains_sockets Veroboard - Meter Washers - Microswitches Wire - Microview Zipties + 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 Tube + Hot_ends Spades Screw_knob + Hygrometer Spools Socket_box + Iecs Springs Ssr_shroud + Inserts Ssrs Strap_handle + Jack Stepper_motors + Ldrs Toggles + Leadnuts Transformers + Leds Tubings + Light_strips Variacs + Linear_bearings Veroboard + Mains_sockets Washers + Meter Wire + Microswitches Zipties + Microview Modules @@ -585,6 +586,54 @@ LCD dispays. | 1 | ```display(SSD1963_4p3)``` | LCD display SSD1963 4.3" | +Top + +--- + +## Extrusions +Aluminium extrusion. + + +[vitamins/extrusions.scad](vitamins/extrusions.scad) Object definitions. + +[vitamins/extrusion.scad](vitamins/extrusion.scad) Implementation. + +[tests/extrusions.scad](tests/extrusions.scad) Code for this example. + +### Properties +| Function | Description | +|:--- |:--- | +| ```extrusion_center_hole(type)``` | Diameter of center hole | +| ```extrusion_center_square(type)``` | Size of center square | +| ```extrusion_channel_width(type)``` | Channel width | +| ```extrusion_channel_width_internal(type)``` | Internal channel width | +| ```extrusion_corner_hole(type)``` | Diameter of corner hole | +| ```extrusion_fillet(type)``` | Radius of corner fillet | +| ```extrusion_height(type)``` | Height of extrusion | +| ```extrusion_spar_thickness(type)``` | Spar thickness | +| ```extrusion_tab_thickness(type)``` | Tab thickness | +| ```extrusion_width(type)``` | Width of extrusion | + +### Modules +| Module | Description | +|:--- |:--- | +| ```extrusion(type, length, cornerHole = false)``` | Draw the specified extrusion | + +![extrusions](tests/png/extrusions.png) + +### Vitamins +| Qty | Module call | BOM entry | +| ---:|:--- |:---| +| 1 | ```extrusion(E2020, 80)``` | Extrusion E2020 x 80mm | +| 1 | ```extrusion(E2040, 80)``` | Extrusion E2040 x 80mm | +| 1 | ```extrusion(E2060, 80)``` | Extrusion E2060 x 80mm | +| 1 | ```extrusion(E2080, 80)``` | Extrusion E2080 x 80mm | +| 1 | ```extrusion(E3030, 80)``` | Extrusion E3030 x 80mm | +| 1 | ```extrusion(E3060, 80)``` | Extrusion E3060 x 80mm | +| 1 | ```extrusion(E4040, 80)``` | Extrusion E4040 x 80mm | +| 1 | ```extrusion(E4080, 80)``` | Extrusion E4080 x 80mm | + + Top --- diff --git a/tests/png/extrusions.png b/tests/png/extrusions.png new file mode 100644 index 0000000..d76723e Binary files /dev/null and b/tests/png/extrusions.png differ