Skip to content

badele/CADLibrary

Repository files navigation

CADLibrary

I would share here my OpenSCAD designs, generally related to woodworking.

I draw inspiration from the excellent NopSCADlib project by nophead.

Installation

Install 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

just inventories # Generate all vitamins
just projects    # Generate all projects

Projects

screwdrivers_store phone holder
screwdrivers store phone holder

Table of Contents

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 Object definitions.

vitamins/french_cleat.scad Implementation.

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

french_cleats

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

Top


Magnet_bars

Parkside Magnetic bar

vitamins/magnet_bars.scad Object definitions.

vitamins/magnet_bar.scad Implementation.

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

magnet_bars

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

Top


Plywoods

Plywood plank

vitamins/plywood.scad Implementation.

tests/plywoods.scad Code for this example.

Modules

Module Description
plywood_plank(nb_ply, width, height, depth) Draw a plywood plank

plywoods

Vitamins

Qty Module call BOM entry
1 plywood_plank(7,100,20,15) 7 Plies plywood plank 100x20x15mm

Top


Screwdrivers

Screwdriver

vitamins/screwdriver.scad Implementation.

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

screwdrivers

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

Top


Wood_cylinder

Wood cylinder

vitamins/wood_cylinder.scad Implementation.

tests/wood_cylinder.scad Code for this example.

Modules

Module Description
wood_cylinder(nb_ply, height, diameter) Draw a wood cylinder

wood_cylinder

Vitamins

Qty Module call BOM entry
1 wood_cylinder(7,108,28) 7 Plies wood cylinder 108x28 mm

Top