Commit 5cda22a3 authored by Torbjørn Ludvigsen's avatar Torbjørn Ludvigsen 👷

Moves all parameters into parameters.scad

parent b9d0e3b2
include <parameters.scad>
include <lineroller_parameters.scad>
use <util.scad>
bit_width = 12;
......
Circular_pitch = 262;
Motor_teeth = 10;
Gear_height = 21.4-3;
Motor_pitch = (Motor_teeth*Circular_pitch/360);
Motor_pitch_diametrial = Motor_teeth/(2*Motor_pitch);
Motor_outer_radius = Motor_pitch + 1/Motor_pitch_diametrial;
Spool_teeth = 100;
Spool_r = 55;
Spool_height = 8;
Spool_pitch = (Spool_teeth*Circular_pitch/360);
Spool_pitch_diametrial = Spool_teeth/(2*Spool_pitch);
Spool_outer_radius = Spool_pitch + 1/Spool_pitch_diametrial;
Torx_depth = 5;
Motor_bracket_depth = Gear_height+1+7+Nema17_ring_height+1+Gap_between_sandwich_and_plate;
Spool_core_flerp0 = 16+3;
include <parameters.scad>
include <gear_parameters.scad>
use <util.scad>
//spool_center();
......
include <parameters.scad>
include <gear_parameters.scad>
use <motor_bracket.scad>
use <motor_bracket_2d.scad>
use <motor_gear.scad>
......
include <parameters.scad>
include <lineroller_parameters.scad>
use <util.scad>
//screws_space();
......
include <parameters.scad>
include <lineroller_parameters.scad>
use <util.scad>
use <lineroller_ABC_winch.scad>
......
include <parameters.scad>
include <lineroller_parameters.scad>
use <util.scad>
use <lineroller_ABC_winch.scad>
use <lineroller_anchor.scad>
......
include <gear_parameters.scad>
Bearing_width = 4;
Bearing_r = 12/2;
Bearing_small_r = 10/2;
Bearing_bore_r = 3/2;
Lineroller_wall_th = 2.3;
// The height that lineroller_ABC_winch will have if we include the bearing
Tower_h = Gap_between_sandwich_and_plate+Gear_height + Spool_height/2 + Bearing_small_r + Bearing_r;
Bearing_wall = 1;
Depth_of_lineroller_tower = Bearing_width + 2*Wall_th; // 9
Depth_of_lineroller_base = Depth_of_lineroller_tower + 9; // 18
Ptfe_r = 2.1;
Lineroller_base_r = Depth_of_lineroller_base/2-1*(Ptfe_r+2);
Screw_h = 2;
Screw_head_h = 2;
include <parameters.scad>
include <gear_parameters.scad>
use <util.scad>
motor_bracket();
......
include <parameters.scad>
include <gear_parameters.scad>
use <util.scad>
motor_bracket_2d();
......
include <parameters.scad>
include <gear_parameters.scad>
use <util.scad>
use <gears.scad>
......
......@@ -50,3 +50,40 @@ Sidelength = Beam_length + 2*Cc_plastic_length;
Ext_sidelength = Sidelength+77;
Additional_added_plate_side_length = 10;
Yshift_top_plate = -25;
/////// Gear parameters ////////////
Circular_pitch = 262;
Motor_teeth = 10;
Gear_height = 21.4-3;
Motor_pitch = (Motor_teeth*Circular_pitch/360);
Motor_pitch_diametrial = Motor_teeth/(2*Motor_pitch);
Motor_outer_radius = Motor_pitch + 1/Motor_pitch_diametrial;
Spool_teeth = 100;
Spool_r = 55;
Spool_height = 8;
Spool_pitch = (Spool_teeth*Circular_pitch/360);
Spool_pitch_diametrial = Spool_teeth/(2*Spool_pitch);
Spool_outer_radius = Spool_pitch + 1/Spool_pitch_diametrial;
Torx_depth = 5;
Motor_bracket_depth = Gear_height+1+7+Nema17_ring_height+1+Gap_between_sandwich_and_plate;
Spool_core_flerp0 = 16+3;
/////// Lineroller parameters ////////////
Bearing_width = 4;
Bearing_r = 12/2;
Bearing_small_r = 10/2;
Bearing_bore_r = 3/2;
Lineroller_wall_th = 2.3;
// The height that lineroller_ABC_winch will have if we include the bearing
Tower_h = Gap_between_sandwich_and_plate+Gear_height + Spool_height/2 + Bearing_small_r + Bearing_r;
Bearing_wall = 1;
Depth_of_lineroller_tower = Bearing_width + 2*Wall_th; // 9
Depth_of_lineroller_base = Depth_of_lineroller_tower + 9; // 18
Ptfe_r = 2.1;
Lineroller_base_r = Depth_of_lineroller_base/2-1*(Ptfe_r+2);
Screw_h = 2;
Screw_head_h = 2;
include <parameters.scad>
include <gear_parameters.scad>
sandwich_height = Spool_height+0.7+Gear_height;
......
include <parameters.scad>
include <gear_parameters.scad>
use <util.scad>
use <gear_util.scad>
use <gears.scad>
......
include <parameters.scad>
include <gear_parameters.scad>
include <lineroller_parameters.scad>
use <util.scad>
use <gear_util.scad>
use <gears.scad>
......
include <parameters.scad>
include <gear_parameters.scad>
include <lineroller_parameters.scad>
use <util.scad>
use <gear_util.scad>
use <gears.scad>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment