discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Good ol' rounding subject

JW
Joe Weinpert
Fri, Aug 23, 2024 9:40 PM

Thought I would step out of Vectric Aspire to find another manner in
creating STL files.

Here is something I have started with using OpenSCAD and the BOSL library.

Attached is the .scad file I used for this.

I am trying to figure out how I can integrate or add a .25 radius rounding
to both the top and bottom.

Using the "fast_distance" method in skin() gave me exactly what I was
looking for. to start with (see the pic).

Then I attempted to utilize the rounded_prism() function in place of the
skin() function but came up with errors all the time.

Any ideas?

Joe Weinpert
joe.weinpert@gmail.com
skidrowacademy.com

[image: maybeSkin.png]

Thought I would step out of Vectric Aspire to find another manner in creating STL files. Here is something I have started with using OpenSCAD and the BOSL library. Attached is the .scad file I used for this. I am trying to figure out how I can integrate or add a .25 radius rounding to both the top and bottom. Using the "fast_distance" method in skin() gave me exactly what I was looking for. to start with (see the pic). Then I attempted to utilize the rounded_prism() function in place of the skin() function but came up with errors all the time. Any ideas? Joe Weinpert joe.weinpert@gmail.com skidrowacademy.com [image: maybeSkin.png]
AM
Adrian Mariano
Fri, Aug 23, 2024 9:56 PM

You don't include an example or the error.  When I constructed one the
error was that the side faces are not coplanar.  The second sentence of
the rounded_prism docs does state this requirement.  You might be able to
add a rounded cap on each end of your skin output using offset_sweep to
make a rounding.

On Fri, Aug 23, 2024 at 5:41 PM Joe Weinpert via Discuss <
discuss@lists.openscad.org> wrote:

Thought I would step out of Vectric Aspire to find another manner in
creating STL files.

Here is something I have started with using OpenSCAD and the BOSL library.

Attached is the .scad file I used for this.

I am trying to figure out how I can integrate or add a .25 radius rounding
to both the top and bottom.

Using the "fast_distance" method in skin() gave me exactly what I was
looking for. to start with (see the pic).

Then I attempted to utilize the rounded_prism() function in place of the
skin() function but came up with errors all the time.

Any ideas?

Joe Weinpert
joe.weinpert@gmail.com
skidrowacademy.com

[image: maybeSkin.png]


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

You don't include an example or the error. When I constructed one the error was that the side faces are not coplanar. The second sentence of the rounded_prism docs does state this requirement. You might be able to add a rounded cap on each end of your skin output using offset_sweep to make a rounding. On Fri, Aug 23, 2024 at 5:41 PM Joe Weinpert via Discuss < discuss@lists.openscad.org> wrote: > Thought I would step out of Vectric Aspire to find another manner in > creating STL files. > > Here is something I have started with using OpenSCAD and the BOSL library. > > Attached is the .scad file I used for this. > > I am trying to figure out how I can integrate or add a .25 radius rounding > to both the top and bottom. > > Using the "fast_distance" method in skin() gave me exactly what I was > looking for. to start with (see the pic). > > Then I attempted to utilize the rounded_prism() function in place of the > skin() function but came up with errors all the time. > > Any ideas? > > Joe Weinpert > joe.weinpert@gmail.com > skidrowacademy.com > > [image: maybeSkin.png] > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
JW
Joe Weinpert
Fri, Aug 23, 2024 11:47 PM

Yes.  That was the error I was referring to.

Your recommendation then is to figure out how to use that offset_sweep
command to put a rounding on the top and bottom of the vnf object which was
built with the "skin" command, yes?

On Fri, Aug 23, 2024, 5:56 PM Adrian Mariano via Discuss <
discuss@lists.openscad.org> wrote:

You don't include an example or the error.  When I constructed one the
error was that the side faces are not coplanar.  The second sentence of
the rounded_prism docs does state this requirement.  You might be able to
add a rounded cap on each end of your skin output using offset_sweep to
make a rounding.

On Fri, Aug 23, 2024 at 5:41 PM Joe Weinpert via Discuss <
discuss@lists.openscad.org> wrote:

Thought I would step out of Vectric Aspire to find another manner in
creating STL files.

Here is something I have started with using OpenSCAD and the BOSL library.

Attached is the .scad file I used for this.

I am trying to figure out how I can integrate or add a .25 radius
rounding to both the top and bottom.

Using the "fast_distance" method in skin() gave me exactly what I was
looking for. to start with (see the pic).

Then I attempted to utilize the rounded_prism() function in place of the
skin() function but came up with errors all the time.

Any ideas?

Joe Weinpert
joe.weinpert@gmail.com
skidrowacademy.com

