writing text on the side of a cone....

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

writing text on the side of a cone....

bboett
hello!
on another subject my wife wants seedling protectors....
its a cylinder with on top a truncated cone to dissuade the rampant insects/molluscs to get inside and eat the seedling...

without the truncated cone, i can write on the cylinder with the write.scad library...
that library has several possibilities, but i didn't find the one to write on a cone?
did i miss something?

that's what i tried:
<use Writescad/write.scad>
module collerette(d = 60, h=60)
{
  translate([0,0,height-20])
    difference()
    {
      union()
      {
        color("magenta")cylinder(d1=d+2*w+40, d2=d,h = 20);
        translate([0,0,50])rotate([-40,06,0])mirror([0,0,1])writecylinder(label[index],[0,0,0],radius=(d+70+2*w)/2,height=0,rotate=10,east=0,face="top",h=10);
        if(len(label[index]) < PI*5.5)
          writecylinder(label[index],[0,0,0],radius=40,height=105,rotate=0,east=180,face="top",h=10);
      }
      color("black")translate([0,0,-0.1])cylinder(d1=d+40, d2=d-2*w,h = 20.2);
    }
}



now before i consume even more time on this than planned, maybe there's allready some easy solution to this?

thanks in advance
Bruno

--
ciao
Bruno

===========================================
http://nohkumado.eu/, http://aikido.nohkumado.eu/,
http://aikido.zorn.free.fr

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: writing text on the side of a cone....

frankv

On Sat, 23 May 2020, 7:18 AM Bruno Boettcher, <[hidden email]> wrote:
hello!
on another subject my wife wants seedling protectors....
its a cylinder with on top a truncated cone to dissuade the rampant insects/molluscs to get inside and eat the seedling...

without the truncated cone, i can write on the cylinder with the write.scad library...
that library has several possibilities, but i didn't find the one to write on a cone?
did i miss something?

that's what i tried:
<use Writescad/write.scad>
module collerette(d = 60, h=60)
{
  translate([0,0,height-20])
    difference()
    {
      union()
      {
        color("magenta")cylinder(d1=d+2*w+40, d2=d,h = 20);
        translate([0,0,50])rotate([-40,06,0])mirror([0,0,1])writecylinder(label[index],[0,0,0],radius=(d+70+2*w)/2,height=0,rotate=10,east=0,face="top",h=10);
        if(len(label[index]) < PI*5.5)
          writecylinder(label[index],[0,0,0],radius=40,height=105,rotate=0,east=180,face="top",h=10);
      }
      color("black")translate([0,0,-0.1])cylinder(d1=d+40, d2=d-2*w,h = 20.2);
    }
}



now before i consume even more time on this than planned, maybe there's allready some easy solution to this?

thanks in advance
Bruno

--
ciao
Bruno

===========================================
http://nohkumado.eu/, http://aikido.nohkumado.eu/,
http://aikido.zorn.free.fr
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
tp3
Reply | Threaded
Open this post in threaded view
|

Re: writing text on the side of a cone....

tp3
Sounds like https://github.com/brodykenrick/text_on_OpenSCAD/
might help too.

ciao,
  Torsten.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten