kellyegan / openscad-arduino-mounting-library Goto Github PK
View Code? Open in Web Editor NEWModules for helping to add Arduino enclosures and mounts to OpenSCAD projects.
Modules for helping to add Arduino enclosures and mounts to OpenSCAD projects.
Using this, it puts one of the mounting holes outside the base plate.
bumper(UNO, mountType=PIN, mountingHoles = true);
I fixed it with this updated bumper code (line 65 for me):
//Bumper mounting holes (exterior)
if( mountingHoles ) {
difference() {
hull() {
translate([-6, (dimensions[1] - 6) / 2, 0])
cylinder( r = 6, h = pcbHeight + 2, $fn = 32 );
translate([ -0.5, dimensions[1] / 2 - 9, 0])
cube([0.5, 12, bumperHeight]);
}
translate([-6, (dimensions[1] - 6) / 2, 0])
mountingHole(holeDepth = bumperHeight);
}
difference() {
hull() {
translate([dimensions[0] + 6, (dimensions[1] - 6) / 2,0])
cylinder( r = 6, h = pcbHeight + 2, $fn = 32 );
translate([ dimensions[0], dimensions[1] / 2 - 9, 0])
cube([0.5, 12, bumperHeight]);
}
translate([dimensions[0] + 6, (dimensions[1] - 6) / 2,0])
mountingHole(holeDepth = bumperHeight);
}
}
Y was referencing dimensions[0] instead of dimensions[1] for the first tab.
Thank you for the library! This will really come in handy.
I am trying to adapt your library for a different pcb layout
so I created a rpiplusComponent list.
The problem with this is that it has an underneath sdcard and in the calculation of the componentsDimensions it effects the overall height.
The SDcard space (negative z value) is already compensated by the standoffheight.
if there a simple way to exclude or not to accept negative z values in the componentsDimensions function .
Adding support for Arduino Nano and MKR WIFI 1010. The later was tested with an FDM printer.
Please consider pull request #12, it introduces:
Variable hole sizes, since some boards have smaller mounting holes
Dual headers (HEADER_F on top, HEADER_M on the bottom) as used on the MKR WIFI 1010
Small pin (=NOTCH) that can be FDM printed, to fit the small holes from Nano and MKR boards
Spacing parameter for enclosures, so that boards that need more than 5mm can fit.
New features are added to the documentation and shown in the example.scad
Looks like you updated the library to include pins.scad, but I don't see it as part of your project. Can you provide a link for it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.