discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Problem with module name

J
jpmendes
Thu, Mar 31, 2016 2:17 AM

Hello

I discovered after some hours breaking my head that "Camera()" is not
possible to be used as a module name. I new that "camera" is part of the
lexical  of command line OpenSCAD. However if I call my module CAMERA() it
works well although it not performs as I wanted to. But that's another
story.
Is this a known issue?

jpmendes

--
View this message in context: http://forum.openscad.org/Problem-with-module-name-tp16839.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Hello I discovered after some hours breaking my head that "Camera()" is not possible to be used as a module name. I new that "camera" is part of the lexical of command line OpenSCAD. However if I call my module CAMERA() it works well although it not performs as I wanted to. But that's another story. Is this a known issue? jpmendes -- View this message in context: http://forum.openscad.org/Problem-with-module-name-tp16839.html Sent from the OpenSCAD mailing list archive at Nabble.com.
DM
doug moen
Thu, Mar 31, 2016 2:46 AM

The following code works for me:

module Camera() cube(10);

Camera();

On 30 March 2016 at 22:17, jpmendes jpmendes54@gmail.com wrote:

Hello

I discovered after some hours breaking my head that "Camera()" is not
possible to be used as a module name. I new that "camera" is part of the
lexical  of command line OpenSCAD. However if I call my module CAMERA() it
works well although it not performs as I wanted to. But that's another
story.
Is this a known issue?

jpmendes

--
View this message in context:
http://forum.openscad.org/Problem-with-module-name-tp16839.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

The following code works for me: module Camera() cube(10); Camera(); On 30 March 2016 at 22:17, jpmendes <jpmendes54@gmail.com> wrote: > Hello > > I discovered after some hours breaking my head that "Camera()" is not > possible to be used as a module name. I new that "camera" is part of the > lexical of command line OpenSCAD. However if I call my module CAMERA() it > works well although it not performs as I wanted to. But that's another > story. > Is this a known issue? > > jpmendes > > > > > -- > View this message in context: > http://forum.openscad.org/Problem-with-module-name-tp16839.html > Sent from the OpenSCAD mailing list archive at Nabble.com. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > >
J
jpmendes
Thu, Mar 31, 2016 2:16 PM

Problem solved. I forgot an empty module named Camera() inside of the script
and as the days passed and the code grew up my memory of it vanished. For
sure I will remember next time :-)
Thanks.

jpmendes

--
View this message in context: http://forum.openscad.org/Problem-with-module-name-tp16839p16851.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Problem solved. I forgot an empty module named Camera() inside of the script and as the days passed and the code grew up my memory of it vanished. For sure I will remember next time :-) Thanks. jpmendes -- View this message in context: http://forum.openscad.org/Problem-with-module-name-tp16839p16851.html Sent from the OpenSCAD mailing list archive at Nabble.com.