https://github.com/badele/CADLibrary
OpenSCAD CAD Library
https://github.com/badele/CADLibrary
cad openscad openscad-library woodworking
Last synced: 6 months ago
JSON representation
OpenSCAD CAD Library
- Host: GitHub
- URL: https://github.com/badele/CADLibrary
- Owner: badele
- Created: 2016-03-11T16:21:36.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-03-20T07:07:20.000Z (about 1 year ago)
- Last Synced: 2024-04-16T03:53:07.025Z (about 1 year ago)
- Topics: cad, openscad, openscad-library, woodworking
- Language: Python
- Homepage:
- Size: 6.72 MB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# CADLibrary
I would share here my OpenSCAD designs, generally related to woodworking.
I draw inspiration from the excellent [NopSCADlib](https://github.com/nophead/NopSCADlib) project by nophead.
## InstallationInstall requirements
- `direnv` - direnv execute a command when enter on this folder project
- `nix` 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## Usage
```bash
just inventories # Generate all vitamins
just projects # Generate all projects
```
## Projects
| | |
|-|-|
| |  |
| [screwdrivers store](./projects/screwdrivers_store) | [phone holder](./projects/phone_holder) |Vitamins A-H Vitamins I-Q Vitamins R-Z
French_cleats Magnet_bars Screwdrivers
Plywoods Wood_cylinder---
## French_cleats
French Cleat[vitamins/french_cleats.scad](vitamins/french_cleats.scad) Object definitions.
[vitamins/french_cleat.scad](vitamins/french_cleat.scad) Implementation.
[tests/french_cleats.scad](tests/french_cleats.scad) Code for this example.
### Modules
| Module | Description |
|:--- |:--- |
| `french_cleat(type, width, height, depth, bottom = true, nb_ply = 7)` | Draw a french cleat |
### Vitamins
| 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 |---
## Magnet_bars
Parkside Magnetic bar[vitamins/magnet_bars.scad](vitamins/magnet_bars.scad) Object definitions.
[vitamins/magnet_bar.scad](vitamins/magnet_bar.scad) Implementation.
[tests/magnet_bars.scad](tests/magnet_bars.scad) Code for this example.
### Properties
| 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 |### Modules
| Module | Description |
|:--- |:--- |
| `magnet_bar(type)` | Draw a parkside magnet bar |
### Vitamins
| 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 |[vitamins/plywood.scad](vitamins/plywood.scad) Implementation.
[tests/plywoods.scad](tests/plywoods.scad) Code for this example.
### Modules
| Module | Description |
|:--- |:--- |
| `plywood_plank(nb_ply, width, height, depth)` | Draw a plywood plank |
### Vitamins
| Qty | Module call | BOM entry |
| ---:|:--- |:---|
| 1 | `plywood_plank(7,100,20,15)` | 7 Plies plywood plank 100x20x15mm |---
## Screwdrivers
Screwdriver[vitamins/screwdriver.scad](vitamins/screwdriver.scad) Implementation.
[tests/screwdrivers.scad](tests/screwdrivers.scad) Code for this example.
### Modules
| Module | Description |
|:--- |:--- |
| `screwdriver(total_height, tool_height, max_diam, min_diam, washer_diam, tool_diam)` | Draw a screwdriver |
### Vitamins
| 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
Wood cylinder[vitamins/wood_cylinder.scad](vitamins/wood_cylinder.scad) Implementation.
[tests/wood_cylinder.scad](tests/wood_cylinder.scad) Code for this example.
### Modules
| Module | Description |
|:--- |:--- |
| `wood_cylinder(nb_ply, height, diameter)` | Draw a wood cylinder |
### Vitamins
| Qty | Module call | BOM entry |
| ---:|:--- |:---|
| 1 | `wood_cylinder(7,108,28)` | 7 Plies wood cylinder 108x28 mm |---