Files
snappy-reprap/motor_mount_plate_parts.scad

39 lines
741 B
OpenSCAD

include <config.scad>
use <GDMUtils.scad>
use <NEMA.scad>
use <joiners.scad>
module motor_mount_plate(thick=4, l=15)
{
color("Teal") union() {
translate([0, 0, l-thick/2]) {
difference() {
cube(size=[43+joiner_width+10, rail_height, 4], center=true);
zrot(90) nema17_mount_holes(depth=thick+1, l=5);
}
}
// Joiners
xrot(-90) joiner_pair(spacing=43+joiner_width+10, h=rail_height, w=joiner_width, l=l, a=joiner_angle);
}
}
//!motor_mount_plate();
module motor_mount_plate_parts() { // make me
n = 3;
spacing = 55;
grid_of(ya=[-((n-1)*spacing)/2 : spacing : ((n-1)*spacing)/2])
yrot(180) motor_mount_plate();
}
motor_mount_plate_parts();
// vim: noexpandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap