Resync
This commit is contained in:
parent
eb9173adc9
commit
4eb8284771
3 changed files with 105 additions and 94 deletions
|
|
@ -3,13 +3,18 @@ $fn=50;
|
|||
|
||||
//konstrukt_beam_base_L(4,3);
|
||||
|
||||
//konstrukt_beam_p(konstrukt_beam_arc(3,3,180));
|
||||
konstrukt_beam(konstrukt_beam_rect(15,3));
|
||||
//konstrukt_beam_p(konstrukt_beam_circle(6,3));
|
||||
|
||||
//konstrukt_beam_p([[25,0]]);
|
||||
|
||||
|
||||
function konstrukt_beam_rect(len1=4,len2=3)=[[len1,90],[len2,90],[len1,90],[len2,90]];
|
||||
function konstrukt_beam_L(len1=4,len2=3)=[[len1,90],[len2,0]];
|
||||
function konstrukt_beam_arc(segments=3,length=2,angle=90) = [ for (i= [1:1:segments]) [length,angle/(segments) ]];
|
||||
|
||||
function konstrukt_beam_arc2(segments=3,length=2,angle=90) = [ for (i= [1:1:segments]) [length,angle]];
|
||||
|
||||
function konstrukt_beam_circle(segments=3,length=2) = [ for (i= [1:1:segments]) [length,360/segments] ];
|
||||
|
||||
module konstrukt_beam_p(components=[[5,0]],height=KB_BEAM_HEIGHT) {
|
||||
|
|
@ -80,10 +85,10 @@ function konstrukt_beam_move_holes(len)=[(len-1)*KB_HOLE_SPACING,0];
|
|||
**/
|
||||
module konstrukt_beam_hole(h=KB_BEAM_HEIGHT) {
|
||||
union() {
|
||||
cylinder(d=KB_HOLE_RING_DIAMETER, h=KB_HOLE_RING_DEPTH);
|
||||
translate([0,0,-0.5]) cylinder(d=KB_HOLE_RING_DIAMETER, h=KB_HOLE_RING_DEPTH+0.5);
|
||||
cylinder(d=KB_HOLE_INSIDE_DIAMETER, h=h );
|
||||
translate([0,0,h-KB_HOLE_RING_DEPTH])
|
||||
cylinder(d=KB_HOLE_RING_DIAMETER, h=KB_HOLE_RING_DEPTH);
|
||||
cylinder(d=KB_HOLE_RING_DIAMETER, h=KB_HOLE_RING_DEPTH+0.5);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
3
konstrukt-beams.json
Normal file
3
konstrukt-beams.json
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"fileFormatVersion": "1"
|
||||
}
|
||||
3
konstrukt-beams.scad
Normal file
3
konstrukt-beams.scad
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
include <./konstrukt-beam.scad>;
|
||||
|
||||
konstrukt_beam_p(konstrukt_beam_arc(3,3,180));
|
||||
Loading…
Add table
Add a link
Reference in a new issue