Skip to content

Commit

Permalink
uprava kolecka #265
Browse files Browse the repository at this point in the history
  • Loading branch information
raska-vilem committed Nov 13, 2019
1 parent a6ff2c9 commit b6c3893
Showing 1 changed file with 32 additions and 6 deletions.
38 changes: 32 additions & 6 deletions src/888_2022.scad
Original file line number Diff line number Diff line change
@@ -1,7 +1,30 @@
//========== VIDLICE TVARU H ==========//

include <../parameters.scad>
use <888_2011.scad>
use <888_2012.scad>
use <888_2021.scad>

module wheel_tiere(){
rotate([90, 0, 0]){
rotate_extrude($fn=$preview?30:200)
hull(){
translate([wheel_inner_diameter/2, -wheel_inner_thickness/2+wheel_disc_upper_thickness, 0])
square([4, wheel_inner_thickness-wheel_disc_upper_thickness*2]);
translate([19+wheel_outer_diameter/2 - wheel_inner_thickness, 0, 0])
scale([0.7, 1.3]) circle(wheel_inner_thickness/2, $fn=100);
}
}
}

module wheel() {
wheel_tiere();
//rotate([90, 0, 0]) cylinder(h = 20, d = 110);
translate([0, wheel_inner_thickness/2+4.6, 0]) rotate([90, 0, 0]) 888_2011(true);
translate([0, -wheel_inner_thickness/2-4.6, 0]) rotate([-90, 0, 0]) 888_2011(false);
translate([0, wheel_inner_thickness/2+6.8, 0]) rotate([90, 0, 0]) 888_2012();
translate([0, -wheel_inner_thickness/2-6.8, 0]) rotate([-90, 0, 0]) 888_2012();
}

wheel_screw_diameter = M4_screw_diameter;
wheel_nut_diameter = M4_nut_diameter;
Expand All @@ -18,12 +41,7 @@ connector_width = 25;
wheel_screw_overhang = 8;

front_fork_length = 120;
piston_mount_offset = -15;

module 888_2022(wheel=false) {
translate([0, 0, 0]) {
if(wheel) {
union() {
*union() {
translate([-fork_wheel_width*1/3/2, -front_fork_length, 0])
rotate([0, -90, 0])
cylinder(d2=wheel_diameter-30, d1=wheel_diameter, h=fork_wheel_width*1/3, $fn=50);
Expand All @@ -34,6 +52,14 @@ module 888_2022(wheel=false) {
rotate([0, 90, 0])
cylinder(d=wheel_diameter, h=fork_wheel_width*1/3, center=true, $fn=50);
}
piston_mount_offset = -15;

module 888_2022(set_wheel=false) {
translate([0, 0, 0]) {
if(set_wheel) {
translate([0, -front_fork_length, 0])
rotate([0, 0, 90])
wheel();
}


Expand Down

0 comments on commit b6c3893

Please sign in to comment.