Results 1 to 10 of 30
Threaded View
-
12-17-2014, 08:35 AM #17
If you load this into Open_Scad, it approximates the shape you are looking for... In order to actually use it, you would need to add more points to better define the shape. The red circles are there so you can see how the cut_out() is formed and to make it easier to play with. Adding the # symbols to the side_profile() module might be helpful to get its shape closer to what you want.
After the side profile is defined, a large block of that shape is made at [10,0,0].
Code:side_profile(); difference() { translate([10,0,0]) hull() { side_profile(); translate([0,0,5]) side_profile(); } translate([10,0,0]) hull() { translate([0,0,-.1]) cut_out(); translate([0,0,5.1]) cut_out(); } } module side_profile() { difference() { main_body(); cut_out(); } } module main_body() { hull() { translate([0,1,0]) cylinder(r=1, h=.1, $fn=30); translate([1,0,0]) cylinder(r=.25, h=.1, $fn=30); translate([2,.5,0]) cylinder(r=.5, h=.1, $fn=30); translate([3,1.5,0]) cylinder(r=.5, h=.1, $fn=30); translate([3.25,2.5,0]) cylinder(r=.5, h=.1, $fn=30); translate([3.5,3.5,0]) cylinder(r=.25, h=.1, $fn=30); translate([3.0,4.25,0]) cylinder(r=.5, h=.1, $fn=30); translate([1.75,4.7,0]) cylinder(r=.5, h=.1, $fn=30); translate([1.5,4.5,0]) cylinder(r=.25, h=.1, $fn=30); } } module cut_out() { hull() { # translate([-1,2.75,-0.01]) cylinder(r=.5, h=.2, $fn=30); # translate([1.,2.15,-0.01]) cylinder(r=.35, h=.2, $fn=30); # translate([1,3,-0.01]) cylinder(r=.25, h=.2, $fn=30); # translate([.75,4.25,-0.01]) cylinder(r=.25, h=.2, $fn=30); } }
Last edited by Roxy; 12-17-2014 at 09:05 AM.
New to 3d printing looking for...
05-20-2024, 12:56 AM in Tips, Tricks and Tech Help