discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

rounding a linear_extrude

J
jon
Fri, Sep 15, 2023 1:11 AM

I created a polygon and used linear_extrude() to turn it into 3D.  Is
there any way to round the edges of the 3D object?

Thanks

Jon

I created a polygon and used linear_extrude() to turn it into 3D.  Is there any way to round the edges of the 3D object? Thanks Jon
AM
Adrian Mariano
Fri, Sep 15, 2023 1:18 AM

I feel like we just talked about this topic.  You can of course use
minkowski() if you're patient.  There is no other reasonable way to do this
in native OpenSCAD.

In BOSL2's you can use offset_sweep() to round the top/bottom edges,
possibly combined with round_corners() to round the vertical edges.  If
your polygon has long edges you may also consider using rounded_prism().

On Thu, Sep 14, 2023 at 9:11 PM jon jon@jonbondy.com wrote:

I created a polygon and used linear_extrude() to turn it into 3D.  Is
there any way to round the edges of the 3D object?

Thanks

Jon


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

I feel like we just talked about this topic. You can of course use minkowski() if you're patient. There is no other reasonable way to do this in native OpenSCAD. In BOSL2's you can use offset_sweep() to round the top/bottom edges, possibly combined with round_corners() to round the vertical edges. If your polygon has long edges you may also consider using rounded_prism(). On Thu, Sep 14, 2023 at 9:11 PM jon <jon@jonbondy.com> wrote: > I created a polygon and used linear_extrude() to turn it into 3D. Is > there any way to round the edges of the 3D object? > > Thanks > > Jon > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
J
jon
Fri, Sep 15, 2023 1:32 AM

Adrian:

You probably are correct.  Each time I look for "round" or "rounding" I
never find "offset_sweep" and I don't remember to associate the two.

Thank you

Jon

On 9/14/2023 9:18 PM, Adrian Mariano wrote:

I feel like we just talked about this topic.  You can of course use
minkowski() if you're patient.  There is no other reasonable way to do
this in native OpenSCAD.

In BOSL2's you can use offset_sweep() to round the top/bottom edges,
possibly combined with round_corners() to round the vertical edges. 
If your polygon has long edges you may also consider using
rounded_prism().

On Thu, Sep 14, 2023 at 9:11 PM jon jon@jonbondy.com wrote:

 I created a polygon and used linear_extrude() to turn it into 3D.  Is
 there any way to round the edges of the 3D object?

 Thanks

 Jon
 _______________________________________________
 OpenSCAD mailing list
 To unsubscribe send an email to discuss-leave@lists.openscad.org

OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org

Adrian: You probably are correct.  Each time I look for "round" or "rounding" I never find "offset_sweep" and I don't remember to associate the two. Thank you Jon On 9/14/2023 9:18 PM, Adrian Mariano wrote: > I feel like we just talked about this topic.  You can of course use > minkowski() if you're patient.  There is no other reasonable way to do > this in native OpenSCAD. > > In BOSL2's you can use offset_sweep() to round the top/bottom edges, > possibly combined with round_corners() to round the vertical edges.  > If your polygon has long edges you may also consider using > rounded_prism(). > > On Thu, Sep 14, 2023 at 9:11 PM jon <jon@jonbondy.com> wrote: > > I created a polygon and used linear_extrude() to turn it into 3D.  Is > there any way to round the edges of the 3D object? > > Thanks > > Jon > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email todiscuss-leave@lists.openscad.org
GB
Glenn Butcher
Fri, Sep 15, 2023 2:54 AM

I've been using polyround.scad from the Round-Anything library to do this for my steam locomotive project. You can assign a different radius to each point. The only complaint I have with it is that if the syntax is wrong, I have to sit through a couple of minutes of its complaining about bad vec3s and such...

On September 14, 2023 7:32:13 PM MDT, jon jon@jonbondy.com wrote:

Adrian:

You probably are correct.  Each time I look for "round" or "rounding" I never find "offset_sweep" and I don't remember to associate the two.

Thank you

Jon

On 9/14/2023 9:18 PM, Adrian Mariano wrote:

I feel like we just talked about this topic.  You can of course use minkowski() if you're patient.  There is no other reasonable way to do this in native OpenSCAD.

In BOSL2's you can use offset_sweep() to round the top/bottom edges, possibly combined with round_corners() to round the vertical edges.  If your polygon has long edges you may also consider using rounded_prism().

On Thu, Sep 14, 2023 at 9:11 PM jon jon@jonbondy.com wrote:

 I created a polygon and used linear_extrude() to turn it into 3D.  Is
 there any way to round the edges of the 3D object?

 Thanks

 Jon
 _______________________________________________
 OpenSCAD mailing list
 To unsubscribe send an email to discuss-leave@lists.openscad.org

OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

