[OpenSCAD] Command line

nop head nop.head at gmail.com
Mon Feb 13 23:18:06 CET 2012


Just tried it and it makes no difference.

On 13 February 2012 22:05, Stuart Young <cefiar at gmail.com> wrote:

> Tried passing the filename to  openscad on the cli as ./filename.scad (or
> .\filename.scad on windows) to see if that works?
>
> Annoying workaround if it works, but will definitely help pinpoint the
> issue if it is path related.
>
> --
> Cef
> On Feb 14, 2012 8:25 AM, "nop head" <nop.head at gmail.com> wrote:
>
>> Yes I am in the same directory as the file but the include is in a
>> subdirectory.
>>
>> If I copy the openscad executable to the working directory I get a
>> different result. I think it sees the first include file as $fn seems to be
>> set but then fails to find files included from that. Just a guess as there
>> is no console output.
>>
>> On 13 February 2012 21:05, Whosawhatsis <whosawhatsis at gmail.com> wrote:
>>
>>> I would guess that it is an issue of using the shell's path instead of
>>> the file's. Have you tried changing your working directory to the location
>>> of your scad file before running the command?
>>>
>>> On Monday, February 13, 2012 at 12:54 PM, nop head wrote:
>>>
>>> Actually it does do something. When I output an STL with -o or -s it
>>> outputs a small one instantaneously with not much in it. It looks like it
>>> can't find the included files and makes an object with all the variables
>>> undefined. If I omit the -o it opens in the GUI and draws it correctly. If
>>> I run it on a simple file with no includes it seems to work.
>>>
>>> So it seems to boil down to not being able to find includes, not
>>> outputting anything to the console (including the usage message) and
>>> crashing when the usage is wrong.
>>>
>>>
>>> On 12 February 2012 21:30, nop head <nop.head at gmail.com> wrote:
>>>
>>> I does the same under Win7 64bit  and WinXP 32bit.
>>>
>>>
>>> On 12 February 2012 21:27, Brad Pitcher <bradpitcher at gmail.com> wrote:
>>>
>>> It works with Wine, but I suppose that's not the best test.
>>>
>>> On Sun, Feb 12, 2012 at 1:25 PM, Marius Kintel <marius at kintel.net>wrote:
>>>
>>> On Feb 12, 2012, at 22:16 PM, nop head wrote:
>>>
>>> > I have never attempted to use it before. One from may last year does
>>> the same except I don't get the runtime error, just nothing or the GUI.
>>> >
>>> ok, it might be that it never worked under Windows. Windows doesn't like
>>> sending standard I/O to the console when running a GUI app. Perhaps someone
>>> more experienced with that platform could chip in on that topic.
>>>
>>>  -Marius
>>>
>>> _______________________________________________
>>> OpenSCAD mailing list
>>> OpenSCAD at rocklinux.org
>>> http://rocklinux.net/mailman/listinfo/openscad
>>>
>>>
>>>
>>> _______________________________________________
>>> OpenSCAD mailing list
>>> OpenSCAD at rocklinux.org
>>> http://rocklinux.net/mailman/listinfo/openscad
>>>
>>>
>>>
>>> _______________________________________________
>>> OpenSCAD mailing list
>>> OpenSCAD at rocklinux.org
>>> http://rocklinux.net/mailman/listinfo/openscad
>>>
>>>
>>>
>>> _______________________________________________
>>> OpenSCAD mailing list
>>> OpenSCAD at rocklinux.org
>>> http://rocklinux.net/mailman/listinfo/openscad
>>>
>>>
>>
>> _______________________________________________
>> OpenSCAD mailing list
>> OpenSCAD at rocklinux.org
>> http://rocklinux.net/mailman/listinfo/openscad
>>
>>
> _______________________________________________
> OpenSCAD mailing list
> OpenSCAD at rocklinux.org
> http://rocklinux.net/mailman/listinfo/openscad
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rocklinux.net/pipermail/openscad/attachments/20120213/8faca86b/attachment.html


More information about the OpenSCAD mailing list