discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

path extrude a section

SP
Sanjeev Prabhakar
Sat, Apr 6, 2024 12:04 PM

I don't know if other softwares can path extrude a section like this:

[image: image.png]

I don't know if other softwares can path extrude a section like this: [image: image.png]
JD
John David
Sat, Apr 6, 2024 7:49 PM

That is cool.  There are some tricks I picked up when I took Gerald Farin's
graduate level class on Curves and Surfaces - not only can you sweep a
shape along a path and analyze various levels of smoothness, but you can
also give the function one or more lines that imply rotation, size/scale,
or a property like color.  If you are going to develop the functionality
into a library, you might look at passing in functions to modify other
variables.

I have also seen this type of thing used in animation packages.  Back in
the 1980's there was a researcher that uses a similar scheme to set up a
POV for a "drunken sailer" short animated video.  Anyway, the implication
is that setting up the sweeps may be something you can tie into the
animation and assembly functionality.

Hope this helps.

On Sat, Apr 6, 2024 at 8:05 AM Sanjeev Prabhakar via Discuss <
discuss@lists.openscad.org> wrote:

I don't know if other softwares can path extrude a section like this:

[image: image.png]


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

That is cool. There are some tricks I picked up when I took Gerald Farin's graduate level class on Curves and Surfaces - not only can you sweep a shape along a path and analyze various levels of smoothness, but you can also give the function one or more lines that imply rotation, size/scale, or a property like color. If you are going to develop the functionality into a library, you might look at passing in functions to modify other variables. I have also seen this type of thing used in animation packages. Back in the 1980's there was a researcher that uses a similar scheme to set up a POV for a "drunken sailer" short animated video. Anyway, the implication is that setting up the sweeps may be something you can tie into the animation and assembly functionality. Hope this helps. On Sat, Apr 6, 2024 at 8:05 AM Sanjeev Prabhakar via Discuss < discuss@lists.openscad.org> wrote: > I don't know if other softwares can path extrude a section like this: > > [image: image.png] > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
RD
Revar Desmera
Sat, Apr 6, 2024 11:17 PM

Off the top of my head, I think you can do that with turtle3d() in just a few lines of code. path_sweep() should be able to do it if you pass it a list of path normals to manage the twist.

-Revar

On Apr 6, 2024, at 5:05 AM, Sanjeev Prabhakar via Discuss discuss@lists.openscad.org wrote:


I don't know if other softwares can path extrude a section like this:

<image.png>


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

Off the top of my head, I think you can do that with `turtle3d()` in just a few lines of code. `path_sweep()` should be able to do it if you pass it a list of path normals to manage the twist. -Revar > On Apr 6, 2024, at 5:05 AM, Sanjeev Prabhakar via Discuss <discuss@lists.openscad.org> wrote: > >  > I don't know if other softwares can path extrude a section like this: > > <image.png> > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
SP
Sanjeev Prabhakar
Sun, Apr 7, 2024 12:53 AM

Thanks John for the suggestions and pointers
There are definitely a lot of things which needs to be done and the
possibilities are immense.
Regards

On Sun, 7 Apr, 2024, 1:20 am John David, ebo.2112@gmail.com wrote:

That is cool.  There are some tricks I picked up when I took Gerald
Farin's graduate level class on Curves and Surfaces - not only can you
sweep a shape along a path and analyze various levels of smoothness, but
you can also give the function one or more lines that imply rotation,
size/scale, or a property like color.  If you are going to develop the
functionality into a library, you might look at passing in functions to
modify other variables.

I have also seen this type of thing used in animation packages.  Back in
the 1980's there was a researcher that uses a similar scheme to set up a
POV for a "drunken sailer" short animated video.  Anyway, the implication
is that setting up the sweeps may be something you can tie into the
animation and assembly functionality.

Hope this helps.

On Sat, Apr 6, 2024 at 8:05 AM Sanjeev Prabhakar via Discuss <
discuss@lists.openscad.org> wrote:

I don't know if other softwares can path extrude a section like this:

[image: image.png]


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

Thanks John for the suggestions and pointers There are definitely a lot of things which needs to be done and the possibilities are immense. Regards On Sun, 7 Apr, 2024, 1:20 am John David, <ebo.2112@gmail.com> wrote: > That is cool. There are some tricks I picked up when I took Gerald > Farin's graduate level class on Curves and Surfaces - not only can you > sweep a shape along a path and analyze various levels of smoothness, but > you can also give the function one or more lines that imply rotation, > size/scale, or a property like color. If you are going to develop the > functionality into a library, you might look at passing in functions to > modify other variables. > > I have also seen this type of thing used in animation packages. Back in > the 1980's there was a researcher that uses a similar scheme to set up a > POV for a "drunken sailer" short animated video. Anyway, the implication > is that setting up the sweeps may be something you can tie into the > animation and assembly functionality. > > Hope this helps. > > On Sat, Apr 6, 2024 at 8:05 AM Sanjeev Prabhakar via Discuss < > discuss@lists.openscad.org> wrote: > >> I don't know if other softwares can path extrude a section like this: >> >> [image: image.png] >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org >> >
JD
John David
Sun, Apr 7, 2024 2:05 AM

