discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Fillet

SP
Sanjeev Prabhakar
Tue, Jan 14, 2025 2:45 PM

I could not see any chamfer or fillet here.
Anything missing?

On Tue, 14 Jan 2025 at 18:04, Raymond West via Discuss <
discuss@lists.openscad.org> wrote:

This gives a flat fillet (which I've called a bevel - depends if you think
it is internal or external, draughtsman or carpenter)

module tube(d){
linear_extrude(100)
difference(){
circle(d=d);
circle (d=d-0.0001);
};
}

hull(){
intersection(){
tube(30);  //upright tube
translate([-0,0,50])
rotate([0,90,0])
tube(20+bevel);
}
intersection(){
tube(30+bevel);  // side tube
translate([-0,0,50])
rotate([0,90,0])
tube(20);
}
}

$fn=100;
cylinder(d=30,h=100);
translate([-0,0,50])
rotate([0,90,0])
cylinder(d=20,h=50);

     bevel=6;  //  greater than 2.
I could not see any chamfer or fillet here. Anything missing? On Tue, 14 Jan 2025 at 18:04, Raymond West via Discuss < discuss@lists.openscad.org> wrote: > This gives a flat fillet (which I've called a bevel - depends if you think > it is internal or external, draughtsman or carpenter) > > > module tube(d){ > linear_extrude(100) > difference(){ > circle(d=d); > circle (d=d-0.0001); > }; > } > > hull(){ > intersection(){ > tube(30); //upright tube > translate([-0,0,50]) > rotate([0,90,0]) > tube(20+bevel); > } > intersection(){ > tube(30+bevel); // side tube > translate([-0,0,50]) > rotate([0,90,0]) > tube(20); > } > } > > $fn=100; > cylinder(d=30,h=100); > translate([-0,0,50]) > rotate([0,90,0]) > cylinder(d=20,h=50); > > > bevel=6; // greater than 2. >
JB
Jordan Brown
Tue, Jan 14, 2025 3:41 PM

On 1/14/2025 6:26 AM, Jon Bondy via Discuss wrote:

Perhaps I am mistaken, but I thought that fillets were possible in
many cases using the BOSL2 library.

There are several techniques for fillets and chamfers/roundoffs.  They
are just rarely easy.  BOSL2 does offer a lot of options, which it does
the hard way (by constructing polyhedra) and then hides the difficulty.

On 1/14/2025 6:26 AM, Jon Bondy via Discuss wrote: > > Perhaps I am mistaken, but I thought that fillets were possible in > many cases using the BOSL2 library. > There are several techniques for fillets and chamfers/roundoffs.  They are just rarely easy.  BOSL2 does offer a lot of options, which it does the hard way (by constructing polyhedra) and then hides the difficulty.
JJ
jon jonbondy.com
Tue, Jan 14, 2025 9:48 PM

Hiding the difficulty.  That's what I want!

On 1/14/2025 10:41 AM, Jordan Brown wrote:

On 1/14/2025 6:26 AM, Jon Bondy via Discuss wrote:

Perhaps I am mistaken, but I thought that fillets were possible in
many cases using the BOSL2 library.

There are several techniques for fillets and chamfers/roundoffs. They
are just rarely easy.  BOSL2 does offer a lot of options, which it
does the hard way (by constructing polyhedra) and then hides the
difficulty.

Hiding the difficulty.  That's what I want! On 1/14/2025 10:41 AM, Jordan Brown wrote: > On 1/14/2025 6:26 AM, Jon Bondy via Discuss wrote: >> >> Perhaps I am mistaken, but I thought that fillets were possible in >> many cases using the BOSL2 library. >> > > There are several techniques for fillets and chamfers/roundoffs. They > are just rarely easy.  BOSL2 does offer a lot of options, which it > does the hard way (by constructing polyhedra) and then hides the > difficulty. >
DP
David Phillip Oster
Wed, Jan 15, 2025 1:47 AM

On Tue, Jan 14, 2025 at 6:45 AM Sanjeev Prabhakar via Discuss <
discuss@lists.openscad.org> wrote:

I could not see any chamfer or fillet here.
Anything missing?

On Tue, 14 Jan 2025 at 18:04, Raymond West via Discuss <
discuss@lists.openscad.org> wrote:

This gives a flat fillet (which I've called a bevel - depends if you
think it is internal or external, draughtsman or carpenter)

    circle (d=d-0.0001);

That inset is too big for my copy of  OpenSCAD (version 2024.03.01,
macOS).  Changing it to circle (d=d-0.01); works.

On Tue, Jan 14, 2025 at 6:45 AM Sanjeev Prabhakar via Discuss < discuss@lists.openscad.org> wrote: > I could not see any chamfer or fillet here. > Anything missing? > > On Tue, 14 Jan 2025 at 18:04, Raymond West via Discuss < > discuss@lists.openscad.org> wrote: > >> This gives a flat fillet (which I've called a bevel - depends if you >> think it is internal or external, draughtsman or carpenter) >> >> … > circle (d=d-0.0001); >> > … That inset is too big for my copy of OpenSCAD (version 2024.03.01, macOS). Changing it to circle (d=d-0.01); works.