Skip to content

Commit

Permalink
Successful print
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasbock committed Aug 7, 2021
1 parent 2740ab7 commit 2f39ec6
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 14 deletions.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,20 @@ vespa: vespa.gcode

.PHONY: vespa_repaired.stl
vespa_repaired.stl:
wget -c https://cdn.thingiverse.com/assets/5e/ba/e4/7c/85/vespa_repaired.stl
wget -cq --progress=dot https://cdn.thingiverse.com/assets/5e/ba/e4/7c/85/vespa_repaired.stl

projection.stl: projection.scad vespa_repaired.stl
openscad $< --render -o $@

vespa.gcode: projection.stl
slic3r $^

gui: projection.stl
slic3r --gui $^

patch:
# Set bed and nozzle temperature at once
sed projection.gcode -i -e "s/M190 /M140 /"

clean:
rm -f vespa_repaired.stl projection.stl vespa.gcode
30 changes: 17 additions & 13 deletions model.scad
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,18 @@ nothing = 0.025;

module vespa()
{
translate([1.5, 75, 0])
mirror([0, 1, 0])
import("vespa_repaired.stl", center=true);
scale(0.8)
union()
{
translate([1.5, 75, 0])
mirror([0, 1, 0])
import("vespa_repaired.stl", center=true);

// Additional support structure
translate([15, 20, 1.5])
rotate([0, 0, -45])
cube([10, 4, 3], center=true);
}
}

module vespa_bbox()
Expand All @@ -22,16 +31,11 @@ module vespa_half()
{
vespa();

// Additional support structure
translate([15, 20, 1.5])
rotate([0, 0, -45])
cube([10, 4, 3], center=true);

// Key-ring
keyring_height = 3;
keyring_radius_outer = 13;
keyring_radius_inner = 11;
translate([20, 10, 0])
keyring_height = 4;
keyring_radius_outer = 12;
keyring_radius_inner = keyring_radius_outer - 3;
translate([17, 6, 0])
difference()
{
cylinder(
Expand All @@ -52,7 +56,7 @@ module vespa_half()

module vespa_projection()
{
vespa_half();
//vespa_half();
mirror([1, 0, 0])
vespa_half();
}
Expand Down
1 change: 1 addition & 0 deletions projection.scad
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

use <model.scad>;

//mirror([1, 0, 0])
vespa_projection();

0 comments on commit 2f39ec6

Please sign in to comment.