discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

r1 and r2

BC
Bob Carlson
Thu, Mar 17, 2022 11:32 PM

I am trying to try out the daily Mac Universal Build and I get the following error in BOSL2. Is there an incompatibility?

-Bob

Tucson AZ

OpenSCAD 2022.03.16
https://www.openscad.org/ https://www.openscad.org/

Copyright (C) 2009-2022 The OpenSCAD Developers
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Loaded design '/Users/rjc/Dropbox/!Home/!3D Projects/!JuCad/Jucad Model.v2.scad'.

Parsing design (AST generation)...

ERROR: Parser error: syntax error in file ../../../../Documents/OpenSCAD/libraries/BOSL2/screws.scad, line 361 applewebdata://896A937B-F096-491B-ADB0-378E14ED9052/361,/Users/rjc/Documents/OpenSCAD/libraries/BOSL2/screws.scad

On Mar 17, 2022, at 04:08, Douglas Miller doug@milmac.com wrote:

On 3/16/2022 11:16 AM, Leonard Martin Struttmann wrote:

Just curious, how do you make the semicircle?

Just for fun, here's one way to do that:

projection() rotate_extrude(angle=180) square([10,0.001]); // semicircle, radius 10, in positive y


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

I am trying to try out the daily Mac Universal Build and I get the following error in BOSL2. Is there an incompatibility? -Bob Tucson AZ OpenSCAD 2022.03.16 https://www.openscad.org/ <https://www.openscad.org/> Copyright (C) 2009-2022 The OpenSCAD Developers This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. Loaded design '/Users/rjc/Dropbox/!Home/!3D Projects/!JuCad/Jucad Model.v2.scad'. Parsing design (AST generation)... ERROR: Parser error: syntax error in file ../../../../Documents/OpenSCAD/libraries/BOSL2/screws.scad, line 361 <applewebdata://896A937B-F096-491B-ADB0-378E14ED9052/361,/Users/rjc/Documents/OpenSCAD/libraries/BOSL2/screws.scad> On Mar 17, 2022, at 04:08, Douglas Miller <doug@milmac.com> wrote: On 3/16/2022 11:16 AM, Leonard Martin Struttmann wrote: > Just curious, how do you make the semicircle? > Just for fun, here's one way to do that: projection() rotate_extrude(angle=180) square([10,0.001]); // semicircle, radius 10, in positive y _______________________________________________ OpenSCAD mailing list To unsubscribe send an email to discuss-leave@lists.openscad.org
AM
Adrian Mariano
Thu, Mar 17, 2022 11:47 PM

I installed the latest nigihtly, which is 2022.03.09 for Ubuntu and
got the same error.  It turns out that line has an extra comma (two in
a row).  Apparently the old versions didn't care.

On Thu, Mar 17, 2022 at 7:34 PM Bob Carlson bob@rjcarlson.com wrote:

I am trying to try out the daily Mac Universal Build and I get the following error in BOSL2. Is there an incompatibility?

-Bob

Tucson AZ

OpenSCAD 2022.03.16
https://www.openscad.org/

Copyright (C) 2009-2022 The OpenSCAD Developers

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Loaded design '/Users/rjc/Dropbox/!Home/!3D Projects/!JuCad/Jucad Model.v2.scad'.

Parsing design (AST generation)...

ERROR: Parser error: syntax error in file ../../../../Documents/OpenSCAD/libraries/BOSL2/screws.scad, line 361

On Mar 17, 2022, at 04:08, Douglas Miller doug@milmac.com wrote:

On 3/16/2022 11:16 AM, Leonard Martin Struttmann wrote:

Just curious, how do you make the semicircle?

Just for fun, here's one way to do that:

projection() rotate_extrude(angle=180) square([10,0.001]); // semicircle, radius 10, in positive y


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 installed the latest nigihtly, which is 2022.03.09 for Ubuntu and got the same error. It turns out that line has an extra comma (two in a row). Apparently the old versions didn't care. On Thu, Mar 17, 2022 at 7:34 PM Bob Carlson <bob@rjcarlson.com> wrote: > > I am trying to try out the daily Mac Universal Build and I get the following error in BOSL2. Is there an incompatibility? > > > -Bob > > Tucson AZ > > > OpenSCAD 2022.03.16 > https://www.openscad.org/ > > Copyright (C) 2009-2022 The OpenSCAD Developers > > This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. > > > > Loaded design '/Users/rjc/Dropbox/!Home/!3D Projects/!JuCad/Jucad Model.v2.scad'. > > > Parsing design (AST generation)... > > ERROR: Parser error: syntax error in file ../../../../Documents/OpenSCAD/libraries/BOSL2/screws.scad, line 361 > > > > > On Mar 17, 2022, at 04:08, Douglas Miller <doug@milmac.com> wrote: > > On 3/16/2022 11:16 AM, Leonard Martin Struttmann wrote: > > Just curious, how do you make the semicircle? > > Just for fun, here's one way to do that: > > projection() rotate_extrude(angle=180) square([10,0.001]); // semicircle, radius 10, in positive y > _______________________________________________ > 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
RD
Revar Desmera
Fri, Mar 18, 2022 10:08 PM

