discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: Where is "path_pos_from_start" in BOLS2 ?

SP
Sanjeev Prabhakar
Tue, Oct 11, 2022 5:45 PM

With the explanation you have given.
I tried to create a arrangement of variable section path extrude.
Please check the file attached.
you need to keep both the files in same folder to work.

Main idea here is the the number of circular sections should match the
number of points in the path or should be greater than the number of points
in the defined path.

Also please note that these files might only work with openscad versions

=2021

explanations of the functions used here is given the the file
dependencies.scad

On Tue, 11 Oct 2022 at 14:32, Mr Yura Volodin via Discuss <
discuss@lists.openscad.org> wrote:

---------- Forwarded message ----------
From: Mr Yura Volodin yur_vol@yahoo.com
To: OpenSCAD general discussion Mailing-list discuss@lists.openscad.org
Cc:
Bcc:
Date: Tue, 11 Oct 2022 09:01:36 +0000 (UTC)
Subject: [OpenSCAD] Re: Where is "path_pos_from_start" in BOLS2 ?
Direct replacement does not work. see attachment

More info:
To reverse engineering saxophones for fdm 3dprinting  I use two curve
approach.
One curve is path to "extrude" and second is - diameters along this path.
After bulding tube I place toneholes, posts and etc, defined by length
from top of tube.
So I need function to return diameter at given length and angle to rotate
item I want to place
I draw curve manually in MOI3D then save as polyline dxf then convert to
openscad polyline with dxfwread.exe tool.
I almost solved all the above, but have a feel that there is more elegant
solution.

Equal spacing along the curve is overkill on straight segments. BSpline
examples in this maillist seems to be useful but I didnot realize how to
implement.
I still didnot understand why length of the resulting tube depends from
quantization number and how to avoid its changing.

On Tuesday, October 11, 2022 at 12:55:06 AM GMT+3, Adrian Mariano <
avm4@cornell.edu> wrote:

I believe that path_pos_from_start was eliminated because it was redundant
with path_cut.  Can path_cut do what you need?

On Mon, Oct 10, 2022 at 11:56 AM Mr Yura Volodin via Discuss <
discuss@lists.openscad.org> wrote:

---------- Forwarded message ----------
From: Mr Yura Volodin yur_vol@yahoo.com
To: Mr Yura Volodin via Discuss discuss@lists.openscad.org
Cc:
Bcc:
Date: Mon, 10 Oct 2022 15:55:25 +0000 (UTC)
Subject: [OpenSCAD] Where is "path_pos_from_start"  in BOLS2 ?
I use this function in BOLS2 from 2020 for finding point  to place an item
on curved tube.
It is absent in newer BOLS2.
What I need to use insteed ?

SY, Yuri

---------- Forwarded message ----------
From: Mr Yura Volodin via Discuss discuss@lists.openscad.org
To: Mr Yura Volodin via Discuss discuss@lists.openscad.org
Cc: Mr Yura Volodin yur_vol@yahoo.com
Bcc:
Date: Mon, 10 Oct 2022 15:55:25 +0000 (UTC)
Subject: [OpenSCAD] Where is "path_pos_from_start"  in BOLS2 ?


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

---------- Forwarded message ----------
From: Mr Yura Volodin via Discuss discuss@lists.openscad.org
To: OpenSCAD general discussion Mailing-list discuss@lists.openscad.org
Cc: Mr Yura Volodin yur_vol@yahoo.com
Bcc:
Date: Tue, 11 Oct 2022 09:01:36 +0000 (UTC)
Subject: [OpenSCAD] Re: Where is "path_pos_from_start" in BOLS2 ?


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

With the explanation you have given. I tried to create a arrangement of variable section path extrude. Please check the file attached. you need to keep both the files in same folder to work. Main idea here is the the number of circular sections should match the number of points in the path or should be greater than the number of points in the defined path. Also please note that these files might only work with openscad versions >=2021 explanations of the functions used here is given the the file dependencies.scad On Tue, 11 Oct 2022 at 14:32, Mr Yura Volodin via Discuss < discuss@lists.openscad.org> wrote: > > > > ---------- Forwarded message ---------- > From: Mr Yura Volodin <yur_vol@yahoo.com> > To: OpenSCAD general discussion Mailing-list <discuss@lists.openscad.org> > Cc: > Bcc: > Date: Tue, 11 Oct 2022 09:01:36 +0000 (UTC) > Subject: [OpenSCAD] Re: Where is "path_pos_from_start" in BOLS2 ? > Direct replacement does not work. see attachment > > More info: > To reverse engineering saxophones for fdm 3dprinting I use two curve > approach. > One curve is path to "extrude" and second is - diameters along this path. > After bulding tube I place toneholes, posts and etc, defined by length > from top of tube. > So I need function to return diameter at given length and angle to rotate > item I want to place > I draw curve manually in MOI3D then save as polyline dxf then convert to > openscad polyline with dxfwread.exe tool. > I almost solved all the above, but have a feel that there is more elegant > solution. > > Equal spacing along the curve is overkill on straight segments. BSpline > examples in this maillist seems to be useful but I didnot realize how to > implement. > I still didnot understand why length of the resulting tube depends from > quantization number and how to avoid its changing. > > > > > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > On Tuesday, October 11, 2022 at 12:55:06 AM GMT+3, Adrian Mariano < > avm4@cornell.edu> wrote: > > > I believe that path_pos_from_start was eliminated because it was redundant > with path_cut. Can path_cut do what you need? > > On Mon, Oct 10, 2022 at 11:56 AM Mr Yura Volodin via Discuss < > discuss@lists.openscad.org> wrote: > > > > > ---------- Forwarded message ---------- > From: Mr Yura Volodin <yur_vol@yahoo.com> > To: Mr Yura Volodin via Discuss <discuss@lists.openscad.org> > Cc: > Bcc: > Date: Mon, 10 Oct 2022 15:55:25 +0000 (UTC) > Subject: [OpenSCAD] Where is "path_pos_from_start" in BOLS2 ? > I use this function in BOLS2 from 2020 for finding point to place an item > on curved tube. > It is absent in newer BOLS2. > What I need to use insteed ? > > SY, Yuri > > > > ---------- Forwarded message ---------- > From: Mr Yura Volodin via Discuss <discuss@lists.openscad.org> > To: Mr Yura Volodin via Discuss <discuss@lists.openscad.org> > Cc: Mr Yura Volodin <yur_vol@yahoo.com> > Bcc: > Date: Mon, 10 Oct 2022 15:55:25 +0000 (UTC) > Subject: [OpenSCAD] Where is "path_pos_from_start" in BOLS2 ? > _______________________________________________ > 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 > > > > ---------- Forwarded message ---------- > From: Mr Yura Volodin via Discuss <discuss@lists.openscad.org> > To: OpenSCAD general discussion Mailing-list <discuss@lists.openscad.org> > Cc: Mr Yura Volodin <yur_vol@yahoo.com> > Bcc: > Date: Tue, 11 Oct 2022 09:01:36 +0000 (UTC) > Subject: [OpenSCAD] Re: Where is "path_pos_from_start" in BOLS2 ? > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
L
larry
Tue, Oct 11, 2022 7:16 PM

On Tue, 2022-10-11 at 23:15 +0530, Sanjeev Prabhakar wrote:

With the explanation you have given.
I tried to create a arrangement of variable section path extrude.
Please check the file attached.
you need to keep both the files in same folder to work.

Main idea here is the the number of circular sections should match
the number of points in the path or should be greater than the number
of points in the defined path.

