Electronics Project Box

Parametric project box for electronic projects

TODO: Snap fit connection between lid and box, please help me! Possibly we can use http://www.thingiverse.com/thing:1860118?

A VERY rudimentary lid can be made using https://www.thingiverse.com/thing:1943463

/*----------------------------------------------------------------------------*//* Cap Generator/* by Ziv Botzer/*----------------------------------------------------------------------------*/// Turn on for validation during preview, TURN OFF FOR PRODUCTIONshow_slice = "Off"; // [On, Off]// Hole shapehole_shape = "Square"; // [Round, Square, Rectangle]// HOLE Dimension 1 (if circular = diameter)hole_dimension1 = 30-2*1.2; // [10:0.1:150]// HOLE Dimension 2 (only for rectangle shape)hole_dimension2 = 30-2*1.2; // [10:0.1:150]// HOLE Corner Radius (for square/rectangle shapes)hole_radius = 7.0; // [0:0.1:20]// HOLE Depth (e.g. for a table, thickness of the board)hole_depth = 4; // [2:0.1:100]// PLUG: plug lengthplug_length = 3; // [2:0.1:100]// PLUG: plug clearance inside holeplug_clearance = 0.5; // [0:0.1:5]// PLUG: plug material thicknessplug_thickness = 1.5; // [0.5:0.1:5]// PLUG: Choose if you like snaps or finsfeatures = "Snaps"; // [Snaps, Fins, None]// PLUG: Snaps/Fins protrusion of teeth (mm)feature_length = 1.0; // [0.1:0.1:6]// PLUG: Snaps/Fins height of teeth (mm)feature_height = 1.5; // [0.1:0.1:6]// PLUG FINS: Number of finsfin_number = 3; // [1:1:6]// PLUG SNAPS: Determines gaps size between snapssnap_width_factor = 0.5; // [0.1:0.1:1]// COVER: thickness (mm)cover_thickness = 1.2; // [0.5:0.1:15]// COVER: Overlap around holecover_offset = 1.2; // [0:0.1:30]// COVER: Edge designcover_edge = "Chamfer"; // [Chamfer, Round]// COVER: Edge design ratio 1 (relative size of chamfer/fillet)cover_edge_ratioV = 0; // [0:0.1:1]// COVER: Edge design ratio 2 (relative size of chamfer/fillet)cover_edge_ratioH = 0.1; // [0:0.1:1]// QUALITY: number of polygon facets$fn = 40;// QUALITY: steps in fillet cover design fillet_steps = 6; // [4:1:15]