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

    All parameters being ignored in local install.

    Scheduled Pinned Locked Moved Development Discussions
    4 Posts 2 Posters 1.4k 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.
    • SimonClarkS Offline
      SimonClark
      last edited by

      I'm just getting started with setting up for contributing. Followed all instructions on an Ubuntu 18.04 dev box.
      node -v : 12.18.1
      npm -v : 6.14.5
      npm test : all passed
      Starting the web server, and I can create objects in a simple script, but all parameters are being ignored. ie:

      function main() {
        return cylinder({r:12, h:1});
      }
      

      returns a cylinder with radius 1, height 1.
      Similar results with other primitives, transforms, etc.

      Any ideas what could cause that?

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

        Hi Simon,

        When you say 'contributing' the I'm guessing that you are going to work with JSCAD V2. Please follow the notes in Early Adoption of V2.

        The JSCAD V2 API is different, so you'll also need to see the documentation. You can generate the documentation as well by running..

        npm run docs
        

        There will be a full set of documentation in the 'out' directory, i.e. HTML files. Just open 'index.html' with any browser.

        SimonClarkS 1 Reply Last reply Reply Quote 0
        • SimonClarkS Offline
          SimonClark
          last edited by

          Thanks, I thought I did follow the directions there. I'll try it again on a local VM.

          1 Reply Last reply Reply Quote 0
          • SimonClarkS Offline
            SimonClark @z3dev
            last edited by

            thanks @z3dev. I made some bad assumptions about what docs were relevant 🙂

            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