[image: maybeSkin.png]


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

Yes. That was the error I was referring to. Your recommendation then is to figure out how to use that offset_sweep command to put a rounding on the top and bottom of the vnf object which was built with the "skin" command, yes? On Fri, Aug 23, 2024, 5:56 PM Adrian Mariano via Discuss < discuss@lists.openscad.org> wrote: > You don't include an example or the error. When I constructed one the > error was that the side faces are not coplanar. The second sentence of > the rounded_prism docs does state this requirement. You might be able to > add a rounded cap on each end of your skin output using offset_sweep to > make a rounding. > > On Fri, Aug 23, 2024 at 5:41 PM Joe Weinpert via Discuss < > discuss@lists.openscad.org> wrote: > >> Thought I would step out of Vectric Aspire to find another manner in >> creating STL files. >> >> Here is something I have started with using OpenSCAD and the BOSL library. >> >> Attached is the .scad file I used for this. >> >> I am trying to figure out how I can integrate or add a .25 radius >> rounding to both the top and bottom. >> >> Using the "fast_distance" method in skin() gave me exactly what I was >> looking for. to start with (see the pic). >> >> Then I attempted to utilize the rounded_prism() function in place of the >> skin() function but came up with errors all the time. >> >> Any ideas? >> >> Joe Weinpert >> joe.weinpert@gmail.com >> skidrowacademy.com >> >> [image: maybeSkin.png] >> >> >> _______________________________________________ >> 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 >
AM
Adrian Mariano
Sat, Aug 24, 2024 3:52 AM

Yeah, you would use offset_sweep twice for the top and bottom of the skin
object.  I did a quick test:

up(2.5)
offset_sweep(botBot,h=.5,top=os_circle(r=.5));

and you get the result below.  To get it really nice looking you'll need a
custom profile that better matches the slope of your shape, with a smaller
rounding arc.

[image: image.png]

On Fri, Aug 23, 2024 at 7:48 PM Joe Weinpert via Discuss <
discuss@lists.openscad.org> wrote:

Yes.  That was the error I was referring to.

Your recommendation then is to figure out how to use that offset_sweep
command to put a rounding on the top and bottom of the vnf object which was
built with the "skin" command, yes?

On Fri, Aug 23, 2024, 5:56 PM Adrian Mariano via Discuss <
discuss@lists.openscad.org> wrote:

You don't include an example or the error.  When I constructed one the
error was that the side faces are not coplanar.  The second sentence of
the rounded_prism docs does state this requirement.  You might be able to
add a rounded cap on each end of your skin output using offset_sweep to
make a rounding.

On Fri, Aug 23, 2024 at 5:41 PM Joe Weinpert via Discuss <
discuss@lists.openscad.org> wrote:

Thought I would step out of Vectric Aspire to find another manner in
creating STL files.

Here is something I have started with using OpenSCAD and the BOSL
library.

Attached is the .scad file I used for this.

I am trying to figure out how I can integrate or add a .25 radius
rounding to both the top and bottom.

Using the "fast_distance" method in skin() gave me exactly what I was
looking for. to start with (see the pic).

Then I attempted to utilize the rounded_prism() function in place of
the skin() function but came up with errors all the time.

Any ideas?

Joe Weinpert
joe.weinpert@gmail.com
skidrowacademy.com

[image: maybeSkin.png]


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


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

Yeah, you would use offset_sweep twice for the top and bottom of the skin object. I did a quick test: up(2.5) offset_sweep(botBot,h=.5,top=os_circle(r=.5)); and you get the result below. To get it really nice looking you'll need a custom profile that better matches the slope of your shape, with a smaller rounding arc. [image: image.png] On Fri, Aug 23, 2024 at 7:48 PM Joe Weinpert via Discuss < discuss@lists.openscad.org> wrote: > Yes. That was the error I was referring to. > > Your recommendation then is to figure out how to use that offset_sweep > command to put a rounding on the top and bottom of the vnf object which was > built with the "skin" command, yes? > > > On Fri, Aug 23, 2024, 5:56 PM Adrian Mariano via Discuss < > discuss@lists.openscad.org> wrote: > >> You don't include an example or the error. When I constructed one the >> error was that the side faces are not coplanar. The second sentence of >> the rounded_prism docs does state this requirement. You might be able to >> add a rounded cap on each end of your skin output using offset_sweep to >> make a rounding. >> >> On Fri, Aug 23, 2024 at 5:41 PM Joe Weinpert via Discuss < >> discuss@lists.openscad.org> wrote: >> >>> Thought I would step out of Vectric Aspire to find another manner in >>> creating STL files. >>> >>> Here is something I have started with using OpenSCAD and the BOSL >>> library. >>> >>> Attached is the .scad file I used for this. >>> >>> I am trying to figure out how I can integrate or add a .25 radius >>> rounding to both the top and bottom. >>> >>> Using the "fast_distance" method in skin() gave me exactly what I was >>> looking for. to start with (see the pic). >>> >>> Then I attempted to utilize the rounded_prism() function in place of >>> the skin() function but came up with errors all the time. >>> >>> Any ideas? >>> >>> Joe Weinpert >>> joe.weinpert@gmail.com >>> skidrowacademy.com >>> >>> [image: maybeSkin.png] >>> >>> >>> _______________________________________________ >>> 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 >> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
RW
Raymond West
Sat, Aug 24, 2024 11:20 AM

