Files
snappy-reprap/config.scad
2017-04-17 18:32:33 -07:00

143 lines
4.4 KiB
OpenSCAD

snappy_version = 1.500;
// 0 = Thinning Walls (Thin in the middle, thick at edges. Prettier smooth solid walls.)
// 1 = Corrugated closed walls. (Zig-zagged solid walls. Less shrinkage stress.)
// 2 = Crossbeam walls. (Open sparse struts. Far less shrinkage stress. Recommended.)
wall_styling = 0;
platform_length = 100.0; // mm. Must be a multiple of rack_tooth_size.
platform_width = 150.0; // mm
platform_height = 40.0; // mm
platform_thick = 5.0; // mm
rail_length = 136.0; // mm Must be a multiple of lifter_screw_pitch
rail_height = 50.0; // mm
rail_thick = 5.0; // mm
motor_rail_length = 128.0; // mm
groove_angle = 30; // degrees
groove_height = 12; // mm
joiner_angle = 30; // degrees
joiner_width = 10; // mm
rack_tooth_size = 5; // mm per tooth.
rack_height = 10; // mm
rack_base = 2; // mm
gear_base = 10; // mm
gear_teeth = 8;
set_screw_size = 3; // mm size of set screw in drive gears, couplers, etc
motor_length = 39.25; // mm length of NEMA17 motor.
motor_shaft_size = 5; // mm diameter of NEMA17 motor shaft.
motor_shaft_length = 20; // mm length of exposed NEMA17 motor shaft.
motor_shaft_flatted = true; // Is motor shaft keyed? (RECOMMENDED)
// Currently configured for 3/8" ACME threaded rod.
lifter_screw_diam = 60.0; // mm
lifter_screw_thick = 12.0; // mm
lifter_screw_pitch = 8.0; // mm lift per revolution
lifter_screw_angle = 50.0; // degrees tooth face angle
// Mechanical endstop bare microswitch.
endstop_hole_spacing = 9.5; // mm
endstop_hole_inset = 8.0; // mm
endstop_hole_hoff = 10.0; // mm
endstop_click_voff = 3.0; // mm
endstop_screw_size = 2.5; // mm
endstop_length = 19.9; // mm
endstop_thick = 6.7; // mm
endstop_depth = 11.0; // mm
// Standard Mk2b Heated Build Platform from RepRapDiscount.com
hbp_width = 215; // mm
hbp_length = 215; // mm
hbp_hole_width = 208.5; // mm
hbp_hole_length = 208.5; // mm
hbp_screwsize = 3; // mm
// Standard 200mm square borosilicate glass build platform
glass_width = 214; // mm
glass_length = 200; // mm
glass_thick = 3; // mm
// Cable chain dimensions
cable_chain_height = 13; // mm
cable_chain_width = 25; // mm
cable_chain_length = 26; // mm
cable_chain_pivot = 6; // mm
cable_chain_bump = 1; // mm
cable_chain_wall = 3; // mm
spool_holder_length = 140.0; // mm
bridge_arch_angle = 10.0; // degrees
jhead_vent_span = 20.0; // mm
jhead_barrel_diam = 16.0; // mm
jhead_shelf_thick = 4.8; // mm
jhead_groove_thick = 4.6; // mm
jhead_groove_diam = 12.0; // mm
jhead_cap_height = 8.2; // mm
jhead_cap_diam = 12.0; // mm
extruder_thick = 5.0; // mm
extruder_shaft_len = 25.0; // mm
extruder_drive_diam = 12.5; // mm
/*
// 626 bearing
extruder_idler_diam = 19.0; // mm
extruder_idler_axle = 6.0; // mm
extruder_idler_width = 6.0; // mm
*/
/*
// SAE bearing 5/8"OD x 1/4"ID x 1/5"W
extruder_idler_diam = 15.9; // mm
extruder_idler_axle = 6.3; // mm
extruder_idler_width = 5.0; // mm
*/
// 686 bearing
extruder_idler_diam = 13.0; // mm
extruder_idler_axle = 6.0; // mm
extruder_idler_width = 5.0; // mm
extruder_fan_size = 40.0; // mm
extruder_fan_thick = 10.0; // mm
cooling_fan_size = 40.0; // mm
cooling_fan_thick = 10.0; // mm
cooling_duct_height = 18.0; // mm
filament_diam = 1.75; // mm
// This is the slop needed to make parts fit more exactly, and might be
// printer dependant. Printing a slop calibration plate should help
// dial this setting in for your printer.
printer_slop = 0.25; // mm
gear_backlash = printer_slop/2;
// Commonly used derived values. Don't change these.
extruder_length = motor_rail_length;
shaft_clear = max(20.0, motor_shaft_length)-20.0;
rail_offset = shaft_clear+12.0;
rail_spacing = platform_width - joiner_width*4 - 10;
rail_width = rail_spacing + joiner_width*2;
motor_mount_spacing=43+joiner_width+10;
side_mount_spacing = motor_rail_length-10*2;
platform_z = rail_height+groove_height+rail_offset;
cantilever_length = (motor_rail_length+2*platform_length-2*rail_height-extruder_length-groove_height)/2;
motor_top_z = platform_z-platform_thick-rack_base-rack_height-gear_base-2;
wall_styles = ["thinwall", "corrugated", "crossbeams"];
wall_style = wall_styles[wall_styling];
// vim: noexpandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap