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
    • Dunk Fordyce

      Beginner Questions
      General Discussions • • Dunk Fordyce

      23
      0
      Votes
      23
      Posts
      3630
      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?

    • platypii

      Embedding a design in a website
      General Discussions • • platypii

      23
      0
      Votes
      23
      Posts
      4326
      Views

      cdub

      @hrgdavor and @platypii. Thank you for your contributions and for sharing the repos. The work completed here is certainly impressive. I look forward to digging into the code to learn other creative and productive ways of using the JSCAD viewer. The https://jscad.app has a fresh modern cad application feel. Especially with the addition of the orientation cube.

    • gilboonet

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

      20
      0
      Votes
      20
      Posts
      2081
      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.

    • gilboonet

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

      17
      0
      Votes
      17
      Posts
      1616
      Views

      hrgdavor

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

    • hrgdavor

      V2: Feedback render sluggish on GTX1070
      Development Discussions • • hrgdavor

      16
      0
      Votes
      16
      Posts
      1349
      Views

      z3dev

      @hrgdavor don't panic. i understand just fine. but i wanted to make sure that everything has been tried before making changes.

      also, i'm not certain why 'exact' mouse position is important. i'm just fine working with V2, and don't find the inertia to be troublesome.

      so, maybe this would be a user preference. no?

    • K

      Has anyone had success using openjscad in react?
      General Discussions • • kevinos

      15
      0
      Votes
      15
      Posts
      2063
      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.

    • A

      fetch() in a design
      Design Discussions • • Andreas Plesch

      15
      0
      Votes
      15
      Posts
      1781
      Views

      hrgdavor

      @Andreas-Plesch jscad.app is just a new prototype, not yet part of official jscad, I did not implement /remote ... it is meant for fetching remote scripts you can report issues on jscadui git or ask on discord.

    • z3dev

      V2 Update
      Development Discussions • • z3dev

      14
      1
      Votes
      14
      Posts
      1624
      Views

      BarbourSmith

      Thank you for the Windows fix ๐Ÿ™‚ It is working great for me now.

    • sheffieldnick

      Website "load a file" functionality?
      General Discussions • • sheffieldnick

      14
      0
      Votes
      14
      Posts
      1715
      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

    • H

      proxyUrl setting
      General Discussions • • hamade

      14
      0
      Votes
      14
      Posts
      1230
      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

      little V2 feedback
      Development Discussions • • gilboonet

      12
      0
      Votes
      12
      Posts
      1540
      Views

      gilboonet

      @z3dev I update the docs with "npm run docs" and now documentation about color is available.

    • z3dev

      V2 Update 2021 Jan 02
      Development Discussions • • z3dev

      12
      0
      Votes
      12
      Posts
      1260
      Views

      z3dev

      @Dinther said in V2 Update 2021 Jan 02:

      @z3dev Thanks for that. I have a few thoughts penned down myself and I see gilboonet posted his ideas too.

      Would it be prudent if I start a new topic called "Sketcher" on the forum?

      Please. Looking forward to the discussion and ideas.

    • rich-27

      Auto-reload and external editor workflows
      General Discussions • • rich-27

      12
      0
      Votes
      12
      Posts
      1717
      Views

      hrgdavor

      @rich-27 thanks for the feedback ๐Ÿ™‚ ... it is nice see more people join the community. Have fun and create more cool stuff ๐Ÿ™‚

    • gilboonet

      Designing with text
      Design Discussions • • gilboonet

      12
      0
      Votes
      12
      Posts
      1343
      Views

      gilboonet

      @hrgdavor That would be great. For the moment I'm certainly going to try to do the same thing using svg into vanilla js.

    • DavidLyon66

      Click to item for Callback/Event functionality
      Design Discussions • • DavidLyon66

      12
      0
      Votes
      12
      Posts
      6223
      Views

      DavidLyon66

      @z3dev said in Click to item for Callback/Event functionality:

      the focus of JSCAD is still 3D printing

      Yes, that aligns with what I am doing.

      2b434c15-360f-4ba4-a8e1-de0c65509bd5-image.png

      The reason that I was querying this capability is that in the above picture of a drill-tray example, made from a photo-scan, I want to put in different options for the hinge and lid made by clicking on the parts in the jscad ui.

      It's no big deal if it's not easy to achieve (as explained by @hrgdavor) in jscad at this point in time. I can resolve this some other way. I just thought it might be easy*

      Interestingly, I was able to find that there is a component that does what I need for gltf but I haven't been able to locate an Open-Source equivalent just yet. https://iconscout.com/gltf-3d-editor provides a simple click+transform+rotate component for their platform that does what I was looking for.

    • paul a golder

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

      11
      1
      Votes
      11
      Posts
      1152
      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.

    • hrgdavor

      threejs integration
      General Discussions • • hrgdavor

      11
      0
      Votes
      11
      Posts
      2239
      Views

      hrgdavor

      @platypii @danmarshall I think both of will be able use your preferred engine, and get specific benefits depending on a task at hand. Actually I am planning to split the necessary code so that it becomes rather easy to use any of the 3 engines I found to be interesting (regl, threejs, babylon)

      regl it is the current engine and is compact CON: lack proper WEBGL2 support and there are NO plans for supporting it in the future example for extremely compact page that has jscad script and render and all under 99kb is great example why regl is still very useful ๐Ÿ™‚ by @platypii https://paradr.one/ threejs and babylon larger but can be cut down for basic rendering (I managed to get 400k version of threejs that works with jscad) support wegl2 instancing can bring performance regl just will not ever be able with webgl1 are working actively on great next thing: WebGPU WebGPU might be the future for jscad if we can come up with ways to utilize compute shaders for performance having also these big engines as an option is good for when we want build fancy stuff and ake advantage of huge knowhow of their communities

      you have likely already seen my instancing demo: http://3d.hrg.hr/jscad/three/threejscad2.html?uri=model.logos.js in threejs

      you can track progress of my new prototype that is supposed to provide the mentioned integrations of all 3 engines I found interesting.
      https://github.com/jscad/OpenJSCAD.org/discussions/944 ... I will post a topic as soon I have any rendering integrated .. it is still in testing of some ui concepts phase

    • B

      A little web app using OpenJsCad
      Development Discussions • • benkei

      10
      0
      Votes
      10
      Posts
      5364
      Views

      kaosat-dev

      @William-Adams that is very nice indeed !
      Jscad is just a shorter name and less of a mouthful, either is fine ๐Ÿ™‚

      @benkei it does indeed work like that, the parameter definitions are parsed by the internals of jscad to be displayed in the UI

    • gilboonet

      Is it possible to group (in 2d output) unconnected lines ?
      Development Discussions • • gilboonet

      10
      0
      Votes
      10
      Posts
      1120
      Views

      gilboonet

      @gilboonet I finally take advantage of geometries id and class preservation, and created a small js node script that creates a group for all paths having the same class, and at the same time I solve another annoyance that was the impossibility to search by numbers by creating id. That's very nice.

    • gilboonet

      Does anyone use jscad on iPhone ?
      Development Discussions • • gilboonet

      10
      0
      Votes
      10
      Posts
      970
      Views

      gilboonet

      @z3dev You can also change the model, Venus has 1000 triangles and takes 30 sec. on my laptop to unfold (ubuntu with Firefox).