I would share here my OpenSCAD designs, generally related to woodworking.
I draw inspiration from the excellent NopSCADlib project by nophead.
Install requirements
direnv
- direnv execute a command when enter on this folder projectnix
package manager for all systems ( Linux, MacOS, Windows)
Once direnv
and nix
are installed, you just need to enter the project directory,
and then this project will configure itself automatically (see bellow tasks)
- Clone the NoptCADlib repository
- Install requirement packages
- Create python virtualenv
just inventories # Generate all vitamins
just projects # Generate all projects
screwdrivers store | phone holder |
Vitamins A-H | Vitamins I-Q | Vitamins R-Z |
---|---|---|
French_cleats | Magnet_bars | Screwdrivers |
Plywoods | Wood_cylinder |
French Cleat
vitamins/french_cleats.scad Object definitions.
vitamins/french_cleat.scad Implementation.
tests/french_cleats.scad Code for this example.
Module | Description |
---|---|
french_cleat(type, width, height, depth, bottom = true, nb_ply = 7) |
Draw a french cleat |
Qty | Module call | BOM entry |
---|---|---|
1 | french_cleat(opt,100,60,15,true) |
Bottom french cleat optimised 100x60x15 |
1 | french_cleat(std,100,60,15,true) |
Bottom french cleat standard 100x60x15 |
1 | french_cleat(opt,100,60,15,false) |
Top french cleat optimised 100x60x15 |
1 | french_cleat(std,100,60,15,false) |
Top french cleat standard 100x60x15 |
4 | plywood_plank(7,60,100,15) |
7 Plies plywood plank 60x100x15mm |
Parkside Magnetic bar
vitamins/magnet_bars.scad Object definitions.
vitamins/magnet_bar.scad Implementation.
tests/magnet_bars.scad Code for this example.
Function | Description |
---|---|
mth_depth(type) |
magnetbar depth |
mth_height(type) |
magnetbar height |
mth_metaltickness(type) |
magnetbar metaltickness |
mth_padding(type) |
magnetbar padding |
mth_width(type) |
magnetbar width |
Module | Description |
---|---|
magnet_bar(type) |
Draw a parkside magnet bar |
Qty | Module call | BOM entry |
---|---|---|
1 | magnet_bar(magnetbar_200) |
Magnetbar 200 wdith |
1 | magnet_bar(magnetbar_300) |
Magnetbar 300 width |
1 | magnet_bar(magnetbar_470) |
Magnetbar 470 width |
Plywood plank
vitamins/plywood.scad Implementation.
tests/plywoods.scad Code for this example.
Module | Description |
---|---|
plywood_plank(nb_ply, width, height, depth) |
Draw a plywood plank |
Qty | Module call | BOM entry |
---|---|---|
1 | plywood_plank(7,100,20,15) |
7 Plies plywood plank 100x20x15mm |
Screwdriver
vitamins/screwdriver.scad Implementation.
tests/screwdrivers.scad Code for this example.
Module | Description |
---|---|
screwdriver(total_height, tool_height, max_diam, min_diam, washer_diam, tool_diam) |
Draw a screwdriver |
Qty | Module call | BOM entry |
---|---|---|
1 | screwdriver(210,100,28.5,19,14.2,4.5,) |
Screwdriver 210x100 |
2 | screwdriver(210,100,28.5,19,13.5,4.5,) |
Screwdriver 210x100 |
1 | screwdriver(240,125,34.5,23,15.5,5.5,) |
Screwdriver 240x125 |
1 | screwdriver(270,150,37.5,25,17,8,) |
Screwdriver 270x150 |
Wood cylinder
vitamins/wood_cylinder.scad Implementation.
tests/wood_cylinder.scad Code for this example.
Module | Description |
---|---|
wood_cylinder(nb_ply, height, diameter) |
Draw a wood cylinder |
Qty | Module call | BOM entry |
---|---|---|
1 | wood_cylinder(7,108,28) |
7 Plies wood cylinder 108x28 mm |