I’ve made some prints fit in my printer by printing them at a diagonal. I work it out by spinning it until I don’t get an error from the slicer.

I’d rather be able to calculate exactly what will fit beforehand instead of spinning the model around in CAD or the slicer.

Has anyone found/used a calculator that can do this?

  • HelloRoot
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    2 days ago

    Technically my statement is incorrect, I agree.

    But have you read the algo?

    It basically takes the global minimum over all edge pairs (and their zero-curves) and return the orientation and extents with the smallest encountered volume. Which is basically like trying every possible position along the edges of the convex hull around your obect.

    But I edited my comment to remove that part, because that bit is honestly irrelevant for OPs question.

    • tal@lemmy.today
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      It’s not the nudging that you referred to. You edited your comment after I responded to remove that part of your comment.

      • HelloRoot
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        2 days ago

        True, the random positioning and nudging is something I saw in gamedev for some reason a long time ago.

        I edited it before I read your reply and after I found a tool that can do what OP asked for.

          • HelloRoot
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            2 days ago

            No need to be sorry, I’m actually happy that people on lemmy give their best to uphold Cunningham’s Law by correcting wrong statements.

            It’s a me problem, cause I think more after I write, so I end up posting, then editing the same comment a lot until it is “right”.

            Cheers! :D