All parameters being ignored in local install.
-
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?
-
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 docsThere will be a full set of documentation in the 'out' directory, i.e. HTML files. Just open 'index.html' with any browser.
-
Thanks, I thought I did follow the directions there. I'll try it again on a local VM.
-
thanks @z3dev. I made some bad assumptions about what docs were relevant

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