Skip to content

Commit

Permalink
Added rounded corners to some parts to make them easier to print.
Browse files Browse the repository at this point in the history
Filled some gaps in the X ends to make them faster to print.
D motor bracket lid now one piece again, as PCB now clears it.
Calibration object now includes horizontal nut traps.
Add c14n_stl.py to canonicalise the STL files.
Corrected PLA sample diameter.
Removed feed tube connector, works fine without it.
Removed tube jig as not required in the kit.
Manual updated with new part renders.
  • Loading branch information
nophead committed Mar 24, 2013
1 parent dddbaab commit 9345a5b
Show file tree
Hide file tree
Showing 495 changed files with 3,272,218 additions and 3,208,248 deletions.
83 changes: 83 additions & 0 deletions c14n_stl.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
#!/usr/bin/env python
#
# OpenSCAD produces randomly ordered STL files so source control like GIT can't tell if they have changed or not.
# This scrip orders each triangle to start with the lowest vertex first (comparing x, then y, then z)
# It then sorts the triangles to start with the one with the lowest vertices first (comparing first vertex, second, then third)
# This has no effect on the model but makes the STL consistent. I.e. it makes a canonical form.
#
import sys

class Vertex:
def __init__(self, x, y, z):
self.x, self.y, self.z = x, y, z
self.key = (float(x), float(y), float(z))

class Normal:
def __init__(self, dx, dy, dz):
self.dx, self.dy, self.dz = dx, dy, dz

class Facet:
def __init__(self, normal, v1, v2, v3):
self.normal = normal
if v1.key < v2.key:
if v1.key < v3.key:
self.vertices = (v1, v2, v3) #v1 is the smallest
else:
self.vertices = (v3, v1, v2) #v3 is the smallest
else:
if v2.key < v3.key:
self.vertices = (v2, v3, v1) #v2 is the smallest
else:
self.vertices = (v3, v1, v2) #v3 is the smallest

def key(self):
return (self.vertices[0].x, self.vertices[0].y, self.vertices[0].z,
self.vertices[1].x, self.vertices[1].y, self.vertices[1].z,
self.vertices[2].x, self.vertices[2].y, self.vertices[2].z)

class STL:
def __init__(self, fname):
self.facets = []

f = open(fname)
words = [s.strip() for s in f.read().split()]
f.close()

if words[0] == 'solid' and words[1] == 'OpenSCAD_Model':
i = 2
while words[i] == 'facet':
norm = Normal(words[i + 2], words[i + 3], words[i + 4])
v1 = Vertex(words[i + 8], words[i + 9], words[i + 10])
v2 = Vertex(words[i + 12], words[i + 13], words[i + 14])
v3 = Vertex(words[i + 16], words[i + 17], words[i + 18])
i += 21
self.facets.append(Facet(norm, v1, v2, v3))

self.facets.sort(key = Facet.key)
else:
print "Not an OpenSCAD ascii STL file"
sys.exit(1)

def write(self, fname):
f = open(fname,"wt")
print >> f,'solid OpenSCAD_Model'
for facet in self.facets:
print >> f, ' facet normal %s %s %s' % (facet.normal.dx, facet.normal.dy, facet.normal.dz)
print >> f, ' outer loop'
for vertex in facet.vertices:
print >> f, ' vertex %s %s %s' % (vertex.x, vertex.y, vertex.z)
print >> f, ' endloop'
print >> f, ' endfacet'
print >> f, 'endsolid OpenSCAD_Model'
f.close()

def canonicalise(fname):
stl = STL(fname)
stl.write(fname)

