Thingiverse
Customizable Lego Ring
von howardmg
210
Downloads
200
Likes
1
Makes
Geekhaus Link: https://geekhaus.com/isci104_spring2019/2019/04/11/hannah-and-graces-openscad-project/
Customizable Lego Ring
To customize: change the parameters:
outer_size with the range of (9-12)
outer_thickness with the range of (1-5)
block_width with the range of (1-4)
block_length with the range of (1-4)
Code:
//Ring module
$fn=50;
// customisable ring size
outer_size = 10;
outer_thickness= 4;
size = 8;
thickness = 5;
//customisable lego dimensions
//Code Credit// Christopher Finke @cfinke on GitHub
block_width = 2;
block_length = 2;
difference (){
cylinder(r=outer_size, h=outer_thickness, center=true);
cylinder(r=size, h=thickness, center=true);
}
translate([10,0,0])
rotate([0,-90,0])
cylinder(h=2, r1=4, r2=1, center=true);
// Height of the block. A ratio of "1" is a standard LEGO brick height; a ratio of "1/3" is a standard LEGO plate height; "1/2" is a standard DUPLO plate.
block_height_ratio = .1; // [.33333333333:1/3, .5:1/2, 1:1, 2
Customizable Lego Ring
To customize: change the parameters:
outer_size with the range of (9-12)
outer_thickness with the range of (1-5)
block_width with the range of (1-4)
block_length with the range of (1-4)
Code:
//Ring module
$fn=50;
// customisable ring size
outer_size = 10;
outer_thickness= 4;
size = 8;
thickness = 5;
//customisable lego dimensions
//Code Credit// Christopher Finke @cfinke on GitHub
block_width = 2;
block_length = 2;
difference (){
cylinder(r=outer_size, h=outer_thickness, center=true);
cylinder(r=size, h=thickness, center=true);
}
translate([10,0,0])
rotate([0,-90,0])
cylinder(h=2, r1=4, r2=1, center=true);
// Height of the block. A ratio of "1" is a standard LEGO brick height; a ratio of "1/3" is a standard LEGO plate height; "1/2" is a standard DUPLO plate.
block_height_ratio = .1; // [.33333333333:1/3, .5:1/2, 1:1, 2
Hast du dieses Modell gedruckt? Einloggen und dein Make teilen!
Melde dich an, um einen Kommentar zu hinterlassen
AnmeldenNoch keine Kommentare – sei der Erste!