JSCAD User Group

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

    walt

    @walt

    0
    Reputation
    5
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    walt Unfollow Follow

    Latest posts made by walt

    • RE: Using Jscad in a web project

      Thanks for the replies.

      All I really need to do is have the Jscad viewer display my file (which may be an STL or a JSCAD file) when the page loads. Is there any way for my javascript code to make the view display my file?

      posted in Development Discussions
      W
      walt
    • Using Jscad in a web project

      I'm trying to use Jscad to display my 3D models. I have code which I got from openjscad.xyz to create the viewer like so:

      const el1 = document.getElementById('jscad')
      const jscadInst1 = jscadWeb(el1, {name: 'jscad1'})
      

      But now, how do I interact with the viewer? I need to be able to:

      • load a file (STL or Jscad),
      • set the foreground and background colors,
      • remove any loaded files from the viewer

      Any help would be much appreciated!
      Walt

      posted in Development Discussions
      W
      walt