Look at the following image and take a second to think about how you would create a 2D sketch of this shape in CAD with the goal of recreating the profile in a 3d printed part like my end cap.

image

It is unlikely anyone will be able to directly measure all of those curves and angles and make a perfect replica from scratch on the first try. This usually requires a good bit of experience to learn, but the very first thing to do when making this part is to figure out where the critical reference surfaces are in the design. Ask yourself, which features would have had the tightest tolerances by the person that designed this? Which surfaces have loose or undefined tolerances? Which surfaces have well constrained tolerances and are accessible to measure? Go look at the picture again. Really think about this.

Now that you’re back I’m writing a random sentence to move the answer out of your immediate peripheral vision. In my mind, the tee tracks stand out as an excellent set of reference surfaces I can directly measure accurately. Why is this so important? This part is going to need a lot of tweaking to dial in a perfect print. The most important first step in CAD is always to place your part origin well. This design is going to get tweaked, but how am I going to be able to change the measurements. If I only need to move one or two features, but moving those features also changes other features that had bad dimensional references, I am just making a mess. After a few changes, I won’t have a clue how most of my design is constrained.

Solving this problem well is a mindset and is what I call thinking in terms of CAD. In this instance, I can measure the tee tracks and the overall ninety degree angle faces of the back and bottom. Assuming the back two tee slots are the same would be a mistake. In this case they are not. One is imperial the other is metric. I can say after measuring, the center of these tracks is the overall vertical center of the rear face. This does not align with the screw hole, but finding the screw hole’s true center is hard. It is much easier to find the center of the vertical wall that supports the screw hole. This wall is also an ideal way to split the design into measurements on the left and right side. I don’t expect the inner cavities to be extremely accurate reference surfaces but I can likely establish a centerline as it relates to the tee tracks. So now I have come up with two lines of symmetry, the back center between the tee tracks and the screw support wall these can be used to set the coordinate plane origin of the design. Every measurement I make and set for all other surfaces will be relative to this origin point. My entire design will be based on this origin, even the tee tracks, back, and bottom walls. I want to keep as few groups of constraints as possible referenced to each other, this way, when I need to make changes to some small issue in a print, one change only alters the area I need to change.

Picking your origin point well is super critical. The more complex your design is the more important the origin becomes, and it becomes another order of magnitude more important when building complex assemblies.

This lesson works both ways. You can tell a lot about the skill of the person that designed something based on these principals of picking a good origin and identifying good reference surfaces. If you open a design or even import a mesh file. You should be able to pick out critical dimensions and constraints that should exist in a good design. If you take measurements of these areas, (knowing the limitations of a tesselated mesh) and the measurements are nowhere near a typical metric or imperial whole value, you know the person that made the part was not very skilled and problems with the print are likely. I never print someone else’s designs unless I check for some basic principals like this first. As I am building up the part in CAD I also take a few broad measurements across non critical areas and make sure my part is very close to these dimensions as a way to verify my work as I go.

Lastly, this thin wall print pictured is called a Unit Test. The term just means you make as small of a print as you can in order to quickly check your dimensions. Get in the habit of printing lots of little unit tests. It will save you a lot of time and mistakes.

In this instance, it may look like I used the screw hole as the origin, but that is not correct. The hole for the screw is oversized so that I can align the correct surfaces, and then use the screw to hold the unit test in place, and measure my deviation.

This design took around half a dozen of these unit tests to dial in the part well enough that the table saw fence can pass over the cap in both directions without any adverse effects.

I write like I am trying to teach my former self, saying what I wish I had known sooner. Hopefully this finds an audience and is helpful for someone. I am only doing this in an attempt to build community and add some unique content with substance while I have some down time to spare.

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

    Are you, by chance, a software developer? It’s the only other context I’ve heard for unit tests, and I would probably have taken a slightly different approach to it.

    If I look at the cavity, I see three sections I could divide it up into. The left side with your tees, the middle section, and the far right with the curves. I would likely have modeled each of those little components, printed a section that’s a few layers high to test the fit, and then once I was happy, I’d have joined them all together. Why? Because each failure is smaller, and I can iterate on my design faster.

    This isn’t me saying either approach is correct. Just offering an alternative perspective to consider

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

      I’d just have a ruler placed next to the profile, taken a picture and traced it in CAD. If something is, lets say 64,5 mm in my initial trace I can safely assume that the dimension is supposed to be 65 mm. When you feel like you’re done, make a test and then maybe iterate.

      Also agree that whatever approach you think is the easiest may be the easiest approach.

      • SgtThunderC_nt
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Was gonna say this, I’d take an impression on paper then scan it and then just scale it to size.

        • j4k3@lemmy.worldOPM
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          This is one I might do if I still had a scanner around. The thing is, this is pretty much a 0.01mm precision type of situation. You might get away with making the interior plug portion of the print longer, but I worry about the leverage this might create inside the thin extrusion if any weight hit the print. The screw is a tiny self tapper and I am weary about replacing it with a longer version on a 30 year old tool where this rail is irreplaceable. The real key to getting this design to work is dialing in both the interior and exterior dimensions of the extrusion. I wanted to make the inside plug relatively short because the main red print cap was just a test print for the longer extensions, and I wanted them as long as possible. Personally I don’t trust anything other than vernier calipers to get better than 0.1mm precision.

      • j4k3@lemmy.worldOPM
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year ago

        I have trouble getting any kind of useful flat image out of a phone camera, and I don’t care to setup a tripod and DSLR to try to make a perfect flat image. There are probably better tools made for image correction, but I am not aware of any that are FOSS and easy to use.

      • drpeppershaker@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year ago

        This is what I would do as well.

        I’m terrible with fusion. So I’ve found that, like most things in life, this can be brute forced as well.

        Print a flat test piece, fail, adjust, repeat

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

          I think you could get it first try if you add the photo and measure what you can with calipers as well.

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

            Distortion and height dependency. There are special lenses for industry cameras that remove this issue but no phone has them.

            Additionally, image compression is a big issue.