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

    Best way to get started with JSCAD

    Scheduled Pinned Locked Moved General Discussions
    5 Posts 3 Posters 1.4k Views 3 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.
    • R Offline
      RunningUtes
      last edited by

      Are there any good resources for starting with JSCAD? I have seen the documentation, but was looking for a getting started section.

      Are there any templates to start with a project or a help section for starting with JSCAD?

      1 Reply Last reply Reply Quote 1
      • R Offline
        RunningUtes
        last edited by

        I was looking through posts on this user group and discovered there was a Discord group. Anyone have an invite they could send me?

        hrgdavorH 1 Reply Last reply Reply Quote 0
        • gilboonetG Offline
          gilboonet
          last edited by gilboonet

          @RunningUtes Hello, https://openjscad.xyz/dokuwiki/doku.php?id=en:jscad_design_guide is as close as possible to a getting started section. I often use its code to start new designs.

          What I am now used to add is :

          add this first require :
          require jscad = require('@jscad/modeling')
          then change others to :
          require { ... } = jscad.xxx

          What a new user must be aware of is that the requires are compulsory and maybe it could be a nice resource to have a list, because when you start you don't know what to use and what is the needed require to add to use something. It's a good way to make one dig the doc and the code, but it might be too much for beginners.

          The functional syntax (I mean main = () => { and so on) is maybe a little odd for people who are not hardcore developers, so the examples are useful.

          1 Reply Last reply Reply Quote 0
          • hrgdavorH Offline
            hrgdavor @RunningUtes
            last edited by hrgdavor

            @RunningUtes

            there is one discord server with many cad channels, there are just few ppl on jscad channel . Spread the word, add tickets to github, it is nice to have new community members.

            https://discord.gg/UXtQcA6

            1 Reply Last reply Reply Quote 0
            • hrgdavorH Offline
              hrgdavor
              last edited by

              If you start with a simple file design.js, save it in a folder and use editor of your choice.

              open https://openjscad.xyz/ and make sure you check the option "Enable Auto-reload"
              drag and drop the file into the window and you will see the model

              change your js file and save, changes will be picked-up automatically.
              openjscad checks for changes every second, but if you want to see changes even faster you can use livereload.

              one way to use livereload is via nodejs
              if you have nodejs just run
              npm -g install livereload
              go to the folder with your design and run:
              livereload

              you must do the livereload step before you drag and drop design into openjscad window.

              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