JSCAD User Group

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    REST API or automatic loading from script

    General Discussions
    3
    5
    712
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      cncandi last edited by

      is there a possibility to send script to JSCAD by RESTAPI or something like that? I want to create the script in external program and want to use JSCAD as online Viewer for that script.

      1 Reply Last reply Reply Quote 0
      • z3dev
        z3dev @cncandi last edited by

        @cncandi It looks like you made a copy of the JSCAD website. That's really customize to support drag-n-drop, loading projects, URL options, etc. It's probably not what you really want.

        Take a look at the websites and frameworks mentioned here.

        https://openjscad.xyz/dokuwiki/doku.php?id=en:user_guide_help

        Let us know if you have any more questions.

        1 Reply Last reply Reply Quote 0
        • C
          cncandi @cncandi last edited by

          @cncandi
          error message is:
          TypeError: Cannot read properties of undefined (reading 'file')

          TypeError: Cannot read properties of undefined (reading 'file')
          at https://cnc-technik.de/cad3D/dist/jscad-web.min.js:3273:755
          at https://cnc-technik.de/cad3D/dist/jscad-web.min.js:3273:1598

          1 Reply Last reply Reply Quote 0
          • C
            cncandi last edited by

            old problem but still same problem. I'd like to open JSCAD by parameter:
            http://www.cnc-technik.de/cad3D

            This is my link.

            C z3dev 2 Replies Last reply Reply Quote 0
            • hrgdavor
              hrgdavor last edited by

              @cncandi there is url format supported by openjscad:

              https://openjscad.xyz/?uri=http://3d.hrg.hr/jscad/three/model.braile.js

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Powered by NodeBB | Contributors