Hi folks,
When designing my new laser cutter design, I noticed an oddity that on a linux
distro gives warnings but on the windows distribution crashes. Its due to my
(mis) use of use <file.scad>' instead of include <file.scad>'. Apparently
there is a semantic difference in that using include' just works and when using useit fails to find constants defined in the file included and under the windows version crashes the program. No backtrace is given so I have no idea where it bombed out. I useduse <MCAD/steppers.scad>'.
With regards,
Reinoud
Hi,
Could you post a small example of the .scad code that crashes.
What versions of OpenSCAD are you using on Windows & Linux? Windows version?
Confirm that it is a crash, ie the .exe stops, not an error in the console.
Admin - PM me if you need anything, or if I've done something stupid...
Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.
View this message in context: http://forum.openscad.org/Hello-and-a-small-issue-tp20348p20349.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Hi
On Mon, Feb 06, 2017 at 02:15:06PM -0700, MichaelAtOz wrote:
Could you post a small example of the .scad code that crashes.
What versions of OpenSCAD are you using on Windows & Linux? Windows version?
Confirm that it is a crash, ie the .exe stops, not an error in the console.
I've created the smalles example I could think of that crashes. It crashes
regardless of the OS I run it on. I tested on NetBSD, Linux and Windows10. The
OpenSCAD release is the 2015.03p3. Note that if I change the use to
include it renders fine.
With regards,
Reinoud
On Mon, Feb 13, 2017 at 11:43:01AM +0100, Reinoud Zandijk wrote:
Ahum, the file ought to read like this:
use <MCAD/stepper.scad>
As in use instead of the working include.
Hi Reinoud,
This was fixed a while ago in master: https://github.com/openscad/openscad/issues/1528
-Marius