discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

bending a section on a give

SP
Sanjeev Prabhakar
Tue, Aug 29, 2023 4:57 PM

few more examples:
[image: Screenshot 2023-08-29 at 10.16.17 PM.png]

[image: Screenshot 2023-08-29 at 10.19.43 PM.png]

[image: Screenshot 2023-08-29 at 10.22.24 PM.png]

[image: Screenshot 2023-08-29 at 10.24.35 PM.png]

[image: Screenshot 2023-08-29 at 10.25.59 PM.png]

On Tue, 29 Aug 2023 at 17:30, Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

uses depends on how you apply a concept
e.g. I made the below cylinderical box with this.

There are always different ways to do the same thing though

On Tue, 29 Aug 2023, 16:19 Adrian Mariano, avm4@cornell.edu wrote:

It doesn't create a texture unless you have a way of triangulating it to
make it into a 3d surface.

On Tue, Aug 29, 2023 at 6:17 AM Guenther Sohler <
guenther.sohler@gmail.com> wrote:

Simple example: create simple textures on existing faces...

Adrian Mariano avm4@cornell.edu schrieb am Di., 29. Aug. 2023, 12:13:

So what is this actually useful for?

On Mon, Aug 28, 2023 at 8:00 PM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

written a function to bend any section to a given path.
e.g. in below picture
blue line is the section
magenta line is path
cyan line is the section bent as per path

I found this to be quite useful in many cases and if this can be
written in pure openscad could be helpful in sheet bending applications
[image: Screenshot 2023-08-29 at 5.21.31 AM.png]
here is the attached openscad file


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


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

few more examples: [image: Screenshot 2023-08-29 at 10.16.17 PM.png] [image: Screenshot 2023-08-29 at 10.19.43 PM.png] [image: Screenshot 2023-08-29 at 10.22.24 PM.png] [image: Screenshot 2023-08-29 at 10.24.35 PM.png] [image: Screenshot 2023-08-29 at 10.25.59 PM.png] On Tue, 29 Aug 2023 at 17:30, Sanjeev Prabhakar <sprabhakar2006@gmail.com> wrote: > uses depends on how you apply a concept > e.g. I made the below cylinderical box with this. > > There are always different ways to do the same thing though > > > On Tue, 29 Aug 2023, 16:19 Adrian Mariano, <avm4@cornell.edu> wrote: > >> It doesn't create a texture unless you have a way of triangulating it to >> make it into a 3d surface. >> >> On Tue, Aug 29, 2023 at 6:17 AM Guenther Sohler < >> guenther.sohler@gmail.com> wrote: >> >>> Simple example: create simple textures on existing faces... >>> >>> >>> Adrian Mariano <avm4@cornell.edu> schrieb am Di., 29. Aug. 2023, 12:13: >>> >>>> So what is this actually useful for? >>>> >>>> On Mon, Aug 28, 2023 at 8:00 PM Sanjeev Prabhakar < >>>> sprabhakar2006@gmail.com> wrote: >>>> >>>>> written a function to bend any section to a given path. >>>>> e.g. in below picture >>>>> blue line is the section >>>>> magenta line is path >>>>> cyan line is the section bent as per path >>>>> >>>>> I found this to be quite useful in many cases and if this can be >>>>> written in pure openscad could be helpful in sheet bending applications >>>>> [image: Screenshot 2023-08-29 at 5.21.31 AM.png] >>>>> here is the attached openscad file >>>>> >>>>> _______________________________________________ >>>>> 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 >>> >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org >> >
SP
Sanjeev Prabhakar
Wed, Aug 30, 2023 5:39 AM

i have uploaded a video on youtube to explain how a sinwave box can be made.

https://youtu.be/Spn3P_LF2Yw

i have uploaded a video on youtube to explain how a sinwave box can be made. https://youtu.be/Spn3P_LF2Yw
AM
Adrian Mariano
Wed, Aug 30, 2023 10:36 AM

I made a sine wave box a while ago and even posted it here using BOSL2.  I
was trying to ensure that the box have uniform width so that it would be
exactly the desired number of extrusions and would print nicely and for
that reason, I used offset to make it rather than, say, just displacing the
wall horizontally.  This makes my code really slow.  I designed the box to
be hinged and close with a clasp that uses the sine wave texture to hold it
closed.  Unfortunately, at this size, it doesn't stay closed very well
because the walls are too flexible.  (And part of my intention was to use
thin walls that were stiffened by the texture, so it didn't really achieve
that aim.)

[image: image.png]

On Wed, Aug 30, 2023 at 1:40 AM Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

i have uploaded a video on youtube to explain how a sinwave box can be
made.

