• Debugging script

    5
    0 Votes
    5 Posts
    1k Views
    K
    Thanks everyone for your response, I continue to experiment and learn. Once I switched to Foxfire I can see the debug results. Thanks Ken
  • 0 Votes
    1 Posts
    495 Views
    No one has replied
  • Didn't there used to be examples you could click on?

    2
    0 Votes
    2 Posts
    893 Views
    z3devZ
    @Nathan-Apter welcome Please try www.openjscad.xyz The examples can be found by clicking on the ? In the top right corner. Keep those questions coming!
  • Best way to get started with JSCAD

    5
    1 Votes
    5 Posts
    1k Views
    hrgdavorH
    If you start with a simple file design.js, save it in a folder and use editor of your choice. open https://openjscad.xyz/ and make sure you check the option "Enable Auto-reload" drag and drop the file into the window and you will see the model change your js file and save, changes will be picked-up automatically. openjscad checks for changes every second, but if you want to see changes even faster you can use livereload. one way to use livereload is via nodejs if you have nodejs just run npm -g install livereload go to the folder with your design and run: livereload you must do the livereload step before you drag and drop design into openjscad window.
  • 3d to 2d

    6
    0 Votes
    6 Posts
    2k Views
    z3devZ
    @Maria-Alzate Just for your information, as part of the last release, there's a new project() function which can project a 3D shape to a 2D shape.
  • Can't find command for 3D to 2D Projection

    3
    0 Votes
    3 Posts
    2k Views
    z3devZ
    @geobruce Just for your information, as part of the last release, there's a new project() function which can project a 3D shape to a 2D shape.
  • Two questions about projections

    projection orientation key commands webinterface
    4
    0 Votes
    4 Posts
    2k Views
    z3devZ
    @Alasdair-McAndrew Just for your information, as part of the last release, there's a new project() function which can project a 3D shape to a 2D shape.
  • Beginner Questions

    23
    0 Votes
    23 Posts
    8k Views
    z3devZ
    @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?
  • designs for blade cutter (svg)

    7
    1
    0 Votes
    7 Posts
    1k Views
    gilboonetG
    @hrgdavor Yes that's this one. (the Maker comes with a fine-point blade and a rotary blade)
  • Does //!OpenSCAD no longer work?

    2
    0 Votes
    2 Posts
    963 Views
    z3devZ
    @ksanger welcome Correct. The 'OpenSCAD' conversion to JSCAD has been decommissioned. The code is very old and needs some extensive maintenance / enhancements. Your students should be able to use the new website easily; www.openjscad.xyz The 'syntax' to create a new design is slightly different but there's plenty of documentation. User Guide API reference
  • Texture rendering

    3
    0 Votes
    3 Posts
    827 Views
    z3devZ
    @Pippo-LoVe as mentioned, JSCAD focuses on designs for 3D printing, and therefore colors are essential. Colors are assigned to a geometry / shape after completing all operations. Colors can also be assigned to individual polygons on 3D geometries. Having said the above, textures may be possible. But there have not been many requests for this support.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    7 Views
    No one has replied
  • three.js integration part2 (threejscad)

    1
    2
    1 Votes
    1 Posts
    1k Views
    No one has replied
  • Proposal to move to github discussions

    3
    0 Votes
    3 Posts
    1k Views
    jfo8000J
    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
  • Show and tell - I'm after examples of JSCAD projects

    2
    0 Votes
    2 Posts
    637 Views
    jfo8000J
    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
  • Newbie question: Write 2D drawing to SVG file?

    2
    0 Votes
    2 Posts
    838 Views
    z3devZ
    @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.
  • Volume unflattening with jscad

    7
    1
    0 Votes
    7 Posts
    1k Views
    gilboonetG
    @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.
  • Expand Geom2 Self Intersecting

    2
    2
    0 Votes
    2 Posts
    635 Views
    z3devZ
    @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.
  • Newbie Here. (yet another) 3d to 2d question

    5
    0 Votes
    5 Posts
    1k Views
    gilboonetG
    @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.
  • As jscad.xyz is down, where to get more doc?

    9
    0 Votes
    9 Posts
    3k Views
    danmarshallD
    @z3dev thank you, that is really helpful!