Also please note that these files might only work with openscad
versions >=2021
explanations of the functions used here is given the the file
dependencies.scad

Something weird is happening here.
I loaded Mr. Volodin's OpenSCAD program into OpenSCAD version
2022.04.18.ai11701, and when I hit F5, I got A warning that it could
not fine BOSL2/paths.scad.

Looking at Help/Library info, I see

OpenSCAD library path:
/home/larry/openscad/libraries
/home/larry/.local/share/OpenSCAD/libraries
/tmp/.mount_scadECKD1p/usr/share/openscad/libraries

The 1st had a directory called +BOSL2 and contained paths.scad
The 2nd had a directory called BOSL2 and contained paths.scad
The 3rd had a subdirectory called MCAD

I deleted /home/larry/openscad/libraries/+BOSL2 and copied
the BOSL2 directories from the 2nd one.

I can cat paths.scad from the 1st or 2nd directory

OPENSCADPATH is set to /home/larry/openscad/libraries

Any idea what's happening?

On Tue, 11 Oct 2022 at 14:32, Mr Yura Volodin via Discuss
discuss@lists.openscad.org wrote:

---------- Forwarded message ----------
From: Mr Yura Volodin yur_vol@yahoo.com
To: OpenSCAD general discussion Mailing-list
discuss@lists.openscad.org
Cc: 
Bcc: 
Date: Tue, 11 Oct 2022 09:01:36 +0000 (UTC)
Subject: [OpenSCAD] Re: Where is "path_pos_from_start" in BOLS2 ?
Direct replacement does not work. see attachment

More info:
To reverse engineering saxophones for fdm 3dprinting  I use two
curve approach.
One curve is path to "extrude" and second is - diameters along this
path.
After bulding tube I place toneholes, posts and etc, defined by
length from top of tube.
So I need function to return diameter at given length and angle to
rotate item I want to place
I draw curve manually in MOI3D then save as polyline dxf then
convert to openscad polyline with dxfwread.exe tool.
I almost solved all the above, but have a feel that there is more
elegant solution.

Equal spacing along the curve is overkill on straight segments.
BSpline examples in this maillist seems to be useful but I didnot
realize how to implement.
I still didnot understand why length of the resulting tube depends
from quantization number and how to avoid its changing.

 

 On Tuesday, October 11, 2022 at 12:55:06 AM GMT+3, Adrian Mariano
avm4@cornell.edu wrote:

I believe that path_pos_from_start was eliminated because it was
redundant with path_cut.  Can path_cut do what you need? 

On Mon, Oct 10, 2022 at 11:56 AM Mr Yura Volodin via Discuss
discuss@lists.openscad.org wrote:

---------- Forwarded message ----------
From: Mr Yura Volodin yur_vol@yahoo.com
To: Mr Yura Volodin via Discuss discuss@lists.openscad.org
Cc: 
Bcc: 
Date: Mon, 10 Oct 2022 15:55:25 +0000 (UTC)
Subject: [OpenSCAD] Where is "path_pos_from_start"  in BOLS2 ?
I use this function in BOLS2 from 2020 for finding point  to
place an item on curved tube.
It is absent in newer BOLS2.
What I need to use insteed ?

SY, Yuri

---------- Forwarded message ----------
From: Mr Yura Volodin via Discuss discuss@lists.openscad.org
To: Mr Yura Volodin via Discuss discuss@lists.openscad.org
Cc: Mr Yura Volodin yur_vol@yahoo.com
Bcc: 
Date: Mon, 10 Oct 2022 15:55:25 +0000 (UTC)
Subject: [OpenSCAD] Where is "path_pos_from_start"  in BOLS2 ?


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

---------- Forwarded message ----------
From: Mr Yura Volodin via Discuss discuss@lists.openscad.org
To: OpenSCAD general discussion Mailing-list
discuss@lists.openscad.org
Cc: Mr Yura Volodin yur_vol@yahoo.com
Bcc: 
Date: Tue, 11 Oct 2022 09:01:36 +0000 (UTC)
Subject: [OpenSCAD] Re: Where is "path_pos_from_start" in BOLS2 ?


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

On Tue, 2022-10-11 at 23:15 +0530, Sanjeev Prabhakar wrote: > With the explanation you have given. > I tried to create a arrangement of variable section path extrude. > Please check the file attached. > you need to keep both the files in same folder to work. > > Main idea here is the the number of circular sections should match > the number of points in the path or should be greater than the number > of points in the defined path. > > Also please note that these files might only work with openscad > versions >=2021 > explanations of the functions used here is given the the file > dependencies.scad Something weird is happening here. I loaded Mr. Volodin's OpenSCAD program into OpenSCAD version 2022.04.18.ai11701, and when I hit F5, I got A warning that it could not fine BOSL2/paths.scad. Looking at Help/Library info, I see OpenSCAD library path: /home/larry/openscad/libraries /home/larry/.local/share/OpenSCAD/libraries /tmp/.mount_scadECKD1p/usr/share/openscad/libraries The 1st had a directory called +BOSL2 and contained paths.scad The 2nd had a directory called BOSL2 and contained paths.scad The 3rd had a subdirectory called MCAD I deleted /home/larry/openscad/libraries/+BOSL2 and copied the BOSL2 directories from the 2nd one. I can cat paths.scad from the 1st or 2nd directory OPENSCADPATH is set to /home/larry/openscad/libraries Any idea what's happening? > On Tue, 11 Oct 2022 at 14:32, Mr Yura Volodin via Discuss > <discuss@lists.openscad.org> wrote: > > > > > > > > ---------- Forwarded message ---------- > > From: Mr Yura Volodin <yur_vol@yahoo.com> > > To: OpenSCAD general discussion Mailing-list > > <discuss@lists.openscad.org> > > Cc:  > > Bcc:  > > Date: Tue, 11 Oct 2022 09:01:36 +0000 (UTC) > > Subject: [OpenSCAD] Re: Where is "path_pos_from_start" in BOLS2 ? > > Direct replacement does not work. see attachment > > > > More info: > > To reverse engineering saxophones for fdm 3dprinting  I use two > > curve approach. > > One curve is path to "extrude" and second is - diameters along this > > path. > > After bulding tube I place toneholes, posts and etc, defined by > > length from top of tube. > > So I need function to return diameter at given length and angle to > > rotate item I want to place > > I draw curve manually in MOI3D then save as polyline dxf then > > convert to openscad polyline with dxfwread.exe tool. > > I almost solved all the above, but have a feel that there is more > > elegant solution. > > > > Equal spacing along the curve is overkill on straight segments. > > BSpline examples in this maillist seems to be useful but I didnot > > realize how to implement. > > I still didnot understand why length of the resulting tube depends > > from quantization number and how to avoid its changing. > > > >   > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >  On Tuesday, October 11, 2022 at 12:55:06 AM GMT+3, Adrian Mariano > > <avm4@cornell.edu> wrote: > > > > > > I believe that path_pos_from_start was eliminated because it was > > redundant with path_cut.  Can path_cut do what you need?  > > > > On Mon, Oct 10, 2022 at 11:56 AM Mr Yura Volodin via Discuss > > <discuss@lists.openscad.org> wrote: > > > > > > > > > > > > ---------- Forwarded message ---------- > > > From: Mr Yura Volodin <yur_vol@yahoo.com> > > > To: Mr Yura Volodin via Discuss <discuss@lists.openscad.org> > > > Cc:  > > > Bcc:  > > > Date: Mon, 10 Oct 2022 15:55:25 +0000 (UTC) > > > Subject: [OpenSCAD] Where is "path_pos_from_start"  in BOLS2 ? > > > I use this function in BOLS2 from 2020 for finding point  to > > > place an item on curved tube. > > > It is absent in newer BOLS2. > > > What I need to use insteed ? > > > > > > SY, Yuri > > > > > > > > > > > > ---------- Forwarded message ---------- > > > From: Mr Yura Volodin via Discuss <discuss@lists.openscad.org> > > > To: Mr Yura Volodin via Discuss <discuss@lists.openscad.org> > > > Cc: Mr Yura Volodin <yur_vol@yahoo.com> > > > Bcc:  > > > Date: Mon, 10 Oct 2022 15:55:25 +0000 (UTC) > > > Subject: [OpenSCAD] Where is "path_pos_from_start"  in BOLS2 ? > > > _______________________________________________ > > > 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 > > > > > > > > ---------- Forwarded message ---------- > > From: Mr Yura Volodin via Discuss <discuss@lists.openscad.org> > > To: OpenSCAD general discussion Mailing-list > > <discuss@lists.openscad.org> > > Cc: Mr Yura Volodin <yur_vol@yahoo.com> > > Bcc:  > > Date: Tue, 11 Oct 2022 09:01:36 +0000 (UTC) > > Subject: [OpenSCAD] Re: Where is "path_pos_from_start" in BOLS2 ? > > _______________________________________________ > > 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, Oct 12, 2022 1:09 AM