https://youtu.be/Spn3P_LF2Yw


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

I made a sine wave box a while ago and even posted it here using BOSL2. I was trying to ensure that the box have uniform width so that it would be exactly the desired number of extrusions and would print nicely and for that reason, I used offset to make it rather than, say, just displacing the wall horizontally. This makes my code really slow. I designed the box to be hinged and close with a clasp that uses the sine wave texture to hold it closed. Unfortunately, at this size, it doesn't stay closed very well because the walls are too flexible. (And part of my intention was to use thin walls that were stiffened by the texture, so it didn't really achieve that aim.) [image: image.png] On Wed, Aug 30, 2023 at 1:40 AM Sanjeev Prabhakar <sprabhakar2006@gmail.com> wrote: > i have uploaded a video on youtube to explain how a sinwave box can be > made. > > https://youtu.be/Spn3P_LF2Yw > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
SP
Sanjeev Prabhakar
Wed, Aug 30, 2023 1:19 PM

I printed both the boxes which I shared above and they seem to be quite
strong.
Maybe you made a much bigger one.

I printed both the boxes which I shared above and they seem to be quite strong. Maybe you made a much bigger one.
SP
Sanjeev Prabhakar
Wed, Aug 30, 2023 1:32 PM

another example
there is no difference() used here
[image: Screenshot 2023-08-30 at 7.00.53 PM.png]

On Wed, 30 Aug 2023 at 18:49, Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

I printed both the boxes which I shared above and they seem to be quite
strong.
Maybe you made a much bigger one.

another example there is no difference() used here [image: Screenshot 2023-08-30 at 7.00.53 PM.png] On Wed, 30 Aug 2023 at 18:49, Sanjeev Prabhakar <sprabhakar2006@gmail.com> wrote: > I printed both the boxes which I shared above and they seem to be quite > strong. > Maybe you made a much bigger one. > > >
AM
Adrian Mariano
Wed, Aug 30, 2023 8:28 PM

The box I show is 220mm long.  I did my printing with 2 perimeters, so
total thickness of 0.8mm.  I wouldn't say the box is weak, exactly, but the
side wall is flexible.  I designed the clasp as shown below so that it
mates with the sine wave texture to lock the box shut, but because of the
flexibility of the side wall, the lock is not satisfactory.  It worked
pretty well when I tested with smaller boxes about 100mm long.

And in answer to Rogier who wants to see it from a different angle, I can
say that this box looks interesting even when you have the 3d printed model
in front of you, with very different appearance possible from different
angles as the light reflects from the texture.

[image: image.png]

On Wed, Aug 30, 2023 at 9:19 AM Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

I printed both the boxes which I shared above and they seem to be quite
strong.
Maybe you made a much bigger one.


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

The box I show is 220mm long. I did my printing with 2 perimeters, so total thickness of 0.8mm. I wouldn't say the box is weak, exactly, but the side wall is flexible. I designed the clasp as shown below so that it mates with the sine wave texture to lock the box shut, but because of the flexibility of the side wall, the lock is not satisfactory. It worked pretty well when I tested with smaller boxes about 100mm long. And in answer to Rogier who wants to see it from a different angle, I can say that this box looks interesting even when you have the 3d printed model in front of you, with very different appearance possible from different angles as the light reflects from the texture. [image: image.png] On Wed, Aug 30, 2023 at 9:19 AM Sanjeev Prabhakar <sprabhakar2006@gmail.com> wrote: > I printed both the boxes which I shared above and they seem to be quite > strong. > Maybe you made a much bigger one. > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
SP
Sanjeev Prabhakar
Sat, Sep 2, 2023 5:13 AM

another 2 examples of wrap_around function.
a honeycomb matrix is wrapped in cylindrical form and a blue outline is
drawn around each hexagon.
[image: Screenshot 2023-09-02 at 10.30.15 AM.png]

[image: Screenshot 2023-09-02 at 10.40.43 AM.png]

So there are various applications

On Thu, 31 Aug 2023 at 01:59, Adrian Mariano avm4@cornell.edu wrote:

The box I show is 220mm long.  I did my printing with 2 perimeters, so
total thickness of 0.8mm.  I wouldn't say the box is weak, exactly, but the
side wall is flexible.  I designed the clasp as shown below so that it
mates with the sine wave texture to lock the box shut, but because of the
flexibility of the side wall, the lock is not satisfactory.  It worked
pretty well when I tested with smaller boxes about 100mm long.

And in answer to Rogier who wants to see it from a different angle, I can
say that this box looks interesting even when you have the 3d printed model
in front of you, with very different appearance possible from different
angles as the light reflects from the texture.

