https://openscad.org/

It’s software cad. You write code that makes the 3d model. And then you print the 3d model.

The last “official release” was 2 years ago. But development (and community) is active. You gotta get the nightly builds.

  • jhnphm@lemmy.world
    link
    fedilink
    English
    arrow-up
    19
    arrow-down
    1
    ·
    19 days ago

    Also check out build123d; uses Python instead of a non standard DSL, and supports fillets/chamfers

    • TunaLobster@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      18 days ago

      I wrote my own fillet function in openscad. It was a fun adventure to work out the geometry. Next time I’ll use some else’s function.

  • Goodman@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    13
    ·
    19 days ago

    It’s cool, but I never had the chance to get into it. Conventional CAD tools are pretty convenient as well especially if you already know how to use them. What would be a good starter model to try this on?

    • Rikudou_Sage@lemmings.world
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      1
      ·
      edit-2
      19 days ago

      Build a simple house model! Make it configurable using customiser, it’s pretty cool watching it rerender itself. Or make a LEGO brick, also a fun exercise.

      Some of the things I made with it:

      • the iconic “days without accidents” plate with changeable numbers
      • an iPhone stand with slope customizable in the customiser
      • a simple toy bed
      • a keychain of the Lemmy logo
      • a custom phone case
      • a configurable task list with sliders
      • a calendar that automatically calculates the correct day of week, meaning no matter what year you set in the customiser, the days are always correct
    • Treczoks@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      18 days ago

      Just follow the tutorial. IIRC it builds a model car. I was able to get from installing, over following the tutorial, to designing my model in half a day.

  • bluewing@lemm.ee
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    1
    ·
    18 days ago

    Openscad is fine for pretty basic one item things. It’s not so good for complex designs like the model steam engines I sometimes amuse myself with. And it’s sure not capable in a commercial setting.

    But if you enjoy openscad and writing code, more power to you and enjoy what you are doing with it!

  • Shdwdrgn@mander.xyz
    link
    fedilink
    English
    arrow-up
    11
    ·
    19 days ago

    Even the older versions work pretty well, depending on the features you need. I use it for all my 3D modeling, I could never get the hang of other CAD software but this one just “makes sense” to me. I even used it last year to create a model of a trailer I wanted to build, worked out the finer details of how everything would fit together and some options like adding ramps, and once we got to the point of building the trailer it was just a matter of copying the dimensions and cutting out all the steel.

  • CetaceanNeeded@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    19 days ago

    It’s really cool and I love the concept but doing basic things like chamfers are super slow and clunky so I just use freecad, which has support for openscad but also has conventional CAD paradigms.

  • peregrin5@lemm.ee
    link
    fedilink
    English
    arrow-up
    7
    ·
    18 days ago

    I got too used to Fusion 360 and now I’m stuck with it since I can make stuff fast, easy, and parameterized with full change history and it’s too much effort to learn something new to replace my workflow. Also its the CAM software for my CNC.

    I’ll probably play around with SCAD/Build123d though for fun.

    • 7toed@midwest.social
      link
      fedilink
      English
      arrow-up
      6
      ·
      18 days ago

      FreeCAD! I dont mean to be a evangelist, but it is finally good enough for myself that I made the leap from Fusion, and I haven’t missed it a moment. Your mileage may vary, but now is better than ever to give it a(nother) try

      • ZMonster@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        17 days ago

        Ugh, I’m so burned out on trying freecad, getting nowhere, nothing is straightforward or intuitive, watching hours of tutorials doing nothing you want to do with it, spending hours trying to figure it out, best attempt ever was not much more than a few basic shapes…

        Fuck autodesk all day, every day, but here’s fusion:

        • create parameters with the giant fucking f(x) button
        • create sketch with parameters by selecting literally any sketch function
        • extrude from sketch and modify body and faces
        • rinse and motherfucking repeat

        Until freecad can claim to at the very least offer an equally simple workflow, no thanks. I’d rather use blender.

        • 7toed@midwest.social
          link
          fedilink
          English
          arrow-up
          2
          ·
          17 days ago

          And frankly I cannot disagree with you, its beyond tedious for some things I had for muscle memory on fusion, its really up to your cost to benefit. My largest necessity was to be able to handle assemblies with parametric parts, and do it without subscriptions or royalties/licensing agreements. Blender maybe could work in a pinch, but I need my designs to be constrained.

          All that said, the improvement to freecad 1.0 made me blind to a lot of its quirks, because it was such an improvement for me. I tried so long with early freecad and wound back to fusion again and again. That it was finally useable is what called me over… but that is not the best advertisement, is it? Lol

      • Jocarnail@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        17 days ago

        I agree on freecad! Version 1.0 made it a lot more usable. I moved away from F360 some time ago and now that freecad is more useful it has comfortably replaced 90% of my workflow. It is still a bit clunky, but can get you there.

  • Treczoks@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    19 days ago

    Absolutely. Blender is so fucked up. Designed for the artsy types, but if you need something at exactly these coordinates, you are fucked.

    With openscad you have precision, repeatability, and you can even write scad source code from some data points you have, and just use it.

    • Spacehooks@reddthat.com
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      2
      ·
      18 days ago

      I dk what you are talking about it. I use blender daily for 3d models. Just grab the point, line or face, and tell it xyz coordinate or grab a bunch and line them up.
      I never used the python code function but supposedly that works. Blender is way easier than any other cad I’ve used because its made for artsy types. So that anyone could do it after watching a few YouTube videos.

      • Treczoks@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        18 days ago

        Three times I have tried to get a grip on Blender, and have given up. You have to dig deep to put something on precise coordinates, and if you click something wrong, everything is fucked up with the UI without a way back. Documentation is random YT videos that all seem to assume that you already have a blender diploma.

        With openscad, it took me half a day from installing the software, doing tutorials to finished design.

        • rainrain@sh.itjust.worksOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          18 days ago

          Same here. Never found a 3d tool that went right. But openscad is straightforward. Zero to printable thing in an hour.

          Code is a little weird but I’m getting a feel for it. That would be an interesting project, to make a better openscad code.

        • Spacehooks@reddthat.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          18 days ago

          It is at the corner.

          As far as UI everyone needs is different. My partner setup is way more complex than mine but SO is coming from Maya. However that’s the same for every program I used. I edited and remove buttons and rearrange as I get used to program. Even outlook and word.

          What you are describing sounds like is fusion360 or possibly z brush tutorials. For Blender 3.4+ I watched one tutorial video and then yt shorts for anything specfic. Plus you can render and animate once you are done modeling for print.

          • Treczoks@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            17 days ago

            So you found the one working tutorial. I didn’t. Keep in mind that I tried to get a grip on Blender three times over the years. Those yt tutorials did not really work for me.

            • Spacehooks@reddthat.com
              link
              fedilink
              English
              arrow-up
              2
              ·
              17 days ago

              At least you found something good you and now I know of another program to offer people getting into the hobby.

  • artificialfish@programming.dev
    link
    fedilink
    English
    arrow-up
    3
    ·
    17 days ago

    Yes and there’s a good Python adapter language if I recall.

    However freecad is also OSS and it has good parametrics. I don’t know how to do fancy stuff so works for me.

  • cestvrai@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    18 days ago

    I used to work in Grasshopper for parametric models but now I mostly reach for OpenSCAD.

  • xia@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    17 days ago

    I wonder if there is a 2D equivalent, basically imperative parametric cad?