I found something on thingiverse some years ago wrt rounding top and
bottom edges. Modified by  Kevin Gravier -
https://www.thingiverse.com/mrkmg/about -  Originally from:
https://github.com/OskarLinde/scad-utils/blob/master/morphology.scad.
There was a minor error in the code, but it works good enough for 3d
printing.

On 23/08/2024 22:40, Joe Weinpert via Discuss wrote:

Thought I would step out of Vectric Aspire to find another manner in
creating STL files.

Here is something I have started with using OpenSCAD and the BOSL library.

Attached is the .scad file I used for this.

I am trying to figure out how I can integrate or add a .25 radius
rounding to both the top and bottom.

Using the "fast_distance" method in skin() gave me exactly what I was
looking for. to start with (see the pic).

Then I attempted to utilize the rounded_prism() function in place of
the skin() function but came up with errors all the time.

Any ideas?

Joe Weinpert
joe.weinpert@gmail.com
skidrowacademy.com http://skidrowacademy.com

maybeSkin.png


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

I found something on thingiverse some years ago wrt rounding top and bottom edges. Modified by  Kevin Gravier - https://www.thingiverse.com/mrkmg/about -  Originally from: https://github.com/OskarLinde/scad-utils/blob/master/morphology.scad. There was a minor error in the code, but it works good enough for 3d printing. On 23/08/2024 22:40, Joe Weinpert via Discuss wrote: > Thought I would step out of Vectric Aspire to find another manner in > creating STL files. > > Here is something I have started with using OpenSCAD and the BOSL library. > > Attached is the .scad file I used for this. > > I am trying to figure out how I can integrate or add a .25 radius > rounding to both the top and bottom. > > Using the "fast_distance" method in skin() gave me exactly what I was > looking for. to start with (see the pic). > > Then I attempted to utilize the rounded_prism() function in place of > the skin() function but came up with errors all the time. > > Any ideas? > > Joe Weinpert > joe.weinpert@gmail.com > skidrowacademy.com <http://skidrowacademy.com> > > maybeSkin.png > > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email todiscuss-leave@lists.openscad.org
SP
Sanjeev Prabhakar
Sun, Aug 25, 2024 2:02 AM

fyi, it's a 1.6 mb file so cannot post it here
[image: Screenshot 2024-08-25 at 7.30.11 AM.png]

On Sat, 24 Aug 2024 at 03:11, Joe Weinpert via Discuss <
discuss@lists.openscad.org> wrote:

Thought I would step out of Vectric Aspire to find another manner in
creating STL files.

Here is something I have started with using OpenSCAD and the BOSL library.

Attached is the .scad file I used for this.

I am trying to figure out how I can integrate or add a .25 radius rounding
to both the top and bottom.

Using the "fast_distance" method in skin() gave me exactly what I was
looking for. to start with (see the pic).

Then I attempted to utilize the rounded_prism() function in place of the
skin() function but came up with errors all the time.

Any ideas?

Joe Weinpert
joe.weinpert@gmail.com
skidrowacademy.com

[image: maybeSkin.png]


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

fyi, it's a 1.6 mb file so cannot post it here [image: Screenshot 2024-08-25 at 7.30.11 AM.png] On Sat, 24 Aug 2024 at 03:11, Joe Weinpert via Discuss < discuss@lists.openscad.org> wrote: > Thought I would step out of Vectric Aspire to find another manner in > creating STL files. > > Here is something I have started with using OpenSCAD and the BOSL library. > > Attached is the .scad file I used for this. > > I am trying to figure out how I can integrate or add a .25 radius rounding > to both the top and bottom. > > Using the "fast_distance" method in skin() gave me exactly what I was > looking for. to start with (see the pic). > > Then I attempted to utilize the rounded_prism() function in place of the > skin() function but came up with errors all the time. > > Any ideas? > > Joe Weinpert > joe.weinpert@gmail.com > skidrowacademy.com > > [image: maybeSkin.png] > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >