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

    updating jscad for website integration

    Scheduled Pinned Locked Moved General Discussions
    2 Posts 2 Posters 1.0k Views 1 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.
    • Richard RouseR Offline
      Richard Rouse
      last edited by

      Hello,

      I developed a CMS system using openjscad.js (pre jscad 2). It is OpenJsCad.version = '0.5.1 (2016/06/27). It used openscad.js, jscad-worker.js and jscad-function.js.

      It was fun to put together and useful for collecting, openscad, stl, gcode and narratives about how to build the designs. It was written in PHP using an Apache2 web server.

      I had to move servers and didn't pay addition to the differences between the old openjscad command line tool (which was used for converting uploaded STL files into jscad files for viewing). Now the current jscad syntax is a bit different since the polyhedron has faces in addition to points and this trips the old code.

      So now try to tinker with the current jscad set up but cannot figure out how to just view an stl file on my webroot. Does anyone know of a simple template script that I can use to upgrade this tool from the old code?

      thanks

      z3devZ 1 Reply Last reply Reply Quote 0
      • z3devZ Offline
        z3dev @Richard Rouse
        last edited by z3dev

        @Richard-Rouse Welcome to the user group.

        Looks like you have integrated parts of the V1 website into your custom website. It must have been a fun project.

        V1 is still available, but this version is not being maintained any more. If you really need it then check out the V1 branch.

        V2 is the currently available, and maintained version. This is totally different and you will have to start again. Sorry.

        There's a super small viewer available in the regl-renderer directory. Please see the README for additional information.

        Let us know if you have questions. There are several people who have created custom websites.

        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