• Auto-reload and external editor workflows

    12
    0 Votes
    12 Posts
    5k Views
    hrgdavorH
    @rich-27 thanks for the feedback ... it is nice see more people join the community. Have fun and create more cool stuff
  • Why am I getting "Uncaught TypeError: CSG.Path2d is not a constructor"?

    5
    0 Votes
    5 Posts
    2k Views
    gilboonetG
    V1 color syntax is color("Red", extrudes[0])
  • A collection of jscad projects on Github

    6
    1 Votes
    6 Posts
    3k Views
    hrgdavorH
    [image: 1611407058705-e5879128-809f-40e8-b4c3-4c43237b4aef-image.png] https://jscad.xyz/#https://gist.githubusercontent.com/hrgdavor/c63e34f862aab00cf9253daf2e071812/raw/acbefbcbbb47d7c0e4daf41c5c9be3d43062c56c/tesseract.jscad
  • Cylinder between points?

    cylinder v2 primitives
    6
    1 Votes
    6 Posts
    2k Views
    hrgdavorH
    I have sth with this function https://jscad.xyz/#https://gist.githubusercontent.com/hrgdavor/c63e34f862aab00cf9253daf2e071812/raw/acbefbcbbb47d7c0e4daf41c5c9be3d43062c56c/tesseract.jscad [image: 1611406672884-124e5f29-a4fb-40da-b9da-b2b044565b11-image.png]
  • A simple pattern generator (for cardboard Butaï)

    3
    1
    0 Votes
    3 Posts
    830 Views
    hrgdavorH
    awesome
  • Could you share some book names to learn modeling with math?

    3
    0 Votes
    3 Posts
    937 Views
    z3devZ
    @crysislinux another very good area for some nice documentation. Currently, the 2D curves are based on Bezier curves. And the IO libraries convert various curve definitions into bezier curve definitions. SVG paths can define bezier curves as well. You'll find lots of online tutorials on how to create bezier curves. And hopefully, you will be able to apply some of those examples within JSCAD. P.S. 3D bezier curves are called NURBS.
  • 0 Votes
    4 Posts
    2k Views
    Cid ZhangC
    @WolfgangFahl Thanks for your comment! Since I'm not a professional web developer , my current goal is much smaller than yours, which is limited to exhibiting my designs on a static site. The version of the core jscad file remains the same and the file is reused over and over again. It would take a lot of effort when it comes to hosting a website which can receive and exhibit designs from multiple creators.
  • converting .scad to .stl

    3
    0 Votes
    3 Posts
    1k Views
    z3devZ
    @Charlie-Funk Welcome! The best option is to use OpenSCAD application. JSCAD V1 (www.openjscad.org) supports a subset of the OpenSCAD functionality, and you can just drag and drog the file onto the lower white space (It says "Drag and drop file here...") I hope that you have copy of the original .scad file. It's just a text file, so you can open and check the contents with various applications.
  • Holes when using star primitive with extrusion and boolean operation

    4
    1
    0 Votes
    4 Posts
    946 Views
    gilboonetG
    @z3dev I already tried to use a branch locally but didn't managed to make it work, so I stick to web version at https://jscad.xyz/
  • Online versus offline functionality

    6
    0 Votes
    6 Posts
    1k Views
    z3devZ
    @drewpear strange indeed. sorry, but i don't have any suggestions at this time. i will post again if i think of something. by the way, i just submitted a pull request to enable the editor again for the V2 website. this should be available in the next 'alpha' release. i also opened a new issue for changing the shortcuts for the 'reload' of designs. this will be important for mobile devices which has soft keyboards.
  • 0 Votes
    2 Posts
    657 Views
    z3devZ
    @inleftfield welcome to the user group. there have been several posts where outline fonts have been used in designs. hopefully, you will be able to find those easily. there's a small community project called 'jscad-text' which should provide enough information to get started. also, some recent changes to V2 JSCAD allow designs to load and access fonts.
  • some feedback

    3
    1
    0 Votes
    3 Posts
    723 Views
    gilboonetG
    @z3dev I just tested again in order to write the issue, but apparently there is no more problem with text parameter, it was maybe a problem of cache (I'm using web version).
  • little feedback on how jscad v2 helps a "maker"

    5
    2
    1 Votes
    5 Posts
    1k Views
    gilboonetG
    @z3dev yes, examples I mentionned come from "vue-components" project
  • Call for examples: large projects that become slow to reload

    1
    0 Votes
    1 Posts
    489 Views
    No one has replied
  • Curves described by parametric equations?

    4
    0 Votes
    4 Posts
    1k Views
    Alasdair McAndrewA
    Thank you very much - and I think that hand-building a polygon from a list of points may be my best bet at the moment. I can easily create points from my parametric equations, and then join them up.
  • Error when saving 2d rendering

    9
    1
    0 Votes
    9 Posts
    2k Views
    gilboonetG
    @z3dev Thanks a lot for your suggestions, I will try to implement them. I have some marginal cases where it will certainly help to have exact vertices
  • Unexpected Holes into volume extruded from Svg paths

    4
    1
    0 Votes
    4 Posts
    887 Views
    z3devZ
    @gilboonet no problem. there's plenty to fix still, but each release improves V2 JSCAD. i'll post an update once there's something to test for this issue.
  • Creating Vases (lampshades), experiences or thoughts

    2
    0 Votes
    2 Posts
    558 Views
    z3devZ
    @rubydesign super big welcome! i've had thoughts about a special 'vase' website for many years. it seems very natural to use JSCAD to create all kinds of vases. i think that others have created vases of certain kinds as well. here's a few of my thoughts... allow the user to create and adjust the outline of the vase allow the user to twist a shape as well allow the user to specify the internal shape as well allow the user to add pre-configured sections to the vase as well, e.g. wine glass stem
  • Question about arrays.

    3
    0 Votes
    3 Posts
    765 Views
    z3devZ
    @jarshvor another way to look at this is the return types... pcb() returns an object (1) holes1() returns an array of objects (2) holes2() returns an array of objects (4) V1 OpenJSCAD.org requires main() to return an ARRAY of objects or a single object. (FYI, V2 automatically flattens everything into an array.) @gilboonet is correct in the example provided. By using '...holes1()' syntax, an array is constructed from [ pcb(), holes1[0], holes1[1] ] Hang in there. You'll get it soon.
  • Generating project thumbnails

    9
    0 Votes
    9 Posts
    2k Views
    gilboonetG
    @gilboonet It works. I needed to specify ... while pushing content into the return variable. I still need to stop the animation so my video capture will perfectly loop. And there's something that I didn't manage to do, it's creating a new project, for the moment I'm changing demo-web.js, otherwise there is an error (cannot find myAnim.js when I try to run npù run myAnim.js) [image: ours342.gif]