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 `use` it 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 used `use <MCAD/steppers.scad>'.
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.
The TPP is no simple “trade agreement.”Fight it! http://www.ourfairdeal.org/ time is running out!
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.