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

    Embedding a design in a website

    Scheduled Pinned Locked Moved General Discussions
    23 Posts 5 Posters 9.7k Views 3 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.
    • cdubC Offline
      cdub
      last edited by

      Hi Folks. There hasn't been much activity on this topic, but I was hoping to kick this around some more. I'm very interested in the idea of embedding the JSCad viewer into a webpage. More specifically with dynamic user parameter implementation like the current JSCad web implementation.

      @z3dev wrote the Vue wrapper and was extremely helpful in dissecting this stuff. Tutorial6 gets me most of the way,

      With the tutorial6 code, I was able to add a numeric spinner to change a radius value (z3dev implemented already). This works o.k. and the new geometries are added to the view after 'compile'.

      My question is: After the new geometries are added to the JScad viewer, how do I refresh the render to only show the newly added geometries? I don't fully understand the rendering code to know how to approach this. Any help is appreciated.

      hrgdavorH 1 Reply Last reply Reply Quote 0
      • hrgdavorH Offline
        hrgdavor @cdub
        last edited by hrgdavor

        @cdub I have been slowly working on providing bits and pieces to create different apps/websites with jscad embeded in different ways here
        https://github.com/hrgdavor/jscadui/ ... contributors are welcome

        one of demos is about making a new version of jscad web https://jscad.app that was actually made by @platypii

        Although my progress is slow there, that is also one place where you could find useful stuff.

        cdubC 1 Reply Last reply Reply Quote 0
        • cdubC Offline
          cdub @hrgdavor
          last edited by

          @hrgdavor and @platypii. Thank you for your contributions and for sharing the repos. The work completed here is certainly impressive. I look forward to digging into the code to learn other creative and productive ways of using the JSCAD viewer. The https://jscad.app has a fresh modern cad application feel. Especially with the addition of the orientation cube.

          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