Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
emaker committed Aug 6, 2011
0 parents commit f8958f4
Show file tree
Hide file tree
Showing 202 changed files with 591,156 additions and 0 deletions.
58 changes: 58 additions & 0 deletions Openscad/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
VARIANT=0
OPENSCAD:=$(shell which openscad) -D variant=$(VARIANT)
ifeq ($(VARIANT),0)
TARGET=./stl
endif
ifeq ($(VARIANT),1)
TARGET=./stl-sae
endif

PARTS=$(TARGET)/bar-clamp.stl $(TARGET)/belt-clamp.stl $(TARGET)/coupling.stl $(TARGET)/endstop-holder.stl $(TARGET)/frame-vertex-with-foot.stl $(TARGET)/frame-vertex-without-foot.stl $(TARGET)/pla-bushing.stl $(TARGET)/pulley.stl $(TARGET)/rod-clamp.stl $(TARGET)/x-carriage.stl $(TARGET)/x-end-motor.stl $(TARGET)/x-end-idler.stl $(TARGET)/y-motor-bracket.stl $(TARGET)/z-motor-mount.stl

TARGETS=$(PARTS)
help:
@echo Options:
@echo make all: makes the parts, the makerbot plates, the mendel plate and the extruder
@echo make calibration: makes calibration part
@echo make parts: makes all the individual parts
@echo make extruder: makes all the extruder parts
@echo make mbplates: makes all the makerbot plates
@echo make mendelplate: makes the mendel plate
@echo make clean: deletes the stl directory with the output files
@echo adding VARIANT=1 to any of these commands generates SAE parts
@echo SAE parts get saved in ./stl-sae, metric parts in ./stl
all: parts mbplates mendelplate extruder
calibration: $(TARGET)/calibration.stl $(TARGET)/calibration.stl
extruder: $(TARGET)/wade.stl $(TARGET)/wadebits.stl
mendelplate: parts extruder $(TARGET)/mendelplate.stl
$(TARGET)/mendelplate.stl: plate1.scad parts
$(OPENSCAD) -s $(TARGET)/mendelplate.stl plate1.scad
mbplates: makerbot.scad parts $(TARGET)/mbotplate1.stl $(TARGET)/mbotplate2.stl $(TARGET)/mbotplate3.stl $(TARGET)/mbotplate4.stl $(TARGET)/mbotplate5.stl
$(TARGET)/mbotplate1.stl: $(TARGET)/frame-vertex-with-foot.stl $(TARGET)/frame-vertex-without-foot.stl $(TARGET)/bar-clamp.stl $(TARGET)/belt-clamp.stl
$(OPENSCAD) -D platenum=1 -s $(TARGET)/mbotplate1.stl makerbot.scad
$(TARGET)/mbotplate2.stl: $(TARGET)/x-carriage.stl $(TARGET)/coupling.stl $(TARGET)/rod-clamp.stl $(TARGET)/belt-clamp.stl $(TARGET)/bar-clamp.stl
$(OPENSCAD) -D platenum=2 -s $(TARGET)/mbotplate2.stl makerbot.scad
$(TARGET)/mbotplate3.stl: $(TARGET)/endstop-holder.stl $(TARGET)/x-end-idler.stl $(TARGET)/z-motor-mount.stl
$(OPENSCAD) -D platenum=3 -s $(TARGET)/mbotplate3.stl makerbot.scad
$(TARGET)/mbotplate4.stl: $(TARGET)/x-end-motor.stl $(TARGET)/bar-clamp.stl
$(OPENSCAD) -D platenum=4 -s $(TARGET)/mbotplate4.stl makerbot.scad
$(TARGET)/mbotplate5.stl: $(TARGET)/pulley.stl $(TARGET)/endstop-holder.stl $(TARGET)/y-motor-bracket.stl
$(OPENSCAD) -D platenum=5 -s $(TARGET)/mbotplate5.stl makerbot.scad
parts : $(TARGET) $(TARGETS)
$(TARGET) :
mkdir -p $(TARGET)
$(TARGET)/%.stl : %.scad
@echo "Processing $@"
$(OPENSCAD) -s $@ $(subst $(subst ./,,$(TARGET)),.,$(subst .stl,.scad,$@))
$(TARGET)/frame-vertex-with-foot.stl: frame-vertex.scad
$(OPENSCAD) -D basefoot=true -s $@ frame-vertex.scad
$(TARGET)/frame-vertex-without-foot.stl: frame-vertex.scad
$(OPENSCAD) -D basefoot=false -s $@ frame-vertex.scad
$(TARGET)/y-motor-bracket.stl: ybrac-t.scad
$(OPENSCAD) -s $@ ybrac-t.scad

#$(PARTS) : $(TARGET)
# @echo "Processing $@"
# $(OPENSCAD) -s $(TARGET)/$@.stl $@.scad
clean :
rm -rf $(TARGET)
30 changes: 30 additions & 0 deletions Openscad/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Prusa Mendel

