JSCAD User Group
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    REST API or automatic loading from script

    Scheduled Pinned Locked Moved General Discussions
    5 Posts 3 Posters 1.7k Views 2 Watching
    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 Offline
      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
      • hrgdavorH Offline
        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
        • C Offline
          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 z3devZ 2 Replies Last reply Reply Quote 0
          • C Offline
            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
            • z3devZ Offline
              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

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post
              Powered by NodeBB | Contributors