discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

path extrude

SP
Sanjeev Prabhakar
Wed, Mar 29, 2023 2:48 AM

Can this be achieved through path_extrude?

I have tried various ways but could not achieve it.

[image: Screenshot 2023-03-28 at 9.12.31 PM.png]

Can this be achieved through path_extrude? I have tried various ways but could not achieve it. [image: Screenshot 2023-03-28 at 9.12.31 PM.png]
AM
Adrian Mariano
Wed, Mar 29, 2023 3:25 AM

It seems like it should be possible.  Supply the point list and profile and
I can try it.  What problem do you have?

On Tue, Mar 28, 2023 at 10:49 PM Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

Can this be achieved through path_extrude?

I have tried various ways but could not achieve it.

[image: Screenshot 2023-03-28 at 9.12.31 PM.png]


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

It seems like it should be possible. Supply the point list and profile and I can try it. What problem do you have? On Tue, Mar 28, 2023 at 10:49 PM Sanjeev Prabhakar <sprabhakar2006@gmail.com> wrote: > Can this be achieved through path_extrude? > > I have tried various ways but could not achieve it. > > [image: Screenshot 2023-03-28 at 9.12.31 PM.png] > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
SP
Sanjeev Prabhakar
Wed, Mar 29, 2023 4:38 AM

section should be a rectangle 5 x 1 with vertices [[0,0],[5,0],[5,1],[0,1]]

path is mainly a list of 4 vertices with a radius of 5 at each point

[[20,0,10],[0,20,0],[-20,0,10],[0,-20,0]]

I dont have my computer with me right now, but this is what it should be

On Wed, 29 Mar 2023, 08:56 Adrian Mariano, avm4@cornell.edu wrote:

It seems like it should be possible.  Supply the point list and profile
and I can try it.  What problem do you have?

On Tue, Mar 28, 2023 at 10:49 PM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

Can this be achieved through path_extrude?

I have tried various ways but could not achieve it.

