Hi,

Guest

BS

Brendan Sleight

Mon, Nov 7, 2022 8:00 PM

See the following which all support continuous curvature rounding:

https://github.com/revarbat/BOSL2/wiki/rounding.scad#function-round_corners

Nice library BOSL2 - I like it! Gives ~ identical output:-

```
include <BOSL2/std.scad>
include <BOSL2/rounding.scad>
include <squircle.scad>
ten = square(50);
translate([0,0,10]) linear_extrude(height=10) {
polygon(round_corners(ten, method="smooth", cut=5.63, $fn=60*4));
}
color("red") squircle([50,50,10], r=25, center=false);
```

> See the following which all support continuous curvature rounding:
> https://github.com/revarbat/BOSL2/wiki/rounding.scad#function-round_corners
Nice library BOSL2 - I like it! Gives ~ identical output:-
include <BOSL2/std.scad>
include <BOSL2/rounding.scad>
include <squircle.scad>
ten = square(50);
translate([0,0,10]) linear_extrude(height=10) {
polygon(round_corners(ten, method="smooth", cut=5.63, $fn=60*4));
}
color("red") squircle([50,50,10], r=25, center=false);
https://imgur.com/lrO4URm.png

AM

Adrian Mariano

Mon, Nov 7, 2022 9:52 PM

The BOSL2 output is not identical to squircle. It is similar, but not the

same. BOSL2 uses a 4th order bezier which cannot match the superellipse,

or even a regular ellipse. If you take difference of the two shapes you

can see how they aren't the same.

On Mon, Nov 7, 2022 at 3:03 PM Brendan Sleight bms@barwap.com wrote:

See the following which all support continuous curvature rounding:

https://github.com/revarbat/BOSL2/wiki/rounding.scad#function-round_corners

Nice library BOSL2 - I like it! Gives ~ identical output:-

```
include <BOSL2/std.scad>
include <BOSL2/rounding.scad>
include <squircle.scad>
ten = square(50);
translate([0,0,10]) linear_extrude(height=10) {
polygon(round_corners(ten, method="smooth", cut=5.63, $fn=60*4));
}
color("red") squircle([50,50,10], r=25, center=false);
```

OpenSCAD mailing list

To unsubscribe send an email to discuss-leave@lists.openscad.org

The BOSL2 output is not identical to squircle. It is similar, but not the
same. BOSL2 uses a 4th order bezier which cannot match the superellipse,
or even a regular ellipse. If you take difference of the two shapes you
can see how they aren't the same.
On Mon, Nov 7, 2022 at 3:03 PM Brendan Sleight <bms@barwap.com> wrote:
> > See the following which all support continuous curvature rounding:
> >
> https://github.com/revarbat/BOSL2/wiki/rounding.scad#function-round_corners
>
> Nice library BOSL2 - I like it! Gives ~ identical output:-
>
> include <BOSL2/std.scad>
> include <BOSL2/rounding.scad>
> include <squircle.scad>
>
> ten = square(50);
> translate([0,0,10]) linear_extrude(height=10) {
> polygon(round_corners(ten, method="smooth", cut=5.63, $fn=60*4));
> }
>
> color("red") squircle([50,50,10], r=25, center=false);
>
> https://imgur.com/lrO4URm.png
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email to discuss-leave@lists.openscad.org
>

BS

Brendan Sleight

Mon, Nov 7, 2022 10:28 PM

The BOSL2 output is not identical to squircle. It is similar, but not the

same.

Agreed

~ identical

Was shorthand for approximately identical

difference of the two shapes you can see how they aren't the same.

Yep, my maths is not good enough to work out the magnitude, but I

guess it's below the resolution of my printer.

On Mon, 7 Nov 2022 at 20:00, Brendan Sleight bms@barwap.com wrote:

See the following which all support continuous curvature rounding:

https://github.com/revarbat/BOSL2/wiki/rounding.scad#function-round_corners

Nice library BOSL2 - I like it! Gives ~ identical output:-

```
include <BOSL2/std.scad>
include <BOSL2/rounding.scad>
include <squircle.scad>
ten = square(50);
translate([0,0,10]) linear_extrude(height=10) {
polygon(round_corners(ten, method="smooth", cut=5.63, $fn=60*4));
}
color("red") squircle([50,50,10], r=25, center=false);
```

>The BOSL2 output is not identical to squircle. It is similar, but not the
> same.
Agreed
> ~ identical
Was shorthand for approximately identical
>difference of the two shapes you can see how they aren't the same.
Yep, my maths is not good enough to work out the magnitude, but I
guess it's below the resolution of my printer.
https://imgur.com/rzwQ39f.png
On Mon, 7 Nov 2022 at 20:00, Brendan Sleight <bms@barwap.com> wrote:
>
> > See the following which all support continuous curvature rounding:
> > https://github.com/revarbat/BOSL2/wiki/rounding.scad#function-round_corners
>
> Nice library BOSL2 - I like it! Gives ~ identical output:-
>
> include <BOSL2/std.scad>
> include <BOSL2/rounding.scad>
> include <squircle.scad>
>
> ten = square(50);
> translate([0,0,10]) linear_extrude(height=10) {
> polygon(round_corners(ten, method="smooth", cut=5.63, $fn=60*4));
> }
>
> color("red") squircle([50,50,10], r=25, center=false);
>
> https://imgur.com/lrO4URm.png

Replying to:

Empathy v1.0
2023 ©Harmonylists.com