JSCAD User Group

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Recent
    Log in to post
    • All categories
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • ?

      Regl renderer mouse selection
      Development Discussions • • A Former User

      7
      0
      Votes
      7
      Posts
      940
      Views

      hrgdavor

      @kenianbei sad to see you leave. I do have pieces of code that convert jscad output to threejs meshes and it is now working wihout hacks in cadhub and integrated into react-three fiber

    • Robert Olson

      how to compile a JsCad script from string instead of file?
      Development Discussions • • Robert Olson

      6
      0
      Votes
      6
      Posts
      1112
      Views

      hrgdavor

      @Robert-Olson small update:

      managed to add reload functionality into :
      http://3d.hrg.hr/jscad/three/threejscad.html

      just drop a script on to the screen, edit in your fav editor and see results.

      tested only in chrome, to se errors use browsers console F12

      it is a rough prototype with ton of scrappy code, but works relatively ok.
      modeling is in main thread, so if you create an infinite loop, you will have to kill the tab.

      nevertheless if you do start using it, let me know how it works for you , or if it breaks

    • hrgdavor

      developer friendly syntax for getParameterDefinitions proposal and interactive demo
      General Discussions • • hrgdavor

      1
      0
      Votes
      1
      Posts
      410
      Views

      No one has replied

    • Nathan Apter

      Didn't there used to be examples you could click on?
      General Discussions • • Nathan Apter

      2
      0
      Votes
      2
      Posts
      751
      Views

      z3dev

      @Nathan-Apter welcome

      Please try www.openjscad.xyz

      The examples can be found by clicking on the ? In the top right corner.

      Keep those questions coming!

    • gilboonet

      Simple 2d parametric design
      Design Discussions • • gilboonet

      6
      0
      Votes
      6
      Posts
      1328
      Views

      gilboonet

      @z3dev Thanks a lot, it is always helpful to understand the reason of specific behaviors. My design has one path for the outline that will be cut, and lines for the folds. To remove the black fill I can try to turn the path to a polygon.

    • R

      Best way to get started with JSCAD
      General Discussions • • RunningUtes

      5
      1
      Votes
      5
      Posts
      1129
      Views

      hrgdavor

      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.

    • z3dev

      Release : 2021 JUN 20
      Announcements • • z3dev

      1
      1
      Votes
      1
      Posts
      259
      Views

      No one has replied

    • z3dev

      Release : 2021 JUN 11
      Announcements • • z3dev

      1
      1
      Votes
      1
      Posts
      295
      Views

      No one has replied

    • gilboonet

      using vector operations (subtract)
      Development Discussions • • gilboonet

      4
      0
      Votes
      4
      Posts
      748
      Views

      gilboonet

      @z3dev Thanks, I will change to subtract(a, a, b)

    • Maria Alzate

      3d to 2d
      General Discussions • • Maria Alzate

      6
      0
      Votes
      6
      Posts
      1229
      Views

      z3dev

      @Maria-Alzate Just for your information, as part of the last release, there's a new project() function which can project a 3D shape to a 2D shape.

    • geobruce

      Can't find command for 3D to 2D Projection
      General Discussions • • geobruce

      3
      0
      Votes
      3
      Posts
      1335
      Views

      z3dev

      @geobruce Just for your information, as part of the last release, there's a new project() function which can project a 3D shape to a 2D shape.

    • Alasdair McAndrew

      Two questions about projections
      General Discussions • projection orientation key commands webinterface • • Alasdair McAndrew

      4
      0
      Votes
      4
      Posts
      1334
      Views

      z3dev

      @Alasdair-McAndrew Just for your information, as part of the last release, there's a new project() function which can project a 3D shape to a 2D shape.

    • Dunk Fordyce

      Beginner Questions
      General Discussions • • Dunk Fordyce

      23
      0
      Votes
      23
      Posts
      6634
      Views

      z3dev

      @Dunk-Fordyce I really like this concept of a preconfigured project. It would be a great addition to the JSCAD project.

      Probably, there are a few different styles of projects. So, maybe a little repository of starting projects could be created.

      Interested?

    • gilboonet

      basic design for projection
      Design Discussions • • gilboonet

      9
      0
      Votes
      9
      Posts
      1925
      Views

      z3dev

      @gilboonet excellent!

      You are the super user!

    • z3dev

      MAJOR Release : 2021 JUN 01
      Announcements • • z3dev

      1
      0
      Votes
      1
      Posts
      365
      Views

      No one has replied

    • z3dev

      Release : 2021 MAY 16
      Announcements • • z3dev

      1
      1
      Votes
      1
      Posts
      357
      Views

      No one has replied

    • gilboonet

      How to run JSCAD from another application ?
      Design Discussions • • gilboonet

      20
      0
      Votes
      20
      Posts
      4080
      Views

      gilboonet

      @hrgdavor yes, the method I used was what was available but any other could replace it. The purpose is to get data from the embedded jscad script and create a pdf file from it that can then be downloaded or directly viewed into the browser.

    • z3dev

      Some designs...
      Design Discussions • • z3dev

      2
      0
      Votes
      2
      Posts
      431
      Views

      gilboonet

      @z3dev That's cool designs. Maybe you can add links to open them in JSCAD like

      minion googles

      Which reminds me that I have such links on several places but with old site that I need to replace.

    • gilboonet

      designs for blade cutter (svg)
      General Discussions • • gilboonet

      7
      0
      Votes
      7
      Posts
      884
      Views

      gilboonet

      @hrgdavor Yes that's this one. (the Maker comes with a fine-point blade and a rotary blade)

    • K

      Does //!OpenSCAD no longer work?
      General Discussions • • ksanger

      2
      0
      Votes
      2
      Posts
      719
      Views

      z3dev

      @ksanger welcome

      Correct. The 'OpenSCAD' conversion to JSCAD has been decommissioned. The code is very old and needs some extensive maintenance / enhancements.

      Your students should be able to use the new website easily; www.openjscad.xyz

      The 'syntax' to create a new design is slightly different but there's plenty of documentation.

      User Guide API reference