JSCAD User Group

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. kevinos
    K
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 7
    • Best 0
    • Controversial 0
    • Groups 0

    kevinos

    @kevinos

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

    kevinos Unfollow Follow

    Latest posts made by kevinos

    • RE: Has anyone had success using openjscad in react?

      @z3dev by V2 I assume you mean the V2 branch of the openjscad repo on github. What do you mean by pre-compiled (JSON) design? You won't insult my intelligence I'm fairly new to openjscad and web dev 😃

      Also, thank you for sharing, I did test locally and your project works. Very exciting!

      posted in General Discussions
      K
      kevinos
    • RE: Has anyone had success using openjscad in react?

      @z3dev Can you share your example with Vue? This might possibly give me some clues, or I might just switch to Vue.

      posted in General Discussions
      K
      kevinos
    • RE: Has anyone had success using openjscad in react?

      @gilboonet Ah ok, well thank you. So far I am able to embed openjscad into static pages, just have not been able to with react.

      posted in General Discussions
      K
      kevinos
    • RE: Has anyone had success using openjscad in react?

      @gilboonet Is this with React? I took the code in viewer-minimal.html, completely copied and pasted it into index.html added in the div with id root for react to pickup and that is all. I removed nothing from the example but it will not render.

      Just to be clear, I can get the view to render in a static html page, my question is more geared towards if anyone got it to render with react. I'm specifically using react and react-dom and this is on google chrome 84.0.4147.105 if that matters

      posted in General Discussions
      K
      kevinos
    • RE: Has anyone had success using openjscad in react?

      Unfortunately there's an error, so it displays "Hello" since thats whats in the errordiv

      2f971367-3df4-479e-a01f-6b8a57bbbb74-image.png

      posted in General Discussions
      K
      kevinos
    • Has anyone had success using openjscad in react?

      There is next to no documentation for embedding an openjscad model into a web page, let alone putting one into a react component. My first question is, has anyone successfully integrated an openjscad model into react? My second question is, is there better documentation somewhere for putting an openjscad model into any web page? When searching around, I found one library for using openjscad with vue, one for a jscad-gallery but its heavily intertwined with jeckyl, and the documentation for openjscad which is heavily focused on creating openjscad models and not integrating it into a web page.

      posted in General Discussions
      K
      kevinos
    • How do I share the parametric model without sharing the code?

      The title pretty much says it all, if I want to host my openjscad model with the parameters that can be tweaked but want to ensure the code is not available that creates the model, are there any special steps I need to take? Thanks!

      posted in General Discussions
      K
      kevinos