Please read http://reprap.org/wiki/Prusa_Mendel before attempting to build this. There is also PDF (manual-wiki) with backup documentation from reprap.org.

Imported stuff:
Frame vertices are based on Viks and Tonokips ones
Extruder by Wade
Parametric Involute Bevel and Spur Gears by GregFrost
Belt pulley is http://www.thingiverse.com/thing:3104 by GilesBathgate

Prusa Mendel part list:

To print:

6x frame-vertex-without-foot or 2x -without-foot and 4x -with-foot
2x coupling
3x endstop-holder
1x x-carriage
1x x-end-idler
1x x-end-motor
2x z-motor-mount
4x belt-clamp
8x bar-clamp
2x rod-clamp
1x y-motor-bracket
2x pulley

12x pla-bushing

The Mendel build plate contains all the parts except the pla bushings
39 changes: 39 additions & 0 deletions Openscad/SkeinforgeMe.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# WALK THROUGH AND PROCESS ALL STL FILES, may be "stl" or "STL"!!!!
# 2011-01-14, jordan miller, peptides@benchscience.org

# INSTRUCTIONS
# If you are using ReplicatorG, the first thing you need to do is find the location of the skeinforge you are using
# For me it is: /Applications/replicatorg-0023-mac/skein_engines/skeinforge-35/skeinforge_application/skeinforge.py
# Set that here

skeinforgeLocation = "/Applications/replicatorg-0023-mac/skein_engines/skeinforge-35/skeinforge_application/skeinforge.py"

## NEXT MAKE SURE YOU HAVE THE PROPER .skeinforge
# To make it reflect what RepG uses, you can create a soft link to it via command line so you won't have to
# keep the files in sync
# The command in Terminal I used is:
# ln -s /Users/jmil/.replicatorg/sf_35_profiles/SF35-ToM-ABP-MGstepper-silverPLA-jmil/ /Users/jmil/.skeinforge
# just run this once!
# navigate to ~/.skeinforge and make sure it takes you to the expected skeinforge profile
# you should see the alterations and profiles directories for your individual profile.


# THEN you are ready to run this from the command line. It will skein EVERY .stl or .STL in the Prusa Mendel
# by walking all directory trees.
# best to set this up at night. You wake up to a directory full of .gcode files. =]


import os

# WALK THROUGH ENTIRE DIRECTORY TREE AND SKEINFORGE ALL STL FILES, may be "stl" or "STL"!!!!

for root, dirs, files in os.walk('./'):
for name in files:
filename = os.path.join(root, name)

if (name.endswith("stl") or name.endswith("STL")):
print name
os.system("python " + skeinforgeLocation + " " + filename)



22 changes: 22 additions & 0 deletions Openscad/belt-clamp.scad
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// PRUSA Mendel
// Belt clamp
// GNU GPL v2
// Josef Průša
// josefprusa@me.com
// prusadjs.cz
// http://www.reprap.org/wiki/Prusa_Mendel
// http://github.com/prusajr/PrusaMendel

include <configuration.scad>
module beltclamp(){
difference(){
cube([26,10,4]);
translate(v = [4, 5, 0]){
//cylinder(h=10, r=m3_diameter/2, $fn=9, center=true);
translate([1,0,0]) for(i=[0,1]){
translate(v = [16*i, 0, 0]) cylinder(h=10, r=m3_diameter/2, $fn=9, center=true);
translate(v = [16*i, 0, 2]) cylinder(h=5, r=m3_af/sqrt(3), $fn=6);
}
}}
}
beltclamp();
48 changes: 48 additions & 0 deletions Openscad/bushing.scad
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
// PRUSA Mendel
// Bushings
// GNU GPL v2
// Josef Průša
// josefprusa@me.com
// prusadjs.cz
// http://www.reprap.org/wiki/Prusa_Mendel
// http://github.com/prusajr/PrusaMendel

include <configuration.scad>

/**
* @name Bushing
* @category Printed
* @link bushing
*/

rodsize = 7.2+0.2;
outerDiameter = bushing_outerDiameter;
lenght = bushing_lenght;
//type = bushing_type;
cutoutWidth=1.2;