Extra commas have been removed from the library.

-Revar

On Mar 17, 2022, at 4:40 PM, Bob Carlson bob@rjcarlson.com wrote:


I am trying to try out the daily Mac Universal Build and I get the following error in BOSL2. Is there an incompatibility?

-Bob

Tucson AZ

OpenSCAD 2022.03.16
https://www.openscad.org/

Copyright (C) 2009-2022 The OpenSCAD Developers
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Loaded design '/Users/rjc/Dropbox/!Home/!3D Projects/!JuCad/Jucad Model.v2.scad'.

Parsing design (AST generation)...

ERROR: Parser error: syntax error in file ../../../../Documents/OpenSCAD/libraries/BOSL2/screws.scad, line 361

On Mar 17, 2022, at 04:08, Douglas Miller doug@milmac.com wrote:

On 3/16/2022 11:16 AM, Leonard Martin Struttmann wrote:
Just curious, how do you make the semicircle?

Just for fun, here's one way to do that:

projection() rotate_extrude(angle=180) square([10,0.001]); // semicircle, radius 10, in positive y


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

Extra commas have been removed from the library. -Revar > On Mar 17, 2022, at 4:40 PM, Bob Carlson <bob@rjcarlson.com> wrote: > >  > I am trying to try out the daily Mac Universal Build and I get the following error in BOSL2. Is there an incompatibility? > > > -Bob > > Tucson AZ > > > OpenSCAD 2022.03.16 > https://www.openscad.org/ > > Copyright (C) 2009-2022 The OpenSCAD Developers > This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. > > > Loaded design '/Users/rjc/Dropbox/!Home/!3D Projects/!JuCad/Jucad Model.v2.scad'. > > > Parsing design (AST generation)... > > ERROR: Parser error: syntax error in file ../../../../Documents/OpenSCAD/libraries/BOSL2/screws.scad, line 361 > > > > > > On Mar 17, 2022, at 04:08, Douglas Miller <doug@milmac.com> wrote: > >> On 3/16/2022 11:16 AM, Leonard Martin Struttmann wrote: >> Just curious, how do you make the semicircle? >> > Just for fun, here's one way to do that: > > projection() rotate_extrude(angle=180) square([10,0.001]); // semicircle, radius 10, in positive y > _______________________________________________ > 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
BC
Bob Carlson
Fri, Mar 18, 2022 10:27 PM

Thanks, I just took it out of my copy. It looks like it would have caused bad results for certain screw operations that would have been hard to troubleshoot.

-Bob
Tucson AZ

On Mar 18, 2022, at 15:08, Revar Desmera revarbat@gmail.com wrote:

Extra commas have been removed from the library.

-Revar

On Mar 17, 2022, at 4:40 PM, Bob Carlson bob@rjcarlson.com wrote:


I am trying to try out the daily Mac Universal Build and I get the following error in BOSL2. Is there an incompatibility?

-Bob

Tucson AZ

OpenSCAD 2022.03.16
https://www.openscad.org/ https://www.openscad.org/

Copyright (C) 2009-2022 The OpenSCAD Developers
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Loaded design '/Users/rjc/Dropbox/!Home/!3D Projects/!JuCad/Jucad Model.v2.scad'.

Parsing design (AST generation)...

ERROR: Parser error: syntax error in file ../../../../Documents/OpenSCAD/libraries/BOSL2/screws.scad, line 361 x-msg://13/361,/Users/rjc/Documents/OpenSCAD/libraries/BOSL2/screws.scad

On Mar 17, 2022, at 04:08, Douglas Miller <doug@milmac.com mailto:doug@milmac.com> wrote:

On 3/16/2022 11:16 AM, Leonard Martin Struttmann wrote:

Just curious, how do you make the semicircle?

Just for fun, here's one way to do that:

projection() rotate_extrude(angle=180) square([10,0.001]); // semicircle, radius 10, in positive y


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org mailto: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