I have not seen the file sent by Mr.Yura

But normally a library file like BOSL2 should be placed in the openscad
library folder.

Then it will be universally available.

On Wed, 12 Oct, 2022, 12:46 am larry, lar3ry@sasktel.net wrote:

On Tue, 2022-10-11 at 23:15 +0530, Sanjeev Prabhakar wrote:

With the explanation you have given.
I tried to create a arrangement of variable section path extrude.
Please check the file attached.
you need to keep both the files in same folder to work.

Main idea here is the the number of circular sections should match
the number of points in the path or should be greater than the number
of points in the defined path.

Also please note that these files might only work with openscad
versions >=2021
explanations of the functions used here is given the the file
dependencies.scad

Something weird is happening here.
I loaded Mr. Volodin's OpenSCAD program into OpenSCAD version
2022.04.18.ai11701, and when I hit F5, I got A warning that it could
not fine BOSL2/paths.scad.

Looking at Help/Library info, I see

OpenSCAD library path:
/home/larry/openscad/libraries
/home/larry/.local/share/OpenSCAD/libraries
/tmp/.mount_scadECKD1p/usr/share/openscad/libraries

The 1st had a directory called +BOSL2 and contained paths.scad
The 2nd had a directory called BOSL2 and contained paths.scad
The 3rd had a subdirectory called MCAD

I deleted /home/larry/openscad/libraries/+BOSL2 and copied
the BOSL2 directories from the 2nd one.

I can cat paths.scad from the 1st or 2nd directory

OPENSCADPATH is set to /home/larry/openscad/libraries

Any idea what's happening?

On Tue, 11 Oct 2022 at 14:32, Mr Yura Volodin via Discuss
discuss@lists.openscad.org wrote:

---------- Forwarded message ----------
From: Mr Yura Volodin yur_vol@yahoo.com
To: OpenSCAD general discussion Mailing-list
discuss@lists.openscad.org
Cc:
Bcc:
Date: Tue, 11 Oct 2022 09:01:36 +0000 (UTC)
Subject: [OpenSCAD] Re: Where is "path_pos_from_start" in BOLS2 ?
Direct replacement does not work. see attachment

More info:
To reverse engineering saxophones for fdm 3dprinting  I use two
curve approach.
One curve is path to "extrude" and second is - diameters along this
path.
After bulding tube I place toneholes, posts and etc, defined by
length from top of tube.
So I need function to return diameter at given length and angle to
rotate item I want to place
I draw curve manually in MOI3D then save as polyline dxf then
convert to openscad polyline with dxfwread.exe tool.
I almost solved all the above, but have a feel that there is more
elegant solution.

Equal spacing along the curve is overkill on straight segments.
BSpline examples in this maillist seems to be useful but I didnot
realize how to implement.
I still didnot understand why length of the resulting tube depends
from quantization number and how to avoid its changing.

On Tuesday, October 11, 2022 at 12:55:06 AM GMT+3, Adrian Mariano
avm4@cornell.edu wrote:

I believe that path_pos_from_start was eliminated because it was
redundant with path_cut.  Can path_cut do what you need?

On Mon, Oct 10, 2022 at 11:56 AM Mr Yura Volodin via Discuss
discuss@lists.openscad.org wrote:

---------- Forwarded message ----------
From: Mr Yura Volodin yur_vol@yahoo.com
To: Mr Yura Volodin via Discuss discuss@lists.openscad.org
Cc:
Bcc:
Date: Mon, 10 Oct 2022 15:55:25 +0000 (UTC)
Subject: [OpenSCAD] Where is "path_pos_from_start"  in BOLS2 ?
I use this function in BOLS2 from 2020 for finding point  to
place an item on curved tube.
It is absent in newer BOLS2.
What I need to use insteed ?

SY, Yuri

---------- Forwarded message ----------
From: Mr Yura Volodin via Discuss discuss@lists.openscad.org
To: Mr Yura Volodin via Discuss discuss@lists.openscad.org
Cc: Mr Yura Volodin yur_vol@yahoo.com
Bcc:
Date: Mon, 10 Oct 2022 15:55:25 +0000 (UTC)
Subject: [OpenSCAD] Where is "path_pos_from_start"  in BOLS2 ?


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

