JSCAD User Group

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    All parameters being ignored in local install.

    Development Discussions
    2
    4
    626
    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.
    • SimonClark
      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
      • SimonClark
        SimonClark @z3dev last edited by

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

        1 Reply Last reply Reply Quote 0
        • SimonClark
          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
          • z3dev
            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.

            SimonClark 1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB | Contributors