Thanks, I just took it out of my copy. It looks like it would have caused bad results for certain screw operations that would have been hard to troubleshoot. -Bob Tucson AZ On Mar 18, 2022, at 15:08, Revar Desmera <revarbat@gmail.com> wrote: Extra commas have been removed from the library. -Revar > On Mar 17, 2022, at 4:40 PM, Bob Carlson <bob@rjcarlson.com> wrote: > >  > I am trying to try out the daily Mac Universal Build and I get the following error in BOSL2. Is there an incompatibility? > > > -Bob > > Tucson AZ > > > OpenSCAD 2022.03.16 > https://www.openscad.org/ <https://www.openscad.org/> > > Copyright (C) 2009-2022 The OpenSCAD Developers > This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. > > > Loaded design '/Users/rjc/Dropbox/!Home/!3D Projects/!JuCad/Jucad Model.v2.scad'. > > > Parsing design (AST generation)... > > ERROR: Parser error: syntax error in file ../../../../Documents/OpenSCAD/libraries/BOSL2/screws.scad, line 361 <x-msg://13/361,/Users/rjc/Documents/OpenSCAD/libraries/BOSL2/screws.scad> > > > > On Mar 17, 2022, at 04:08, Douglas Miller <doug@milmac.com <mailto:doug@milmac.com>> wrote: > > On 3/16/2022 11:16 AM, Leonard Martin Struttmann wrote: >> Just curious, how do you make the semicircle? >> > Just for fun, here's one way to do that: > > projection() rotate_extrude(angle=180) square([10,0.001]); // semicircle, radius 10, in positive y > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto: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
Fri, Mar 18, 2022 10:32 PM

No, actually, the extra commas were harmless.  In older versions,
x=[1,2,,3,4] was the same as x=[1,2,3,4].  The extra comma was simply
ignored.  It looks like there was at least one other case of an extra
comma (in turtle3d()).

On Fri, Mar 18, 2022 at 6:27 PM Bob Carlson bob@rjcarlson.com wrote:

Thanks, I just took it out of my copy. It looks like it would have caused bad results for certain screw operations that would have been hard to troubleshoot.

-Bob
Tucson AZ

On Mar 18, 2022, at 15:08, Revar Desmera revarbat@gmail.com wrote:

Extra commas have been removed from the library.

-Revar

On Mar 17, 2022, at 4:40 PM, Bob Carlson bob@rjcarlson.com wrote:


I am trying to try out the daily Mac Universal Build and I get the following error in BOSL2. Is there an incompatibility?

-Bob

Tucson AZ

OpenSCAD 2022.03.16
https://www.openscad.org/

Copyright (C) 2009-2022 The OpenSCAD Developers

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Loaded design '/Users/rjc/Dropbox/!Home/!3D Projects/!JuCad/Jucad Model.v2.scad'.

Parsing design (AST generation)...

ERROR: Parser error: syntax error in file ../../../../Documents/OpenSCAD/libraries/BOSL2/screws.scad, line 361

On Mar 17, 2022, at 04:08, Douglas Miller doug@milmac.com wrote:

On 3/16/2022 11:16 AM, Leonard Martin Struttmann wrote:

Just curious, how do you make the semicircle?

Just for fun, here's one way to do that:

projection() rotate_extrude(angle=180) square([10,0.001]); // semicircle, radius 10, in positive y


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

No, actually, the extra commas were harmless. In older versions, x=[1,2,,3,4] was the same as x=[1,2,3,4]. The extra comma was simply ignored. It looks like there was at least one other case of an extra comma (in turtle3d()). On Fri, Mar 18, 2022 at 6:27 PM Bob Carlson <bob@rjcarlson.com> wrote: > > Thanks, I just took it out of my copy. It looks like it would have caused bad results for certain screw operations that would have been hard to troubleshoot. > > -Bob > Tucson AZ > > > > On Mar 18, 2022, at 15:08, Revar Desmera <revarbat@gmail.com> wrote: > > Extra commas have been removed from the library. > > -Revar > > > On Mar 17, 2022, at 4:40 PM, Bob Carlson <bob@rjcarlson.com> wrote: > >  > I am trying to try out the daily Mac Universal Build and I get the following error in BOSL2. Is there an incompatibility? > > > -Bob > > Tucson AZ > > > OpenSCAD 2022.03.16 > https://www.openscad.org/ > > Copyright (C) 2009-2022 The OpenSCAD Developers > > This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. > > > > Loaded design '/Users/rjc/Dropbox/!Home/!3D Projects/!JuCad/Jucad Model.v2.scad'. > > > Parsing design (AST generation)... > > ERROR: Parser error: syntax error in file ../../../../Documents/OpenSCAD/libraries/BOSL2/screws.scad, line 361 > > > > > On Mar 17, 2022, at 04:08, Douglas Miller <doug@milmac.com> wrote: > > On 3/16/2022 11:16 AM, Leonard Martin Struttmann wrote: > > Just curious, how do you make the semicircle? > > Just for fun, here's one way to do that: > > projection() rotate_extrude(angle=180) square([10,0.001]); // semicircle, radius 10, in positive y > _______________________________________________ > 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
BC
Bob Carlson
Fri, Mar 18, 2022 10:36 PM