---------- Forwarded message ----------
From: Mr Yura Volodin via Discuss discuss@lists.openscad.org
To: OpenSCAD general discussion Mailing-list
discuss@lists.openscad.org
Cc: Mr Yura Volodin yur_vol@yahoo.com
Bcc:
Date: Tue, 11 Oct 2022 09:01:36 +0000 (UTC)
Subject: [OpenSCAD] Re: Where is "path_pos_from_start" in BOLS2 ?


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 not seen the file sent by Mr.Yura But normally a library file like BOSL2 should be placed in the openscad library folder. Then it will be universally available. On Wed, 12 Oct, 2022, 12:46 am larry, <lar3ry@sasktel.net> wrote: > On Tue, 2022-10-11 at 23:15 +0530, Sanjeev Prabhakar wrote: > > With the explanation you have given. > > I tried to create a arrangement of variable section path extrude. > > Please check the file attached. > > you need to keep both the files in same folder to work. > > > > Main idea here is the the number of circular sections should match > > the number of points in the path or should be greater than the number > > of points in the defined path. > > > > Also please note that these files might only work with openscad > > versions >=2021 > > explanations of the functions used here is given the the file > > dependencies.scad > > Something weird is happening here. > I loaded Mr. Volodin's OpenSCAD program into OpenSCAD version > 2022.04.18.ai11701, and when I hit F5, I got A warning that it could > not fine BOSL2/paths.scad. > > Looking at Help/Library info, I see > > OpenSCAD library path: > /home/larry/openscad/libraries > /home/larry/.local/share/OpenSCAD/libraries > /tmp/.mount_scadECKD1p/usr/share/openscad/libraries > > The 1st had a directory called +BOSL2 and contained paths.scad > The 2nd had a directory called BOSL2 and contained paths.scad > The 3rd had a subdirectory called MCAD > > I deleted /home/larry/openscad/libraries/+BOSL2 and copied > the BOSL2 directories from the 2nd one. > > I can cat paths.scad from the 1st or 2nd directory > > OPENSCADPATH is set to /home/larry/openscad/libraries > > Any idea what's happening? > > > > > > > On Tue, 11 Oct 2022 at 14:32, Mr Yura Volodin via Discuss > > <discuss@lists.openscad.org> wrote: > > > > > > > > > > > > ---------- Forwarded message ---------- > > > From: Mr Yura Volodin <yur_vol@yahoo.com> > > > To: OpenSCAD general discussion Mailing-list > > > <discuss@lists.openscad.org> > > > Cc: > > > Bcc: > > > Date: Tue, 11 Oct 2022 09:01:36 +0000 (UTC) > > > Subject: [OpenSCAD] Re: Where is "path_pos_from_start" in BOLS2 ? > > > Direct replacement does not work. see attachment > > > > > > More info: > > > To reverse engineering saxophones for fdm 3dprinting I use two > > > curve approach. > > > One curve is path to "extrude" and second is - diameters along this > > > path. > > > After bulding tube I place toneholes, posts and etc, defined by > > > length from top of tube. > > > So I need function to return diameter at given length and angle to > > > rotate item I want to place > > > I draw curve manually in MOI3D then save as polyline dxf then > > > convert to openscad polyline with dxfwread.exe tool. > > > I almost solved all the above, but have a feel that there is more > > > elegant solution. > > > > > > Equal spacing along the curve is overkill on straight segments. > > > BSpline examples in this maillist seems to be useful but I didnot > > > realize how to implement. > > > I still didnot understand why length of the resulting tube depends > > > from quantization number and how to avoid its changing. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Tuesday, October 11, 2022 at 12:55:06 AM GMT+3, Adrian Mariano > > > <avm4@cornell.edu> wrote: > > > > > > > > > I believe that path_pos_from_start was eliminated because it was > > > redundant with path_cut. Can path_cut do what you need? > > > > > > On Mon, Oct 10, 2022 at 11:56 AM Mr Yura Volodin via Discuss > > > <discuss@lists.openscad.org> wrote: > > > > > > > > > > > > > > > > ---------- Forwarded message ---------- > > > > From: Mr Yura Volodin <yur_vol@yahoo.com> > > > > To: Mr Yura Volodin via Discuss <discuss@lists.openscad.org> > > > > Cc: > > > > Bcc: > > > > Date: Mon, 10 Oct 2022 15:55:25 +0000 (UTC) > > > > Subject: [OpenSCAD] Where is "path_pos_from_start" in BOLS2 ? > > > > I use this function in BOLS2 from 2020 for finding point to > > > > place an item on curved tube. > > > > It is absent in newer BOLS2. > > > > What I need to use insteed ? > > > > > > > > SY, Yuri > > > > > > > > > > > > > > > > ---------- Forwarded message ---------- > > > > From: Mr Yura Volodin via Discuss <discuss@lists.openscad.org> > > > > To: Mr Yura Volodin via Discuss <discuss@lists.openscad.org> > > > > Cc: Mr Yura Volodin <yur_vol@yahoo.com> > > > > Bcc: > > > > Date: Mon, 10 Oct 2022 15:55:25 +0000 (UTC) > > > > Subject: [OpenSCAD] Where is "path_pos_from_start" in BOLS2 ? > > > > _______________________________________________ > > > > 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 > > > > > > > > > > > > ---------- Forwarded message ---------- > > > From: Mr Yura Volodin via Discuss <discuss@lists.openscad.org> > > > To: OpenSCAD general discussion Mailing-list > > > <discuss@lists.openscad.org> > > > Cc: Mr Yura Volodin <yur_vol@yahoo.com> > > > Bcc: > > > Date: Tue, 11 Oct 2022 09:01:36 +0000 (UTC) > > > Subject: [OpenSCAD] Re: Where is "path_pos_from_start" in BOLS2 ? > > > _______________________________________________ > > > 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 >
L
larry
Wed, Oct 12, 2022 4:15 AM

On Wed, 2022-10-12 at 06:39 +0530, Sanjeev Prabhakar wrote:

I have not seen the file sent by Mr.Yura
But normally a library file like BOSL2 should be placed in the
openscad library folder. 
Then it will be universally available.

After some experimentation, I got rid of two of the libraries
directories. That is to say that I put all library files into the path
defined in $OPENSCADPATH, which is /home/larry/openscad/libraries

A quick test file:

include <BOSL2/std.scad>
use <BOSL2/paths.scad>
circle (10);

gives no error when I preview or render it.

However, Mr. Volodin's program still gives me a warning that it can't
find BOSL2/paths.scad

On Wed, 12 Oct, 2022, 12:46 am larry, lar3ry@sasktel.net wrote:

On Tue, 2022-10-11 at 23:15 +0530, Sanjeev Prabhakar wrote:

With the explanation you have given.
I tried to create a arrangement of variable section path extrude.
Please check the file attached.
you need to keep both the files in same folder to work.

Main idea here is the the number of circular sections should
match
the number of points in the path or should be greater than the
number
of points in the defined path.

Also please note that these files might only work with openscad
versions >=2021
explanations of the functions used here is given the the file
dependencies.scad

Something weird is happening here.
I loaded Mr. Volodin's OpenSCAD program into OpenSCAD version
2022.04.18.ai11701, and when I hit F5, I got A warning that it
could
not fine BOSL2/paths.scad.

Looking at Help/Library info, I see

OpenSCAD library path:
/home/larry/openscad/libraries
/home/larry/.local/share/OpenSCAD/libraries
/tmp/.mount_scadECKD1p/usr/share/openscad/libraries

The 1st had a directory called +BOSL2 and contained paths.scad
The 2nd had a directory called BOSL2 and contained paths.scad
The 3rd had a subdirectory called MCAD

I deleted /home/larry/openscad/libraries/+BOSL2 and copied
the BOSL2 directories from the 2nd one.

I can cat paths.scad from the 1st or 2nd directory

OPENSCADPATH is set to /home/larry/openscad/libraries

Any idea what's happening?

On Tue, 11 Oct 2022 at 14:32, Mr Yura Volodin via Discuss
discuss@lists.openscad.org wrote:

---------- Forwarded message ----------
From: Mr Yura Volodin yur_vol@yahoo.com
To: OpenSCAD general discussion Mailing-list
discuss@lists.openscad.org
Cc: 
Bcc: 
Date: Tue, 11 Oct 2022 09:01:36 +0000 (UTC)
Subject: [OpenSCAD] Re: Where is "path_pos_from_start" in BOLS2
?
Direct replacement does not work. see attachment

More info:
To reverse engineering saxophones for fdm 3dprinting  I use two
curve approach.
One curve is path to "extrude" and second is - diameters along
this
path.
After bulding tube I place toneholes, posts and etc, defined by
length from top of tube.
So I need function to return diameter at given length and angle
to
rotate item I want to place
I draw curve manually in MOI3D then save as polyline dxf then
convert to openscad polyline with dxfwread.exe tool.
I almost solved all the above, but have a feel that there is
more
elegant solution.

Equal spacing along the curve is overkill on straight segments.
BSpline examples in this maillist seems to be useful but I
didnot
realize how to implement.
I still didnot understand why length of the resulting tube
depends
from quantization number and how to avoid its changing.

 

 On Tuesday, October 11, 2022 at 12:55:06 AM GMT+3, Adrian
