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
    • H

      Problem with the website
      General Discussions • • Honest Guvnor

      5
      0
      Votes
      5
      Posts
      426
      Views

      hrgdavor

      @Honest-Guvnor It is fine to ask both here and on discord.

    • jess yan

      How to select the rendered model with the mouse?
      Development Discussions • • jess yan

      5
      0
      Votes
      5
      Posts
      606
      Views

      hrgdavor

      @z3dev @jess-yan yup. it is not implemented right now. But such feature has a lot more to consider to be implemented.

      It may be beneficial to start a discussion on git to see what would be expectation of such functionality and what it would take to implement it.

    • Gorka Arakis

      From .obj to .dxf
      General Discussions • • Gorka Arakis

      5
      0
      Votes
      5
      Posts
      397
      Views

      Gorka Arakis

      @z3dev Happy to hear it!

    • hrgdavor

      ScriptCAD.org
      General Discussions • • hrgdavor

      5
      0
      Votes
      5
      Posts
      586
      Views

      hrgdavor

      @jess-yan threejs has this ready-made somewhere(taking mouse point and returning meshes under it),

      I will most definitely post it on the forum here when I have this feature.
      This MAY require a shift away from how jscad works now, but hopefuly can be done with current jscad setup.

      The idea I have for now is to run a AST transform to inject line number information into the script and then run the modified script. This is something I am able to do, but I have other stuff in the pipeline before this 🙂

    • C

      REST API or automatic loading from script
      General Discussions • • cncandi

      5
      0
      Votes
      5
      Posts
      723
      Views

      z3dev

      @cncandi It looks like you made a copy of the JSCAD website. That's really customize to support drag-n-drop, loading projects, URL options, etc. It's probably not what you really want.

      Take a look at the websites and frameworks mentioned here.

      https://openjscad.xyz/dokuwiki/doku.php?id=en:user_guide_help

      Let us know if you have any more questions.

    • Sea-DH1

      About @jscad/core
      General Discussions • • Sea-DH1

      5
      0
      Votes
      5
      Posts
      541
      Views

      Sea-DH1

      @z3dev I see that it has the function of dragging and dropping stl loading

    • Mark Hahn

      debug jscode cli with vscode
      General Discussions • • Mark Hahn

      5
      0
      Votes
      5
      Posts
      648
      Views

      z3dev

      @mark-hahn super thanks!

      There’s still a little wizardry going on here. But I’ll try this with VSCODE, and then ask a few more questions.

    • gilboonet

      how to create a multicolor polyhedron ?
      Design Discussions • • gilboonet

      5
      0
      Votes
      5
      Posts
      562
      Views

      gilboonet

      I changed my obj importer code to make it work with obj without groups. Now I can start to colorize my models by code. And there's one nice thing about that : I can use that faces coloring to store a volume's unfold pattern.
      Capture d’écran de 2022-03-26 21-48-08.png

    • David Bolt

      Can not get View type: Orthographic to work.
      Development Discussions • • David Bolt

      5
      0
      Votes
      5
      Posts
      671
      Views

      Ion 0

      @david-bolt one suggestion from what i've tried could be to set the camera position for regular perspective camera further away as an orthographic camera is just a perspective camera at infinity

    • Jason Sprouse

      AI in JSCAD for Generative AI
      General Discussions • • Jason Sprouse

      5
      0
      Votes
      5
      Posts
      873
      Views

      z3dev

      @Jason-Sprouse Love the idea! There are lots of reasons to use AI, and most are for research or learning purposes.

      You might want to start with some examples. Such as "show me how to use JSCAD circles?" Or even more complex examples.

    • Hermann-SW

      Can "openjscad.xyz/?uri=..." support "data" protocol in addition to "http(s)"?
      Design Discussions • • Hermann-SW

      5
      0
      Votes
      5
      Posts
      649
      Views

      Hermann-SW

      @hrgdavor Thanks, done:
      https://github.com/jscad/OpenJSCAD.org/issues/1318

    • her01n

      quadcopter frame implemented in jscad
      General Discussions • • her01n

      5
      0
      Votes
      5
      Posts
      745
      Views

      her01n

      @z3dev
      I have been using openscad, but i have found it very limiting. Most code is manually converted from openscad - that was suprisingly fast to do. I don't have any plans with the project, its just for fun.

    • hpb-htw

      Old version of rollup
      General Discussions • • hpb-htw

      5
      0
      Votes
      5
      Posts
      475
      Views

      z3dev

      @hpb-htw Super! You understand well.

      Each package will have a slightly different version, as Lerna determines major/minor/fix versions by changes. The main package is never released so, the version stays the same, but should be 3.0.0.

      Please take another look at utils/regl-renderer package. The demo html files are slightly different in V3.

    • JamesNewton

      google+ data?
      General Discussions • • JamesNewton

      4
      0
      Votes
      4
      Posts
      2742
      Views

      z3dev

      OK. I archived what I could down load using the crappy tools from Google.

      I’m pretty peaved at the results. Obviously, Google thinks that a bunch of monkeys can write software to download web content. SIGH

    • z3dev

      V2 cylinders
      Development Discussions • • z3dev

      4
      0
      Votes
      4
      Posts
      2194
      Views

      kaosat-dev

      @torejorg that is a very good point that we did not consider like that, but perhaps instead of having it as a parameter for cylinders we could (emphasis on "could") have a 'skew' operation (like translate & co), or even just leverage the transform (transformation by a 4x4 matrix) to achieve a similar result ? I am not aware of how limiting/acceptable that would be to be honest something like this

    • Viktor Hedefalk

      Vanilla js/npm in browser?
      General Discussions • • Viktor Hedefalk

      4
      0
      Votes
      4
      Posts
      1833
      Views

      Viktor Hedefalk

      @viktor-hedefalk said in Vanilla js/npm in browser?:

      Or does it resolve those at upload time? Gonna test that…

      No, it can't do that? That would be the worst security thing ever on a browser to allow…

      Just watched the tutorial series to the end of part 4 - and the cliffhanger for part 5:

      https://youtu.be/hnLLNmP_mzA?t=646

      "In the next part we will get to how you can split up your design into multiple files…" 🙂

    • LinGuanfu

      how to run demo in V2/web?
      Development Discussions • • LinGuanfu

      4
      0
      Votes
      4
      Posts
      1546
      Views

      z3dev

      @tektio V2 JSCAD is very different then V1 JSCAD.

      The old examples are no longer usable with V2 JSCAD.

      Probably the best way to enabled two viewers would be through the use of the VUE components, but you'll have to write some HTML / JavaScript.

      https://github.com/z3dev/vue-components

    • SimonClark

      All parameters being ignored in local install.
      Development Discussions • • SimonClark

      4
      0
      Votes
      4
      Posts
      642
      Views

      SimonClark

      thanks @z3dev. I made some bad assumptions about what docs were relevant 🙂

    • irevdev

      Just introducing myself 👋
      General Discussions • • irevdev

      4
      0
      Votes
      4
      Posts
      383
      Views

      z3dev

      @irevdev welcome!

      the README files for the packages will provide some information on installation and initial use. See packages/cli, packages/web, packages/desktop

      the currently available application (www.openjscad.org) is on the master branch. and there is major development on V2 branch.

      we are asking for people to become 'early adopters' if interested in V2. there's been some good progress lately with the creation of the initial v2 packages. more to come in the next few weeks.

    • gilboonet

      Obj file with colors
      Development Discussions • • gilboonet

      4
      0
      Votes
      4
      Posts
      490
      Views

      gilboonet

      @z3dev There's one thing that still makes me use obj from my obj2jscad.js. It is that the deserialized obj loses the polygon vertices list and it needs to be rebuild from the geometries, unless I didn'k look at the right place. But as 99 % of the time the user won't use those data, I understand that the deserializer don't keep track of them.