As someone who has written many, many parsers, that strikes me as quite odd, but fortunate in this case.

-Bob
Tucson AZ

On Mar 18, 2022, at 15:32, Adrian Mariano avm4@cornell.edu wrote:

No, actually, the extra commas were harmless.  In older versions,
x=[1,2,,3,4] was the same as x=[1,2,3,4].  The extra comma was simply
ignored.  It looks like there was at least one other case of an extra
comma (in turtle3d()).

On Fri, Mar 18, 2022 at 6:27 PM Bob Carlson bob@rjcarlson.com wrote:

Thanks, I just took it out of my copy. It looks like it would have caused bad results for certain screw operations that would have been hard to troubleshoot.

-Bob
Tucson AZ

On Mar 18, 2022, at 15:08, Revar Desmera revarbat@gmail.com wrote:

Extra commas have been removed from the library.

-Revar

On Mar 17, 2022, at 4:40 PM, Bob Carlson bob@rjcarlson.com wrote:


I am trying to try out the daily Mac Universal Build and I get the following error in BOSL2. Is there an incompatibility?

-Bob

Tucson AZ

OpenSCAD 2022.03.16
https://www.openscad.org/

Copyright (C) 2009-2022 The OpenSCAD Developers

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Loaded design '/Users/rjc/Dropbox/!Home/!3D Projects/!JuCad/Jucad Model.v2.scad'.

Parsing design (AST generation)...

ERROR: Parser error: syntax error in file ../../../../Documents/OpenSCAD/libraries/BOSL2/screws.scad, line 361

On Mar 17, 2022, at 04:08, Douglas Miller doug@milmac.com wrote:

On 3/16/2022 11:16 AM, Leonard Martin Struttmann wrote:

Just curious, how do you make the semicircle?

Just for fun, here's one way to do that:

projection() rotate_extrude(angle=180) square([10,0.001]); // semicircle, radius 10, in positive y


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

As someone who has written many, many parsers, that strikes me as quite odd, but fortunate in this case. -Bob Tucson AZ On Mar 18, 2022, at 15:32, Adrian Mariano <avm4@cornell.edu> wrote: No, actually, the extra commas were harmless. In older versions, x=[1,2,,3,4] was the same as x=[1,2,3,4]. The extra comma was simply ignored. It looks like there was at least one other case of an extra comma (in turtle3d()). On Fri, Mar 18, 2022 at 6:27 PM Bob Carlson <bob@rjcarlson.com> wrote: > > Thanks, I just took it out of my copy. It looks like it would have caused bad results for certain screw operations that would have been hard to troubleshoot. > > -Bob > Tucson AZ > > > > On Mar 18, 2022, at 15:08, Revar Desmera <revarbat@gmail.com> wrote: > > Extra commas have been removed from the library. > > -Revar > > > On Mar 17, 2022, at 4:40 PM, Bob Carlson <bob@rjcarlson.com> wrote: > >  > I am trying to try out the daily Mac Universal Build and I get the following error in BOSL2. Is there an incompatibility? > > > -Bob > > Tucson AZ > > > OpenSCAD 2022.03.16 > https://www.openscad.org/ > > Copyright (C) 2009-2022 The OpenSCAD Developers > > This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. > > > > Loaded design '/Users/rjc/Dropbox/!Home/!3D Projects/!JuCad/Jucad Model.v2.scad'. > > > Parsing design (AST generation)... > > ERROR: Parser error: syntax error in file ../../../../Documents/OpenSCAD/libraries/BOSL2/screws.scad, line 361 > > > > > On Mar 17, 2022, at 04:08, Douglas Miller <doug@milmac.com> wrote: > > On 3/16/2022 11:16 AM, Leonard Martin Struttmann wrote: > > Just curious, how do you make the semicircle? > > Just for fun, here's one way to do that: > > projection() rotate_extrude(angle=180) square([10,0.001]); // semicircle, radius 10, in positive y > _______________________________________________ > 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