Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cleaning up, missed files in an earlier commit

  • Loading branch information...
commit 809d7ac97ff1e79ed1e9dc0aae617b3c2bf9f161 2 parents 2c65377 + a77ea79
Rob Gilson D1plo1d authored
32 Makefile
View
@@ -8,11 +8,13 @@ endif
BUILDDIR=./build
-# PARTS = bar-clamp belt-clamp coupling endstop-holder frame-vertex pla-bushing prusalogo rod-clamp x-carriage x-end-idler x-end-motor y-slider-better z-motor-mount
-## prusalogo.scad depends on bitmap.scad
-PARTS = bar-clamp belt-clamp coupling endstop-holder frame-vertex pla-bushing rod-clamp x-carriage x-end-idler x-end-motor y-slider-better z-motor-mount z-motor-mount-onerod
+#_PARTS = pulley bar-clamp belt-clamp coupling endstop-holder frame-vertex pla-bushing prusalogo rod-clamp x-carriage x-end-idler x-end-motor y-slider-better z-motor-mount
+### prusalogo.scad depends on bitmap.scad
+_PARTS = pulley bar-clamp belt-clamp coupling endstop-holder frame-vertex pla-bushing prusalogo rod-clamp x-carriage x-end-idler x-end-motor y-slider-better z-motor-mount
-.PHONY : usage all clean $(PARTS) MakerbotPlates MendelPlate
+PARTS = $(patsubst %,$(BUILDDIR)/%.stl,$(_PARTS))
+
+.PHONY : usage all clean _PARTS MakerbotPlates MendelPlate
default : usage
@@ -34,10 +36,9 @@ parts : $(PARTS)
$(BUILDDIR) :
mkdir -p $(BUILDDIR)
-MakerbotPlates : $(BUILDDIR) $(BUILDDIR)/pulley.stl
+MakerbotPlates : parts
cp makerbot.scad $(BUILDDIR)
- cp frame-vertex-foot.stl $(BUILDDIR)
- cp prusalogo.stl $(BUILDDIR)
+# cp prusalogo.stl $(BUILDDIR)
cp y-motor-bracket_1off.stl $(BUILDDIR)
cp z-bar-top-clamp_4off.stl $(BUILDDIR)
$(OPENSCAD) -D render_plate=1 -s $(BUILDDIR)/mbplate1.stl $(BUILDDIR)/makerbot.scad
@@ -46,21 +47,24 @@ MakerbotPlates : $(BUILDDIR) $(BUILDDIR)/pulley.stl
$(OPENSCAD) -D render_plate=4 -s $(BUILDDIR)/mbplate4.stl $(BUILDDIR)/makerbot.scad
$(OPENSCAD) -D render_plate=5 -s $(BUILDDIR)/mbplate5.stl $(BUILDDIR)/makerbot.scad
-MendelPlate : $(BUILDDIR) $(BUILDDIR)/pulley.stl
+MendelPlate : parts
cp plate1.scad $(BUILDDIR)
- cp frame-vertex-foot.stl $(BUILDDIR)
- cp prusalogo.stl $(BUILDDIR)
+# cp prusalogo.stl $(BUILDDIR)
cp y-motor-bracket_1off.stl $(BUILDDIR)
cp z-bar-top-clamp_4off.stl $(BUILDDIR)
$(OPENSCAD) -s $(BUILDDIR)/plate1.stl $(BUILDDIR)/plate1.scad
-$(PARTS) : $(BUILDDIR) $(BUILDDIR)/pulley.stl
- @echo "Processing $@"
- $(OPENSCAD) -s $(BUILDDIR)/$@.stl $@.scad
+$(_PARTS) :
+ $(MAKE) $(BUILDDIR)/$@.stl
+
+$(BUILDDIR)/%.stl : $(BUILDDIR) %.scad
+ @echo "Processing $*"
+ $(OPENSCAD) -s $(BUILDDIR)/$*.stl $<
$(BUILDDIR)/pulley.stl : $(BUILDDIR)
@echo "Fetching nophead's pulley.stl..."
- pushd $(BUILDDIR); wget http://www.thingiverse.com/download:5914; popd
+ wget http://www.thingiverse.com/download:5914 -O $(BUILDDIR)/pulley.stl
+ touch $(BUILDDIR)/pulley.stl
clean :
$(RM) -rf $(BUILDDIR)
6,106 bin/y-end-motor.stl
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 common.scad
View
@@ -17,12 +17,12 @@ module motor() {
module diagonal_rod(grip = true) {
- if (grip) for (y=[-1,1]) translate([0,39*y,-40]) rotate([30*y,0,0]) cylinder (h=100,r=4.0);
- if (!grip) for (y=[-1,1]) translate([0,39*y,-40]) rotate([30*y,0,0]) cylinder (h=100,r=4.2);
+ if (grip) for (y=[-1,1]) translate([0,15*y,0]) rotate([(90-vert_angle)*y,0,0]) translate([0,0,-50]) cylinder (h=100,r=4.0);
+ if (!grip) for (y=[-1,1]) translate([0,15*y,0]) rotate([(90-vert_angle)*y,0,0]) translate([0,0,-50]) cylinder (h=100,r=4.2);
}
module diagonal_rod_cube (slide = 0, size = [16,16,10]) {
- for (y=[-1,1]) translate([0,39*y,-40]) rotate([30*y,0,0]) translate([0,0,50+slide]) cube(size=size,center=true);
+ for (y=[-1,1]) translate([0,15*y,0]) rotate([(90-vert_angle)*y,0,0]) translate([0,0,slide]) cube(size=size,center=true);
}
module vertical_rods() {
2  configuration.scad
View
@@ -52,7 +52,7 @@ threaded_rod_vertical_clearance = 2;
tear_shape = false; //Use tear shaped holes for rods? not compatable with tight_grip = true
-tight_grip = true; // Use tight holes where possible so that parts will self tap when
+tight_grip = false; // Use tight holes where possible so that parts will self tap when
// threaded rod is drilled in. Reduces need for nuts.
// tight_grip = false not compatable with two_top_rods = false
16 partlist.scad
View
@@ -0,0 +1,16 @@
+//When built, this file will echo a partlist, specific to your configurations.
+
+include <configuration.scad>
+
+
+echo("Part list for build_volume", build_volume);
+echo("Many ", nut_diameter, " diameter nuts.");
+echo ("4x stepper motor.");
+echo("4x frame-vertex");
+echo("8x pla-bushing");
+echo("6x bar-clamp");
+echo("1x build platform mount");
+echo("1x ", build_volume[X], "x", build_volume[Y], "mm build platform");
+echo("2x z-motor-mount");
+echo("1x x-end-motor");
+echo("1x x-end-idler");
57 y-end-motor-leadscrew.scad
View
@@ -0,0 +1,57 @@
+include <lib/mcad/motors.scad>
+include <lib/mcad/servos.scad>
+include <configuration.scad>
+
+use_servos = false;
+
+mount_thickness = 15;
+frame_attachement_thickness = 3;
+
+frame_attachement_radius = frame_attachement_thickness+m8_diameter;
+mount_width = 40;
+mount_length = 40+frame_attachement_radius;
+
+
+difference()
+{
+ union()
+ {
+ // Frame Attachement
+ frame_attachement_cylinder(frame_attachement_radius);
+
+ // Motor Mount Block and Mochup
+ cube([mount_width,mount_length,mount_thickness], center = true);
+ if (!use_servos)
+ translate([0,-frame_attachement_radius/2,-mount_thickness/2])
+ stepper_motor_mount(17,mochup=true);
+ }
+ frame_attachement_cylinder(m8_diameter,10);
+ translate([0,-frame_attachement_radius/2,0])
+ y_motor_mount();
+}
+
+module frame_attachement_cylinder(radius, extra_cut_length=0)
+{
+ //Frame Attachment
+ translate([0,mount_length/2,frame_attachement_radius-mount_thickness/2])
+ rotate([0,90,0]) difference()
+ {
+ cylinder(h=mount_width+extra_cut_length, r=radius, center=true);
+ }
+}
+
+module y_motor_mount()
+{
+ if (use_servos)
+ {
+ alignds420([0,0,9], [0,180,0], screws = 1000, axle_lenght = 0);
+ }
+ else
+ { // (use steppers)
+ linear_extrude(height = mount_thickness
+ +frame_attachement_radius*2, center = true)
+ {
+ stepper_motor_mount(17,mochup=false);
+ }
+ }
+}
3  z-motor-mount.scad
View
@@ -21,6 +21,7 @@ difference(){
for (y=[-1,1]) translate ([-40,30*y,0]) rotate([0,90,0]) cylinder(h = 70, r=8, $fn=30);
}else {
translate([-5,0,-0.5]) cube(size = [70,60,15], center = true);
+ translate ([-32,0,0]) diagonal_rod_cube(slide=9);
}
translate ([26.5,0,-8]) cylinder(h=15,r=8);
}
@@ -31,10 +32,10 @@ difference(){
//Diagonal rod and nut space
translate ([-32,0,0]) diagonal_rod();
- translate ([-32,0,0]) diagonal_rod_cube(slide=4);
//top rod(s):
if (two_top_rods) {
for (y=[-1,1]) translate([-50,30*y,0]) rotate([0,90,0]) cylinder(h = 100, r=4.5);
+ translate ([-32,0,0]) diagonal_rod_cube(slide=9);
}else {
translate([-50,0,0]) rotate([0,90,0]) cylinder(h = 22.5, r=4.0);
}
Please sign in to comment.
Something went wrong with that request. Please try again.