scad-preview
scad-preview copied to clipboard
OpenScad temp file is deleted before it can be used
I keep getting Compile Errors. I've been trying to debug it. It seems that the sentinel is deleting the scadpreview_ file even before openscad runs to create an image. Have you seen this problem before?
thanks for reporting. hmm.. I've never had the problem.
I had the same problem: always get "Compile Error". I tried to debug it, and cannot see the temp files are created.
The command "openscad -o /tmp/test.png ~/test.scad" didn't work ("Unknown suffix for output file /tmp/test.png") in my old version 2014.01.29 (also the options "imgsize", etc. were not available). I've updated openscad. It worked not right away (maybe I messed up the scad-preview while finding the error), but reinstalled scad-preview and now it works.
old: OpenSCAD version 2014.01.29 new: OpenSCAD version 2015.03-1 GNU Emacs 24.3.1 Ubuntu 14.04