I’ve never used a 3d printer before but want to get one. I have a bit experience in blender but not too much. My question is: How do you model for a 3d print? For example, if I want to print a hollow cylinder, I go into blender, create cylinder and delete the side faces. If I print this, the walls will be pretty thin. Do I have to make them bigger manually? and if I do so (extrude and scale) does my slicer (cura) automatically fill in the solid part?

  • anguo@lemmy.ca
    link
    fedilink
    English
    arrow-up
    22
    arrow-down
    2
    ·
    edit-2
    1 year ago

    If you’re new to 3d printing, I would avoid Blender. It’s too easy to create non-manifold and non-watertight objects with it.

    In your example, the walls aren’t just thin, they have no thickness whatsoever and would not even appear in your slicer.

    I would recommend trying Fusion 360 if you’re not on Linux, openSCAD if you have a basic understanding of coding, or even TinkerCAD (web based) if you’re not making anything too complex. Those are made to create physical objects.

    • bitsplease@lemmy.ml
      link
      fedilink
      English
      arrow-up
      11
      arrow-down
      1
      ·
      1 year ago

      Onshape is also good, the free version has all the functionality you could want unless having private models is important to you

    • TheSun@slrpnk.net
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      1 year ago

      Fusion360 can run on linux using WINE, HERE is a GitHub repo showing how to set it up.

      Or the web version works on linux too ofc

      That being said I use and recommend onshape if you aren’t planning on doing this for a company professionally that already uses F360

      • anguo@lemmy.ca
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Good to know! I just saw a post somewhere around here recently by someone who had troubles on Linux, which is what I based this off of (a little hastily).

        • TheSun@slrpnk.net
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Ya I don’t doubt people have troubles with it since you need winetricks and such. Hopefully they see that github page eventually and get it working.

      • swordsmanluke@programming.dev
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        NIce! I spent weeks trying to get Fusion 360 to run in wine back in 2020. Eventually I gave up and learned Free CAD/Open scad/blender like all the other penguins.

  • GhostMutt@lemmy.zip
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 year ago

    Hello! I’m on mobile and bad at organizing my thoughts, but I thought I’d attempt to tackle some of this.

    You can experiment with different types of models and bring them into Cura to see what the results will be yourself, but typically your focus should be on creating “water tight” meshes, where the normals of all polygons face outwardly from the mesh and there are no deleted faces or holes between them.

    Individual polygons don’t have any thickness on their own, so if you delete faces on a primitive cylinder and bring it into Cura, when slicing it will attempt to “close” the hole left behind in order to make the mesh water-tight.

    So, say you wanted to make a cup. You generate a cylinder in Blender of the right size, then delete the faces on one of the caps to create a cup-like shape. When you bring this object into Cura, it will not be able to see the back faces of the polygons inside of the cup, because it’s reading the normals on the outside of the cup for those polygons. They can’t serve as both the inside and outside, and they have no thickness. So, Cura will try to close the hole at the top of the geometry, basically just giving you the cylinder you started with.

    You could fix this by just extruding all of the geometry from your cup version of the cylinder, which will create a perimeter of faces on the top edge, and will leave you with inside and outside polygons. That is what Cura will read to create your shell.

    On that note, printed models are made up of effectively two components: shell and infill. The Shell is made up of the outermost layers, which are the strongest. The infill is a pattern that supports the interior of meshes. If you printed a sphere, you likely wouldn’t want it to be made of 100% solid plastic because it would be a waste of materials and time. So infill supports the shell with a pattern, kind of like a honeycomb, that is just meant to make sure the inside isn’t empty but is strong enough to withstand some force. On average, this is usually only about 15 to 30% density.

    There are many great articles and YouTube videos out there about the process, and I’m sorry that I don’t have anything to point you towards right now. If you have any questions about anything, I’d be happy try to help as best I can.

  • Square Singer@feddit.de
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    1 year ago

    I mostly use solid basic shapes (like e.g. a cylinder) which I modify using extrude or moving edges/vertices and then combine using the boolean modifier, which can do union, difference and intersection.

    Sometimes you have to switch to carve in the modifier to get it to work correctly.

    The important thing is to only work with watertight objects. So for your hollow cylinder example I’d do the following:

    • Create a cylinder with the desired outer radius and height.
    • Create a taller cylinder with the radius of hole.
    • Move both onto the same location. The taller cylinder should stick out on bottom and top
    • Select the outer cylinder -> modifiers -> add modifier boolean -> difference to inner cylinder
    • Select the outer cylinder and export it with the option “Export only selection”
  • PlutoniumAcid@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    Google for TinkerCad to see an amazingly easy modeling tool. Put shapes together, and set some of the shapes to be a hole (negative shape).

    It’s incredibly easy to make useful things.

    • saplyng@kbin.social
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      I just made a Dremel safety jig in tinkercad for work. Fairly simple to work with and it’ll get the job done for sure, but editing parts later can be a bit of a pain

  • TootSweet@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    First off I’ll say that what programs you’d want to use depend on what kind of things you’re wanting to design. If you’re wanting to design something artistic (a sculpture or miniature or model of a space ship or whatever), Blender’s a great choice. If you’re wanting to design something that’s more for mechanical use (a custom wall mount for something, a replacement gear for machinery, a case for a Raspberry Pi, whatever), you’ll probably be better served using a CAD (Computer-Aided Design) program like TinkerCAD, FreeCAD, AutoCAD, or OpenSCAD.

    I do a lot of CAD sort of model designs and I personally love OpenSCAD, but it’s made very particularly for programmers. TinkerCAD has a much lower learning curve and is free to use.

    I don’t do much artistic model designing for 3d printing. I dabble in Blender too, but mostly just to make minor tweaks to models I found online.

    About your cylinder question, you’re right that any slicer would be pretty confused if you gave it a shape like that. To make it work, you’d need a shape that had volume. Not something that’s an infinitely thin surface.

    To get a “tube,” you’d have to decide how thick you want the walls and deal with that in whatever program you’re using to make the 3d model. In a CAD program, the way you’d think about this is that you’d add a cylinder and then “subtract” another (concentric) cylinder with a smaller radius. Like, if you wanted a cylinder with an outer diameter of 3cm and a thickness of 2mm, you’d make a 3cm cylinder and “subtract” from that cylinder another cylinder with a diameter of 3 centimeters minus twice 2 millimeters or 2.6 cm. (The second cylinder would also need to be of equal or greater height than the first.)

    The result would be an object with volume and with a very specific defined thickness that your slicer would be able to handle nicely.

    Where CAD programs let you think in terms of “volumes” of various shapes and combining them in interesting ways, programs like Blender work more in terms of “polygons.” I’m not terribly familiar with Blender, but just off the top of my head, if I were trying to do the same thing in Blender, I might make a cylinder 3cm in diameter, another one 2.6cm in diameter (at the same location with the same height), remove the top and bottom faces of both cylinders, reverse the normals on all faces of the second cylinder, and then manually, one by one, create faces to fill in the “ring” around the top and the “ring” around the bottom.

    Does that all make sense?

  • Pyro@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    To answer your question (and not just recommend another piece of software instead):

    Making a cylinder and deleting the cap faces makes what’s known as a non-manifold mesh. To my knowledge this means you can see the backfaces without travelling through any existing faces (in your case, you can see them by looking through the holes you made when you deleted the cap faces).
    That cylinder has walls that are theoretically infinitely thin, so you should thicken them up before attempting to print it. You can do this with a Solidify modifier. You can also extrude and scale them if you like, it achieves the same effect.

    Given a manifold mesh, your slicer will treat the inside (as in, the direction the backfaces are pointing) as solid, and you can change the density and infill pattern to whatever you like.

    Make a few of these shapes, both manifold and non-manifold, and see how your slicer reacts when you tell it to slice them.

  • SpeakinTelnet@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    In the case of a hollow cylinder this is something a slicer can handle from a full cylinder model. Remove the infill (inside of the cylinder) and top fill. As for software it depends what you want to create, blender is great for artistic work. For mechanical assemblies I’d throw in onshape with the other suggestions.

  • 7heo@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    1 year ago
    1. Learn basic freecad
    2. Learn basic openscad
    3. Learn how to use openscad in freecad
    4. Iterate

    Side note, freecad is CPU bound, so use a good CPU.

  • gerdesj@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Start off with Thingiverse or similar. I recommend something like: https://www.thingiverse.com/thing:3553160 There are a lot of models there - those are .STL that you “slice” and send to your printer. There is this: https://www.thingiverse.com/thing:2187167 which is CAD models with the working left in - OpenSCAD in this case. You load it up, generate a .STL and then pass that to the slicer.

    I have a large plastic cabinet in my garden for storing a lawn mower etc. The hinges died years ago. I have printed new ones. At least 20kg of plastic waste has been avoided being dumped a lot longer. I am well aware (now) that I should not have bought the bloody thing in the first place!

    If you go the OpenSCAD route, you might like this: https://github.com/JustinSDK/dotSCAD - the author sadly passed away recently but his work is legendary in my opinion.

    Once you get printing sorted out, then move on to your own stuff. … or not - give it a go! I have a large bag of very strangely shaped PETG experiments that went badly wrong and need recycling.

  • gian @lemmy.grys.it
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    1 year ago

    If you are willing to pay the price, you can try Moment Of Invention. It has also a fully functional time limited demo. I worked with the demo and, while for now I use Freecad, I must admit that it is pretty good

  • CrimsonMishaps@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    6
    ·
    1 year ago

    So it will ultimately come down to what file format you need for the 3D printer and if Blender can support that. Otherwise, you may need to generate your geometry using a CAD program.

    Regardless, you will need to generate the solid model of your cylinder. In this case you’d extrude your cylinder surface to create a volume body and not a sheet or surface.

    • anguo@lemmy.ca
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      That is a weird take. File format is completely irrelevant here. 3D printers usually only accept G-code files, or something similar, which is unrelated to the file format used for the model. You can also easily convert pretty much anything to something your slicer will accept.