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

    Aug 3, 2017

    Scheduled Pinned Locked Moved Archives (Google+)
    1 Posts 1 Posters 1.1k 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.
    • z3devZ Offline
      z3dev
      last edited by

      Jeff Gay
      First, see Issue #76

      The last reorganization of libraries makes this more possible but there are still some issues to overcome.
      Originally shared by ****
      Hello! I'm trying to import a class defined in another file, but neither import nor require seem to be support by OpenJSCAD. Is this correct? I want to be able to use ECMAScript 2015 classes with inheritence etc
      one comment
      1
      no plus ones
      no shares
      Shared publicly

      Jeff Gay
      It depends.
      
      You can use any of the JSCAD libraries with any other libraries via NODEJS. That may help get things started.
      
      Browsers are different. Require is not standard yet, not Import. Also, browses impose security around what can be loaded into worker threads. This is the main issue to overcome if you want to use another library. openjscad.org - OpenJSCAD.org only imports what's necessary.
      
      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