I've been using polyround.scad from the Round-Anything library to do this for my steam locomotive project. You can assign a different radius to each point. The only complaint I have with it is that if the syntax is wrong, I have to sit through a couple of minutes of its complaining about bad vec3s and such... On September 14, 2023 7:32:13 PM MDT, jon <jon@jonbondy.com> wrote: >Adrian: > >You probably are correct.  Each time I look for "round" or "rounding" I never find "offset_sweep" and I don't remember to associate the two. > >Thank you > >Jon > > >On 9/14/2023 9:18 PM, Adrian Mariano wrote: >> I feel like we just talked about this topic.  You can of course use minkowski() if you're patient.  There is no other reasonable way to do this in native OpenSCAD. >> >> In BOSL2's you can use offset_sweep() to round the top/bottom edges, possibly combined with round_corners() to round the vertical edges.  If your polygon has long edges you may also consider using rounded_prism(). >> >> On Thu, Sep 14, 2023 at 9:11 PM jon <jon@jonbondy.com> wrote: >> >> I created a polygon and used linear_extrude() to turn it into 3D.  Is >> there any way to round the edges of the 3D object? >> >> Thanks >> >> Jon >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org >> >> >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email todiscuss-leave@lists.openscad.org -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
AM
Adrian Mariano
Fri, Sep 15, 2023 3:27 AM

You might like to try round_corners() from BOSL2 to round polygons.  It was
inspired by the polyround library and lets you round each corner
separately, but should issue better error messages if you give it bad
input, and it has the option of continuous curvature rounding, and other
ways to specify the rounding than just radius.

The Round Anything library does also provide polyRoundExtrude() which I
think might be more what the Jon wanted.  I don't know how it works.  It
doesn't look like it does a real offset operation, but results look OK as
long as the offset is non-degenerate.

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

On Thu, Sep 14, 2023 at 10:55 PM Glenn Butcher glenn.butcher@gmail.com
wrote:

I've been using polyround.scad from the Round-Anything library to do this
for my steam locomotive project. You can assign a different radius to each
point. The only complaint I have with it is that if the syntax is wrong, I
have to sit through a couple of minutes of its complaining about bad vec3s
and such...

On September 14, 2023 7:32:13 PM MDT, jon jon@jonbondy.com wrote:

Adrian:

You probably are correct.  Each time I look for "round" or "rounding" I
never find "offset_sweep" and I don't remember to associate the two.

Thank you

Jon

On 9/14/2023 9:18 PM, Adrian Mariano wrote:

I feel like we just talked about this topic.  You can of course use
minkowski() if you're patient.  There is no other reasonable way to do this
in native OpenSCAD.

In BOSL2's you can use offset_sweep() to round the top/bottom edges,
possibly combined with round_corners() to round the vertical edges.  If
your polygon has long edges you may also consider using rounded_prism().

On Thu, Sep 14, 2023 at 9:11 PM jon jon@jonbondy.com wrote:

I created a polygon and used linear_extrude() to turn it into 3D.  Is
there any way to round the edges of the 3D object?

Thanks

Jon


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


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

--

Sent from my Android device with K-9 Mail. Please excuse my brevity.


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

You might like to try round_corners() from BOSL2 to round polygons. It was inspired by the polyround library and lets you round each corner separately, but should issue better error messages if you give it bad input, and it has the option of continuous curvature rounding, and other ways to specify the rounding than just radius. The Round Anything library does also provide polyRoundExtrude() which I think might be more what the Jon wanted. I don't know how it works. It doesn't look like it does a real offset operation, but results look OK as long as the offset is non-degenerate. https://github.com/BelfrySCAD/BOSL2/wiki/rounding.scad#function-round_corners On Thu, Sep 14, 2023 at 10:55 PM Glenn Butcher <glenn.butcher@gmail.com> wrote: > I've been using polyround.scad from the Round-Anything library to do this > for my steam locomotive project. You can assign a different radius to each > point. The only complaint I have with it is that if the syntax is wrong, I > have to sit through a couple of minutes of its complaining about bad vec3s > and such... > > > On September 14, 2023 7:32:13 PM MDT, jon <jon@jonbondy.com> wrote: > >> Adrian: >> >> You probably are correct. Each time I look for "round" or "rounding" I >> never find "offset_sweep" and I don't remember to associate the two. >> >> Thank you >> >> Jon >> >> >> On 9/14/2023 9:18 PM, Adrian Mariano wrote: >> >> I feel like we just talked about this topic. You can of course use >> minkowski() if you're patient. There is no other reasonable way to do this >> in native OpenSCAD. >> >> In BOSL2's you can use offset_sweep() to round the top/bottom edges, >> possibly combined with round_corners() to round the vertical edges. If >> your polygon has long edges you may also consider using rounded_prism(). >> >> On Thu, Sep 14, 2023 at 9:11 PM jon <jon@jonbondy.com> wrote: >> >>> I created a polygon and used linear_extrude() to turn it into 3D. Is >>> there any way to round the edges of the 3D object? >>> >>> Thanks >>> >>> Jon >>> _______________________________________________ >>> OpenSCAD mailing list >>> To unsubscribe send an email to discuss-leave@lists.openscad.org >>> >> >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org >> >> -- > Sent from my Android device with K-9 Mail. Please excuse my brevity. > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >