Why are equilateral triangles so difficult? June 11, 2015 04:09AM |
Registered: 9 years ago Posts: 5,232 |
Re: Why are equilateral triangles so difficult? June 11, 2015 04:17AM |
Registered: 15 years ago Posts: 3,742 |
Re: Why are equilateral triangles so difficult? June 11, 2015 04:30AM |
Registered: 9 years ago Posts: 5,232 |
Re: Why are equilateral triangles so difficult? June 11, 2015 05:51AM |
Registered: 15 years ago Posts: 3,742 |
the radius of a circle r that touches the walls of a triangle
inscribed in a circle with a radius of R is simply
r = R/2
where;
r = the radius of the hole
R = the radius of the circle that contains the points of the triangle
d = 20; //Diameter of circle in which Triangle is inscribed tH = 20; //Height of the Triangle wT = 2; //Wall Thickness difference() { cylinder(r=d/2, h=tH, center=true, $fn=3); cylinder(r=d/4-wT, h=tH+1, center=true, $fn=100); }
Re: Why are equilateral triangles so difficult? June 11, 2015 06:02AM |
Registered: 15 years ago Posts: 3,742 |
hD = 10; // Diameter of Hole tH = 20; // Height of the Triangle wT = 2; // Wall Thickness difference() { cylinder(r=hD+2*wT, h=tH, center=true, $fn=3); cylinder(r=hD/2, h=tH+1, center=true, $fn=100); }
Re: Why are equilateral triangles so difficult? June 11, 2015 11:21AM |
Registered: 9 years ago Posts: 5,232 |
Re: Why are equilateral triangles so difficult? June 11, 2015 11:31AM |
Registered: 15 years ago Posts: 3,742 |
Re: Why are equilateral triangles so difficult? June 11, 2015 11:57AM |
Registered: 11 years ago Posts: 2,472 |
Re: Why are equilateral triangles so difficult? June 11, 2015 01:35PM |
Registered: 9 years ago Posts: 5,232 |
Re: Why are equilateral triangles so difficult? June 12, 2015 09:58AM |
Registered: 11 years ago Posts: 2,472 |
Quote
o_lampe
I wish, there would be a global openSCAD repository and a sticky-post in this subforum with the link.
Two beer granted, when you are near Kassel next time
-Olaf
Re: Why are equilateral triangles so difficult? June 12, 2015 07:52PM |
Registered: 12 years ago Posts: 369 |
Re: Why are equilateral triangles so difficult? June 15, 2015 05:47AM |
Registered: 9 years ago Posts: 5,232 |
Re: Why are equilateral triangles so difficult? June 15, 2015 10:31AM |
Registered: 11 years ago Posts: 2,472 |
Quote
o_lampe
That´s what happens, when I get the right tips from the right People
A parametric freewheel assembly that needs only 4 parameters to render.
1. shaft diameter
2. wall thickness
3. height
4. number of notches in the outer rim
It´s not finally tweaked. Some values cause nonfunctional results, but I´m working on it.
Thanks again
-Olaf
Re: Why are equilateral triangles so difficult? June 15, 2015 12:23PM |
Registered: 9 years ago Posts: 5,232 |
Re: Why are equilateral triangles so difficult? June 16, 2015 07:47AM |
Registered: 11 years ago Posts: 2,472 |
Quote
o_lampe
For me, the freewheel is just a stepstone in a much greater project.
Ofcourse, I could buy a freewheel. But for demonstration only, I think, I can use a selfmade ratchet. ( The noise even helps people understand what´s going on in my project)
-Olaf
Re: Why are equilateral triangles so difficult? June 16, 2015 11:58AM |
Registered: 9 years ago Posts: 5,232 |
Re: Why are equilateral triangles so difficult? August 21, 2015 09:40PM |
Registered: 11 years ago Posts: 814 |
Re: Why are equilateral triangles so difficult? August 24, 2015 05:54AM |
Registered: 10 years ago Posts: 189 |
/* isogonal.scad + /|\ /o| \ r / |y \ / | \ +----+----+ | x | |<-- l -->| */ module isogonal(length, number) { angle = 360 / number; theta = angle / 2; x = length / 2; r = x / sin(theta); y = r * cos(theta); // hull() is better than for() and scale() method. hull() { for (i = [0 : number-1]) { rotate([0, 0, angle*i]) translate([0, -y, 0]) square([length, 1], center=true); } } } module demo() { linear_extrude(height = 40, twist = -180, scale = 1/2, center = true, slices = 200) isogonal(20, 3); translate([0, 30, 0]) linear_extrude(height = 40, twist = -180, scale = 2/3, center = true, slices = 200) isogonal(20, 4); translate([30, 30, 0]) linear_extrude(height = 40, twist = 270, scale = 1/2, center = true, slices = 200) hollow_hexagon(); } module hollow_hexagon() { difference() { isogonal(20, 3); isogonal(17, 3); } }