Mariano
avm4@cornell.edu wrote:

I believe that path_pos_from_start was eliminated because it
was
redundant with path_cut.  Can path_cut do what you need? 

On Mon, Oct 10, 2022 at 11:56 AM Mr Yura Volodin via Discuss
discuss@lists.openscad.org wrote:

---------- Forwarded message ----------
From: Mr Yura Volodin yur_vol@yahoo.com
To: Mr Yura Volodin via Discuss discuss@lists.openscad.org
Cc: 
Bcc: 
Date: Mon, 10 Oct 2022 15:55:25 +0000 (UTC)
Subject: [OpenSCAD] Where is "path_pos_from_start"  in BOLS2
?
I use this function in BOLS2 from 2020 for finding point  to
place an item on curved tube.
It is absent in newer BOLS2.
What I need to use insteed ?

SY, Yuri

---------- Forwarded message ----------
From: Mr Yura Volodin via Discuss
discuss@lists.openscad.org
To: Mr Yura Volodin via Discuss discuss@lists.openscad.org
Cc: Mr Yura Volodin yur_vol@yahoo.com
Bcc: 
Date: Mon, 10 Oct 2022 15:55:25 +0000 (UTC)
Subject: [OpenSCAD] Where is "path_pos_from_start"  in BOLS2
?


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

---------- Forwarded message ----------
From: Mr Yura Volodin via Discuss discuss@lists.openscad.org
To: OpenSCAD general discussion Mailing-list
discuss@lists.openscad.org
Cc: Mr Yura Volodin yur_vol@yahoo.com
Bcc: 
Date: Tue, 11 Oct 2022 09:01:36 +0000 (UTC)
Subject: [OpenSCAD] Re: Where is "path_pos_from_start" in BOLS2
?


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

On Wed, 2022-10-12 at 06:39 +0530, Sanjeev Prabhakar wrote: > I have not seen the file sent by Mr.Yura > But normally a library file like BOSL2 should be placed in the > openscad library folder.  > Then it will be universally available. After some experimentation, I got rid of two of the libraries directories. That is to say that I put all library files into the path defined in $OPENSCADPATH, which is /home/larry/openscad/libraries A quick test file: include <BOSL2/std.scad> use <BOSL2/paths.scad> circle (10); gives no error when I preview or render it. However, Mr. Volodin's program still gives me a warning that it can't find BOSL2/paths.scad > On Wed, 12 Oct, 2022, 12:46 am larry, <lar3ry@sasktel.net> wrote: > > On Tue, 2022-10-11 at 23:15 +0530, Sanjeev Prabhakar wrote: > > > With the explanation you have given. > > > I tried to create a arrangement of variable section path extrude. > > > Please check the file attached. > > > you need to keep both the files in same folder to work. > > > > > > Main idea here is the the number of circular sections should > > > match > > > the number of points in the path or should be greater than the > > > number > > > of points in the defined path. > > > > > > Also please note that these files might only work with openscad > > > versions >=2021 > > > explanations of the functions used here is given the the file > > > dependencies.scad > > > > Something weird is happening here. > > I loaded Mr. Volodin's OpenSCAD program into OpenSCAD version > > 2022.04.18.ai11701, and when I hit F5, I got A warning that it > > could > > not fine BOSL2/paths.scad. > > > > Looking at Help/Library info, I see > > > > OpenSCAD library path: > > /home/larry/openscad/libraries > > /home/larry/.local/share/OpenSCAD/libraries > > /tmp/.mount_scadECKD1p/usr/share/openscad/libraries > > > > The 1st had a directory called +BOSL2 and contained paths.scad > > The 2nd had a directory called BOSL2 and contained paths.scad > > The 3rd had a subdirectory called MCAD > > > > I deleted /home/larry/openscad/libraries/+BOSL2 and copied > > the BOSL2 directories from the 2nd one. > > > > I can cat paths.scad from the 1st or 2nd directory > > > > OPENSCADPATH is set to /home/larry/openscad/libraries > > > > Any idea what's happening? > > > > > > > > > > > > > On Tue, 11 Oct 2022 at 14:32, Mr Yura Volodin via Discuss > > > <discuss@lists.openscad.org> wrote: > > > > > > > > > > > > > > > > ---------- Forwarded message ---------- > > > > From: Mr Yura Volodin <yur_vol@yahoo.com> > > > > To: OpenSCAD general discussion Mailing-list > > > > <discuss@lists.openscad.org> > > > > Cc:  > > > > Bcc:  > > > > Date: Tue, 11 Oct 2022 09:01:36 +0000 (UTC) > > > > Subject: [OpenSCAD] Re: Where is "path_pos_from_start" in BOLS2 > > > > ? > > > > Direct replacement does not work. see attachment > > > > > > > > More info: > > > > To reverse engineering saxophones for fdm 3dprinting  I use two > > > > curve approach. > > > > One curve is path to "extrude" and second is - diameters along > > > > this > > > > path. > > > > After bulding tube I place toneholes, posts and etc, defined by > > > > length from top of tube. > > > > So I need function to return diameter at given length and angle > > > > to > > > > rotate item I want to place > > > > I draw curve manually in MOI3D then save as polyline dxf then > > > > convert to openscad polyline with dxfwread.exe tool. > > > > I almost solved all the above, but have a feel that there is > > > > more > > > > elegant solution. > > > > > > > > Equal spacing along the curve is overkill on straight segments. > > > > BSpline examples in this maillist seems to be useful but I > > > > didnot > > > > realize how to implement. > > > > I still didnot understand why length of the resulting tube > > > > depends > > > > from quantization number and how to avoid its changing. > > > > > > > >   > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >  On Tuesday, October 11, 2022 at 12:55:06 AM GMT+3, Adrian > > > > Mariano > > > > <avm4@cornell.edu> wrote: > > > > > > > > > > > > I believe that path_pos_from_start was eliminated because it > > > > was > > > > redundant with path_cut.  Can path_cut do what you need?  > > > > > > > > On Mon, Oct 10, 2022 at 11:56 AM Mr Yura Volodin via Discuss > > > > <discuss@lists.openscad.org> wrote: > > > > > > > > > > > > > > > > > > > > ---------- Forwarded message ---------- > > > > > From: Mr Yura Volodin <yur_vol@yahoo.com> > > > > > To: Mr Yura Volodin via Discuss <discuss@lists.openscad.org> > > > > > Cc:  > > > > > Bcc:  > > > > > Date: Mon, 10 Oct 2022 15:55:25 +0000 (UTC) > > > > > Subject: [OpenSCAD] Where is "path_pos_from_start"  in BOLS2 > > > > > ? > > > > > I use this function in BOLS2 from 2020 for finding point  to > > > > > place an item on curved tube. > > > > > It is absent in newer BOLS2. > > > > > What I need to use insteed ? > > > > > > > > > > SY, Yuri > > > > > > > > > > > > > > > > > > > > ---------- Forwarded message ---------- > > > > > From: Mr Yura Volodin via Discuss > > > > > <discuss@lists.openscad.org> > > > > > To: Mr Yura Volodin via Discuss <discuss@lists.openscad.org> > > > > > Cc: Mr Yura Volodin <yur_vol@yahoo.com> > > > > > Bcc:  > > > > > Date: Mon, 10 Oct 2022 15:55:25 +0000 (UTC) > > > > > Subject: [OpenSCAD] Where is "path_pos_from_start"  in BOLS2 > > > > > ? > > > > > _______________________________________________ > > > > > 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 > > > > > > > > > > > > > > > > ---------- Forwarded message ---------- > > > > From: Mr Yura Volodin via Discuss <discuss@lists.openscad.org> > > > > To: OpenSCAD general discussion Mailing-list > > > > <discuss@lists.openscad.org> > > > > Cc: Mr Yura Volodin <yur_vol@yahoo.com> > > > > Bcc:  > > > > Date: Tue, 11 Oct 2022 09:01:36 +0000 (UTC) > > > > Subject: [OpenSCAD] Re: Where is "path_pos_from_start" in BOLS2 > > > > ? > > > > _______________________________________________ > > > > 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
MY
Mr Yura Volodin
Wed, Oct 12, 2022 7:01 AM