[image: Screenshot 2023-03-28 at 9.12.31 PM.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

section should be a rectangle 5 x 1 with vertices [[0,0],[5,0],[5,1],[0,1]] path is mainly a list of 4 vertices with a radius of 5 at each point [[20,0,10],[0,20,0],[-20,0,10],[0,-20,0]] I dont have my computer with me right now, but this is what it should be On Wed, 29 Mar 2023, 08:56 Adrian Mariano, <avm4@cornell.edu> wrote: > It seems like it should be possible. Supply the point list and profile > and I can try it. What problem do you have? > > On Tue, Mar 28, 2023 at 10:49 PM Sanjeev Prabhakar < > sprabhakar2006@gmail.com> wrote: > >> Can this be achieved through path_extrude? >> >> I have tried various ways but could not achieve it. >> >> [image: Screenshot 2023-03-28 at 9.12.31 PM.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 >
GS
Guenther Sohler
Wed, Mar 29, 2023 6:22 AM

Hi Sanjeev,

is this what you are looking for?

[image: image.png]

just angle of 60 deg was guessed

https://imgpile.com/i/hxk8PC

On Wed, Mar 29, 2023 at 6:39 AM Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

section should be a rectangle 5 x 1 with vertices [[0,0],[5,0],[5,1],[0,1]]

path is mainly a list of 4 vertices with a radius of 5 at each point

[[20,0,10],[0,20,0],[-20,0,10],[0,-20,0]]

I dont have my computer with me right now, but this is what it should be

On Wed, 29 Mar 2023, 08:56 Adrian Mariano, avm4@cornell.edu wrote:

It seems like it should be possible.  Supply the point list and profile
and I can try it.  What problem do you have?

On Tue, Mar 28, 2023 at 10:49 PM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

Can this be achieved through path_extrude?

I have tried various ways but could not achieve it.

[image: Screenshot 2023-03-28 at 9.12.31 PM.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

Hi Sanjeev, is this what you are looking for? [image: image.png] just angle of 60 deg was guessed https://imgpile.com/i/hxk8PC On Wed, Mar 29, 2023 at 6:39 AM Sanjeev Prabhakar <sprabhakar2006@gmail.com> wrote: > section should be a rectangle 5 x 1 with vertices [[0,0],[5,0],[5,1],[0,1]] > > path is mainly a list of 4 vertices with a radius of 5 at each point > > [[20,0,10],[0,20,0],[-20,0,10],[0,-20,0]] > > I dont have my computer with me right now, but this is what it should be > > On Wed, 29 Mar 2023, 08:56 Adrian Mariano, <avm4@cornell.edu> wrote: > >> It seems like it should be possible. Supply the point list and profile >> and I can try it. What problem do you have? >> >> On Tue, Mar 28, 2023 at 10:49 PM Sanjeev Prabhakar < >> sprabhakar2006@gmail.com> wrote: >> >>> Can this be achieved through path_extrude? >>> >>> I have tried various ways but could not achieve it. >>> >>> [image: Screenshot 2023-03-28 at 9.12.31 PM.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 >
SP
Sanjeev Prabhakar
Wed, Mar 29, 2023 6:32 AM

If you look from -y direction, it should look like a 'V' shape

On Wed, 29 Mar, 2023, 11:52 am Guenther Sohler, guenther.sohler@gmail.com
wrote:

Hi Sanjeev,

is this what you are looking for?

[image: image.png]

just angle of 60 deg was guessed

https://imgpile.com/i/hxk8PC

On Wed, Mar 29, 2023 at 6:39 AM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

section should be a rectangle 5 x 1 with vertices
[[0,0],[5,0],[5,1],[0,1]]

path is mainly a list of 4 vertices with a radius of 5 at each point

[[20,0,10],[0,20,0],[-20,0,10],[0,-20,0]]

I dont have my computer with me right now, but this is what it should be

On Wed, 29 Mar 2023, 08:56 Adrian Mariano, avm4@cornell.edu wrote:

It seems like it should be possible.  Supply the point list and profile
and I can try it.  What problem do you have?

On Tue, Mar 28, 2023 at 10:49 PM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

Can this be achieved through path_extrude?

I have tried various ways but could not achieve it.

[image: Screenshot 2023-03-28 at 9.12.31 PM.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


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

If you look from -y direction, it should look like a 'V' shape On Wed, 29 Mar, 2023, 11:52 am Guenther Sohler, <guenther.sohler@gmail.com> wrote: > Hi Sanjeev, > > is this what you are looking for? > > [image: image.png] > > just angle of 60 deg was guessed > > https://imgpile.com/i/hxk8PC > > On Wed, Mar 29, 2023 at 6:39 AM Sanjeev Prabhakar < > sprabhakar2006@gmail.com> wrote: > >> section should be a rectangle 5 x 1 with vertices >> [[0,0],[5,0],[5,1],[0,1]] >> >> path is mainly a list of 4 vertices with a radius of 5 at each point >> >> [[20,0,10],[0,20,0],[-20,0,10],[0,-20,0]] >> >> I dont have my computer with me right now, but this is what it should be >> >> On Wed, 29 Mar 2023, 08:56 Adrian Mariano, <avm4@cornell.edu> wrote: >> >>> It seems like it should be possible. Supply the point list and profile >>> and I can try it. What problem do you have? >>> >>> On Tue, Mar 28, 2023 at 10:49 PM Sanjeev Prabhakar < >>> sprabhakar2006@gmail.com> wrote: >>> >>>> Can this be achieved through path_extrude? >>>> >>>> I have tried various ways but could not achieve it. >>>> >>>> [image: Screenshot 2023-03-28 at 9.12.31 PM.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 >> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
AM
Adrian Mariano
Wed, Mar 29, 2023 11:18 AM

Is there a path_extrude() in some version of OpenSCAD?

On Wed, Mar 29, 2023 at 2:33 AM Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

If you look from -y direction, it should look like a 'V' shape

On Wed, 29 Mar, 2023, 11:52 am Guenther Sohler, guenther.sohler@gmail.com
wrote:

Hi Sanjeev,

is this what you are looking for?

[image: image.png]

just angle of 60 deg was guessed

https://imgpile.com/i/hxk8PC

On Wed, Mar 29, 2023 at 6:39 AM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

section should be a rectangle 5 x 1 with vertices
[[0,0],[5,0],[5,1],[0,1]]

path is mainly a list of 4 vertices with a radius of 5 at each point

[[20,0,10],[0,20,0],[-20,0,10],[0,-20,0]]

I dont have my computer with me right now, but this is what it should be

On Wed, 29 Mar 2023, 08:56 Adrian Mariano, avm4@cornell.edu wrote:

It seems like it should be possible.  Supply the point list and profile
and I can try it.  What problem do you have?

On Tue, Mar 28, 2023 at 10:49 PM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

Can this be achieved through path_extrude?

I have tried various ways but could not achieve it.

[image: Screenshot 2023-03-28 at 9.12.31 PM.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


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

Is there a path_extrude() in some version of OpenSCAD? On Wed, Mar 29, 2023 at 2:33 AM Sanjeev Prabhakar <sprabhakar2006@gmail.com> wrote: > If you look from -y direction, it should look like a 'V' shape > > On Wed, 29 Mar, 2023, 11:52 am Guenther Sohler, <guenther.sohler@gmail.com> > wrote: > >> Hi Sanjeev, >> >> is this what you are looking for? >> >> [image: image.png] >> >> just angle of 60 deg was guessed >> >> https://imgpile.com/i/hxk8PC >> >> On Wed, Mar 29, 2023 at 6:39 AM Sanjeev Prabhakar < >> sprabhakar2006@gmail.com> wrote: >> >>> section should be a rectangle 5 x 1 with vertices >>> [[0,0],[5,0],[5,1],[0,1]] >>> >>> path is mainly a list of 4 vertices with a radius of 5 at each point >>> >>> [[20,0,10],[0,20,0],[-20,0,10],[0,-20,0]] >>> >>> I dont have my computer with me right now, but this is what it should be >>> >>> On Wed, 29 Mar 2023, 08:56 Adrian Mariano, <avm4@cornell.edu> wrote: >>> >>>> It seems like it should be possible. Supply the point list and profile >>>> and I can try it. What problem do you have? >>>> >>>> On Tue, Mar 28, 2023 at 10:49 PM Sanjeev Prabhakar < >>>> sprabhakar2006@gmail.com> wrote: >>>> >>>>> Can this be achieved through path_extrude? >>>>> >>>>> I have tried various ways but could not achieve it. >>>>> >>>>> [image: Screenshot 2023-03-28 at 9.12.31 PM.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 >>> >> _______________________________________________ >> 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, Mar 29, 2023 11:38 AM

I don't think there is any path extrude in openscad.
Few developers have written this function.
The version I wrote could not handle this kind of problem.

On Wed, 29 Mar, 2023, 4:50 pm Adrian Mariano, avm4@cornell.edu wrote:

Is there a path_extrude() in some version of OpenSCAD?

On Wed, Mar 29, 2023 at 2:33 AM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

If you look from -y direction, it should look like a 'V' shape

On Wed, 29 Mar, 2023, 11:52 am Guenther Sohler, <
guenther.sohler@gmail.com> wrote:

Hi Sanjeev,

is this what you are looking for?

[image: image.png]

just angle of 60 deg was guessed

https://imgpile.com/i/hxk8PC

On Wed, Mar 29, 2023 at 6:39 AM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

section should be a rectangle 5 x 1 with vertices
[[0,0],[5,0],[5,1],[0,1]]

path is mainly a list of 4 vertices with a radius of 5 at each point

[[20,0,10],[0,20,0],[-20,0,10],[0,-20,0]]

I dont have my computer with me right now, but this is what it should be

On Wed, 29 Mar 2023, 08:56 Adrian Mariano, avm4@cornell.edu wrote:

It seems like it should be possible.  Supply the point list and
profile and I can try it.  What problem do you have?

On Tue, Mar 28, 2023 at 10:49 PM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

Can this be achieved through path_extrude?

I have tried various ways but could not achieve it.

[image: Screenshot 2023-03-28 at 9.12.31 PM.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


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

I don't think there is any path extrude in openscad. Few developers have written this function. The version I wrote could not handle this kind of problem. On Wed, 29 Mar, 2023, 4:50 pm Adrian Mariano, <avm4@cornell.edu> wrote: > Is there a path_extrude() in some version of OpenSCAD? > > On Wed, Mar 29, 2023 at 2:33 AM Sanjeev Prabhakar < > sprabhakar2006@gmail.com> wrote: > >> If you look from -y direction, it should look like a 'V' shape >> >> On Wed, 29 Mar, 2023, 11:52 am Guenther Sohler, < >> guenther.sohler@gmail.com> wrote: >> >>> Hi Sanjeev, >>> >>> is this what you are looking for? >>> >>> [image: image.png] >>> >>> just angle of 60 deg was guessed >>> >>> https://imgpile.com/i/hxk8PC >>> >>> On Wed, Mar 29, 2023 at 6:39 AM Sanjeev Prabhakar < >>> sprabhakar2006@gmail.com> wrote: >>> >>>> section should be a rectangle 5 x 1 with vertices >>>> [[0,0],[5,0],[5,1],[0,1]] >>>> >>>> path is mainly a list of 4 vertices with a radius of 5 at each point >>>> >>>> [[20,0,10],[0,20,0],[-20,0,10],[0,-20,0]] >>>> >>>> I dont have my computer with me right now, but this is what it should be >>>> >>>> On Wed, 29 Mar 2023, 08:56 Adrian Mariano, <avm4@cornell.edu> wrote: >>>> >>>>> It seems like it should be possible. Supply the point list and >>>>> profile and I can try it. What problem do you have? >>>>> >>>>> On Tue, Mar 28, 2023 at 10:49 PM Sanjeev Prabhakar < >>>>> sprabhakar2006@gmail.com> wrote: >>>>> >>>>>> Can this be achieved through path_extrude? >>>>>> >>>>>> I have tried various ways but could not achieve it. >>>>>> >>>>>> [image: Screenshot 2023-03-28 at 9.12.31 PM.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 >>>> >>> _______________________________________________ >>> 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, Mar 29, 2023 3:42 PM

I have written the code which does this, but not with path_extrude, which I
tried initially.
This is a kind of folding or bending of a sheet, so this is not simple to
do in openscad

On Wed, 29 Mar 2023 at 17:08, Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

I don't think there is any path extrude in openscad.
Few developers have written this function.
The version I wrote could not handle this kind of problem.

On Wed, 29 Mar, 2023, 4:50 pm Adrian Mariano, avm4@cornell.edu wrote:

Is there a path_extrude() in some version of OpenSCAD?

On Wed, Mar 29, 2023 at 2:33 AM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

If you look from -y direction, it should look like a 'V' shape

On Wed, 29 Mar, 2023, 11:52 am Guenther Sohler, <
guenther.sohler@gmail.com> wrote:

Hi Sanjeev,

is this what you are looking for?

[image: image.png]

just angle of 60 deg was guessed

https://imgpile.com/i/hxk8PC

On Wed, Mar 29, 2023 at 6:39 AM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

section should be a rectangle 5 x 1 with vertices
[[0,0],[5,0],[5,1],[0,1]]

path is mainly a list of 4 vertices with a radius of 5 at each point

[[20,0,10],[0,20,0],[-20,0,10],[0,-20,0]]

I dont have my computer with me right now, but this is what it should
be

On Wed, 29 Mar 2023, 08:56 Adrian Mariano, avm4@cornell.edu wrote:

It seems like it should be possible.  Supply the point list and
profile and I can try it.  What problem do you have?

On Tue, Mar 28, 2023 at 10:49 PM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

Can this be achieved through path_extrude?

I have tried various ways but could not achieve it.

[image: Screenshot 2023-03-28 at 9.12.31 PM.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


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

I have written the code which does this, but not with path_extrude, which I tried initially. This is a kind of folding or bending of a sheet, so this is not simple to do in openscad On Wed, 29 Mar 2023 at 17:08, Sanjeev Prabhakar <sprabhakar2006@gmail.com> wrote: > I don't think there is any path extrude in openscad. > Few developers have written this function. > The version I wrote could not handle this kind of problem. > > > > On Wed, 29 Mar, 2023, 4:50 pm Adrian Mariano, <avm4@cornell.edu> wrote: > >> Is there a path_extrude() in some version of OpenSCAD? >> >> On Wed, Mar 29, 2023 at 2:33 AM Sanjeev Prabhakar < >> sprabhakar2006@gmail.com> wrote: >> >>> If you look from -y direction, it should look like a 'V' shape >>> >>> On Wed, 29 Mar, 2023, 11:52 am Guenther Sohler, < >>> guenther.sohler@gmail.com> wrote: >>> >>>> Hi Sanjeev, >>>> >>>> is this what you are looking for? >>>> >>>> [image: image.png] >>>> >>>> just angle of 60 deg was guessed >>>> >>>> https://imgpile.com/i/hxk8PC >>>> >>>> On Wed, Mar 29, 2023 at 6:39 AM Sanjeev Prabhakar < >>>> sprabhakar2006@gmail.com> wrote: >>>> >>>>> section should be a rectangle 5 x 1 with vertices >>>>> [[0,0],[5,0],[5,1],[0,1]] >>>>> >>>>> path is mainly a list of 4 vertices with a radius of 5 at each point >>>>> >>>>> [[20,0,10],[0,20,0],[-20,0,10],[0,-20,0]] >>>>> >>>>> I dont have my computer with me right now, but this is what it should >>>>> be >>>>> >>>>> On Wed, 29 Mar 2023, 08:56 Adrian Mariano, <avm4@cornell.edu> wrote: >>>>> >>>>>> It seems like it should be possible. Supply the point list and >>>>>> profile and I can try it. What problem do you have? >>>>>> >>>>>> On Tue, Mar 28, 2023 at 10:49 PM Sanjeev Prabhakar < >>>>>> sprabhakar2006@gmail.com> wrote: >>>>>> >>>>>>> Can this be achieved through path_extrude? >>>>>>> >>>>>>> I have tried various ways but could not achieve it. >>>>>>> >>>>>>> [image: Screenshot 2023-03-28 at 9.12.31 PM.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 >>>>> >>>> _______________________________________________ >>>> 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 >> >
AM
Adrian Mariano
Wed, Mar 29, 2023 8:25 PM

I'm confused.  This seems to be a simple application of a path sweep
operation, though it would be better to figure out the angle in an
automated way.

include<BOSL2/std.scad>
include<BOSL2/rounding.scad>

p = [[20,0,10],[0,20,0],[-20,0,10],[0,-20,0]];
pround = round_corners(p,radius=5,closed=true);
profile = zrot(-20,rect([5,1]));

path_sweep(profile,pround,closed=true);

[image: image.png]

On Wed, Mar 29, 2023 at 11:43 AM Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

I have written the code which does this, but not with path_extrude, which
I tried initially.
This is a kind of folding or bending of a sheet, so this is not simple to
do in openscad

On Wed, 29 Mar 2023 at 17:08, Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

I don't think there is any path extrude in openscad.
Few developers have written this function.
The version I wrote could not handle this kind of problem.

On Wed, 29 Mar, 2023, 4:50 pm Adrian Mariano, avm4@cornell.edu wrote:

Is there a path_extrude() in some version of OpenSCAD?

On Wed, Mar 29, 2023 at 2:33 AM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

If you look from -y direction, it should look like a 'V' shape

On Wed, 29 Mar, 2023, 11:52 am Guenther Sohler, <
guenther.sohler@gmail.com> wrote:

Hi Sanjeev,

is this what you are looking for?

[image: image.png]

just angle of 60 deg was guessed

https://imgpile.com/i/hxk8PC

On Wed, Mar 29, 2023 at 6:39 AM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

section should be a rectangle 5 x 1 with vertices
[[0,0],[5,0],[5,1],[0,1]]

path is mainly a list of 4 vertices with a radius of 5 at each point

[[20,0,10],[0,20,0],[-20,0,10],[0,-20,0]]

I dont have my computer with me right now, but this is what it should
be

On Wed, 29 Mar 2023, 08:56 Adrian Mariano, avm4@cornell.edu wrote:

It seems like it should be possible.  Supply the point list and
profile and I can try it.  What problem do you have?

On Tue, Mar 28, 2023 at 10:49 PM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

Can this be achieved through path_extrude?

I have tried various ways but could not achieve it.

[image: Screenshot 2023-03-28 at 9.12.31 PM.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


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

I'm confused. This seems to be a simple application of a path sweep operation, though it would be better to figure out the angle in an automated way. include<BOSL2/std.scad> include<BOSL2/rounding.scad> p = [[20,0,10],[0,20,0],[-20,0,10],[0,-20,0]]; pround = round_corners(p,radius=5,closed=true); profile = zrot(-20,rect([5,1])); path_sweep(profile,pround,closed=true); [image: image.png] On Wed, Mar 29, 2023 at 11:43 AM Sanjeev Prabhakar <sprabhakar2006@gmail.com> wrote: > I have written the code which does this, but not with path_extrude, which > I tried initially. > This is a kind of folding or bending of a sheet, so this is not simple to > do in openscad > > On Wed, 29 Mar 2023 at 17:08, Sanjeev Prabhakar <sprabhakar2006@gmail.com> > wrote: > >> I don't think there is any path extrude in openscad. >> Few developers have written this function. >> The version I wrote could not handle this kind of problem. >> >> >> >> On Wed, 29 Mar, 2023, 4:50 pm Adrian Mariano, <avm4@cornell.edu> wrote: >> >>> Is there a path_extrude() in some version of OpenSCAD? >>> >>> On Wed, Mar 29, 2023 at 2:33 AM Sanjeev Prabhakar < >>> sprabhakar2006@gmail.com> wrote: >>> >>>> If you look from -y direction, it should look like a 'V' shape >>>> >>>> On Wed, 29 Mar, 2023, 11:52 am Guenther Sohler, < >>>> guenther.sohler@gmail.com> wrote: >>>> >>>>> Hi Sanjeev, >>>>> >>>>> is this what you are looking for? >>>>> >>>>> [image: image.png] >>>>> >>>>> just angle of 60 deg was guessed >>>>> >>>>> https://imgpile.com/i/hxk8PC >>>>> >>>>> On Wed, Mar 29, 2023 at 6:39 AM Sanjeev Prabhakar < >>>>> sprabhakar2006@gmail.com> wrote: >>>>> >>>>>> section should be a rectangle 5 x 1 with vertices >>>>>> [[0,0],[5,0],[5,1],[0,1]] >>>>>> >>>>>> path is mainly a list of 4 vertices with a radius of 5 at each point >>>>>> >>>>>> [[20,0,10],[0,20,0],[-20,0,10],[0,-20,0]] >>>>>> >>>>>> I dont have my computer with me right now, but this is what it should >>>>>> be >>>>>> >>>>>> On Wed, 29 Mar 2023, 08:56 Adrian Mariano, <avm4@cornell.edu> wrote: >>>>>> >>>>>>> It seems like it should be possible. Supply the point list and >>>>>>> profile and I can try it. What problem do you have? >>>>>>> >>>>>>> On Tue, Mar 28, 2023 at 10:49 PM Sanjeev Prabhakar < >>>>>>> sprabhakar2006@gmail.com> wrote: >>>>>>> >>>>>>>> Can this be achieved through path_extrude? >>>>>>>> >>>>>>>> I have tried various ways but could not achieve it. >>>>>>>> >>>>>>>> [image: Screenshot 2023-03-28 at 9.12.31 PM.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 >>>>>> >>>>> _______________________________________________ >>>>> 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
Thu, Mar 30, 2023 2:28 AM

This is close but not exactly what I wanted to do.

You can check my file and if you look from x+ direction, it is a perfect
'V'.

Path extrude function of Guenther and you seems to be quite similar.

On Thu, 30 Mar, 2023, 1:56 am Adrian Mariano, avm4@cornell.edu wrote:

I'm confused.  This seems to be a simple application of a path sweep
operation, though it would be better to figure out the angle in an
automated way.

include<BOSL2/std.scad>
include<BOSL2/rounding.scad>

p = [[20,0,10],[0,20,0],[-20,0,10],[0,-20,0]];
pround = round_corners(p,radius=5,closed=true);
profile = zrot(-20,rect([5,1]));

path_sweep(profile,pround,closed=true);

[image: image.png]

On Wed, Mar 29, 2023 at 11:43 AM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

I have written the code which does this, but not with path_extrude, which
I tried initially.
This is a kind of folding or bending of a sheet, so this is not simple to
do in openscad

On Wed, 29 Mar 2023 at 17:08, Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

I don't think there is any path extrude in openscad.
Few developers have written this function.
The version I wrote could not handle this kind of problem.

On Wed, 29 Mar, 2023, 4:50 pm Adrian Mariano, avm4@cornell.edu wrote:

Is there a path_extrude() in some version of OpenSCAD?

On Wed, Mar 29, 2023 at 2:33 AM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

If you look from -y direction, it should look like a 'V' shape

On Wed, 29 Mar, 2023, 11:52 am Guenther Sohler, <
guenther.sohler@gmail.com> wrote:

Hi Sanjeev,

is this what you are looking for?

[image: image.png]

just angle of 60 deg was guessed

https://imgpile.com/i/hxk8PC

On Wed, Mar 29, 2023 at 6:39 AM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

section should be a rectangle 5 x 1 with vertices
[[0,0],[5,0],[5,1],[0,1]]

path is mainly a list of 4 vertices with a radius of 5 at each point

[[20,0,10],[0,20,0],[-20,0,10],[0,-20,0]]

I dont have my computer with me right now, but this is what it
should be

On Wed, 29 Mar 2023, 08:56 Adrian Mariano, avm4@cornell.edu wrote:

It seems like it should be possible.  Supply the point list and
profile and I can try it.  What problem do you have?

On Tue, Mar 28, 2023 at 10:49 PM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

Can this be achieved through path_extrude?

I have tried various ways but could not achieve it.

[image: Screenshot 2023-03-28 at 9.12.31 PM.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


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


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

This is close but not exactly what I wanted to do. You can check my file and if you look from x+ direction, it is a perfect 'V'. Path extrude function of Guenther and you seems to be quite similar. On Thu, 30 Mar, 2023, 1:56 am Adrian Mariano, <avm4@cornell.edu> wrote: > I'm confused. This seems to be a simple application of a path sweep > operation, though it would be better to figure out the angle in an > automated way. > > include<BOSL2/std.scad> > include<BOSL2/rounding.scad> > > p = [[20,0,10],[0,20,0],[-20,0,10],[0,-20,0]]; > pround = round_corners(p,radius=5,closed=true); > profile = zrot(-20,rect([5,1])); > > path_sweep(profile,pround,closed=true); > > > [image: image.png] > > > On Wed, Mar 29, 2023 at 11:43 AM Sanjeev Prabhakar < > sprabhakar2006@gmail.com> wrote: > >> I have written the code which does this, but not with path_extrude, which >> I tried initially. >> This is a kind of folding or bending of a sheet, so this is not simple to >> do in openscad >> >> On Wed, 29 Mar 2023 at 17:08, Sanjeev Prabhakar <sprabhakar2006@gmail.com> >> wrote: >> >>> I don't think there is any path extrude in openscad. >>> Few developers have written this function. >>> The version I wrote could not handle this kind of problem. >>> >>> >>> >>> On Wed, 29 Mar, 2023, 4:50 pm Adrian Mariano, <avm4@cornell.edu> wrote: >>> >>>> Is there a path_extrude() in some version of OpenSCAD? >>>> >>>> On Wed, Mar 29, 2023 at 2:33 AM Sanjeev Prabhakar < >>>> sprabhakar2006@gmail.com> wrote: >>>> >>>>> If you look from -y direction, it should look like a 'V' shape >>>>> >>>>> On Wed, 29 Mar, 2023, 11:52 am Guenther Sohler, < >>>>> guenther.sohler@gmail.com> wrote: >>>>> >>>>>> Hi Sanjeev, >>>>>> >>>>>> is this what you are looking for? >>>>>> >>>>>> [image: image.png] >>>>>> >>>>>> just angle of 60 deg was guessed >>>>>> >>>>>> https://imgpile.com/i/hxk8PC >>>>>> >>>>>> On Wed, Mar 29, 2023 at 6:39 AM Sanjeev Prabhakar < >>>>>> sprabhakar2006@gmail.com> wrote: >>>>>> >>>>>>> section should be a rectangle 5 x 1 with vertices >>>>>>> [[0,0],[5,0],[5,1],[0,1]] >>>>>>> >>>>>>> path is mainly a list of 4 vertices with a radius of 5 at each point >>>>>>> >>>>>>> [[20,0,10],[0,20,0],[-20,0,10],[0,-20,0]] >>>>>>> >>>>>>> I dont have my computer with me right now, but this is what it >>>>>>> should be >>>>>>> >>>>>>> On Wed, 29 Mar 2023, 08:56 Adrian Mariano, <avm4@cornell.edu> wrote: >>>>>>> >>>>>>>> It seems like it should be possible. Supply the point list and >>>>>>>> profile and I can try it. What problem do you have? >>>>>>>> >>>>>>>> On Tue, Mar 28, 2023 at 10:49 PM Sanjeev Prabhakar < >>>>>>>> sprabhakar2006@gmail.com> wrote: >>>>>>>> >>>>>>>>> Can this be achieved through path_extrude? >>>>>>>>> >>>>>>>>> I have tried various ways but could not achieve it. >>>>>>>>> >>>>>>>>> [image: Screenshot 2023-03-28 at 9.12.31 PM.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 >>>>>>> >>>>>> _______________________________________________ >>>>>> 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 >> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >