LM
Leonard Martin Struttmann
Sun, Jul 10, 2022 1:55 AM
What error message are you getting?
On Sat, Jul 9, 2022 at 8:52 PM mikeonenine@web.de wrote:
Had great fun doing this a while ago, but it’s only an optical illusion:
the true motion is that of the little black spot on the right hand wheel.
So it’s no use in conjunction with other parts doing regular $t*360 motion.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
What error message are you getting?
On Sat, Jul 9, 2022 at 8:52 PM <mikeonenine@web.de> wrote:
> Had great fun doing this a while ago, but it’s only an optical illusion:
> the true motion is that of the little black spot on the right hand wheel.
> So it’s no use in conjunction with other parts doing regular $t*360 motion.
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email to discuss-leave@lists.openscad.org
>
AM
Adrian Mariano
Sun, Jul 10, 2022 2:05 AM
This may come as a shock, but you can define a module without curly
braces: just the same way that you can skip curly braces in any other
context, you don't need them if it is a single child.
So module foo(x) cube(x); defines a module that makes a cube. The
example mikeonenine is trying to run is from the BOSL2/examples folder
and it does work. (Not guaranteed---unlike the manual, I don't think
those examples are automatically checked and a while back I found that
most of them were broken.) Note that it's a slow example that may
take a minute to preview.
On Sat, Jul 9, 2022 at 9:53 PM Leonard Martin Struttmann
lenstruttmann@gmail.com wrote:
This appears to be a syntax error after the include statement.
It appears that you have not surrounded the body of the tree module with {}
For example:
module tree(l=1500,sc=0.7,depth=10)
{
recolor...
cylinder...
...
}
On Sat, Jul 9, 2022 at 8:39 PM mikeonenine@web.de wrote:
Thanks for the info. I should have found that myself, but from past experience one can end up ploughing through endless stuff and still not find what one wants, so I thought I would ask.
Meanwhile, progress - of sorts:
At least i now get a big red spot next to the line include <BOSL2 ...
I did rename BOSL2-Master to just BOSL2 as per the instructions.
I have restarted my laptop.
What’s missing?
I would be happy with a toothed belt going round two cogged wheels to start with - the basic application in the real world. From there I want to see if it is possible to get the belt crossed and twisted in the middle to drive the wheels in opposite directions.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
This may come as a shock, but you can define a module without curly
braces: just the same way that you can skip curly braces in any other
context, you don't need them if it is a single child.
So module foo(x) cube(x); defines a module that makes a cube. The
example mikeonenine is trying to run is from the BOSL2/examples folder
and it does work. (Not guaranteed---unlike the manual, I don't think
those examples are automatically checked and a while back I found that
most of them were broken.) Note that it's a slow example that may
take a minute to preview.
On Sat, Jul 9, 2022 at 9:53 PM Leonard Martin Struttmann
<lenstruttmann@gmail.com> wrote:
>
> This appears to be a syntax error after the include statement.
>
> It appears that you have not surrounded the body of the tree module with {}
>
> For example:
>
> module tree(l=1500,sc=0.7,depth=10)
> {
> recolor...
> cylinder...
> ...
> }
>
>
>
> On Sat, Jul 9, 2022 at 8:39 PM <mikeonenine@web.de> wrote:
>>
>> Thanks for the info. I should have found that myself, but from past experience one can end up ploughing through endless stuff and still not find what one wants, so I thought I would ask.
>>
>> Meanwhile, progress - of sorts:
>>
>> At least i now get a big red spot next to the line include <BOSL2 ...
>>
>> I did rename BOSL2-Master to just BOSL2 as per the instructions.
>>
>> I have restarted my laptop.
>>
>> What’s missing?
>>
>> I would be happy with a toothed belt going round two cogged wheels to start with - the basic application in the real world. From there I want to see if it is possible to get the belt crossed and twisted in the middle to drive the wheels in opposite directions.
>>
>> _______________________________________________
>> 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
M
mikeonenine@web.de
Sun, Jul 10, 2022 2:05 AM
Leonard Martin Struttmann wrote:
This appears to be a syntax error after the include statement.
It appears that you have not surrounded the body of the tree module with {}
For example:
module tree(l=1500,sc=0.7,depth=10)
{
recolor...
cylinder...
...
}
On Sat, Jul 9, 2022 at 8:39 PM mikeonenine@web.de wrote:
Thanks for the info. I should have found that myself, but from past
experience one can end up ploughing through endless stuff and still not
find what one wants, so I thought I would ask.
Meanwhile, progress - of sorts:
At least i now get a big red spot next to the line include <BOSL2 ...
I did rename BOSL2-Master to just BOSL2 as per the instructions.
I have restarted my laptop.
What’s missing?
I would be happy with a toothed belt going round two cogged wheels to
start with - the basic application in the real world. From there I want to
see if it is possible to get the belt crossed and twisted in the middle to
drive the wheels in opposite directions.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
That is correct, but it still does not work.

Leonard Martin Struttmann wrote:
> This appears to be a syntax error after the include statement.
>
> It appears that you have not surrounded the body of the tree module with {}
>
> For example:
>
> module tree(l=1500,sc=0.7,depth=10)
> {
> recolor...
> cylinder...
> ...
> }
>
> On Sat, Jul 9, 2022 at 8:39 PM [mikeonenine@web.de](mailto:mikeonenine@web.de) wrote:
>
> > Thanks for the info. I should have found that myself, but from past
> > experience one can end up ploughing through endless stuff and still not
> > find what one wants, so I thought I would ask.
> >
> > Meanwhile, progress - of sorts:
> >
> > At least i now get a big red spot next to the line include <BOSL2 ...
> >
> > I did rename BOSL2-Master to just BOSL2 as per the instructions.
> >
> > I have restarted my laptop.
> >
> > What’s missing?
> >
> > I would be happy with a toothed belt going round two cogged wheels to
> > start with - the basic application in the real world. From there I want to
> > see if it is possible to get the belt crossed and twisted in the middle to
> > drive the wheels in opposite directions.
> >
> > ---
> >
> > OpenSCAD mailing list
> > To unsubscribe send an email to discuss-leave@lists.openscad.org
That is correct, but it still does not work.

M
mikeonenine@web.de
Sun, Jul 10, 2022 2:09 AM
Yes, File->Show library folder shows BOSL2 in C:\Users\Admin\Documents\OpenSCAD\libraries . . . ?
Yes, File->Show library folder shows BOSL2 in C:\\Users\\Admin\\Documents\\OpenSCAD\\libraries . . . ?
M
mikeonenine@web.de
Sun, Jul 10, 2022 2:14 AM
Leonard Martin Struttmann wrote:
What error message are you getting?
On Sat, Jul 9, 2022 at 8:52 PM mikeonenine@web.de wrote:
Had great fun doing this a while ago, but it’s only an optical illusion:
the true motion is that of the little black spot on the right hand wheel.
So it’s no use in conjunction with other parts doing regular $t*360 motion.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
Loaded design 'C:/Users/Admin/Documents/OpenSCAD/libraries/BOSL2/examples/fractal_tree.scad'.
Parsing design (AST generation)...
ERROR: Parser error in file "C:/Users/Admin/Documents/OpenSCAD/libraries/BOSL2/geometry.scad", line 992: syntax error
Execution aborted
What does that mean?
Leonard Martin Struttmann wrote:
> What error message are you getting?
>
> On Sat, Jul 9, 2022 at 8:52 PM [mikeonenine@web.de](mailto:mikeonenine@web.de) wrote:
>
> > Had great fun doing this a while ago, but it’s only an optical illusion:
> > the true motion is that of the little black spot on the right hand wheel.
> > So it’s no use in conjunction with other parts doing regular $t\*360 motion.
> >
> > ---
> >
> > OpenSCAD mailing list
> > To unsubscribe send an email to discuss-leave@lists.openscad.org
Loaded design 'C:/Users/Admin/Documents/OpenSCAD/libraries/BOSL2/examples/fractal_tree.scad'.
Parsing design (AST generation)...
ERROR: Parser error in file "C:/Users/Admin/Documents/OpenSCAD/libraries/BOSL2/geometry.scad", line 992: syntax error
Execution aborted
What does that mean?
M
mikeonenine@web.de
Sun, Jul 10, 2022 2:33 AM
Leonard Martin Struttmann wrote:
What error message are you getting?
On Sat, Jul 9, 2022 at 8:52 PM mikeonenine@web.de wrote:
Had great fun doing this a while ago, but it’s only an optical illusion:
the true motion is that of the little black spot on the right hand wheel.
So it’s no use in conjunction with other parts doing regular $t*360 motion.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
Loaded design 'C:/Users/Admin/Documents/OpenSCAD/libraries/BOSL2/examples/fractal_tree.scad'.
Parsing design (AST generation)...
ERROR: Parser error in file "C:/Users/Admin/Documents/OpenSCAD/libraries/BOSL2/geometry.scad", line 992: syntax error
Execution aborted
What does that mean?

Looks OK to me?
mikeonenine@web.de wrote:
> Leonard Martin Struttmann wrote:
>
> > What error message are you getting?
> >
> > On Sat, Jul 9, 2022 at 8:52 PM [mikeonenine@web.de](mailto:mikeonenine@web.de) wrote:
> >
> > > Had great fun doing this a while ago, but it’s only an optical illusion:
> > > the true motion is that of the little black spot on the right hand wheel.
> > > So it’s no use in conjunction with other parts doing regular $t\*360 motion.
> > >
> > > ---
> > >
> > > OpenSCAD mailing list
> > > To unsubscribe send an email to discuss-leave@lists.openscad.org
>
> Loaded design 'C:/Users/Admin/Documents/OpenSCAD/libraries/BOSL2/examples/fractal_tree.scad'.
>
> Parsing design (AST generation)...
>
> ERROR: Parser error in file "C:/Users/Admin/Documents/OpenSCAD/libraries/BOSL2/geometry.scad", line 992: syntax error
>
> Execution aborted
>
> What does that mean?

Looks OK to me?
AM
Adrian Mariano
Sun, Jul 10, 2022 2:37 AM
I think it means your OpenSCAD is too old. The current stable release,
2021.01, is required. Are you running that version or newer?
On Sat, Jul 9, 2022 at 10:35 PM mikeonenine@web.de wrote:
mikeonenine@web.de wrote:
Leonard Martin Struttmann wrote:
What error message are you getting?
On Sat, Jul 9, 2022 at 8:52 PM mikeonenine@web.de wrote:
Had great fun doing this a while ago, but it’s only an optical illusion:
the true motion is that of the little black spot on the right hand wheel.
So it’s no use in conjunction with other parts doing regular $t*360 motion.
OpenSCAD mailing list To unsubscribe send an email to
discuss-leave@lists.openscad.org
Loaded design
'C:/Users/Admin/Documents/OpenSCAD/libraries/BOSL2/examples/fractal_tree.scad'.
Parsing design (AST generation)...
ERROR: Parser error in file
"C:/Users/Admin/Documents/OpenSCAD/libraries/BOSL2/geometry.scad", line
992: syntax error
Execution aborted
What does that mean?
Looks OK to me?
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
I think it means your OpenSCAD is too old. The current stable release,
2021.01, is required. Are you running that version or newer?
On Sat, Jul 9, 2022 at 10:35 PM <mikeonenine@web.de> wrote:
> mikeonenine@web.de wrote:
>
> Leonard Martin Struttmann wrote:
>
> What error message are you getting?
>
> On Sat, Jul 9, 2022 at 8:52 PM mikeonenine@web.de wrote:
>
> Had great fun doing this a while ago, but it’s only an optical illusion:
> the true motion is that of the little black spot on the right hand wheel.
> So it’s no use in conjunction with other parts doing regular $t*360 motion.
> ------------------------------
>
> OpenSCAD mailing list To unsubscribe send an email to
> discuss-leave@lists.openscad.org
>
> Loaded design
> 'C:/Users/Admin/Documents/OpenSCAD/libraries/BOSL2/examples/fractal_tree.scad'.
>
> Parsing design (AST generation)...
>
> ERROR: Parser error in file
> "C:/Users/Admin/Documents/OpenSCAD/libraries/BOSL2/geometry.scad", line
> 992: syntax error
>
> Execution aborted
>
> What does that mean?
>
>
>
>
> Looks OK to me?
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email to discuss-leave@lists.openscad.org
>
M
mikeonenine@web.de
Sun, Jul 10, 2022 2:48 AM
I think it means your OpenSCAD is too old. The current stable release,
2021.01, is required. Are you running that version or newer?
I#m afraid I’m still with version 2019.05 !
Are the examples I have tried so new?
Will download the latest OpenScad tomorrow, eyelids keep dropping.
Could well be the answer, will report on success or otherwise, thanks so far!
Adrian Mariano wrote:
> I think it means your OpenSCAD is too old. The current stable release,
> 2021\.01, is required. Are you running that version or newer?
I#m afraid I’m still with version 2019.05 !
Are the examples I have tried so new?
Will download the latest OpenScad tomorrow, eyelids keep dropping.
Could well be the answer, will report on success or otherwise, thanks so far!
AM
Adrian Mariano
Sun, Jul 10, 2022 11:38 AM
I am not sure what you mean when asking "are the examples so new".
The BOSL2 library itself requires the latest stable OpenSCAD version,
which is 2021.01. The syntax x^2 does not work in older versions. So
even a trivial example will fail if you use an older version.
On Sat, Jul 9, 2022 at 10:49 PM mikeonenine@web.de wrote:
Adrian Mariano wrote:
I think it means your OpenSCAD is too old. The current stable release, 2021.01, is required. Are you running that version or newer?
I#m afraid I’m still with version 2019.05 !
Are the examples I have tried so new?
Will download the latest OpenScad tomorrow, eyelids keep dropping.
Could well be the answer, will report on success or otherwise, thanks so far!
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
I am not sure what you mean when asking "are the examples so new".
The BOSL2 library itself requires the latest stable OpenSCAD version,
which is 2021.01. The syntax x^2 does not work in older versions. So
even a trivial example will fail if you use an older version.
On Sat, Jul 9, 2022 at 10:49 PM <mikeonenine@web.de> wrote:
>
> Adrian Mariano wrote:
>
> I think it means your OpenSCAD is too old. The current stable release, 2021.01, is required. Are you running that version or newer?
>
>
> I#m afraid I’m still with version 2019.05 !
>
> Are the examples I have tried so new?
>
> Will download the latest OpenScad tomorrow, eyelids keep dropping.
>
> Could well be the answer, will report on success or otherwise, thanks so far!
>
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email to discuss-leave@lists.openscad.org
M
mikeonenine@web.de
Tue, Jul 12, 2022 12:35 AM
I am not sure what you mean when asking "are the examples so new".
The BOSL2 library itself requires the latest stable OpenSCAD version,
A beautiful tree and no error messages. 2021.01 did the trick, thanks for the tip.
The belt looks interesting, the twist could be useful. Will try to re-engineer the code to my requirements, but hope I will not find myself out of my depth. I only need it for one project, but maybe I can learn something.

Adrian Mariano wrote:
> I am not sure what you mean when asking "are the examples so new".
> The BOSL2 library itself requires the latest stable OpenSCAD version,
>
A beautiful tree and no error messages. 2021.01 did the trick, thanks for the tip.
The belt looks interesting, the twist could be useful. Will try to re-engineer the code to my requirements, but hope I will not find myself out of my depth. I only need it for one project, but maybe I can learn something.