Sorry
Comment out string:

use <BOLS2/paths.scad>
I still use local paths.scad from 2020 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
On Tuesday, October 11, 2022 at 10:16:11 PM GMT+3, larry lar3ry@sasktel.net wrote:

On Tue, 2022-10-11 at 23:15 +0530, Sanjeev Prabhakar wrote:

With the explanation you have given.
I tried to create a arrangement of variable section path extrude.
Please check the file attached.
you need to keep both the files in same folder to work.

Main idea here is the the number of circular sections should match
the number of points in the path or should be greater than the number
of points in the defined path.

Also please note that these files might only work with openscad
versions >=2021
explanations of the functions used here is given the the file
dependencies.scad

Something weird is happening here.
I loaded Mr. Volodin's OpenSCAD program into OpenSCAD version
2022.04.18.ai11701, and when I hit F5, I got A warning that it could
not fine BOSL2/paths.scad.

Looking at Help/Library info, I see

OpenSCAD library path:
/home/larry/openscad/libraries
/home/larry/.local/share/OpenSCAD/libraries
/tmp/.mount_scadECKD1p/usr/share/openscad/libraries

The 1st had a directory called +BOSL2 and contained paths.scad
The 2nd had a directory called BOSL2 and contained paths.scad
The 3rd had a subdirectory called MCAD

I deleted /home/larry/openscad/libraries/+BOSL2 and copied
the BOSL2 directories from the 2nd one.

I can cat paths.scad from the 1st or 2nd directory

OPENSCADPATH is set to /home/larry/openscad/libraries

Any idea what's happening?

On Tue, 11 Oct 2022 at 14:32, Mr Yura Volodin via Discuss
discuss@lists.openscad.org wrote:

---------- Forwarded message ----------
From: Mr Yura Volodin yur_vol@yahoo.com
To: OpenSCAD general discussion Mailing-list
discuss@lists.openscad.org
Cc: 
Bcc: 
Date: Tue, 11 Oct 2022 09:01:36 +0000 (UTC)
Subject: [OpenSCAD] Re: Where is "path_pos_from_start" in BOLS2 ?
Direct replacement does not work. see attachment

More info:
To reverse engineering saxophones for fdm 3dprinting  I use two
curve approach.
One curve is path to "extrude" and second is - diameters along this
path.
After bulding tube I place toneholes, posts and etc, defined by
length from top of tube.
So I need function to return diameter at given length and angle to
rotate item I want to place
I draw curve manually in MOI3D then save as polyline dxf then
convert to openscad polyline with dxfwread.exe tool.
I almost solved all the above, but have a feel that there is more
elegant solution.

Equal spacing along the curve is overkill on straight segments.
BSpline examples in this maillist seems to be useful but I didnot
realize how to implement.
I still didnot understand why length of the resulting tube depends
from quantization number and how to avoid its changing.

 

 On Tuesday, October 11, 2022 at 12:55:06 AM GMT+3, Adrian Mariano
avm4@cornell.edu wrote:

I believe that path_pos_from_start was eliminated because it was
redundant with path_cut.  Can path_cut do what you need? 

On Mon, Oct 10, 2022 at 11:56 AM Mr Yura Volodin via Discuss
discuss@lists.openscad.org wrote:

---------- Forwarded message ----------
From: Mr Yura Volodin yur_vol@yahoo.com
To: Mr Yura Volodin via Discuss discuss@lists.openscad.org
Cc: 
Bcc: 
Date: Mon, 10 Oct 2022 15:55:25 +0000 (UTC)
Subject: [OpenSCAD] Where is "path_pos_from_start"  in BOLS2 ?
I use this function in BOLS2 from 2020 for finding point  to
place an item on curved tube.
It is absent in newer BOLS2.
What I need to use insteed ?

SY, Yuri

---------- Forwarded message ----------
From: Mr Yura Volodin via Discuss discuss@lists.openscad.org
To: Mr Yura Volodin via Discuss discuss@lists.openscad.org
Cc: Mr Yura Volodin yur_vol@yahoo.com
Bcc: 
Date: Mon, 10 Oct 2022 15:55:25 +0000 (UTC)
Subject: [OpenSCAD] Where is "path_pos_from_start"  in BOLS2 ?


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

---------- Forwarded message ----------
From: Mr Yura Volodin via Discuss discuss@lists.openscad.org
To: OpenSCAD general discussion Mailing-list
discuss@lists.openscad.org
Cc: Mr Yura Volodin yur_vol@yahoo.com
Bcc: 
Date: Tue, 11 Oct 2022 09:01:36 +0000 (UTC)
Subject: [OpenSCAD] Re: Where is "path_pos_from_start" in BOLS2 ?


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

