Quote

**enif**

I tried to understand what exactly you are trying to build... Is it something like this?

If so, I built it as the intersection of a cube with the difference of 2 cylinders as follows:

I tried to understand what exactly you are trying to build... Is it something like this?

If so, I built it as the intersection of a cube with the difference of 2 cylinders as follows:

module cylbezel( l, // length h, // height w, // thickness a // arch rise (y-offset in center, >0) ){ //compute radius from arch rise r=l*l/(8*a)+a/2; intersection(){ translate([-l/2,0,0])cube([l,a+w,h]); translate([0,r,-1])difference(){ cylinder(r=r,h=h+2); cylinder(r=r-w,h=h+2); } } } cylbezel(l=100,h=50,w=0.8,a=15,$fn=360);

EXACTLY! Thank you so much, and sorry about the poor description.

]]>

If so, I built it as the intersection of a cube with the difference of 2 cylinders as follows:

module cylbezel( l, // length h, // height w, // thickness a // arch rise (y-offset in center, >0) ){ //compute radius from arch rise r=l*l/(8*a)+a/2; intersection(){ translate([-l/2,0,0])cube([l,a+w,h]); translate([0,r,-1])difference(){ cylinder(r=r,h=h+2); cylinder(r=r-w,h=h+2); } } } cylbezel(l=100,h=50,w=0.8,a=15,$fn=360);

]]>

The bezel is 100mm long (x axis), 50mm high (z axis) and 0.8mm thick (y axis). What I would like to do is bend the face of it. So, the x-axis would be curved a bit around the z axis.

I understand how to use a difference to remove the back of a cube with a cylinder. What I

I assume it uses a function that I have not yet been able to discover yet.

Can anyone give any assistance on this?

Thanks

Andy]]>