JSCAD User Group

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

    Best way to get started with JSCAD

    General Discussions
    3
    5
    576
    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
      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
      • hrgdavor
        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
        • hrgdavor
          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
          • gilboonet
            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
            • R
              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?

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