if __name__ == '__main__':
if len(sys.argv) == 2:
canonicalise(sys.argv[1])
else:
print "usage: c14n_stl file"
sys.exit(1)
4 changes: 1 addition & 3 deletions dibond/bom/bom.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Vitamins:
| | | | | | | | | | 4| | | | | | | | | | | | 4 Nyloc nut M8
| | | | | | | | | | | | | | | 2| | | | | | | 2 Nitrile O-ring 2.5mm x 1.6mm
| | | 1| | | | | | | | | | | | | | | | | | | 1 Extruder connection PCB
| | | | | | | | | | 1| | | | | | | | | | | | 1 PLA sample 0.3mm ~20m
| | | | | | | | | | 1| | | | | | | | | | | | 1 PLA sample 3mm ~20m
| | | | | | | | | | | | | | | 1| | | | | | | 1 Polypropylene strip 401mm x 18mm x 0.5mm
| | | | | | | | | | | | | | | 1| | | | | | | 1 Polypropylene strip 457mm x 25mm x 0.5mm
| | | | | | | | 1| | | | | | | | | | | | | | 1 Polypropylene strip 271mm x 33mm x 0.5mm
Expand Down Expand Up @@ -136,7 +136,6 @@ Printed:
| | | | | | | | | | | | | | | 1| | | | | | | 1 d_shell_lid.stl
| | | | | | | | | | 1| | | | | | | | | | | | 1 dust_filter.stl
1| | | | | | | | | | | | | | | | | | | | | | 1 fan_guard.stl
| | | | | | | | | | 1| | | | | | | | | | | | 1 feed_tube_connector.stl
| | | | |10| | | | | | | | | | | | | | | | | 10 fixing_block.stl
| 4| | | | | | | | | | | | | | | | | | | | | 4 pcb_spacer.stl
| | | | | | | | | | | | | | | 1| | | | | | | 1 ribbon_clamp_14_33.stl
Expand All @@ -149,7 +148,6 @@ Printed:
| | | | | | | | | | 2| | | | | | | | | | | | 2 spool_bracket_female.stl
| | | | | | | | | | 2| | | | | | | | | | | | 2 spool_bracket_male.stl
| | | | | 4| | | | | | | | | | | | | | | | | 4 tube_cap.stl
| | | | | 1| | | | | | | | | | | | | | | | | 1 tube_jig.stl
| | 1| | | | | | | | | | | | | | | | | | | | 1 wades_big_gear.stl
| | 1| | | | | | | | | | | | | | | | | | | | 1 wades_block.stl
| | 1| | | | | | | | | | | | | | | | | | | | 1 wades_gear_spacer.stl
Expand Down
1 change: 0 additions & 1 deletion dibond/bom/frame_assembly.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ Printed:
1 ribbon_clamp_20_44N.stl
1 ribbon_clamp_26_44N.stl
4 tube_cap.stl
1 tube_jig.stl

3 changes: 1 addition & 2 deletions dibond/bom/spool_holder_assembly.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@ Vitamins:
1 Foam sponge 20mm x 20mm x 20mm
2 Nyloc nut M4
4 Nyloc nut M8
1 PLA sample 0.3mm ~20m
1 PLA sample 3mm ~20m
1 PTFE tubing OD 4.6mm ID 3.84mm x 750mm
2 Washer M4 x 9mm x 0.8mm
8 Washer M8 x 17mm x 1.6mm
4 Washer M8 x 30mm x 1.5mm

Printed:
1 dust_filter.stl
1 feed_tube_connector.stl
2 spool_bracket_female.stl
2 spool_bracket_male.stl

