Changed animation to slider motions.

This commit is contained in:
Revar Desmera
2014-11-07 18:41:41 -08:00
parent c5147a8903
commit 38ec9640ee
23 changed files with 412997 additions and 376201 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
/*.deps
/*.stl
.*.swp

View File

@@ -3,7 +3,7 @@ CONVERT=convert
PARTFILES=$(sort $(wildcard *_parts.scad))
TARGETS=$(patsubst %.scad,STLs/%.stl,${PARTFILES})
ROTFILES=$(shell seq -f 'wiki/snappy_rot%03g.png' 0 15 359.99)
ROTFILES=$(shell seq -f 'wiki/snappy_rot%03g.png' 0 10 359.99)
all: ${TARGETS}
@@ -19,19 +19,20 @@ cleaner: clean
cleanwiki:
rm -f wiki/snappy_*.gif wiki/snappy_*.png wiki/*_parts.png
${ROTFILES}: full_assembly.scad
${OPENSCAD} -o $(subst wiki/,tmp_,$@) --imgsize=800,800 --projection=p --csglimit=100000 \
--camera=0,0,200,65,0,$(patsubst wiki/snappy_rot%.png,%,$@),4000 $<
${ROTFILES}: full_assembly.scad $(wildcard *.scad)
${OPENSCAD} -o $(subst wiki/,tmp_,$@) --imgsize=800,800 --projection=p --csglimit=1000000 \
-D '$$t=$(shell echo $(patsubst wiki/snappy_rot%.png,%/360.0,$@) | bc -l)' \
-D '$$do_prerender=false' --camera=0,0,255,65,0,120,1000 $<
${CONVERT} -strip -resize 400x400 $(subst wiki/,tmp_,$@) $@
rm -f $(subst wiki/,tmp_,$@)
wiki/%.png: %.scad config.scad GDMUtils.scad
${OPENSCAD} -o $(subst wiki/,tmp_,$@) --imgsize=1600,1600 --projection=p --csglimit=100000 --camera=0,0,50,65,0,120,1500 $<
${OPENSCAD} -o $(subst wiki/,tmp_,$@) --imgsize=1600,1600 --projection=p --csglimit=1000000 --camera=0,0,50,65,0,120,1500 $<
${CONVERT} -trim -resize 200x200 -border 10x10 -bordercolor '#ffffe5' $(subst wiki/,tmp_,$@) $@
rm -f $(subst wiki/,tmp_,$@)
wiki/snappy_full.png: full_assembly.scad
${OPENSCAD} -o $(subst wiki/,tmp_,$@) --imgsize=3200,3200 --projection=p --csglimit=100000 --camera=0,0,160,65,0,120,4000 $<
wiki/snappy_full.png: full_assembly.scad $(wildcard *.scad)
${OPENSCAD} -o $(subst wiki/,tmp_,$@) --imgsize=3200,3200 --projection=p --csglimit=1000000 --camera=0,0,160,65,0,120,1500 $<
${CONVERT} -trim -resize 800x800 -border 10x10 -bordercolor '#ffffe5' $(subst wiki/,tmp_,$@) $@
rm -f $(subst wiki/,tmp_,$@)
@@ -39,7 +40,7 @@ wiki/snappy_small.png: wiki/snappy_full.png
${CONVERT} -trim -resize 200x200 -border 10x10 -bordercolor '#ffffe5' $< $@
wiki/snappy_animated.gif: ${ROTFILES}
${CONVERT} -delay 33 -loop 0 ${ROTFILES} $@
${CONVERT} -delay 10 -loop 0 ${ROTFILES} $@
wiki/snappy_anim_small.gif: wiki/snappy_animated.gif
${CONVERT} -resize 200x200 $< $@
@@ -52,20 +53,18 @@ wiki: renderparts rendering animation
# Dependencies follow.
STLs/cantilever_arm_parts.stl: joiners.scad
STLs/cantilever_joint_parts.stl: joiners.scad
STLs/drive_gear_parts.stl: publicDomainGearV1.1.scad
STLs/extruder_platform_parts.stl: joiners.scad
STLs/lifter_nut_cap_parts.stl: nut_capture.scad
STLs/lifter_nut_parts.stl: acme_screw.scad
STLs/lifter_rod_coupler_parts.stl: joiners.scad
STLs/motor_mount_plate_parts.stl: joiners.scad NEMA.scad
STLs/rail_endcap_parts.stl: joiners.scad
STLs/rail_motor_segment_parts.stl: joiners.scad
STLs/rail_segment_parts.stl: joiners.scad
STLs/sled_endcap_parts.stl: joiners.scad
STLs/sled_parts.stl: joiners.scad publicDomainGearV1.1.scad
STLs/support_leg_parts.stl: joiners.scad
STLs/xy_joiner_parts.stl: joiners.scad
STLs/xy_sled_parts.stl: slider_sled.scad joiners.scad publicDomainGearV1.1.scad
STLs/yz_joiner_parts.stl: joiners.scad
STLs/z_sled_parts.stl: joiners.scad acme_screw.scad lifter_nut_parts.scad nut_capture.scad slider_sled.scad

View File

File diff suppressed because it is too large Load Diff

View File

File diff suppressed because it is too large Load Diff

View File

File diff suppressed because it is too large Load Diff

View File

File diff suppressed because it is too large Load Diff

View File

File diff suppressed because it is too large Load Diff

View File

File diff suppressed because it is too large Load Diff

View File

File diff suppressed because it is too large Load Diff

View File

File diff suppressed because it is too large Load Diff

View File

File diff suppressed because it is too large Load Diff

View File

File diff suppressed because it is too large Load Diff

View File

File diff suppressed because it is too large Load Diff

View File

File diff suppressed because it is too large Load Diff

View File

File diff suppressed because it is too large Load Diff

View File

File diff suppressed because it is too large Load Diff

View File

File diff suppressed because it is too large Load Diff

View File

File diff suppressed because it is too large Load Diff

View File

File diff suppressed because it is too large Load Diff

View File

@@ -3,7 +3,7 @@ snappy_version = 0.91;
// 0 = Thinning Walls (Thin in the middle, thick at edges. Prettier smooth walls.)
// 1 = Corrugated walls. (Zig-zagged walls. Less shrinkage stress. Closed walls.)
// 2 = Crossbeam walls. (Open sparse struts. Far less shrinkage stress.)
// 2 = Crossbeam walls. (Open sparse struts. Far less shrinkage stress. Recommended.)
wall_styling = 2;
@@ -45,6 +45,15 @@ endstop_click_voff = 4; // mm
endstop_screw_size = 3; // mm
endstop_standoff = 2; // mm
hbp_width = 215; // mm
hbp_length = 215; // mm
hbp_hole_width = 208.5; // mm
hbp_hole_length = 208.5; // mm
glass_width = 200; // mm
glass_length = 214; // mm
glass_thick = 3; // mm
// This is the slop needed to make parts fit more exactly, and may be
// printer dependant. Printing a slop calibration plate should help
// dial this setting in for your printer.

View File

@@ -20,8 +20,8 @@ use <yz_joiner_parts.scad>
// Set default camera position.
$vpd = 3500;
$vpt = [0, 0, 160];
$vpd = 700;
$vpt = [0, 0, 255];
$vpr = [65, 0, 120];
@@ -60,6 +60,7 @@ module axis_slider_assembly(slidepos=0)
sled();
}
}
children();
}
}
@@ -69,6 +70,7 @@ module full_assembly(hide_endcaps=false)
joiner_length=15;
xpos = 90*cos(360*$t);
ypos = 90*sin(360*$t);
zpos = 90*cos(240+360*$t);
// Y-axis to Z-axis corner joiner.
yz_joiner();
@@ -83,36 +85,44 @@ module full_assembly(hide_endcaps=false)
}
translate([0, platform_length + rail_length + motor_rail_length/2, 0]) {
// Y-axis rails.
axis_slider_assembly(ypos);
// Y-axis rail endcaps.
if (hide_endcaps == false) {
translate([0, motor_rail_length/2 + rail_length, 0]) {
zrot(180) rail_endcap();
}
}
// X-axis to Y-axis joiners.
translate([0, ypos, platform_vert_off]) {
// Y-axis rails.
axis_slider_assembly(ypos) {
// X-axis to Y-axis joiners.
zrot_copies([0, 180]) {
translate([0, -platform_length, 0]) {
xy_joiner();
}
}
zrot(90) {
// X-axis rails.
axis_slider_assembly(xpos);
// X-axis rail endcaps.
if (hide_endcaps == false) {
zrot_copies([0, 180]) {
translate([0, -(rail_length + motor_rail_length/2), 0]) {
rail_endcap();
}
}
translate([0,xpos,0])
}
// X-axis rails.
axis_slider_assembly(xpos) {
zrot_copies([0, 180]) {
translate([0, -platform_length, platform_vert_off]) {
translate([0, -platform_length, 0]) {
sled_endcap();
}
}
translate([0, 0, glass_thick/2]) {
// Borosilicate Glass
color([0.75, 1.0, 1.0, 0.5]) {
cube(size=[glass_width, glass_length, glass_thick], center=true);
}
}
}
}
}
@@ -120,14 +130,14 @@ module full_assembly(hide_endcaps=false)
translate([0, 0, platform_length + rail_length + motor_rail_length/2]) {
xrot(-90) {
// Z-axis rails.
axis_slider_assembly();
// Z-axis rail endcaps.
if (hide_endcaps == false) {
translate([0, -(motor_rail_length/2 + rail_length+0.1), 0]) {
rail_endcap();
}
}
translate([0, 0, platform_vert_off]) {
// Z-axis rails.
axis_slider_assembly(zpos) {
translate([0, -platform_length, 0]) {
xrot(90) {
// Z-axis platform to extruder cantilever joint.

View File

@@ -102,7 +102,6 @@ module half_joiner2(h=20, w=10, l=10, a=30, screwsize=3, guides=true)
module joiner(h=40, w=10, l=10, a=30, screwsize=3, guides=true, slop=printer_slop)
{
render(convexity=10)
union() {
translate([0,0,h/4])
half_joiner(h=h/2, w=w, l=l, a=a, screwsize=screwsize, guides=guides, slop=slop);

2
wiki

Submodule wiki updated: c7e196a265...742404ccb2