JSCAD User Group

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. General Discussions
    Log in to post
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • Most Views
    • Alasdair McAndrew

      Curves described by parametric equations?
      • Alasdair McAndrew

      4
      0
      Votes
      4
      Posts
      111
      Views

      Alasdair McAndrew

      Thank you very much - and I think that hand-building a polygon from a list of points may be my best bet at the moment. I can easily create points from my parametric equations, and then join them up.

    • gilboonet

      Error when saving 2d rendering
      • gilboonet

      9
      0
      Votes
      9
      Posts
      87
      Views

      gilboonet

      @z3dev Thanks a lot for your suggestions, I will try to implement them. I have some marginal cases where it will certainly help to have exact vertices

    • gilboonet

      Unexpected Holes into volume extruded from Svg paths
      • gilboonet

      4
      0
      Votes
      4
      Posts
      72
      Views

      z3dev

      @gilboonet no problem.

      there's plenty to fix still, but each release improves V2 JSCAD. i'll post an update once there's something to test for this issue.

    • R

      Creating Vases (lampshades), experiences or thoughts
      • rubydesign

      2
      0
      Votes
      2
      Posts
      71
      Views

      z3dev

      @rubydesign super big welcome!

      i've had thoughts about a special 'vase' website for many years. it seems very natural to use JSCAD to create all kinds of vases. i think that others have created vases of certain kinds as well.

      here's a few of my thoughts...

      allow the user to create and adjust the outline of the vase allow the user to twist a shape as well allow the user to specify the internal shape as well allow the user to add pre-configured sections to the vase as well, e.g. wine glass stem
    • J

      Question about arrays.
      • jarshvor

      3
      0
      Votes
      3
      Posts
      85
      Views

      z3dev

      @jarshvor another way to look at this is the return types...

      pcb() returns an object (1)
      holes1() returns an array of objects (2)
      holes2() returns an array of objects (4)

      V1 OpenJSCAD.org requires main() to return an ARRAY of objects or a single object.
      (FYI, V2 automatically flattens everything into an array.)

      @gilboonet is correct in the example provided. By using '...holes1()' syntax, an array is constructed from [ pcb(), holes1[0], holes1[1] ]

      Hang in there. You'll get it soon. ๐Ÿ™‚

    • BarbourSmith

      Generating project thumbnails
      • BarbourSmith

      9
      0
      Votes
      9
      Posts
      138
      Views

      gilboonet

      @gilboonet It works. I needed to specify ... while pushing content into the return variable. I still need to stop the animation so my video capture will perfectly loop. And there's something that I didn't manage to do, it's creating a new project, for the moment I'm changing demo-web.js, otherwise there is an error (cannot find myAnim.js when I try to run npรน run myAnim.js)
      text alternatif

    • Maria Alzate

      This topic is deleted!
      • Maria Alzate

      1
      1
      Votes
      1
      Posts
      13
      Views

      No one has replied

    • Alasdair McAndrew

      Camera position, V2?
      camera viewing • • Alasdair McAndrew

      3
      0
      Votes
      3
      Posts
      106
      Views

      Alasdair McAndrew

      Nice - thank you! Should this be listed in the various shortcuts under the settings menu?

    • Cid Zhang

      Initial release of FlexiSystem
      • Cid Zhang

      7
      0
      Votes
      7
      Posts
      154
      Views

      Cid Zhang

      @z3dev Got it! I'll try to update the engine with this:
      https://github.com/jscad/OpenJSCAD.org/tree/master/packages/web

    • T

      Help to adopt new version.
      • teetopsy

      4
      0
      Votes
      4
      Posts
      99
      Views

      hrgdavor

      There is a nice V2 example from one of the openjscad users here:
      https://github.com/sdaau/openjscad_example_selfhost_spa_webpage

      maybe this is something you can use ?

    • Alasdair McAndrew

      Issues on Linux - designs not rendering in html viewers
      • Alasdair McAndrew

      8
      0
      Votes
      8
      Posts
      122
      Views

      z3dev

      @Alasdair-McAndrew sure.

      check out the recent post by @crysislinux

      i haven't seen anyone embed V2 into a web page yet, but that will happen soon.

    • crysislinux

      An vscode extension for v2
      • crysislinux

      4
      0
      Votes
      4
      Posts
      126
      Views

      dave5

      awesome! one less thing i need to do this week ๐Ÿ™‚

    • Alasdair McAndrew

      Transparency, progress bar?
      • Alasdair McAndrew

      5
      0
      Votes
      5
      Posts
      93
      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?

    • paul a golder

      Help me understand the structure of a project.
      • paul a golder

      11
      1
      Votes
      11
      Posts
      182
      Views

      z3dev

      @BarbourSmith a very good question.

      In V2, the best approach is to make a project folder. And then organize the parts as desired, including sub-directories.

      project/ - index.js // this file is the entry point, and exports main - tube.js - subassembly/ - index.js

      By the way, if the project works with the CLI, then the same project should work with the WEB UI as well.

    • Alasdair McAndrew

      Hosting/publishing a shape?
      • Alasdair McAndrew

      4
      0
      Votes
      4
      Posts
      88
      Views

      hrgdavor

      there is also a nice effort from one of the users.

      https://github.com/jscad/OpenJSCAD.org/issues/666

      it is a self hosted example. Maybe that is the direction you want ?

    • sheffieldnick

      Website "load a file" functionality?
      • sheffieldnick

      14
      0
      Votes
      14
      Posts
      276
      Views

      z3dev

      @zorglups there's a bug in the V1 proxy script, remote.pl, and this prevents files to be loaded properly if the file (URL) does not have a proper extention.

      a fix has been made, and the V2 website is running the fixed version of remote.pl

      but you need to provide a URL which accesses a V2 design, such as...

      https://www.jscad.xyz?uri=https://www.thingiverse.com/download:8705160

      OR

      https://www.jscad.xyz#https://www.thingiverse.com/download:8705160

    • BarbourSmith

      Tags?
      • BarbourSmith

      4
      0
      Votes
      4
      Posts
      70
      Views

      gilboonet

      @BarbourSmith I saw your post but didn't reply as I wasn't sure it was about. I already tried on V2 the function that splits a solid into pieces as it is something that i use a lot : https://jscad.xyz/#https://raw.githubusercontent.com/gilboonet/gilboonet.github.io/master/demos/gig2i.js The function is scission3d() and the source is here : https://github.com/gilboonet/gilboonet.github.io/blob/master/demos/gig2i.js

    • Cid Zhang

      A prototype of jscad application
      • Cid Zhang

      4
      1
      Votes
      4
      Posts
      112
      Views

      Cid Zhang

      @z3dev Thanks for the comments.

      I do think a catalogue in the website would definitely increase popularity of JSCAD.
      This will attract people who never got interested in JSCAD --- those who don't know how to code and can't use any CAD software.

      Sadly, most of them might be only end users and cannot directly help the development of the JSCAD project.
      As far as I know, the people in this community are all fully capable of both programming and 3D modelling.

      Maybe there can be a mechanism which can discover what those "end users" need most, and help the develop team to build accurate designs for those users.

    • juanccilleruelo

      How to embed openJSCAD into a desktop application.
      • juanccilleruelo

      5
      0
      Votes
      5
      Posts
      95
      Views

      juanccilleruelo

      @z3dev Just I did!

    • K

      Has anyone had success using openjscad in react?
      • kevinos

      15
      0
      Votes
      15
      Posts
      369
      Views

      N

      @z3dev thank you. For now I would only like create a viewer element within an angular application. Is there a release of v2 on the public npm registry? I've had a look but can't seem to find it. If not, please could you point me to instructions on how to build it? I'd like to host it on my private registry for the rest of the work I intend to do.

    Powered by NodeBB | Contributors