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

      jscad utility function to preview booleans while developing
      Development Discussions • • hrgdavor

      1
      0
      Votes
      1
      Posts
      239
      Views

      No one has replied

    • Ashish

      2d line length (or perimeter)
      General Discussions • • Ashish

      7
      0
      Votes
      7
      Posts
      693
      Views

      z3dev

      You seem to be stuck in the old documentation.

      Please see the new website at www.openjscad.xyz, and from the help there are links to the User Guide and the API documentation.

    • z3dev

      Release : 2021 NOV 07
      Announcements • • z3dev

      1
      0
      Votes
      1
      Posts
      177
      Views

      No one has replied

    • Ashish

      help: Import DXF and calculate bounding box
      General Discussions • • Ashish

      4
      0
      Votes
      4
      Posts
      622
      Views

      z3dev

      Sorry… that documentation is not complete. We will have to make some updates. 😞

      There’s slightly better documentation here.

      Basically, your design needs to call measureBoudingBox(shape), which returns an array of points, lower and upper bounds.

    • z3dev

      Contributions to JSCAD
      Announcements • • z3dev

      3
      0
      Votes
      3
      Posts
      401
      Views

      z3dev

      I'm glad to announce that another new monthly contributor has joined.

      Welcome, @TargetedwebT. And thanks a lot for the support!

    • gilboonet

      V2 feedback
      Development Discussions • • gilboonet

      9
      0
      Votes
      9
      Posts
      1182
      Views

      gilboonet

      @hrgdavor Thank you, that's very nice. It's not that I like folding things but it's a process I use to build them with cardboard

    • z3dev

      Release : 2021 OCT 17
      Announcements • • z3dev

      1
      0
      Votes
      1
      Posts
      145
      Views

      No one has replied

    • hrgdavor

      jscad V1 site backup with remote url support
      Development Discussions • • hrgdavor

      1
      0
      Votes
      1
      Posts
      222
      Views

      No one has replied

    • H

      proxyUrl setting
      General Discussions • • hamade

      14
      0
      Votes
      14
      Posts
      1264
      Views

      H

      @z3dev
      I am using a rental server of general settings, nothing special, I think.
      I did no configuration of the web server.
      I did not changed anything on setting when installing the web site.

      Thanks to all of you related,
      I have uploaded the page.
      https://www.fablab-shinagawa.org/archive/index.html
      when you click "パラメトリック" - which means "parametric"- tab,
      you would see the list of our parametric designs, and again when you click a design,
      you would link to the page includes openjscad model.

    • gilboonet

      using an exported STL into a script
      Design Discussions • • gilboonet

      17
      0
      Votes
      17
      Posts
      1679
      Views

      hrgdavor

      this will soon be fixed https://github.com/jscad/OpenJSCAD.org/issues/935

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

    • z3dev

      Release : 2021 OCT 04
      Announcements • • z3dev

      1
      2
      Votes
      1
      Posts
      221
      Views

      No one has replied

    • Ion 0

      Exporting format for CNCs
      General Discussions • • Ion 0

      6
      0
      Votes
      6
      Posts
      778
      Views

      Ion 0

      Researching cnc workings better, seems like the conversion process is more involved and that DXF is a suitable format for generating CNC g-code from. DXF export from jscad is very reliable so far. thanks all for the replies

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

    • jess yan

      How to get the coordinate value through the mouse?
      Development Discussions • • jess yan

      2
      0
      Votes
      2
      Posts
      365
      Views

      jess yan

      I use camera-unproject to do coordinate mapping, but the obtained coordinates are obviously wrong.

      code:

      const regl = this.$el const handleMouseDown = (e) => { const x = 1 - (e.offsetX / regl.clientWidth) * 2 const y = (e.offsetY / regl.clientHeight) * 2 - 1 const point = vec3.fromValues(x, y, 0.5) const { projection, view, viewport } = this.camera const combinedProjView = mat4.multiply([], projection, view) const invProjView = mat4.invert([], combinedProjView) const result = unproject([], point, viewport, invProjView) console.log('convasSize: ', [regl.clientWidth, regl.clientHeight]) console.log('viewport: ', viewport) console.log('clickPoint: ', [x, y]) console.log('unproject result:', result) } this.$el.addEventListener('mousedown', handleMouseDown.bind(this))

      4a0979ad-ef8d-4af6-80d6-b7a52f92e8f9-image.png
      Could it be that I did something wrong?

    • jess yan

      A questions about project()
      Development Discussions • • jess yan

      3
      0
      Votes
      3
      Posts
      478
      Views

      jess yan

      @z3dev
      Ok, I have submitted an issue on github.
      https://github.com/jscad/OpenJSCAD.org/issues/916

    • z3dev

      Release : 2021 SEP 27
      Announcements • • z3dev

      1
      0
      Votes
      1
      Posts
      143
      Views

      No one has replied

    • jess yan

      AutoCAD Text conversion fails
      Development Discussions • • jess yan

      2
      0
      Votes
      2
      Posts
      327
      Views

      z3dev

      @jess-yan DXF is a old nasty file format so don’t expect much. JSCAD only converts certain DXF entities. Please see the README here…

      https://github.com/jscad/OpenJSCAD.org/tree/master/packages/io/dxf-deserializer

      There’s a nice library that will convert from DXF to SVG.

      https://github.com/bjnortier/dxf

    • 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

      3D glasses support
      Development Discussions • • hrgdavor

      1
      0
      Votes
      1
      Posts
      188
      Views

      No one has replied