JSCAD User Group

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

      Default JSCAD script (index.js) for self-hosted website
      General Discussions • • tjw25425

      6
      0
      Votes
      6
      Posts
      750
      Views

      hrgdavor

      @z3dev that is exactly type of projects I want more jscad users to be able to do. It will likely be able to benefit from some of the resopnsiveness improvments I am making.

    • gilboonet

      export colored model to .obj
      Design Discussions • • gilboonet

      6
      0
      Votes
      6
      Posts
      764
      Views

      hrgdavor

      @gilboonet vool 🙂 . Nice to see it working

    • RelatingData

      Interoperability with URDF / Gazebo and modelling of Robots
      General Discussions • • RelatingData

      6
      1
      Votes
      6
      Posts
      797
      Views

      z3dev

      @Jason-Sprouse Not a problem. As you mentioned, the engine has to be taught first. How can we make that happen?

      FYI, if the results are saved and made available on the web, then the design can be posted to the JSCAD website. I do this for my designs at Thingiverse.

      https://www.openjscad.xyz/?uri=https://www.thingiverse.com/download:9621826

    • Jason Sprouse

      Is the cli package also included in the web version?
      Development Discussions • • Jason Sprouse

      6
      0
      Votes
      6
      Posts
      875
      Views

      z3dev

      @Jason-Sprouse hmm...

      The website doesn't have a backend service/process. Everything is handled by the browser, including loading designs.

      The only trick is for designs provided an a URL parameter. In this case, the URL is posted to a little script that reads the contents, stores the file locally, and returns the URL to the local file.

      Of course, some other backend service could be added.

    • I

      function in getParameterDefinition
      Development Discussions • • imkael

      5
      0
      Votes
      5
      Posts
      2854
      Views

      I

      @kaosat-dev thanks for your reply i haven't test it yet (I just saw it today). i will tell you if it's works for me. Best regards

    • D

      Non manifold geometry with polyhedron
      General Discussions • • DrShoggoth

      5
      0
      Votes
      5
      Posts
      977
      Views

      D

      Nevermind, I fixed everything simply by using triangles instead of polygons.

    • SimonClark

      Additions for consideration...
      Development Discussions • • SimonClark

      5
      0
      Votes
      5
      Posts
      733
      Views

      SimonClark

      @z3dev said in Additions for consideration...:

      @simonclark cool.

      FYI, there's a bezier function as part of path2 geometry which is based on the SVG algorithm. See src/geometry/path2/appendBezier()

      Thanks! I'm taking a look at this, and try to make sure the interfaces are similar.

      My goal was to create something that I could use as an easing function in scaling, rotating, etc. I've also updated the algorithm to support n'th dimensions, and n'th order polynomials (control points).

    • juanccilleruelo

      How to embed openJSCAD into a desktop application.
      General Discussions • • juanccilleruelo

      5
      0
      Votes
      5
      Posts
      486
      Views

      juanccilleruelo

      @z3dev Just I did!

    • Alasdair McAndrew

      Transparency, progress bar?
      General Discussions • • Alasdair McAndrew

      5
      0
      Votes
      5
      Posts
      538
      Views

      z3dev

      I guess my other question about a progress bar in the viewer is either not possible, or too fiddly to be practicable?

      This hasn't been requested before but some kind of progress indication should be possible.

      Can you create a new issue for this?

    • B

      Running code in workerthread
      Development Discussions • • bitbybit

      5
      0
      Votes
      5
      Posts
      650
      Views

      B

      @z3dev yeah, I went 'custom' way before I found JSCAD, I began by exposing VerbNurbs library first and implemented BabylonJS rendering 🙂 but JSCAD adds so much to the project that I'm super enthusiastic about it. Vue part sounds very interesting. While I'm not very familiar with Vue, I suppose by reactive you mean Rxjs kind of reactive? Will have to analyse your project in more detail, thanks!

    • gilboonet

      little feedback on how jscad v2 helps a "maker"
      General Discussions • • gilboonet

      5
      1
      Votes
      5
      Posts
      530
      Views

      gilboonet

      @z3dev yes, examples I mentionned come from "vue-components" project

    • wildjerry

      Why am I getting "Uncaught TypeError: CSG.Path2d is not a constructor"?
      General Discussions • • wildjerry

      5
      0
      Votes
      5
      Posts
      688
      Views

      gilboonet

      V1 color syntax is color("Red", extrudes[0])

    • D

      Shape generator
      Development Discussions • • Dinther

      5
      0
      Votes
      5
      Posts
      799
      Views

      Dunk Fordyce

      I have had similar thoughts about getting a drawing tool like this into jscad, I believe it could not only be useful for extruding simple shapes, but also, if constraints are possible, for the layout of all sorts of things.

      This project looks interesting https://github.com/IjzerenHein/kiwi.js .. though I admit I dont quite understand how you would get anything complicated into the calculations.

    • receter

      I built a OpenJSCAD Gallery
      Comments & Feedback • • receter

      5
      0
      Votes
      5
      Posts
      680
      Views

      z3dev

      We have been posting to this thread.

      https://openjscad.nodebb.com/topic/196/a-collection-of-jscad-projects-on-github

      You can find some really interesting projects by following the Used By links on the right side of the Github project.

    • R

      Newbie Here. (yet another) 3d to 2d question
      General Discussions • • retroglyph

      5
      0
      Votes
      5
      Posts
      483
      Views

      gilboonet

      @z3dev Apparently the temporary v2 website doesn't handle links like those of examples, it may be easier to wait for the original website to be online.

    • R

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

      5
      1
      Votes
      5
      Posts
      597
      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.

    • W

      Using Jscad in a web project
      Development Discussions • • walt

      5
      0
      Votes
      5
      Posts
      588
      Views

      hrgdavor

      check this post https://openjscad.nodebb.com/topic/248/react-library-v2

      or this https://github.com/jscad/OpenJSCAD.org/discussions/895

    • K

      Debugging script
      General Discussions • • Ken

      5
      0
      Votes
      5
      Posts
      477
      Views

      K

      Thanks everyone for your response, I continue to experiment and learn. Once I switched to Foxfire I can see the debug results.

      Thanks
      Ken

    • gilboonet

      Video of an integrated tool (from 2016) using OpenJSCAD v0.4
      Comments & Feedback • • gilboonet

      5
      0
      Votes
      5
      Posts
      870
      Views

      gilboonet

      @jess-yan Hello, the point selection is made with an external tool, Openscad Simple Polygon Editor. I modified it so that I could use it along with OpenJSCAD. But it was with a very old version and with v2 I don't see how to do the same.

    • irevdev

      Featured Model for CadHub
      General Discussions • • irevdev

      5
      0
      Votes
      5
      Posts
      539
      Views

      z3dev

      @hrgdavor thanks for the nice recommendation.

      here's the design, which was converted from an OpenJSCAD design.

      https://www.thingiverse.com/thing:4788337

      i'll leave the choice up to you gentlemen. 🙂