scad-preview icon indicating copy to clipboard operation
scad-preview copied to clipboard

OpenScad temp file is deleted before it can be used

Open eyal0 opened this issue 9 years ago • 2 comments
trafficstars

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?

eyal0 avatar Jan 05 '16 07:01 eyal0

thanks for reporting. hmm.. I've never had the problem.

zk-phi avatar Jan 05 '16 10:01 zk-phi

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

dratasich avatar Jan 22 '17 10:01 dratasich