module bushing(stiff, lenght=10){
difference(){
union(){
translate(v=[-outerDiameter/2,-8,0]) cube(size = [outerDiameter,8,lenght]);
cylinder(h = lenght, r=outerDiameter/2);
translate(v=[-outerDiameter/2,-10,0]) cube(size = [outerDiameter,3,lenght]);
}
//cutout inside
//Opening
rotate(a=[0,0,45]) translate(v=[0,0,-1]) cube(size = [16,16,lenght+2]);
//Cutouts to make it more bendy
if(stiff){
translate([-(rodsize)/2,-6,-1]) cube(size = [cutoutWidth,6,lenght+2]);
translate([(rodsize)/2-cutoutWidth,-6,-1]) cube(size = [cutoutWidth,6,lenght+2]);
}else{
translate([-(rodsize)/2,-8,-1]) cube(size = [cutoutWidth,8,lenght+2]);
translate([(rodsize)/2-cutoutWidth,-8,-1]) cube(size = [cutoutWidth,8,lenght+2]);
}
translate(v=[0,5,(lenght+2)/2]) cube(size = [outerDiameter/2,8,lenght+2], center=true);
translate(v=[0,0,-1]) cylinder(h = lenght+2, r=(rodsize)/2);
}
}
bushing(true, 11);

43 changes: 43 additions & 0 deletions Openscad/configuration.scad
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
// eMAKEr Huxley
// Configuration file
// GNU GPL v3
// Jean-Marc Giacalone
// info@emakershop.com
// www.emakershop.com
// http://www.reprap.org/wiki/EMAKER_Huxley
// http://github.com/jmgiacalone/eMAKERHuxley

use <library.scad>

//Round corner diameter
round_corner_diameter = 8;

//Thin wall size
layer_height = 0.4;
perimeter_width_over_thicknes = 1.6;
infill_widht_over_thickness = 1.55;
thin_wall = 2*(perimeter_width_over_thicknes*layer_height+infill_widht_over_thickness*layer_height);
if(thin_wall<2){
echo("Check thin wall size, its below 2mm!");
}
echo(thin_wall);

// MINI-HUXLEY VERSION (TODO, just place holder)
// include <configuration-huxley.scad>
m8_diameter=8.3;
m5_diameter=5.3;
m4_diameter=4.3;
m3_diameter=3.3;
m3_dia_clr=3.5;
m3_nut = 2.8;
m3_af = 5.8;
m6_diameter = 6;
m6_nut = 11.5;
bushing_diameter = 8;
motor_shaft=5.3;
bushing_rodsize = 6;
bushing_outerDiameter = 12;
bushing_lenght = 8;

// Some basic functions, probably should be somewhere else

Binary file added Openscad/docs/images/bar-clamp.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Openscad/docs/images/belt-clamps.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Openscad/docs/images/coupling.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Openscad/docs/images/endstop-holder.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Openscad/docs/images/frame-vertex-with-foot.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Openscad/docs/images/pla-bushings.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Openscad/docs/images/pulley.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Openscad/docs/images/rod-clamp.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Openscad/docs/images/x-carriage.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Openscad/docs/images/x-end-idler.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Openscad/docs/images/x-end-motor.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Openscad/docs/images/y-motor-bracket.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Openscad/docs/images/z-motor-mount.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Openscad/docs/manual-wiki.pdf
Binary file not shown.
Binary file added Openscad/docs/parts.odt
Binary file not shown.
Binary file added Openscad/docs/parts.pdf
Binary file not shown.
59 changes: 59 additions & 0 deletions Openscad/huxley_gears.scad
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
include <parametric_involute_gear_v5.0.scad>
//small gear was 9tooth, 200pitch
//small gear was 53tooth, 200pitch

translate([0,0,14]) rotate([0,180,20])
small_gear();
//translate([0,0,7])
translate([5,0,0])
large_gear();

module small_gear(){
translate ([0,0,0]) difference(){
gear (
number_of_teeth=9,
circular_pitch=260, diametral_pitch=false,
pressure_angle=28,
clearance = 0.2,
gear_thickness=7,
rim_thickness=7,
rim_width=5.3,
hub_thickness=14,
hub_diameter=18,
bore_diameter=5.2,
circles=0,
backlash=0,
twist=0,
involute_facets=0);
//translate([0,0,11]) rotate([90,0,0]) cylinder(h=16,r=2.7/2,$fn=30);
translate([0,10,10.6]) rotate([-90,0,180]) union()
{
//entrance
//translate([0,-3,15]) cube([5.8,7,3],center=true);
translate([0,-3,15]) cube([2*(5.8/sqrt(3)),6,3],center=true);
//nut
translate([0,0,13.5]) rotate([0,0,0])cylinder(r=5.8/sqrt(3),h=3,$fn=6);
//grub hole
translate([0,0,9]) cylinder(r=1.9,h=10);
}
}}

module large_gear(){
translate ([34.667,0,0]) difference(){
gear (
number_of_teeth=39,
circular_pitch=260, diametral_pitch=false,
pressure_angle=28,
clearance = 0.2,
gear_thickness=5,
rim_thickness=6,
rim_width=3,
hub_thickness=12,
hub_diameter=18,
bore_diameter=6.3,
circles=6,
backlash=0,
twist=0,
involute_facets=0);
translate([0,0,9.8]) cylinder(h=6, r=10.3/sqrt(3),$fn=6,center=true);
}}
Loading

0 comments on commit f8958f4

Please sign in to comment.