[image: image.png]

On Wed, Aug 30, 2023 at 9:19 AM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

I printed both the boxes which I shared above and they seem to be quite
strong.
Maybe you made a much bigger one.


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

another 2 examples of wrap_around function. a honeycomb matrix is wrapped in cylindrical form and a blue outline is drawn around each hexagon. [image: Screenshot 2023-09-02 at 10.30.15 AM.png] [image: Screenshot 2023-09-02 at 10.40.43 AM.png] So there are various applications On Thu, 31 Aug 2023 at 01:59, Adrian Mariano <avm4@cornell.edu> wrote: > The box I show is 220mm long. I did my printing with 2 perimeters, so > total thickness of 0.8mm. I wouldn't say the box is weak, exactly, but the > side wall is flexible. I designed the clasp as shown below so that it > mates with the sine wave texture to lock the box shut, but because of the > flexibility of the side wall, the lock is not satisfactory. It worked > pretty well when I tested with smaller boxes about 100mm long. > > And in answer to Rogier who wants to see it from a different angle, I can > say that this box looks interesting even when you have the 3d printed model > in front of you, with very different appearance possible from different > angles as the light reflects from the texture. > > [image: image.png] > > > On Wed, Aug 30, 2023 at 9:19 AM Sanjeev Prabhakar < > sprabhakar2006@gmail.com> wrote: > >> I printed both the boxes which I shared above and they seem to be quite >> strong. >> Maybe you made a much bigger one. >> >> >> _______________________________________________ >> 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, Sep 2, 2023 12:34 PM

There is a gap from having "bent" a curve around another curve to actually
making a 3d object.  Creating the hollow cylinder punctured by hexagons is
not a trivial jump from having code that bends a curve.  You need to
somehow triangulate the resulting 3d curve.

Revar has written texture support into BOSL2 where you can put various
repeating textures onto objects.

https://github.com/BelfrySCAD/BOSL2/wiki/skin.scad#function-texture

On Sat, Sep 2, 2023 at 1:13 AM Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

another 2 examples of wrap_around function.
a honeycomb matrix is wrapped in cylindrical form and a blue outline is
drawn around each hexagon.
[image: Screenshot 2023-09-02 at 10.30.15 AM.png]

[image: Screenshot 2023-09-02 at 10.40.43 AM.png]

So there are various applications

On Thu, 31 Aug 2023 at 01:59, Adrian Mariano avm4@cornell.edu wrote:

The box I show is 220mm long.  I did my printing with 2 perimeters, so
total thickness of 0.8mm.  I wouldn't say the box is weak, exactly, but the
side wall is flexible.  I designed the clasp as shown below so that it
mates with the sine wave texture to lock the box shut, but because of the
flexibility of the side wall, the lock is not satisfactory.  It worked
pretty well when I tested with smaller boxes about 100mm long.

And in answer to Rogier who wants to see it from a different angle, I can
say that this box looks interesting even when you have the 3d printed model
in front of you, with very different appearance possible from different
angles as the light reflects from the texture.

[image: image.png]

On Wed, Aug 30, 2023 at 9:19 AM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

I printed both the boxes which I shared above and they seem to be quite
strong.
Maybe you made a much bigger one.


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

There is a gap from having "bent" a curve around another curve to actually making a 3d object. Creating the hollow cylinder punctured by hexagons is not a trivial jump from having code that bends a curve. You need to somehow triangulate the resulting 3d curve. Revar has written texture support into BOSL2 where you can put various repeating textures onto objects. https://github.com/BelfrySCAD/BOSL2/wiki/skin.scad#function-texture On Sat, Sep 2, 2023 at 1:13 AM Sanjeev Prabhakar <sprabhakar2006@gmail.com> wrote: > another 2 examples of wrap_around function. > a honeycomb matrix is wrapped in cylindrical form and a blue outline is > drawn around each hexagon. > [image: Screenshot 2023-09-02 at 10.30.15 AM.png] > > [image: Screenshot 2023-09-02 at 10.40.43 AM.png] > > So there are various applications > > On Thu, 31 Aug 2023 at 01:59, Adrian Mariano <avm4@cornell.edu> wrote: > >> The box I show is 220mm long. I did my printing with 2 perimeters, so >> total thickness of 0.8mm. I wouldn't say the box is weak, exactly, but the >> side wall is flexible. I designed the clasp as shown below so that it >> mates with the sine wave texture to lock the box shut, but because of the >> flexibility of the side wall, the lock is not satisfactory. It worked >> pretty well when I tested with smaller boxes about 100mm long. >> >> And in answer to Rogier who wants to see it from a different angle, I can >> say that this box looks interesting even when you have the 3d printed model >> in front of you, with very different appearance possible from different >> angles as the light reflects from the texture. >> >> [image: image.png] >> >> >> On Wed, Aug 30, 2023 at 9:19 AM Sanjeev Prabhakar < >> sprabhakar2006@gmail.com> wrote: >> >>> I printed both the boxes which I shared above and they seem to be quite >>> strong. >>> Maybe you made a much bigger one. >>> >>> >>> _______________________________________________ >>> 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 >
SP
Sanjeev Prabhakar
Sat, Sep 2, 2023 12:47 PM

