discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

path_sweep()

JW
Joe Weinpert
Tue, Mar 8, 2022 6:54 PM

include <BOSL2/std.scad>
path = [for(theta=[-180:5:180]) [theta/10, 10*sin(theta)]];
sq = square(6);
path_sweep(sq,path,profiles=true,width=.1,$fn=8);

When testing the above example 3 within path_sweep() in the BOSL2 library,
I receive the following two warnings:

WARNING: variable profiles not specified as parameter in file ext0.scad,
line 6

WARNING: variable width not specified as parameter in file ext0.scad, line 6

Am I missing something?

include <BOSL2/std.scad> path = [for(theta=[-180:5:180]) [theta/10, 10*sin(theta)]]; sq = square(6); path_sweep(sq,path,profiles=true,width=.1,$fn=8); When testing the above example 3 within path_sweep() in the BOSL2 library, I receive the following two warnings: WARNING: variable profiles not specified as parameter in file ext0.scad, line 6 WARNING: variable width not specified as parameter in file ext0.scad, line 6 Am I missing something?
AM
Adrian Mariano
Tue, Mar 8, 2022 9:26 PM

The profiles option to path_sweep was added very recently, so you may
just need to upgrade your BOSL2.

On Tue, Mar 8, 2022 at 1:54 PM Joe Weinpert joe.weinpert@gmail.com wrote:

include <BOSL2/std.scad>
path = [for(theta=[-180:5:180]) [theta/10, 10*sin(theta)]];
sq = square(6);
path_sweep(sq,path,profiles=true,width=.1,$fn=8);

When testing the above example 3 within path_sweep() in the BOSL2 library, I receive the following two warnings:

WARNING: variable profiles not specified as parameter in file ext0.scad, line 6

WARNING: variable width not specified as parameter in file ext0.scad, line 6

Am I missing something?


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

The profiles option to path_sweep was added very recently, so you may just need to upgrade your BOSL2. On Tue, Mar 8, 2022 at 1:54 PM Joe Weinpert <joe.weinpert@gmail.com> wrote: > > > include <BOSL2/std.scad> > path = [for(theta=[-180:5:180]) [theta/10, 10*sin(theta)]]; > sq = square(6); > path_sweep(sq,path,profiles=true,width=.1,$fn=8); > > > When testing the above example 3 within path_sweep() in the BOSL2 library, I receive the following two warnings: > > WARNING: variable profiles not specified as parameter in file ext0.scad, line 6 > > WARNING: variable width not specified as parameter in file ext0.scad, line 6 > > > > Am I missing something? > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
JW
Joe Weinpert
Tue, Mar 8, 2022 9:42 PM

Yes ... that was the problem.

Is there a way to be notified of BOSL2 updates?

On Tue, Mar 8, 2022 at 4:27 PM Adrian Mariano avm4@cornell.edu wrote:

The profiles option to path_sweep was added very recently, so you may
just need to upgrade your BOSL2.

On Tue, Mar 8, 2022 at 1:54 PM Joe Weinpert joe.weinpert@gmail.com
wrote:

include <BOSL2/std.scad>
path = [for(theta=[-180:5:180]) [theta/10, 10*sin(theta)]];
sq = square(6);
path_sweep(sq,path,profiles=true,width=.1,$fn=8);

When testing the above example 3 within path_sweep() in the BOSL2

library, I receive the following two warnings:

WARNING: variable profiles not specified as parameter in file ext0.scad,

line 6

WARNING: variable width not specified as parameter in file ext0.scad,

line 6

Am I missing something?


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


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

Yes ... that was the problem. Is there a way to be notified of BOSL2 updates? On Tue, Mar 8, 2022 at 4:27 PM Adrian Mariano <avm4@cornell.edu> wrote: > The profiles option to path_sweep was added very recently, so you may > just need to upgrade your BOSL2. > > On Tue, Mar 8, 2022 at 1:54 PM Joe Weinpert <joe.weinpert@gmail.com> > wrote: > > > > > > include <BOSL2/std.scad> > > path = [for(theta=[-180:5:180]) [theta/10, 10*sin(theta)]]; > > sq = square(6); > > path_sweep(sq,path,profiles=true,width=.1,$fn=8); > > > > > > When testing the above example 3 within path_sweep() in the BOSL2 > library, I receive the following two warnings: > > > > WARNING: variable profiles not specified as parameter in file ext0.scad, > line 6 > > > > WARNING: variable width not specified as parameter in file ext0.scad, > line 6 > > > > > > > > Am I missing something? > > > > _______________________________________________ > > OpenSCAD mailing list > > To unsubscribe send an email to discuss-leave@lists.openscad.org > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
AM
Adrian Mariano
Sat, Mar 12, 2022 2:23 AM

