JSCAD User Group
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Groups 0
    Steve SpodarykS Offline
    1. Home
    2. Steve Spodaryk

    Steve Spodaryk

    @Steve Spodaryk

    0
    Reputation
    1
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Steve Spodaryk Unfollow Follow
    • RE: What am I missing? New site not compatible...

      @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

      posted in General Discussions
      Steve SpodarykS
      Steve Spodaryk
    • RE: What am I missing? New site not compatible...

      @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)
      
      posted in General Discussions
      Steve SpodarykS
      Steve Spodaryk
    • RE: What am I missing? New site not compatible...

      @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

      posted in General Discussions
      Steve SpodarykS
      Steve Spodaryk
    • What am I missing? New site not compatible...

      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

      posted in General Discussions
      Steve SpodarykS
      Steve Spodaryk