If the result you intend 3d printing by means of fdm, then the following
method will most likely be good enough, and needs no other libraries.
Obviously alter the values to suit your object. Rendering is pretty
slow, but I expect that could be speeded up. If it is a one off print
for your own use, then it is 'legal' to use sandpaper or files
$fn=20;
module shape() // cross section
{
translate([17,0,0])
rotate([90,0,0])
linear_extrude(0.5){
difference(){
square([6,15]);
translate([3,15])
circle(d=3);
}
}
}
module ramp() //curve and slope shape
{
for (j=[0:180]){
// raise it 12 over 180 deg,say
translate([0,0,-12+j*12/180])
rotate([0,0,-j])
shape();
}
}
difference(){ //cut off base
ramp();
translate([0,0,-50])
cube([100,100,100],true);
}
On 09/05/2022 01:31, sorin vatasoiu via Discuss wrote: