jscad / OpenJSCAD.org

JSCAD is an open source set of modular, browser and command line tools for creating parametric 2D and 3D designs with JavaScript code. It provides a quick, precise and reproducible method for generating 3D models, and is especially useful for 3D printing applications.
https://openjscad.xyz/
MIT License
2.67k stars 516 forks source link

Rotate extrude error #301

Closed runezor closed 7 years ago

runezor commented 7 years ago

Running the following function inside min.js: document.getElementById('execute3D').onclick = function(){ var source=design; gProcessor.setStatus('Processing ' + design + " <img id=busy src='imgs/busy.gif'>"); gProcessor.setJsCad(source, design); }

With source being this design: function main() { return rotate_extrude( polygon({points:[ [0,0],[2,1],[1,2],[1,3],[3,4],[0,5] ]}) ); }

Produces the result shown in the image

rendererror
runezor commented 7 years ago

Actually, even running it by transferring the file onto the standard index.html produces the same result.

SOLVED: By reinstalling on server

z3dev commented 7 years ago

@richievos thanks good news.

Do you know what the core issue was?

runezor commented 7 years ago

I can only guess If it's any help, the failed installation happened when I copied and pasted my files, and the succesful one happened by simply transferring the folder inside the zip file.

Den 25. okt. 2017 2.07 AM skrev "Z3 Development" notifications@github.com:

@richievos https://github.com/richievos thanks good news.

Do you know what the core issue was?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/jscad/OpenJSCAD.org/issues/301#issuecomment-339172928, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ31SNGFj90MbWdrxiozfsH1GM_uUVduks5svnu-gaJpZM4QDc-T .