I don't think there's any useful way to get notification of updates.
Basically the code is changing all the time as bugs are fixed and so
on.  The profiles option was added in response to a call for better
docs of path_sweep, for example.  There are usually changes every
week, sometimes trivial, sometimes more significant.  My understanding
is that Revar's plan is to basically freeze development and have an
"official" release "soon" at which point it will become stable and
only bug fixes will be allowed in with a clear versioning scheme so,
incompatible changes would be in version 2.1, say, and it would be
clear if features require some specific version.

On Tue, Mar 8, 2022 at 4:43 PM Joe Weinpert joe.weinpert@gmail.com wrote:

Yes ... that was the problem.

Is there a way to be notified of BOSL2 updates?

On Tue, Mar 8, 2022 at 4:27 PM Adrian Mariano avm4@cornell.edu wrote:

The profiles option to path_sweep was added very recently, so you may
just need to upgrade your BOSL2.

On Tue, Mar 8, 2022 at 1:54 PM Joe Weinpert joe.weinpert@gmail.com wrote:

include <BOSL2/std.scad>
path = [for(theta=[-180:5:180]) [theta/10, 10*sin(theta)]];
sq = square(6);
path_sweep(sq,path,profiles=true,width=.1,$fn=8);

When testing the above example 3 within path_sweep() in the BOSL2 library, I receive the following two warnings:

WARNING: variable profiles not specified as parameter in file ext0.scad, line 6

WARNING: variable width not specified as parameter in file ext0.scad, line 6

Am I missing something?


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's any useful way to get notification of updates. Basically the code is changing all the time as bugs are fixed and so on. The profiles option was added in response to a call for better docs of path_sweep, for example. There are usually changes every week, sometimes trivial, sometimes more significant. My understanding is that Revar's plan is to basically freeze development and have an "official" release "soon" at which point it will become stable and only bug fixes will be allowed in with a clear versioning scheme so, incompatible changes would be in version 2.1, say, and it would be clear if features require some specific version. On Tue, Mar 8, 2022 at 4:43 PM Joe Weinpert <joe.weinpert@gmail.com> wrote: > > Yes ... that was the problem. > > Is there a way to be notified of BOSL2 updates? > > On Tue, Mar 8, 2022 at 4:27 PM Adrian Mariano <avm4@cornell.edu> wrote: >> >> The profiles option to path_sweep was added very recently, so you may >> just need to upgrade your BOSL2. >> >> On Tue, Mar 8, 2022 at 1:54 PM Joe Weinpert <joe.weinpert@gmail.com> wrote: >> > >> > >> > include <BOSL2/std.scad> >> > path = [for(theta=[-180:5:180]) [theta/10, 10*sin(theta)]]; >> > sq = square(6); >> > path_sweep(sq,path,profiles=true,width=.1,$fn=8); >> > >> > >> > When testing the above example 3 within path_sweep() in the BOSL2 library, I receive the following two warnings: >> > >> > WARNING: variable profiles not specified as parameter in file ext0.scad, line 6 >> > >> > WARNING: variable width not specified as parameter in file ext0.scad, line 6 >> > >> > >> > >> > Am I missing something? >> > >> > _______________________________________________ >> > 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
NH
nop head
Sat, Mar 12, 2022 10:24 AM

After a suggestion from a user I implemented semantic versioning for
NopSCADLib. Before each group of commits are pushed to Github I add a tag
that goes up by 0.1 for bug fixes, 1.0 for additions and 1.0.0 for a
breaking change. Then I run a script
https://github.com/nophead/NopSCADlib/blob/master/scripts/changelog.py I
wrote to make a changelog
https://github.com/nophead/NopSCADlib/blob/master/CHANGELOG.md.

