pcb enclosure library

pcb enclosure library

thingiverse

2018 February 3d: ----------------------- Update of this library published in thing ( https://www.thingiverse.com/thing:2781023) on the occasion of the release of KUMAN 7" LCD enclosure (https://www.thingiverse.com/thing:2781063), mainly better support for screws to fix the pcb and the lid. Description: --------------- This thing is mainly a refactoring from the very good library OpenSCAD-Arduino-Mounting-Library / arduino.scad from kellyegan ( https://www.thingiverse.com/thing:64008 ) This library uses tbuser's pin library for the pin mounts: http://www.thingiverse.com/thing:10541 At first I used it to print boxes for arduinos. Then I began to add designs to the library to make boxes for Grove shields. After four or five additions, it began fastidious to add to new designs to the global variables of the main file of the library. This lead me to do this refactoring. Custom PCB ---------------- Now you can add a new design without modifying the library, just creating a new file for your new design. Just duplicate one of the original designs, for example 11_ETHERNET.scad as MyCustomPCB.scad. Then with the search and replace functionnality of a text editor, replace all occurences of "ETHERNET" into "MyCustomPCB". Then adjust the global variables MyCustomPCB_BoardShape MyCustomPCB_Components MyCustomPCB_Holes MyCustomPCB_Plots to the geometry of you PCB. While making boxes for SeeedStudio Grove shields I've made a very rudimentary tool in FreePascal to facilitate import of the geometry from Eagle files: https://github.com/jsuzineau/pascal_o_r_mapping/tree/master/electronic/OpenSCAD_from_Eagle_File This tool is not perfect, the data is not always at the same path in the xml Eagle file. It's likely you'll have to modify and recompile it in Lazarus ( http://www.lazarus-ide.org/ ) for use with your own Eagle files. I don't know if this is possible, but the top would be to be have a plugin in Eagle software with a source code generator which can produce this scad file. Custom Screw housings ------------------------------- I added the capability of adding custom screw housings. You can decide which corner needs to be screwed using parameter _lid_screws. For example if you want screw housings on corners 2, 3 and 4, pass the parameter _lid_screws= "234". If a connector is too close to the screw, you can move a screw towards the outside of the box with the parameter _lid_screws_outer . For example if you want to move screw housings outside on corners 3 and 4, pass the parameter _lid_screws_outer="34". Custom Screw Shape --------------------------- You can customize the shape of the screws by changing Lid_screw.scad. This file is a kind of alias to a type of screw defined in another file like vis_M3_5_x_16.scad or vis_ronde_M3_5_x_15.scad. For example you can duplicate vis_ronde_M3_5_x_15.scad to MyScrew.scad, search and replace vis_ronde_M3_5_x_15 to MyScrew in MyScrew.scad and Lid_screw.scad, and adapt MyScrew.scad to the geometry of the screws you have on hand. Lid_screw_vis_M3_5_x_16.scad is a copy of Lid_screw.scad which points to vis_M3_5_x_16.scad. Licence ---------- The original library is under MIT Licence so I kept this license for the refactored code. I usually use GNU LGPL Licence for my work so I kept this license for my personal libraries used in this refactoring that are already published elsewhere. Notes ------- 08_YUN.scad, 09_INTELGALILEO.scad and 10_TRE.scad are just place-holders, they are not implemented.

Download Model from thingiverse

With this file you will be able to print pcb enclosure library with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on pcb enclosure library.