@z3dev Yes, I'm using vectorChar and vectorText, but I did a full cache clear and that seems to have solved my issue. Drag and drop is working and everything looks good.
Thanks for all the help!
Steve
@z3dev Yes, I'm using vectorChar and vectorText, but I did a full cache clear and that seems to have solved my issue. Drag and drop is working and everything looks good.
Thanks for all the help!
Steve
@z3dev Dropping project folder into v3 displays a different error. I'm not calling slice() on t, but it is a text string that is being iterated over.
TypeError: TypeError: t.slice is not a function
at Object.Ne [as fromPoints] (https://openjscad.xyz/v3/javascript/bundle.jscad_modeling.js:9:723)
at eval (/index.js:186:47)
at Array.map (<anonymous>)
at solidText (/index.js:186:24)
at eval (/index.js:421:29)
at Array.forEach (<anonymous>)
at add_text (/index.js:415:13)
at main (/index.js:620:51)
@z3dev I agree that JSCAD is awesome, I'm still unable to drag/drop/load any existing code into the V2 runtime.
I'm not sure what to do. I have parametric models that I use and rely on, but no way to load/run them. What am I missing? I've only used this in the browser.
Thanks,
Steve
I am an enthusiastic, but occasional openjscad user. I dropped one of my projects into the web dev environment and now get an error:
Error: Error: file not found https://openjscad.xyz/v2/index.htmlswfs/30ecfa9d-747e-4a7d-b86e-5e7a4c262ace/index.js
It looks like readFileWeb.js cannot find a javascript file it expects.
The Chrome/js debugger shows:
error executing command jscadScript Array(1) Error: file not found https://openjscad.xyz/v2/index.htmlswfs/92dad4d3-1bac-464b-9f1f-3434e318d035/index.js
at Au (readFileWeb.js:16:11)
at bt (worker.js:156:24)
at F (index.js:129:25)
I don't know if the accepted input has changed? This is a folder with a index.js file.
Doing a cut/paste with the javascript yields the same error. This small app worked fine the last time I used it, and it's all V2 compatible.
Is there an issue with the current web-based runtime, or do I need to do something differently to load/test code?
Thanks,
Steve