It makes clear what each change is and whether it is backwards compatible,
without much developer effort, just adding an appropriate tag before each
push.

On Sat, 12 Mar 2022 at 02:23, Adrian Mariano avm4@cornell.edu wrote:

I don't think there's any useful way to get notification of updates.
Basically the code is changing all the time as bugs are fixed and so
on.  The profiles option was added in response to a call for better
docs of path_sweep, for example.  There are usually changes every
week, sometimes trivial, sometimes more significant.  My understanding
is that Revar's plan is to basically freeze development and have an
"official" release "soon" at which point it will become stable and
only bug fixes will be allowed in with a clear versioning scheme so,
incompatible changes would be in version 2.1, say, and it would be
clear if features require some specific version.

On Tue, Mar 8, 2022 at 4:43 PM Joe Weinpert joe.weinpert@gmail.com
wrote:

Yes ... that was the problem.

Is there a way to be notified of BOSL2 updates?

On Tue, Mar 8, 2022 at 4:27 PM Adrian Mariano avm4@cornell.edu wrote:

The profiles option to path_sweep was added very recently, so you may
just need to upgrade your BOSL2.

On Tue, Mar 8, 2022 at 1:54 PM Joe Weinpert joe.weinpert@gmail.com

wrote:

include <BOSL2/std.scad>
path = [for(theta=[-180:5:180]) [theta/10, 10*sin(theta)]];
sq = square(6);
path_sweep(sq,path,profiles=true,width=.1,$fn=8);

When testing the above example 3 within path_sweep() in the BOSL2

library, I receive the following two warnings:

WARNING: variable profiles not specified as parameter in file

ext0.scad, line 6

WARNING: variable width not specified as parameter in file ext0.scad,

line 6

Am I missing something?


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

After a suggestion from a user I implemented semantic versioning for NopSCADLib. Before each group of commits are pushed to Github I add a tag that goes up by 0.1 for bug fixes, 1.0 for additions and 1.0.0 for a breaking change. Then I run a script <https://github.com/nophead/NopSCADlib/blob/master/scripts/changelog.py> I wrote to make a changelog <https://github.com/nophead/NopSCADlib/blob/master/CHANGELOG.md>. It makes clear what each change is and whether it is backwards compatible, without much developer effort, just adding an appropriate tag before each push. On Sat, 12 Mar 2022 at 02:23, Adrian Mariano <avm4@cornell.edu> wrote: > I don't think there's any useful way to get notification of updates. > Basically the code is changing all the time as bugs are fixed and so > on. The profiles option was added in response to a call for better > docs of path_sweep, for example. There are usually changes every > week, sometimes trivial, sometimes more significant. My understanding > is that Revar's plan is to basically freeze development and have an > "official" release "soon" at which point it will become stable and > only bug fixes will be allowed in with a clear versioning scheme so, > incompatible changes would be in version 2.1, say, and it would be > clear if features require some specific version. > > > On Tue, Mar 8, 2022 at 4:43 PM Joe Weinpert <joe.weinpert@gmail.com> > wrote: > > > > Yes ... that was the problem. > > > > Is there a way to be notified of BOSL2 updates? > > > > On Tue, Mar 8, 2022 at 4:27 PM Adrian Mariano <avm4@cornell.edu> wrote: > >> > >> The profiles option to path_sweep was added very recently, so you may > >> just need to upgrade your BOSL2. > >> > >> On Tue, Mar 8, 2022 at 1:54 PM Joe Weinpert <joe.weinpert@gmail.com> > wrote: > >> > > >> > > >> > include <BOSL2/std.scad> > >> > path = [for(theta=[-180:5:180]) [theta/10, 10*sin(theta)]]; > >> > sq = square(6); > >> > path_sweep(sq,path,profiles=true,width=.1,$fn=8); > >> > > >> > > >> > When testing the above example 3 within path_sweep() in the BOSL2 > library, I receive the following two warnings: > >> > > >> > WARNING: variable profiles not specified as parameter in file > ext0.scad, line 6 > >> > > >> > WARNING: variable width not specified as parameter in file ext0.scad, > line 6 > >> > > >> > > >> > > >> > Am I missing something? > >> > > >> > _______________________________________________ > >> > 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 >