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
    • Antoine Guillaume

      Transform a 2D rectangle to a L shape
      Design Discussions • • Antoine Guillaume

      8
      0
      Votes
      8
      Posts
      1047
      Views

      Antoine Guillaume

      @z3dev Bonjour,
      j'ai bien réussi à créer cette forme avec les "paths / expand / offset".
      mais cela me pose beaucoup de problèmes pour la suite, à savoir, le positionnement des perçages. En effet c'est compliqué car l'angle de pliage peut varier en fonction des utilisateurs.

      J'ai trouvé une fonction OPENSCAD qui effectue exactement ce que je souhaite. Est-il possible de mettre cela en place sur JSCAD
      https://www.youtube.com/watch?v=3xTjyYKtv4A
      Je n'arrive pas bien à comprendre la logique de son code qui est "en vrac" dans la description de la vidéo.

      Je vous remercie pour le temps que vous consacrerez à ma demande.

    • Nathan Apter

      Openscad to Jscad
      General Discussions • • Nathan Apter

      8
      0
      Votes
      8
      Posts
      2175
      Views

      DavidLyon66

      @Nathan-Apter ok, I upgraded by still not working.2024-05-04-050059.png

    • WolfgangFahl

      dockerized OpenJSCAD
      Development Discussions • • WolfgangFahl

      7
      0
      Votes
      7
      Posts
      4891
      Views

      WolfgangFahl

      There was only a very small difference ...

      diff main.jscad /Users/wf/source/scad/testinclude/main.jscad 6c6 < return myLib().b(2); --- > return myLib.b(2);

      I 'v fixed the dockerized github repo and will try to fix the wiki now, too.
      Thanks for all the help finally I am going to work on my own designs now ...

    • WolfgangFahl

      Displaying JScad designs in media wiki / or plain html for a start ...
      Development Discussions • • WolfgangFahl

      7
      0
      Votes
      7
      Posts
      3726
      Views

      gilboonet

      @wolfgangfahl To make it work without having to move examples folder, you can run it from your local webserver. I did so from my local apache http server 0_1560695657275_Capture d’écran de 2019-06-16 16-34-02.png

    • gilboonet

      V2 feedback : extrudeRotate
      Development Discussions • • gilboonet

      7
      0
      Votes
      7
      Posts
      499
      Views

      gilboonet

      @z3dev the svg is here : https://github.com/gilboonet/gilboonet.github.io/blob/master/demos/demi_l.svg
      What I'm trying to do is a composite volume made of half a revolution of extrudeRotate then extrudeLinear with the same shape. I was able to have both extrusion method return a volume, but they don't coincide.

    • Cid Zhang

      Initial release of FlexiSystem
      General Discussions • • Cid Zhang

      7
      0
      Votes
      7
      Posts
      815
      Views

      Cid Zhang

      @z3dev Got it! I'll try to update the engine with this:
      https://github.com/jscad/OpenJSCAD.org/tree/master/packages/web

    • gilboonet

      V2 Feedback : about slicing
      Development Discussions • • gilboonet

      7
      0
      Votes
      7
      Posts
      526
      Views

      gilboonet

      @z3dev I'm currently working with furniture models, they are all hand made. I sliced 8 models (they are available here https://github.com/gilboonet/designs/blob/master/MEUBLES/readme.md, each picture open the corresp. model into jscad) and they are clean because my scripts (slicer and unflattener) can only produce patterns for models without errors (holes, non-manifold). It's certainly my process that met an unhandled condition. To produce 2 axes imbricated crosspieces, I need to slice and then split slices that are made of multiple separated pieces because crosspiece cut need to be done for each piece. As you said it is too complex to debug. I need to simplify my process, maybe voxelization could help.

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

    • gilboonet

      designs for blade cutter (svg)
      General Discussions • • gilboonet

      7
      0
      Votes
      7
      Posts
      426
      Views

      gilboonet

      @hrgdavor Yes that's this one. (the Maker comes with a fine-point blade and a rotary blade)

    • ?

      Regl renderer mouse selection
      Development Discussions • • A Former User

      7
      0
      Votes
      7
      Posts
      478
      Views

      hrgdavor

      @kenianbei sad to see you leave. I do have pieces of code that convert jscad output to threejs meshes and it is now working wihout hacks in cadhub and integrated into react-three fiber

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

    • gilboonet

      Start of V2 version of my unfolder
      Design Discussions • • gilboonet

      7
      0
      Votes
      7
      Posts
      562
      Views

      gilboonet

      @z3dev the .json

    • Sea-DH1

      If loading stl binary file
      Development Discussions • • Sea-DH1

      7
      0
      Votes
      7
      Posts
      630
      Views

      Sea-DH1

      @z3dev
      new issue
      https://github.com/jscad/OpenJSCAD.org/issues/972

    • gilboonet

      Union on multi-color imported obj file lose colors
      Development Discussions • • gilboonet

      7
      0
      Votes
      7
      Posts
      537
      Views

      gilboonet

      @z3dev Sadly, lines already have a color (red for cuts, maroon for mountain fold and green for valley fold).
      Capture d’écran de 2022-01-23 10-07-15.png

    • Steve Howe

      Load jscad directory into web jscad
      General Discussions • • Steve Howe

      7
      0
      Votes
      7
      Posts
      896
      Views

      Steve Howe

      Yes, this becomes quite limiting if one has to have users download, unzip, and drag & drop. Kind of defeats the purpose of projects. Also you'd have to deal with updates.
      Very cumbersome for non-tech users.
      It would be nice if you could include directories or even zip files in the URL.

    • Ion 0

      JScad project showcase
      General Discussions • • Ion 0

      7
      2
      Votes
      7
      Posts
      1085
      Views

      z3dev

      @Ion-0 it was great to meet up. I'm totally impressed with the amount of effort and engineering that went into the web application. Really cool stuff!

      Let us know how JSCD needs to improve to assist others.

    • Hermann-SW

      How to generate JSCAD model in browser JS and display like demo.html?
      Design Discussions • • Hermann-SW

      7
      0
      Votes
      7
      Posts
      1606
      Views

      Hermann-SW

      @hrgdavor I tried that with openjscad.xyz and it did not work. But it does work with locally hosted demo.html !
      Thanks, until now I had browser console open right, editor in middle and only half of 3D view left. After drag and drop, I can close the editor and see new graphs whenever I run node.tetra.js to produce a different x.jscad. So much easier to work now ...

    • DBJDBJ

      can not import c:/jscad/whatever.stl on windows
      General Discussions • • DBJDBJ

      7
      0
      Votes
      7
      Posts
      841
      Views

      DBJDBJ

      @hrgdavor I have not tried project folder drag-and-drop into the web app. Will do.

      Thanks

    • ucimo

      How do I code directly in VSCode and preview the result on my web page?
      General Discussions • • ucimo

      7
      0
      Votes
      7
      Posts
      1163
      Views

      DavidLyon66

      @danmarshall Looks great.

      I can't get it to work.

      It just reports "Error: Cannot find module 'jscad/modelling' when I run "node jscad-now" from my home directory on linux ubuntu.

      Any ideas (yes I'm a developer but not a regular Nodejs user) ?

    • gilboonet

      Hello !
      General Discussions • • gilboonet

      6
      3
      Votes
      6
      Posts
      4402
      Views

      hg42

      @gilboonet thanks for the links...

      When I find some free time, I will definitely dig into it.

      Currently, I have too many projects in parallel, to add another fascinating one 🙂