Thanks both.  Nice ideas.  I wish I had some time to contribute, but I just
got slammed and it is likely to be many weeks, or more realistically
months, before I can realistically pick this up...

Very cool stuff though.

Oh, BTW, Farin's book on Curves and Surfaces is brilliant.  I think it was
the 5'th edition that we were using, and it was the first where he
primarily used Mathematical Blossoms -- which simplified the N-dimensional
math, but can be a bit of a mind bender when you first see it.  That said,
it simplified something like 6 pages of proof down into maybe 6 to 10 lines.

On Sat, Apr 6, 2024 at 8:54 PM Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

Thanks John for the suggestions and pointers
There are definitely a lot of things which needs to be done and the
possibilities are immense.
Regards

On Sun, 7 Apr, 2024, 1:20 am John David, ebo.2112@gmail.com wrote:

That is cool.  There are some tricks I picked up when I took Gerald
Farin's graduate level class on Curves and Surfaces - not only can you
sweep a shape along a path and analyze various levels of smoothness, but
you can also give the function one or more lines that imply rotation,
size/scale, or a property like color.  If you are going to develop the
functionality into a library, you might look at passing in functions to
modify other variables.

I have also seen this type of thing used in animation packages.  Back in
the 1980's there was a researcher that uses a similar scheme to set up a
POV for a "drunken sailer" short animated video.  Anyway, the implication
is that setting up the sweeps may be something you can tie into the
animation and assembly functionality.

Hope this helps.

On Sat, Apr 6, 2024 at 8:05 AM Sanjeev Prabhakar via Discuss <
discuss@lists.openscad.org> wrote:

I don't know if other softwares can path extrude a section like this:

[image: image.png]


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

Thanks both. Nice ideas. I wish I had some time to contribute, but I just got slammed and it is likely to be many weeks, or more realistically months, before I can realistically pick this up... Very cool stuff though. Oh, BTW, Farin's book on Curves and Surfaces is brilliant. I think it was the 5'th edition that we were using, and it was the first where he primarily used Mathematical Blossoms -- which simplified the N-dimensional math, but can be a bit of a mind bender when you first see it. That said, it simplified something like 6 pages of proof down into maybe 6 to 10 lines. On Sat, Apr 6, 2024 at 8:54 PM Sanjeev Prabhakar <sprabhakar2006@gmail.com> wrote: > Thanks John for the suggestions and pointers > There are definitely a lot of things which needs to be done and the > possibilities are immense. > Regards > > > > On Sun, 7 Apr, 2024, 1:20 am John David, <ebo.2112@gmail.com> wrote: > >> That is cool. There are some tricks I picked up when I took Gerald >> Farin's graduate level class on Curves and Surfaces - not only can you >> sweep a shape along a path and analyze various levels of smoothness, but >> you can also give the function one or more lines that imply rotation, >> size/scale, or a property like color. If you are going to develop the >> functionality into a library, you might look at passing in functions to >> modify other variables. >> >> I have also seen this type of thing used in animation packages. Back in >> the 1980's there was a researcher that uses a similar scheme to set up a >> POV for a "drunken sailer" short animated video. Anyway, the implication >> is that setting up the sweeps may be something you can tie into the >> animation and assembly functionality. >> >> Hope this helps. >> >> On Sat, Apr 6, 2024 at 8:05 AM Sanjeev Prabhakar via Discuss < >> discuss@lists.openscad.org> wrote: >> >>> I don't know if other softwares can path extrude a section like this: >>> >>> [image: image.png] >>> _______________________________________________ >>> OpenSCAD mailing list >>> To unsubscribe send an email to discuss-leave@lists.openscad.org >>> >>
AM
Adrian Mariano
Sun, Apr 7, 2024 3:25 AM

What does it look like if you just path_ sweep with default normals?  It’s
possible that twist might be ok for that path.

On Sat, Apr 6, 2024 at 18:17 Revar Desmera via Discuss <
discuss@lists.openscad.org> wrote:

Off the top of my head, I think you can do that with turtle3d() in just
a few lines of code. path_sweep() should be able to do it if you pass it
a list of path normals to manage the twist.

-Revar

On Apr 6, 2024, at 5:05 AM, Sanjeev Prabhakar via Discuss <


I don't know if other softwares can path extrude a section like this:

<image.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

What does it look like if you just path_ sweep with default normals? It’s possible that twist might be ok for that path. On Sat, Apr 6, 2024 at 18:17 Revar Desmera via Discuss < discuss@lists.openscad.org> wrote: > Off the top of my head, I think you can do that with `turtle3d()` in just > a few lines of code. `path_sweep()` should be able to do it if you pass it > a list of path normals to manage the twist. > > -Revar > > > > On Apr 6, 2024, at 5:05 AM, Sanjeev Prabhakar via Discuss < > discuss@lists.openscad.org> wrote: > > > >  > > I don't know if other softwares can path extrude a section like this: > > > > <image.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 >