Very nice textures
I really wonder how is it done in openscad

On Sat, 2 Sept, 2023, 6:05 pm Adrian Mariano, avm4@cornell.edu wrote:

There is a gap from having "bent" a curve around another curve to actually
making a 3d object.  Creating the hollow cylinder punctured by hexagons is
not a trivial jump from having code that bends a curve.  You need to
somehow triangulate the resulting 3d curve.

Revar has written texture support into BOSL2 where you can put various
repeating textures onto objects.

https://github.com/BelfrySCAD/BOSL2/wiki/skin.scad#function-texture

On Sat, Sep 2, 2023 at 1:13 AM Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

another 2 examples of wrap_around function.
a honeycomb matrix is wrapped in cylindrical form and a blue outline is
drawn around each hexagon.
[image: Screenshot 2023-09-02 at 10.30.15 AM.png]

[image: Screenshot 2023-09-02 at 10.40.43 AM.png]

So there are various applications

On Thu, 31 Aug 2023 at 01:59, Adrian Mariano avm4@cornell.edu wrote:

The box I show is 220mm long.  I did my printing with 2 perimeters, so
total thickness of 0.8mm.  I wouldn't say the box is weak, exactly, but the
side wall is flexible.  I designed the clasp as shown below so that it
mates with the sine wave texture to lock the box shut, but because of the
flexibility of the side wall, the lock is not satisfactory.  It worked
pretty well when I tested with smaller boxes about 100mm long.

And in answer to Rogier who wants to see it from a different angle, I
can say that this box looks interesting even when you have the 3d printed
model in front of you, with very different appearance possible from
different angles as the light reflects from the texture.

[image: image.png]

On Wed, Aug 30, 2023 at 9:19 AM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

I printed both the boxes which I shared above and they seem to be quite
strong.
Maybe you made a much bigger one.


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


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

Very nice textures I really wonder how is it done in openscad On Sat, 2 Sept, 2023, 6:05 pm Adrian Mariano, <avm4@cornell.edu> wrote: > There is a gap from having "bent" a curve around another curve to actually > making a 3d object. Creating the hollow cylinder punctured by hexagons is > not a trivial jump from having code that bends a curve. You need to > somehow triangulate the resulting 3d curve. > > Revar has written texture support into BOSL2 where you can put various > repeating textures onto objects. > > https://github.com/BelfrySCAD/BOSL2/wiki/skin.scad#function-texture > > > On Sat, Sep 2, 2023 at 1:13 AM Sanjeev Prabhakar <sprabhakar2006@gmail.com> > wrote: > >> another 2 examples of wrap_around function. >> a honeycomb matrix is wrapped in cylindrical form and a blue outline is >> drawn around each hexagon. >> [image: Screenshot 2023-09-02 at 10.30.15 AM.png] >> >> [image: Screenshot 2023-09-02 at 10.40.43 AM.png] >> >> So there are various applications >> >> On Thu, 31 Aug 2023 at 01:59, Adrian Mariano <avm4@cornell.edu> wrote: >> >>> The box I show is 220mm long. I did my printing with 2 perimeters, so >>> total thickness of 0.8mm. I wouldn't say the box is weak, exactly, but the >>> side wall is flexible. I designed the clasp as shown below so that it >>> mates with the sine wave texture to lock the box shut, but because of the >>> flexibility of the side wall, the lock is not satisfactory. It worked >>> pretty well when I tested with smaller boxes about 100mm long. >>> >>> And in answer to Rogier who wants to see it from a different angle, I >>> can say that this box looks interesting even when you have the 3d printed >>> model in front of you, with very different appearance possible from >>> different angles as the light reflects from the texture. >>> >>> [image: image.png] >>> >>> >>> On Wed, Aug 30, 2023 at 9:19 AM Sanjeev Prabhakar < >>> sprabhakar2006@gmail.com> wrote: >>> >>>> I printed both the boxes which I shared above and they seem to be quite >>>> strong. >>>> Maybe you made a much bigger one. >>>> >>>> >>>> _______________________________________________ >>>> 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 >> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >