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

      Thingiverse
      Design Discussions • • z3dev

      6
      0
      Votes
      6
      Posts
      1292
      Views

      z3dev

      And for those that don't want to wait... here's the full URL, which adds a query parameter to the end of the website URL.

      https://www.openjscad.xyz/?uri=https://thingiverse-production-new.s3.amazonaws.com/assets/46/e9/78/fe/f6/parametric_butt_hinge_3.7.js

    • WolfgangFahl

      Proposal to move to github discussions
      General Discussions • • WolfgangFahl

      3
      0
      Votes
      3
      Posts
      549
      Views

      jfo8000

      I love the idea of putting all the docs in markdown in the git repo itself.

      The original site could also be hosted in gh-pages branch. There are a bunch of tools to convert markdown to html, so they could be optionally embedded in the app.

      As a stopgap, for anyone needing V1 - there's a copy over at https://creator.buildbee.com

      JFo

    • irevdev

      Show and tell - I'm after examples of JSCAD projects
      General Discussions • • irevdev

      2
      0
      Votes
      2
      Posts
      361
      Views

      jfo8000

      Nice collection! Might have a look at JSCAD hardware and MakerJS.

      Some parts of JSCAD hardware have been included in Buildbee MakeCode (which is V1 JSCad based).

      JFo

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

    • D

      Newbie question: Write 2D drawing to SVG file?
      General Discussions • • dburt

      2
      0
      Votes
      2
      Posts
      317
      Views

      z3dev

      @dburt welcome

      Yes. You can make that example work. You might want to take a look at this project, which uses the JSCAD CLI (command line interface) for compiling the design and exporting SVG. Specifically, the 'localfont' project.

      https://github.com/jscad-community/jscad-text

      If you are going to work with other JavaScript libraries, especially those using async functions or promises then take a look at the 'googlefont' project.

    • gilboonet

      Volume unflattening with jscad
      General Discussions • • gilboonet

      7
      0
      Votes
      7
      Posts
      523
      Views

      gilboonet

      @z3dev 'class' element for sure is interesting as it will ease styling. About 'id', yes it must be used carefully to ensure that each object has its unique id, generally I use names forged from data (line between triangle 23 and 111 has id 'L_23_111', etc.). 'name' is deprecated so it's maybe wise to avoid it, on very old js code I remember i used 'tag', as svg doesn't use it, as svg can use custom attributes, it can be anything. And it would be really great to have exported svg from jscad with such fine details, because it will allow rework those outputs with great ease. I tried to use localStorage from a jscad script and it doesn't work, so my only other possibility would be to output to console.

    • veysel özer

      Expand Geom2 Self Intersecting
      General Discussions • • veysel özer

      2
      0
      Votes
      2
      Posts
      296
      Views

      z3dev

      @veysel-özer thanks for the nice examples.

      yeah. this is the behavior of V2. it's probably a BUG when contracting 2D geometries, as 2D geometry must have non-crossing outlines by definition.

      a fix can be done in the next version. when that will happen is a big question as everything is on hold waiting for the websites to be restored.

      if you have time then please create a new issue at GitHub.

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

    • z3dev

      V2 Release or Not Release?
      Development Discussions • • z3dev

      2
      0
      Votes
      2
      Posts
      250
      Views

      z3dev

      We are planning to release on April 1st.

      The only thing missing is the websites. 😔

    • T

      As jscad.xyz is down, where to get more doc?
      General Discussions • • tubaro1

      9
      0
      Votes
      9
      Posts
      1550
      Views

      danmarshall

      @z3dev thank you, that is really helpful!

    • danmarshall

      Jscad dev environment on Observable
      Development Discussions • • danmarshall

      2
      0
      Votes
      2
      Posts
      395
      Views

      z3dev

      @danmarshall AWESOME!!!!

      This is a dream come true!!!!

    • Alasdair McAndrew

      Debugging: values of variables?
      Development Discussions • • Alasdair McAndrew

      6
      1
      Votes
      6
      Posts
      891
      Views

      T

      @z3dev Hey! Thanks for the reply and the welcome, appreciated. I tried @danmarshall app and it works as I was expected. I tried the console.log with the web + debug console in safari and chrome (on mac) but didn't get anything printed.

      It's any other post with other tools for debugging available or it's still in development? (I'm using vsc)
      Thanks.

    • z3dev

      V2 Update 2021 Mar 07
      Development Discussions • • z3dev

      1
      0
      Votes
      1
      Posts
      183
      Views

      No one has replied

    • rich-27

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

      12
      0
      Votes
      12
      Posts
      1801
      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

      Porting V1 code to V2 or rewrite it ?
      Comments & Feedback • • gilboonet

      3
      0
      Votes
      3
      Posts
      476
      Views

      gilboonet

      @z3dev Thank you for your suggestions. What I did was only translating the code so it run on V2 regardless of placement. I'll try to implement helper function for cube and cuboid, then it should work.

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

    • D

      Shape generator
      Development Discussions • • Dinther

      5
      0
      Votes
      5
      Posts
      801
      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.

    • z3dev

      V2 Update 2021 Feb 07
      Development Discussions • • z3dev

      1
      0
      Votes
      1
      Posts
      201
      Views

      No one has replied

    • z3dev

      V2 Update 2021 Jan 02
      Development Discussions • • z3dev

      12
      0
      Votes
      12
      Posts
      1341
      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.