Binary file added dibond/manual/Mendel90 Dibond.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 modified dibond/manual/Mendel90_Dibond.odt
Binary file not shown.
Binary file modified dibond/manual/Mendel90_Dibond.pdf
Binary file not shown.
Binary file added dibond/manual/Repetier_Printer_Settings.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 dibond/manual/Skeinforge_Multiply_Settings.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 dibond/manual/Slic3r_Printer_Settings.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 modified dibond/manual/extruder_assembled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dibond/manual/extruder_assembly.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dibond/manual/extruder_hot_end_assembly.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dibond/manual/extruder_motor_assembled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dibond/manual/extruder_motor_assembly.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dibond/manual/frame_assembly_front.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dibond/manual/front_page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dibond/manual/spool_holder_assembly.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dibond/manual/x_axis_assembly.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dibond/manual/x_idler_assembly.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dibond/manual/x_motor_assembled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dibond/manual/x_motor_assembly.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dibond/manual/y_axis_assembly.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dibond/manual/y_carriage_assembled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dibond/manual/y_carriage_assembly.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dibond/manual/y_motor_assembled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dibond/manual/y_motor_assembly.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dibond/manual/z_axis_assembly.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dibond/render/atx_long_bracket.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dibond/render/atx_short_bracket.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dibond/render/d_motor_bracket.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dibond/render/d_motor_bracket_lid.png
Binary file modified dibond/render/d_shell.png
Binary file modified dibond/render/d_shell_lid.png
Binary file modified dibond/render/dust_filter.png
Binary file modified dibond/render/fan_guard.png
Binary file removed dibond/render/feed_tube_connector.png
Diff not rendered.
Binary file modified dibond/render/fixing_block.png
Binary file modified dibond/render/pcb_spacer.png
Binary file modified dibond/render/printed/atx_brackets.png
Binary file modified dibond/render/printed/bar_clamps.png
Binary file modified dibond/render/printed/cal.png
Binary file modified dibond/render/printed/d_motor_brackets.png
Binary file modified dibond/render/printed/fixing_blocks.png
Binary file modified dibond/render/printed/ribbon_clamps.png
Binary file modified dibond/render/printed/spool_holder_brackets.png
Binary file removed dibond/render/printed/spool_holder_tall_brackets.png
Diff not rendered.
Binary file modified dibond/render/printed/wades_extruder.png
Binary file modified dibond/render/printed/x_carriage_parts.png
Binary file modified dibond/render/printed/y_bearing_mounts.png
Binary file modified dibond/render/printed/y_belt_anchors.png
Binary file modified dibond/render/printed/z_motor_brackets.png
Binary file modified dibond/render/ribbon_clamp_14_33.png
Binary file modified dibond/render/ribbon_clamp_14_33NB.png
Binary file modified dibond/render/ribbon_clamp_20_33.png
Binary file modified dibond/render/ribbon_clamp_20_44N.png
Binary file modified dibond/render/ribbon_clamp_26_33.png
Binary file modified dibond/render/ribbon_clamp_26_33N.png
Binary file modified dibond/render/ribbon_clamp_26_44N.png
Binary file modified dibond/render/spool_bracket_female.png
Binary file modified dibond/render/spool_bracket_male.png
Binary file modified dibond/render/tube_cap.png
Binary file removed dibond/render/tube_jig.png
Diff not rendered.
Binary file modified dibond/render/wades_big_gear.png
Binary file modified dibond/render/wades_block.png
Binary file modified dibond/render/wades_gear_spacer.png
Binary file modified dibond/render/wades_idler_block.png
Binary file modified dibond/render/wades_small_gear.png
Binary file modified dibond/render/x_belt_clamp.png
Binary file modified dibond/render/x_belt_grip.png
Binary file modified dibond/render/x_belt_tensioner.png
Binary file modified dibond/render/x_carriage.png
Binary file modified dibond/render/x_carriage_fan_bracket.png
Binary file modified dibond/render/x_carriage_fan_duct.png
Binary file modified dibond/render/x_idler_bracket.png
Binary file modified dibond/render/x_motor_bracket.png
Binary file modified dibond/render/y_bar_clamp.png
Binary file modified dibond/render/y_bar_clamp_switch.png
Binary file modified dibond/render/y_bearing_mount.png
Binary file modified dibond/render/y_belt_anchor.png
Binary file modified dibond/render/y_belt_anchor_toothed.png
Binary file modified dibond/render/y_belt_clip.png
Binary file modified dibond/render/y_belt_clip_toothed.png
Binary file modified dibond/render/y_idler_bracket.png
Binary file modified dibond/render/y_motor_bracket.png
Binary file modified dibond/render/z_bar_clamp.png
Binary file modified dibond/render/z_coupling.png
Binary file modified dibond/render/z_motor_bracket_lhs.png
Binary file modified dibond/render/z_motor_bracket_rhs.png
Binary file modified dibond/render/z_screw_pointer.png
Binary file modified dibond/sheets/frame_gantry.pdf
Binary file not shown.
Binary file modified dibond/sheets/frame_gantry_and_y_carriage.pdf
Binary file not shown.
Binary file modified dibond/sheets/frame_left.pdf
Binary file not shown.
Binary file modified dibond/sheets/frame_right.pdf
Binary file not shown.
Binary file modified dibond/sheets/frame_stays.pdf
Binary file not shown.
Binary file modified dibond/sheets/y_carriage.pdf
Binary file not shown.
Binary file modified dibond/sheets/y_heatshield.pdf
Binary file not shown.
Loading

0 comments on commit 9345a5b

Please sign in to comment.