Re-formating "Non-Plastic Parts" messages from console.
It's easier to be processed in Excel to figure out quantity of each part.pull/9/head
parent
f289364f5a
commit
39505b8f99
|
@ -64,6 +64,9 @@ Exploded_Drawing = false;
|
|||
|
||||
X_rod_sep_real = X_smooth_rods_sep_projected+smooth_rod_margin;
|
||||
|
||||
if(Display_Extra_Parts) //Non-Plastic Parts Header
|
||||
echo("Non-Plastic Parts, Quantity, Part");
|
||||
|
||||
module frame_right(with_extra_parts = false, exploded=false) {
|
||||
if(with_extra_parts)
|
||||
rotate([0,0,90]) scale([-1,1,1]) translate([-85,-23,135]) rotate([-90,0,0]) frame(with_motor = 0, with_extra_parts=with_extra_parts, exploded=exploded);
|
||||
|
@ -143,7 +146,7 @@ module cnc_workbed() {
|
|||
translate([28+X_PCB_BOARD/2,-8-Y_PCB_BOARD/2,-(workbed_thickness)/2])
|
||||
rotate([180,0,180]) PCB_vise_1(with_extra_parts=true, exploded=Exploded_Drawing);
|
||||
// --- PCB Board ---
|
||||
echo("Non-Plastic Parts: Double sided PCB ", X_PCB_BOARD, " x ", Y_PCB_BOARD, " x ", Z_PCB_BOARD);
|
||||
echo("Non-Plastic Parts, 1, Double sided PCB ", X_PCB_BOARD, " x ", Y_PCB_BOARD, " x ", Z_PCB_BOARD);
|
||||
translate([0,0,-(workbed_thickness)/2-15])
|
||||
color([0.72,0.45,0.20]) cube([X_PCB_BOARD,Y_PCB_BOARD,Z_PCB_BOARD],center=true);
|
||||
}
|
||||
|
@ -290,11 +293,11 @@ rotate([0,0,90])cnc_assembled(Y_offset=30,X_offset=-50,Z_offset=10);
|
|||
//rotate([0,0,90]) cnc_base_template(); // So the generated dxf matches inkscape's default orientation
|
||||
// cnc_workbed_template();
|
||||
|
||||
echo("Non-Plastic Parts: 1 x Machine base ", X_Wood_Base, " x ", Y_Wood_Base, " x ", Z_Wood_Base);
|
||||
echo("Non-Plastic Parts: 1 x Work bed ", workbed_X, " x ",workbed_Y, " x ", workbed_thickness);
|
||||
echo("Non-Plastic Parts: 2 x Smooth rod for X axis, M8 x ", X_Final_Smooth_Rod_Length);
|
||||
echo("Non-Plastic Parts: 1 x Threaded rod for X axis, M8 x ", X_Final_Threaded_Rod_Length);
|
||||
echo("Non-Plastic Parts: 2 x Smooth rod for Y axis, M8 x ", Y_Final_Smooth_Rod_Length);
|
||||
echo("Non-Plastic Parts: 1 x Threaded rod for Y axis, M8 x ", Y_Final_Threaded_Rod_Length);
|
||||
echo("Non-Plastic Parts: 2 x Smooth rod for Z axis, M8 x ", Z_Final_Smooth_Rod_Length);
|
||||
echo("Non-Plastic Parts: 1 x Threaded rod for Z axis, M8 x ", Z_Final_Threaded_Rod_Length);
|
||||
echo("Non-Plastic Parts, 1, Machine Base ", X_Wood_Base, " x ", Y_Wood_Base, " x ", Z_Wood_Base);
|
||||
echo("Non-Plastic Parts, 1, Work Bed ", workbed_X, " x ",workbed_Y, " x ", workbed_thickness);
|
||||
echo("Non-Plastic Parts, 2, Smooth Rod for X axis, M8 x ", X_Final_Smooth_Rod_Length);
|
||||
echo("Non-Plastic Parts, 1, Threaded Rod for X axis, M8 x ", X_Final_Threaded_Rod_Length);
|
||||
echo("Non-Plastic Parts, 2, Smooth Rod for Y axis, M8 x ", Y_Final_Smooth_Rod_Length);
|
||||
echo("Non-Plastic Parts, 1, Threaded Rod for Y axis, M8 x ", Y_Final_Threaded_Rod_Length);
|
||||
echo("Non-Plastic Parts, 2, Smooth Rod for Z axis, M8 x ", Z_Final_Smooth_Rod_Length);
|
||||
echo("Non-Plastic Parts, 1, Threaded Rod for Z axis, M8 x ", Z_Final_Threaded_Rod_Length);
|
||||
|
|
|
@ -125,7 +125,7 @@ union() difference() {
|
|||
cyclone_motor_gear_extras(exploded_distance=(exploded?20:0));
|
||||
|
||||
module cyclone_motor_gear_extras(exploded_distance=0) {
|
||||
echo("Non-Plastic Parts: 1 x Grub screw M3 x 8 mm to attach gear to motor shaft");
|
||||
echo("Non-Plastic Parts, 1, Grub Screw M3 x 8 mm to attach gear to motor shaft");
|
||||
translate([0,2.5+8+exploded_distance,12-3.5])
|
||||
rotate([90, 0, 0])
|
||||
color(Steel) cylinder(r=1.5, h=8, $fn=30);
|
||||
|
|
|
@ -104,7 +104,7 @@ difference() {
|
|||
cyclone_rod_gear_extras(exploded_distance=(exploded?12:0));
|
||||
|
||||
module cyclone_rod_gear_extras(exploded_distance=0) {
|
||||
echo("Non-Plastic Parts: 2 x M8 nuts to attach rod_gear on threaded rod");
|
||||
echo("Non-Plastic Parts, 2, Nut M8 to attach rod_gear on threaded rod");
|
||||
translate([0,0,-10/2-0.8*8-1.0*exploded_distance]) color(Steel) flat_nut(8);
|
||||
translate([0,0,nut_separation/2+0.8*8+1.0*exploded_distance]) rotate([180,0,0]) color(Steel) flat_nut(8);
|
||||
}
|
||||
|
|
|
@ -111,7 +111,7 @@ module X_nut_holder_cover(with_extra_parts=false, exploded=false) {
|
|||
module X_nut_holder_cover_extras(exploded_distance=0) {
|
||||
screw_size = 2.2;
|
||||
screw_length = 16;
|
||||
echo("Non-Plastic Parts: 1 x Self tapping screw 2.2 x 16 mm for X_nut_holder_cover");
|
||||
echo("Non-Plastic Parts, 1, Self Tapping Screw 2.2 x 16 mm for X_nut_holder_cover");
|
||||
scale([1,1,-1]) rotate([-90,0,0]) translate([-4,-3/2-0.2-exploded_distance,10]) rotate([-90,0,0]) color(Steel)
|
||||
csk_bolt(screw_size, screw_length);
|
||||
}
|
||||
|
@ -187,7 +187,7 @@ module X_carriage(show_printbed = 0, show_support = 0) {
|
|||
|
||||
module X_carriage_extras(exploded_distance=(exploded?8:0)) {
|
||||
color(Steel) {
|
||||
echo("Non-Plastic Parts: 2 x M8 nut for X_carriage");
|
||||
echo("Non-Plastic Parts, 2, Nut M8 for X_carriage");
|
||||
translate([-X_rod_sep_real/2,-lbearing_holder_length/2+X_axis_nut_support_thickness/2,0])
|
||||
rotate([-90,0,0]) translate([0,0,0.8*8+1.5+exploded_distance])
|
||||
rotate([0,180,15])
|
||||
|
|
|
@ -273,12 +273,12 @@ module Z_carriage(showSpindle=false,top_part=true, with_extra_parts=false, explo
|
|||
|
||||
module Z_carriage_extras(top_part=true, exploded_distance=0) {
|
||||
if(top_part) {
|
||||
echo("Non-Plastic Parts: 1 x Nema 17 for Z axis");
|
||||
echo("Non-Plastic Parts, 1, Nema 17 for Z axis");
|
||||
translate([-motor_width/2,0,1-exploded_distance])
|
||||
rotate([0,180,0])
|
||||
motor(Cyclone_Nema17, NemaLengthLong);
|
||||
|
||||
echo("Non-Plastic Parts: 4 x Bolt M3 x 6 mm for Z motor");
|
||||
echo("Non-Plastic Parts, 4, Bolt M3 x 6 mm for Z motor");
|
||||
for(i=[-1,1]) for(j=[-1,1])
|
||||
translate([-motor_width/2,0,0])
|
||||
translate([i*motor_screw_distance/2,j*motor_screw_distance/2,2.5+exploded_distance*0.7]) {
|
||||
|
@ -289,7 +289,7 @@ module Z_carriage_extras(top_part=true, exploded_distance=0) {
|
|||
rotate([0,0,-90])
|
||||
cyclone_motor_z_gear(with_extra_parts=true, exploded=(exploded_distance!=0));
|
||||
|
||||
echo("Non-Plastic Parts: 1 x 608 bearing for Z motor");
|
||||
echo("Non-Plastic Parts, 1, Bearing 608 for Z motor");
|
||||
translate([0,0,wall_thickness/2])
|
||||
bearing(model=608);
|
||||
|
||||
|
@ -297,7 +297,7 @@ module Z_carriage_extras(top_part=true, exploded_distance=0) {
|
|||
rotate([180,0,11])
|
||||
cyclone_rod_z_gear(with_extra_parts=true, exploded=(exploded_distance!=0));
|
||||
|
||||
echo("Non-Plastic Parts: 2 x Bolt M5 x 55 mm to attach Z_carriage top and bottom");
|
||||
echo("Non-Plastic Parts, 2, Bolt M5 x 55 mm to attach Z_carriage top and bottom");
|
||||
rotate([0,0,-90]) translate([-wall_height/2,-Z_threaded_pos,0])
|
||||
translate([wall_height/2,wall_width-4,0]) color(Steel) {
|
||||
translate([20,8,-0.05-2.5*exploded_distance])
|
||||
|
@ -308,9 +308,9 @@ module Z_carriage_extras(top_part=true, exploded_distance=0) {
|
|||
}
|
||||
else
|
||||
{
|
||||
echo("Non-Plastic Parts: 1 x Spindle");
|
||||
echo("Non-Plastic Parts, 1, Spindle");
|
||||
|
||||
echo("Non-Plastic Parts: 2 x M5 nut to attach Z_carriage top and bottom");
|
||||
echo("Non-Plastic Parts, 2, Nut M5 to attach Z_carriage top and bottom");
|
||||
rotate([0,0,-90]) translate([-wall_height/2,-Z_threaded_pos,0])
|
||||
translate([wall_height/2,wall_width-4,0]) color(Steel) {
|
||||
translate([20,8,-0.8*5-0.5*exploded_distance])
|
||||
|
@ -321,9 +321,9 @@ module Z_carriage_extras(top_part=true, exploded_distance=0) {
|
|||
}
|
||||
|
||||
if(top_part)
|
||||
echo("Non-Plastic Parts: 2 x LM8UU for Z_carriage top part");
|
||||
echo("Non-Plastic Parts, 2, Linear Bearing LM8UU for Z_carriage top part");
|
||||
else
|
||||
echo("Non-Plastic Parts: 2 x LM8UU for Z_carriage bottom part");
|
||||
echo("Non-Plastic Parts, 2, Linear Bearing LM8UU for Z_carriage bottom part");
|
||||
rotate([0,0,-90])
|
||||
translate([-wall_height/2,-Z_threaded_pos,0]) {
|
||||
translate([wall_height/2-Z_smooth_rods_sep/2,Z_threaded_pos,0])
|
||||
|
@ -335,12 +335,12 @@ module Z_carriage_extras(top_part=true, exploded_distance=0) {
|
|||
}
|
||||
|
||||
if(top_part) {
|
||||
echo("Non-Plastic Parts: 1 x M3 x 20 mm for Z_carriage part");
|
||||
echo("Non-Plastic Parts: 1 x M3 nut for Z_carriage top part");
|
||||
echo("Non-Plastic Parts, 1, Bolt M3 x 20 mm for Z_carriage part");
|
||||
echo("Non-Plastic Parts, 1, Nut M3 for Z_carriage top part");
|
||||
}
|
||||
else {
|
||||
echo("Non-Plastic Parts: 1 x M3 x 20 mm for Z_carriage bottom part");
|
||||
echo("Non-Plastic Parts: 1 x M3 nut for Z_carriage bottom part");
|
||||
echo("Non-Plastic Parts, 1, Bolt M3 x 20 mm for Z_carriage bottom part");
|
||||
echo("Non-Plastic Parts, 1, Nut M3 for Z_carriage bottom part");
|
||||
}
|
||||
rotate([0,top_part ? 0:180,-90]) translate([-wall_height/2,0,0])
|
||||
translate([wall_height/2,wall_width+(top_part?-1:-1.5),0]) {
|
||||
|
|
|
@ -119,7 +119,7 @@ rotate([180,0,0]) union() difference() {
|
|||
cyclone_motor_z_gear_extras(exploded_distance = (exploded?24:0));
|
||||
|
||||
module cyclone_motor_z_gear_extras(exploded_distance=0) {
|
||||
echo("Non-Plastic Parts: 1 x Grub screw M3 x 8 mm to attach Z motor gear to motor shaft");
|
||||
echo("Non-Plastic Parts, 1, Grub Screw M3 x 8 mm to attach Z motor gear to motor shaft");
|
||||
translate([0,-2.5-exploded_distance,-(12-3.5)]) rotate([90, 0, 0]) color(Steel) cylinder(r=1.5, h=8, $fn=30);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -103,7 +103,7 @@ difference() {
|
|||
cyclone_rod_z_gear_extras(exploded_distance = (exploded ?8:0));
|
||||
|
||||
module cyclone_rod_z_gear_extras(exploded_distance=false) {
|
||||
echo("Non-Plastic Parts: 2 x M8 nut for rod_gear");
|
||||
echo("Non-Plastic Parts, 2, Nut M8 for rod_gear");
|
||||
translate([0,0,0.8*8+nut_separation/2+exploded_distance]) rotate([180,0,0]) color(Steel) flat_nut(8);
|
||||
translate([0,0,-0.8*8-10/2-exploded_distance]) rotate([0,0,0]) color(Steel) flat_nut(8);
|
||||
}
|
||||
|
|
|
@ -108,12 +108,12 @@ module nut_holder(with_extra_parts=false, exploded=false) {
|
|||
nut_holder_extras(exploded_distance=(exploded?18:0));
|
||||
|
||||
module nut_holder_extras(exploded_distance=0) {
|
||||
echo("Non-Plastic Parts: 1 x M8 nut for Y_nut_holder");
|
||||
echo("Non-Plastic Parts, 1, Nut M8 for Y_nut_holder");
|
||||
translate([base_width-3.7,Y_threaded_rod_dist_from_workbed,0])
|
||||
translate([-0.5+exploded_distance,0,wall_thickness/2-0.8*8/2])
|
||||
color(Steel) flat_nut(8);
|
||||
|
||||
echo("Non-Plastic Parts: 2 x Self tapping screw 3.9 x 13 mm to attach Y_nut_holder to work bed");
|
||||
echo("Non-Plastic Parts, 2, Self Tapping Screw 3.9 x 13 mm to attach Y_nut_holder to work bed");
|
||||
screw_size = 3.9;
|
||||
screw_length = 13;
|
||||
color(Steel) translate([0,wall_height]) rotate([0,0,-90])
|
||||
|
|
|
@ -101,7 +101,7 @@ translate([frame_width-frame_thickness,frame_height,frame_thickness-2])
|
|||
module Y_rod_idler_extras(exploded_distance=0) {
|
||||
screw_size = 2.9;
|
||||
screw_length = 16;
|
||||
echo("Non-Plastic Parts: 2 x Self tapping screw 2.9 x 16 mm for Y_rod_idler");
|
||||
echo("Non-Plastic Parts, 2, Self Tapping Screw 2.9 x 16 mm for Y_rod_idler");
|
||||
rotate([90,0,0]) translate([frame_width/3,Y_rod_support_lenght/2.5,-frame_height+bottom_thickness+.2+exploded_distance])
|
||||
rotate([180,0,0]) color(Steel) {
|
||||
translate([-5,0,0])
|
||||
|
|
|
@ -88,14 +88,14 @@ module lm8uu_bearing_holder(with_extra_parts=false, exploded=false) {
|
|||
lm8uu_bearing_holder_extras(exploded_distance=(exploded?1.3*linearBearing_L("LM8UU"):0));
|
||||
|
||||
module lm8uu_bearing_holder_extras(exploded_distance=0) {
|
||||
echo("Non-Plastic Parts: 1 x LM8UU linear ball bearing for lm8uu_bearing_holder");
|
||||
echo("Non-Plastic Parts, 1, Linear Bearing LM8UU for lm8uu_bearing_holder");
|
||||
rotate([90,0,90]) translate([0,0,LM8UU_dia/2+2]) rotate([90,0,0])
|
||||
translate([0,0,exploded_distance])
|
||||
linearBearing(pos=[0,0,-linearBearing_L("LM8UU")/2], model="LM8UU");
|
||||
|
||||
screw_size = 3.5;
|
||||
screw_length = 13;
|
||||
echo("Non-Plastic Parts: 1 x Self tapping screw 3.5 x 13 mm to attach lm8uu_bearing_holder on work bed");
|
||||
echo("Non-Plastic Parts, 1, Self Tapping Screw 3.5 x 13 mm to attach lm8uu_bearing_holder on work bed");
|
||||
translate([plate_height-3+0.2+0.5*exploded_distance,screw_space_x/2,0]) rotate([0,-90,0])
|
||||
color(Steel) csk_bolt(screw_size, screw_length);
|
||||
}
|
||||
|
|
|
@ -111,7 +111,7 @@ module motor_stand_no_base_extras(with_motor=false, exploded_distance=0) {
|
|||
rotate([0,180,0])
|
||||
translate([0,0,-1+exploded_distance])
|
||||
motor(Cyclone_Nema17, NemaLengthLong);
|
||||
echo("Non-Plastic Parts: 1 x Nema 17 motor");
|
||||
echo("Non-Plastic Parts, 1, Nema 17 for Y axis");
|
||||
|
||||
// --- Motor Gear ---
|
||||
translate([0,0,12+5.5+exploded_distance])
|
||||
|
@ -121,7 +121,7 @@ module motor_stand_no_base_extras(with_motor=false, exploded_distance=0) {
|
|||
|
||||
translate([motor_width/2,motor_width/2,wall_thickness/2]) {
|
||||
rotate([0,0,15]) translate([0,axis_distance,2.5-wall_thickness/2]) {
|
||||
echo("Non-Plastic Parts: 1 x 608 bearing for motor stand");
|
||||
echo("Non-Plastic Parts, 1, Bearing 608 for motor stand");
|
||||
translate([0,0,0.5*exploded_distance])
|
||||
bearing(model=608);
|
||||
|
||||
|
@ -132,7 +132,7 @@ module motor_stand_no_base_extras(with_motor=false, exploded_distance=0) {
|
|||
}
|
||||
}
|
||||
|
||||
echo("Non-Plastic Parts: 4 x M3 x 6mm bolts to attach motor on motor_stand");
|
||||
echo("Non-Plastic Parts, 4, Bolt M3 x 6 mm to attach motor on motor_stand");
|
||||
for(i=[-1,1]) for(j=[-1,1])
|
||||
translate([motor_width/2,motor_width/2,wall_thickness/2])
|
||||
translate([i*motor_screw_distance/2,j*motor_screw_distance/2,2.5-wall_thickness/2+exploded_distance*0.7]) {
|
||||
|
@ -143,13 +143,13 @@ module motor_stand_no_base_extras(with_motor=false, exploded_distance=0) {
|
|||
if(!with_motor) {
|
||||
translate([motor_width/2,motor_width/2,wall_thickness/2])
|
||||
rotate([0,0,15]) translate([0,axis_distance,2.5-wall_thickness/2]) color(Steel) {
|
||||
echo("Non-Plastic Parts: 1 x 608 bearing for idle stand");
|
||||
echo("Non-Plastic Parts, 1, Bearing 608 for idle stand");
|
||||
translate([0,0,0.3*exploded_distance]) bearing(model=608);
|
||||
|
||||
echo("Non-Plastic Parts: 1 x M8 washer for idle stand");
|
||||
echo("Non-Plastic Parts, 1, Washer M8 for idle stand");
|
||||
translate([0,0,7+0.6*exploded_distance]) washer(8);
|
||||
|
||||
echo("Non-Plastic Parts: 1 x M8 nut to attach threaded rod on idle stand");
|
||||
echo("Non-Plastic Parts, 1, Nut M8 to attach threaded rod on idle stand");
|
||||
translate([0,0,6.4+7+0.8+0.9*exploded_distance]) rotate([0,180,0]) flat_nut(8);
|
||||
}
|
||||
}
|
||||
|
@ -245,7 +245,7 @@ module idle_stand(with_extra_parts=false, exploded=false) {
|
|||
module idle_stand_extras(exploded_distance=0) {
|
||||
screw_size = 2.9;
|
||||
screw_length = 16;
|
||||
echo("Non-Plastic Parts: 2 x Self tapping screw 2.9 x 16 mm for motor_stand");
|
||||
echo("Non-Plastic Parts, 2, Self Tapping Screw 2.9 x 16 mm for motor_stand");
|
||||
translate([wall_height,base_width/2+2.5,base_length/1.5]) color(Steel)
|
||||
rotate([0,90,0]) {
|
||||
translate([-5,0,-bottom_thickness-.2-exploded_distance])
|
||||
|
|
|
@ -34,23 +34,23 @@ difference() {
|
|||
}
|
||||
|
||||
module end_stop_holder_extras(exploded_distance=0) {
|
||||
echo("Non-Plastic Parts: 6 x M3 washer to attach micro switch on end_stop_holder");
|
||||
echo("Non-Plastic Parts, 6, Washer M3 to attach micro switch on end_stop_holder");
|
||||
for(i = [0:2] ) {
|
||||
translate([4+i*0.3+(i+1)*0.2*exploded_distance, 28, 5]) rotate([0, 90, 0]) color(Steel) washer(3);
|
||||
translate([4+i*0.3+(i+1)*0.2*exploded_distance, 38, 5]) rotate([0, 90, 0]) color(Steel) washer(3);
|
||||
}
|
||||
|
||||
echo("Non-Plastic Parts: 1 x Micro switch on end_stop_holder");
|
||||
echo("Non-Plastic Parts, 1, Micro Switch on end_stop_holder");
|
||||
translate([4+3*0.3+exploded_distance, 28-5.15+(10-9.5)/2, 5-2])
|
||||
rotate([90,0,90])
|
||||
micro_switch(with_extra_parts=true, exploded=(exploded_distance!=0));
|
||||
|
||||
echo("Non-Plastic Parts: 1 x M3 x 18 mm bolt to attach end_stop_holder on smooth rod");
|
||||
echo("Non-Plastic Parts, 1, Bolt M3 x 18 mm to attach end_stop_holder on smooth rod");
|
||||
translate([-3*exploded_distance,6,5])
|
||||
rotate([0,90,0])
|
||||
color(Steel) boltHole(size=3, length=18);
|
||||
|
||||
echo("Non-Plastic Parts: 1 x M3 nut to attach end_stop_holder on smooth rod");
|
||||
echo("Non-Plastic Parts, 1, Nut M3 to attach end_stop_holder on smooth rod");
|
||||
translate([17+0.9*3/2+exploded_distance,6,5])
|
||||
rotate([0,-90,0])
|
||||
rotate([0,0,30]) color(Steel) flat_nut(3);
|
||||
|
|
|
@ -16,9 +16,9 @@ module PCB_vise_1_Part1(with_extra_parts=false, exploded=false) {
|
|||
PCB_vise_1_Part1_extras(exploded_distance=(exploded?5:0));
|
||||
|
||||
module PCB_vise_1_Part1_extras(exploded_distance=0) {
|
||||
echo("Non-Plastic Parts: 2 x Large washer M5 for PCB_vise_1_Part1");
|
||||
echo("Non-Plastic Parts: 2 x Self tapping screw 4.8 x 19 mm for PCB_vise_1_Part1");
|
||||
echo("Non-Plastic Parts: 5 x M3 nut for PCB_vise_1_Part1");
|
||||
echo("Non-Plastic Parts, 2, Large Washer M5 for PCB_vise_1_Part1");
|
||||
echo("Non-Plastic Parts, 2, Self Tapping Screw 4.8 x 19 mm for PCB_vise_1_Part1");
|
||||
echo("Non-Plastic Parts, 5, Nut M3 for PCB_vise_1_Part1");
|
||||
color(Steel) {
|
||||
translate([10,20,8.0+exploded_distance]) {
|
||||
large_washer(5);
|
||||
|
|
|
@ -13,7 +13,7 @@ module PCB_vise_1_Part2(with_extra_parts=false, exploded=false) {
|
|||
PCB_vise_1_Part2_extras(exploded_distance=(exploded?5:0));
|
||||
|
||||
module PCB_vise_1_Part2_extras(exploded_distance=0) {
|
||||
echo("Non-Plastic Parts: 5 x Bolt M3 x 16 mm for PCB_vise_1_Part2");
|
||||
echo("Non-Plastic Parts, 5, Bolt M3 x 16 mm for PCB_vise_1_Part2");
|
||||
color(Steel) {
|
||||
translate([4,14,2.5+4*exploded_distance])
|
||||
rotate([180,0,0]) boltHole(size=3, length=16);
|
||||
|
|
|
@ -24,7 +24,7 @@ module micro_switch(with_extra_parts=false, exploded=false) {
|
|||
module micro_switch_extras(exploded_distance=0) {
|
||||
screw_size = 2.2;
|
||||
screw_length = 13;
|
||||
echo("Non-Plastic Parts: 2 x Self tapping screw 2.2 x 13 mm for micro switch");
|
||||
echo("Non-Plastic Parts, 2, Self Tapping Screw 2.2 x 13 mm for micro switch");
|
||||
translate([5.15, 2, 0]) color(Steel) {
|
||||
translate([0, 0, 0.5+6.4+exploded_distance])
|
||||
rotate([180,0,0]) csk_bolt(screw_size, screw_length);
|
||||
|
|
|
@ -256,7 +256,7 @@ module frame_extras(with_motor=1, exploded_distance=0) {
|
|||
translate([X_threaded_rod_posX,X_threaded_rod_posY,0]) {
|
||||
rotate([0,0,-motor_axis_angle]) translate([motor_axis_distance,0,0]) rotate([0,0,90+motor_axis_angle]) {
|
||||
translate([0,0,wall_thickness-1]) {
|
||||
echo("Non-Plastic Parts: 1 x Nema 17 on motor frame");
|
||||
echo("Non-Plastic Parts, 1, Nema 17 for X axis");
|
||||
translate([0,0,exploded_distance]) motor(Cyclone_Nema17, NemaLengthLong);
|
||||
|
||||
// --- Motor gear ---
|
||||
|
@ -264,7 +264,7 @@ module frame_extras(with_motor=1, exploded_distance=0) {
|
|||
cyclone_motor_gear(with_extra_parts=true, exploded=(exploded_distance!=0));
|
||||
}
|
||||
|
||||
echo("Non-Plastic Parts: 4 x Bolts M3 x 8 mm to attach motor on frame");
|
||||
echo("Non-Plastic Parts, 4, Bolt M3 x 8 mm to attach motor on frame");
|
||||
for(i=[-1,1]) for(j=[-1,1])
|
||||
translate([i*motor_screw_distance/2,j*motor_screw_distance/2,0])
|
||||
translate([0,0,-0.4*exploded_distance]) {
|
||||
|
@ -275,7 +275,7 @@ module frame_extras(with_motor=1, exploded_distance=0) {
|
|||
|
||||
translate([X_threaded_rod_posX,X_threaded_rod_posY,0]) {
|
||||
rotate([0,0,0]) {
|
||||
echo("Non-Plastic Parts: 1 x 608 bearing for motor frame");
|
||||
echo("Non-Plastic Parts, 1, Bearing 608 for motor frame");
|
||||
translate([0,0,-1.0-7/2-0.2*exploded_distance]) bearing(model=608);
|
||||
|
||||
// --- Rod Gear ---
|
||||
|
@ -288,7 +288,7 @@ module frame_extras(with_motor=1, exploded_distance=0) {
|
|||
|
||||
screw_size = 2.9;
|
||||
screw_length = 16;
|
||||
echo("Non-Plastic Parts: 3 x Self tapping screw 2.9 x 16 mm to attach frame on base");
|
||||
echo("Non-Plastic Parts, 3, Self Tapping Screw 2.9 x 16 mm to attach frame on base");
|
||||
rotate([90,0,0]) translate([frame_width/2,frame_thickness/2,-frame_height+frame_thickness/2+.2+exploded_distance]) color(Steel) {
|
||||
translate([-base_screw_distance,0,0]) rotate([180,0,0])
|
||||
csk_bolt(screw_size, screw_length);
|
||||
|
@ -315,7 +315,7 @@ module frame_extras(with_motor=1, exploded_distance=0) {
|
|||
|
||||
// this seems to reduce working area of Y axis
|
||||
if(false) {
|
||||
echo("Non-Plastic Parts: 1 x Micro switch on Y smooth rod for Y axis");
|
||||
echo("Non-Plastic Parts, 1, Micro Switch on Y smooth rod for Y axis");
|
||||
translate([frame_width-frame_thickness/2,frame_height,frame_thickness-2])
|
||||
translate([0,-Y_rod_height+smooth_rod_margin,0])
|
||||
translate([0,-smooth_rod_margin,Y_rod_dist_from_wall])
|
||||
|
@ -325,7 +325,7 @@ module frame_extras(with_motor=1, exploded_distance=0) {
|
|||
|
||||
// this seems to reduce working area of X axis
|
||||
if(false) {
|
||||
echo("Non-Plastic Parts: 1 x Micro switch on X smooth rod for X axis");
|
||||
echo("Non-Plastic Parts, 1, Micro Switch on X smooth rod for X axis");
|
||||
translate([X_smooth_rods_sep_projected,-smooth_rod_margin,0])
|
||||
translate([15+0.5*exploded_distance, -8, frame_thickness])
|
||||
rotate([180,180,-90])
|
||||
|
@ -334,7 +334,7 @@ module frame_extras(with_motor=1, exploded_distance=0) {
|
|||
|
||||
// this seems to reduce working area of X axis
|
||||
if(false) {
|
||||
echo("Non-Plastic Parts: 1 x Micro switch on motor frame for X axis");
|
||||
echo("Non-Plastic Parts, 1, Micro Switch on motor frame for X axis");
|
||||
rotate([90, 0, -45])
|
||||
translate([X_rods_corner_shaft_size/2-19.8,0,-X_rods_corner_shaft_size/2+0.5*exploded_distance])
|
||||
micro_switch(with_extra_parts=true, exploded=(exploded_distance!=0));
|
||||
|
@ -344,21 +344,21 @@ module frame_extras(with_motor=1, exploded_distance=0) {
|
|||
if(!with_motor) {
|
||||
translate([X_threaded_rod_posX,X_threaded_rod_posY,0]) {
|
||||
rotate([0,0,0]) {
|
||||
echo("Non-Plastic Parts: 1 x 608 bearing for no motor frame");
|
||||
echo("Non-Plastic Parts, 1, Bearing 608 for no motor frame");
|
||||
translate([0,0,-1.0-7/2-0.2*exploded_distance]) bearing(model=608);
|
||||
|
||||
echo("Non-Plastic Parts: 1 x M8 nut to attach threaded rod on no motor frame");
|
||||
echo("Non-Plastic Parts, 1, Nut M8 to attach threaded rod on no motor frame");
|
||||
translate([0,0,-6.5-1.0-7/2-0.6*exploded_distance]) rotate([0,0,0]) color(Steel) flat_nut(8);
|
||||
}
|
||||
}
|
||||
|
||||
echo("Non-Plastic Parts: 1 x Micro switch on no motor frame for X axis");
|
||||
echo("Non-Plastic Parts, 1, Micro Switch on no motor frame for X axis");
|
||||
rotate([90, 0, -45])
|
||||
translate([X_rods_corner_shaft_size/2-19.8,0,-X_rods_corner_shaft_size/2+0.5*exploded_distance])
|
||||
micro_switch(with_extra_parts=true, exploded=(exploded_distance!=0));
|
||||
|
||||
if(true) {
|
||||
echo("Non-Plastic Parts: 1 x Micro switch on Y smooth rod for Y axis");
|
||||
echo("Non-Plastic Parts, 1, Micro Switch on Y smooth rod for Y axis");
|
||||
translate([frame_width-frame_thickness/2,frame_height,frame_thickness-2])
|
||||
translate([0,-Y_rod_height+smooth_rod_margin,0])
|
||||
translate([0,-smooth_rod_margin,Y_rod_dist_from_wall])
|
||||
|
@ -368,7 +368,7 @@ module frame_extras(with_motor=1, exploded_distance=0) {
|
|||
|
||||
// this seems to reduce working area of Y axis
|
||||
if(false) {
|
||||
echo("Non-Plastic Parts: 1 x Micro switch on no motor frame for Y axis");
|
||||
echo("Non-Plastic Parts, 1, Micro Switch on no motor frame for Y axis");
|
||||
translate([frame_width-frame_thickness/2+10.8/2-0.5,frame_height-19.8-2,frame_thickness])
|
||||
translate([0,-Y_rod_height+smooth_rod_margin,0])
|
||||
translate([0,-smooth_rod_margin-8.5-0.5*exploded_distance,0])
|
||||
|
|
|
@ -49,7 +49,7 @@ translate([0,0,part_z/2]) difference() {
|
|||
module smooth_rod_fix_extras(exploded_distance=0) {
|
||||
screw_size = 2.9;
|
||||
screw_length = 16;
|
||||
echo("Non-Plastic Parts: 2 x Self tapping screw 2.9 x 16 mm for smooth_rod_fix");
|
||||
echo("Non-Plastic Parts, 2, Self Tapping Screw 2.9 x 16 mm for smooth_rod_fix");
|
||||
color(Steel) {
|
||||
translate([0,0,-.2-exploded_distance]) {
|
||||
translate([-smooth_rod_screw_sep,0,0])
|
||||
|
|
Loading…
Reference in New Issue