Sorry Comment out string: use <BOLS2/paths.scad> I still use local paths.scad from 2020 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Tuesday, October 11, 2022 at 10:16:11 PM GMT+3, larry <lar3ry@sasktel.net> wrote: On Tue, 2022-10-11 at 23:15 +0530, Sanjeev Prabhakar wrote: > With the explanation you have given. > I tried to create a arrangement of variable section path extrude. > Please check the file attached. > you need to keep both the files in same folder to work. > > Main idea here is the the number of circular sections should match > the number of points in the path or should be greater than the number > of points in the defined path. > > Also please note that these files might only work with openscad > versions >=2021 > explanations of the functions used here is given the the file > dependencies.scad Something weird is happening here. I loaded Mr. Volodin's OpenSCAD program into OpenSCAD version 2022.04.18.ai11701, and when I hit F5, I got A warning that it could not fine BOSL2/paths.scad. Looking at Help/Library info, I see OpenSCAD library path: /home/larry/openscad/libraries /home/larry/.local/share/OpenSCAD/libraries /tmp/.mount_scadECKD1p/usr/share/openscad/libraries The 1st had a directory called +BOSL2 and contained paths.scad The 2nd had a directory called BOSL2 and contained paths.scad The 3rd had a subdirectory called MCAD I deleted /home/larry/openscad/libraries/+BOSL2 and copied the BOSL2 directories from the 2nd one. I can cat paths.scad from the 1st or 2nd directory OPENSCADPATH is set to /home/larry/openscad/libraries Any idea what's happening? > On Tue, 11 Oct 2022 at 14:32, Mr Yura Volodin via Discuss > <discuss@lists.openscad.org> wrote: > > > > > > > > ---------- Forwarded message ---------- > > From: Mr Yura Volodin <yur_vol@yahoo.com> > > To: OpenSCAD general discussion Mailing-list > > <discuss@lists.openscad.org> > > Cc:  > > Bcc:  > > Date: Tue, 11 Oct 2022 09:01:36 +0000 (UTC) > > Subject: [OpenSCAD] Re: Where is "path_pos_from_start" in BOLS2 ? > > Direct replacement does not work. see attachment > > > > More info: > > To reverse engineering saxophones for fdm 3dprinting  I use two > > curve approach. > > One curve is path to "extrude" and second is - diameters along this > > path. > > After bulding tube I place toneholes, posts and etc, defined by > > length from top of tube. > > So I need function to return diameter at given length and angle to > > rotate item I want to place > > I draw curve manually in MOI3D then save as polyline dxf then > > convert to openscad polyline with dxfwread.exe tool. > > I almost solved all the above, but have a feel that there is more > > elegant solution. > > > > Equal spacing along the curve is overkill on straight segments. > > BSpline examples in this maillist seems to be useful but I didnot > > realize how to implement. > > I still didnot understand why length of the resulting tube depends > > from quantization number and how to avoid its changing. > > > >   > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >  On Tuesday, October 11, 2022 at 12:55:06 AM GMT+3, Adrian Mariano > > <avm4@cornell.edu> wrote: > > > > > > I believe that path_pos_from_start was eliminated because it was > > redundant with path_cut.  Can path_cut do what you need?  > > > > On Mon, Oct 10, 2022 at 11:56 AM Mr Yura Volodin via Discuss > > <discuss@lists.openscad.org> wrote: > > > > > > > > > > > > ---------- Forwarded message ---------- > > > From: Mr Yura Volodin <yur_vol@yahoo.com> > > > To: Mr Yura Volodin via Discuss <discuss@lists.openscad.org> > > > Cc:  > > > Bcc:  > > > Date: Mon, 10 Oct 2022 15:55:25 +0000 (UTC) > > > Subject: [OpenSCAD] Where is "path_pos_from_start"  in BOLS2 ? > > > I use this function in BOLS2 from 2020 for finding point  to > > > place an item on curved tube. > > > It is absent in newer BOLS2. > > > What I need to use insteed ? > > > > > > SY, Yuri > > > > > > > > > > > > ---------- Forwarded message ---------- > > > From: Mr Yura Volodin via Discuss <discuss@lists.openscad.org> > > > To: Mr Yura Volodin via Discuss <discuss@lists.openscad.org> > > > Cc: Mr Yura Volodin <yur_vol@yahoo.com> > > > Bcc:  > > > Date: Mon, 10 Oct 2022 15:55:25 +0000 (UTC) > > > Subject: [OpenSCAD] Where is "path_pos_from_start"  in BOLS2 ? > > > _______________________________________________ > > > 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 > > > > > > > > ---------- Forwarded message ---------- > > From: Mr Yura Volodin via Discuss <discuss@lists.openscad.org> > > To: OpenSCAD general discussion Mailing-list > > <discuss@lists.openscad.org> > > Cc: Mr Yura Volodin <yur_vol@yahoo.com> > > Bcc:  > > Date: Tue, 11 Oct 2022 09:01:36 +0000 (UTC) > > Subject: [OpenSCAD] Re: Where is "path_pos_from_start" in BOLS2 ? > > _______________________________________________ > > 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
MY
Mr Yura Volodin
Wed, Oct 12, 2022 7:25 AM

For running my code see attach of old paths.scad put it in local diruse <paths.cad>

.    On Wednesday, October 12, 2022 at 07:15:27 AM GMT+3, larry lar3ry@sasktel.net wrote:

On Wed, 2022-10-12 at 06:39 +0530, Sanjeev Prabhakar wrote:

I have not seen the file sent by Mr.Yura
But normally a library file like BOSL2 should be placed in the
openscad library folder. 
Then it will be universally available.

After some experimentation, I got rid of two of the libraries
directories. That is to say that I put all library files into the path
defined in $OPENSCADPATH, which is /home/larry/openscad/libraries

A quick test file:

include <BOSL2/std.scad>
use <BOSL2/paths.scad>
  circle (10);

gives no error when I preview or render it.

However, Mr. Volodin's program still gives me a warning that it can't
find BOSL2/paths.scad

On Wed, 12 Oct, 2022, 12:46 am larry, lar3ry@sasktel.net wrote:

On Tue, 2022-10-11 at 23:15 +0530, Sanjeev Prabhakar wrote:

With the explanation you have given.
I tried to create a arrangement of variable section path extrude.
Please check the file attached.
you need to keep both the files in same folder to work.

Main idea here is the the number of circular sections should
match
the number of points in the path or should be greater than the
number
of points in the defined path.

Also please note that these files might only work with openscad
versions >=2021
explanations of the functions used here is given the the file
dependencies.scad

Something weird is happening here.
I loaded Mr. Volodin's OpenSCAD program into OpenSCAD version
2022.04.18.ai11701, and when I hit F5, I got A warning that it
could
not fine BOSL2/paths.scad.

Looking at Help/Library info, I see

OpenSCAD library path:
/home/larry/openscad/libraries
/home/larry/.local/share/OpenSCAD/libraries
/tmp/.mount_scadECKD1p/usr/share/openscad/libraries

The 1st had a directory called +BOSL2 and contained paths.scad
The 2nd had a directory called BOSL2 and contained paths.scad
The 3rd had a subdirectory called MCAD

I deleted /home/larry/openscad/libraries/+BOSL2 and copied
the BOSL2 directories from the 2nd one.

I can cat paths.scad from the 1st or 2nd directory

OPENSCADPATH is set to /home/larry/openscad/libraries

Any idea what's happening?

On Tue, 11 Oct 2022 at 14:32, Mr Yura Volodin via Discuss
discuss@lists.openscad.org wrote:

---------- Forwarded message ----------
From: Mr Yura Volodin yur_vol@yahoo.com
To: OpenSCAD general discussion Mailing-list
discuss@lists.openscad.org
Cc: 
Bcc: 
Date: Tue, 11 Oct 2022 09:01:36 +0000 (UTC)
Subject: [OpenSCAD] Re: Where is "path_pos_from_start" in BOLS2
?
Direct replacement does not work. see attachment

More info:
To reverse engineering saxophones for fdm 3dprinting  I use two
curve approach.
One curve is path to "extrude" and second is - diameters along
this
path.
After bulding tube I place toneholes, posts and etc, defined by
length from top of tube.
So I need function to return diameter at given length and angle
to
rotate item I want to place
I draw curve manually in MOI3D then save as polyline dxf then
convert to openscad polyline with dxfwread.exe tool.
I almost solved all the above, but have a feel that there is
more
elegant solution.

Equal spacing along the curve is overkill on straight segments.
BSpline examples in this maillist seems to be useful but I
didnot
realize how to implement.
I still didnot understand why length of the resulting tube
depends
from quantization number and how to avoid its changing.

 

 On Tuesday, October 11, 2022 at 12:55:06 AM GMT+3, Adrian
Mariano
avm4@cornell.edu wrote:

I believe that path_pos_from_start was eliminated because it
was
redundant with path_cut.  Can path_cut do what you need? 

On Mon, Oct 10, 2022 at 11:56 AM Mr Yura Volodin via Discuss
discuss@lists.openscad.org wrote:

---------- Forwarded message ----------
From: Mr Yura Volodin yur_vol@yahoo.com
To: Mr Yura Volodin via Discuss discuss@lists.openscad.org
Cc: 
Bcc: 
Date: Mon, 10 Oct 2022 15:55:25 +0000 (UTC)
Subject: [OpenSCAD] Where is "path_pos_from_start"  in BOLS2
?
I use this function in BOLS2 from 2020 for finding point  to
place an item on curved tube.
It is absent in newer BOLS2.
What I need to use insteed ?

SY, Yuri

---------- Forwarded message ----------
From: Mr Yura Volodin via Discuss
discuss@lists.openscad.org
To: Mr Yura Volodin via Discuss discuss@lists.openscad.org
Cc: Mr Yura Volodin yur_vol@yahoo.com
Bcc: 
Date: Mon, 10 Oct 2022 15:55:25 +0000 (UTC)
Subject: [OpenSCAD] Where is "path_pos_from_start"  in BOLS2
?


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

---------- Forwarded message ----------
From: Mr Yura Volodin via Discuss discuss@lists.openscad.org
To: OpenSCAD general discussion Mailing-list
discuss@lists.openscad.org
Cc: Mr Yura Volodin yur_vol@yahoo.com
Bcc: 
Date: Tue, 11 Oct 2022 09:01:36 +0000 (UTC)
Subject: [OpenSCAD] Re: Where is "path_pos_from_start" in BOLS2
?


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

For running my code see attach of old paths.scad put it in local diruse <paths.cad> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>. On Wednesday, October 12, 2022 at 07:15:27 AM GMT+3, larry <lar3ry@sasktel.net> wrote: On Wed, 2022-10-12 at 06:39 +0530, Sanjeev Prabhakar wrote: > I have not seen the file sent by Mr.Yura > But normally a library file like BOSL2 should be placed in the > openscad library folder.  > Then it will be universally available. After some experimentation, I got rid of two of the libraries directories. That is to say that I put all library files into the path defined in $OPENSCADPATH, which is /home/larry/openscad/libraries A quick test file: include <BOSL2/std.scad> use <BOSL2/paths.scad>   circle (10); gives no error when I preview or render it. However, Mr. Volodin's program still gives me a warning that it can't find BOSL2/paths.scad > On Wed, 12 Oct, 2022, 12:46 am larry, <lar3ry@sasktel.net> wrote: > > On Tue, 2022-10-11 at 23:15 +0530, Sanjeev Prabhakar wrote: > > > With the explanation you have given. > > > I tried to create a arrangement of variable section path extrude. > > > Please check the file attached. > > > you need to keep both the files in same folder to work. > > > > > > Main idea here is the the number of circular sections should > > > match > > > the number of points in the path or should be greater than the > > > number > > > of points in the defined path. > > > > > > Also please note that these files might only work with openscad > > > versions >=2021 > > > explanations of the functions used here is given the the file > > > dependencies.scad > > > > Something weird is happening here. > > I loaded Mr. Volodin's OpenSCAD program into OpenSCAD version > > 2022.04.18.ai11701, and when I hit F5, I got A warning that it > > could > > not fine BOSL2/paths.scad. > > > > Looking at Help/Library info, I see > > > > OpenSCAD library path: > > /home/larry/openscad/libraries > > /home/larry/.local/share/OpenSCAD/libraries > > /tmp/.mount_scadECKD1p/usr/share/openscad/libraries > > > > The 1st had a directory called +BOSL2 and contained paths.scad > > The 2nd had a directory called BOSL2 and contained paths.scad > > The 3rd had a subdirectory called MCAD > > > > I deleted /home/larry/openscad/libraries/+BOSL2 and copied > > the BOSL2 directories from the 2nd one. > > > > I can cat paths.scad from the 1st or 2nd directory > > > > OPENSCADPATH is set to /home/larry/openscad/libraries > > > > Any idea what's happening? > > > > > > > > > > > > > On Tue, 11 Oct 2022 at 14:32, Mr Yura Volodin via Discuss > > > <discuss@lists.openscad.org> wrote: > > > > > > > > > > > > > > > > ---------- Forwarded message ---------- > > > > From: Mr Yura Volodin <yur_vol@yahoo.com> > > > > To: OpenSCAD general discussion Mailing-list > > > > <discuss@lists.openscad.org> > > > > Cc:  > > > > Bcc:  > > > > Date: Tue, 11 Oct 2022 09:01:36 +0000 (UTC) > > > > Subject: [OpenSCAD] Re: Where is "path_pos_from_start" in BOLS2 > > > > ? > > > > Direct replacement does not work. see attachment > > > > > > > > More info: > > > > To reverse engineering saxophones for fdm 3dprinting  I use two > > > > curve approach. > > > > One curve is path to "extrude" and second is - diameters along > > > > this > > > > path. > > > > After bulding tube I place toneholes, posts and etc, defined by > > > > length from top of tube. > > > > So I need function to return diameter at given length and angle > > > > to > > > > rotate item I want to place > > > > I draw curve manually in MOI3D then save as polyline dxf then > > > > convert to openscad polyline with dxfwread.exe tool. > > > > I almost solved all the above, but have a feel that there is > > > > more > > > > elegant solution. > > > > > > > > Equal spacing along the curve is overkill on straight segments. > > > > BSpline examples in this maillist seems to be useful but I > > > > didnot > > > > realize how to implement. > > > > I still didnot understand why length of the resulting tube > > > > depends > > > > from quantization number and how to avoid its changing. > > > > > > > >   > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >  On Tuesday, October 11, 2022 at 12:55:06 AM GMT+3, Adrian > > > > Mariano > > > > <avm4@cornell.edu> wrote: > > > > > > > > > > > > I believe that path_pos_from_start was eliminated because it > > > > was > > > > redundant with path_cut.  Can path_cut do what you need?  > > > > > > > > On Mon, Oct 10, 2022 at 11:56 AM Mr Yura Volodin via Discuss > > > > <discuss@lists.openscad.org> wrote: > > > > > > > > > > > > > > > > > > > > ---------- Forwarded message ---------- > > > > > From: Mr Yura Volodin <yur_vol@yahoo.com> > > > > > To: Mr Yura Volodin via Discuss <discuss@lists.openscad.org> > > > > > Cc:  > > > > > Bcc:  > > > > > Date: Mon, 10 Oct 2022 15:55:25 +0000 (UTC) > > > > > Subject: [OpenSCAD] Where is "path_pos_from_start"  in BOLS2 > > > > > ? > > > > > I use this function in BOLS2 from 2020 for finding point  to > > > > > place an item on curved tube. > > > > > It is absent in newer BOLS2. > > > > > What I need to use insteed ? > > > > > > > > > > SY, Yuri > > > > > > > > > > > > > > > > > > > > ---------- Forwarded message ---------- > > > > > From: Mr Yura Volodin via Discuss > > > > > <discuss@lists.openscad.org> > > > > > To: Mr Yura Volodin via Discuss <discuss@lists.openscad.org> > > > > > Cc: Mr Yura Volodin <yur_vol@yahoo.com> > > > > > Bcc:  > > > > > Date: Mon, 10 Oct 2022 15:55:25 +0000 (UTC) > > > > > Subject: [OpenSCAD] Where is "path_pos_from_start"  in BOLS2 > > > > > ? > > > > > _______________________________________________ > > > > > 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 > > > > > > > > > > > > > > > > ---------- Forwarded message ---------- > > > > From: Mr Yura Volodin via Discuss <discuss@lists.openscad.org> > > > > To: OpenSCAD general discussion Mailing-list > > > > <discuss@lists.openscad.org> > > > > Cc: Mr Yura Volodin <yur_vol@yahoo.com> > > > > Bcc:  > > > > Date: Tue, 11 Oct 2022 09:01:36 +0000 (UTC) > > > > Subject: [OpenSCAD] Re: Where is "path_pos_from_start" in BOLS2 > > > > ? > > > > _______________________________________________ > > > > 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